Fix powerpc fesetexceptflag clearing FE_INVALID (bug 20455).
[glibc.git] / ChangeLog
blob6a2e39cfb2ca9ca6d9a80146176bbc424996e187
1 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #20455]
4         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
6         to be restored.
8         * math/test-fexcept-traps.c: New file.
9         * math/test-fexcept.c: Likewise.
10         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12         macro.
13         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
14         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18         * include/atomic.h (atomic_fetch_and_relaxed,
19         atomic_fetch_and_release, atomic_fetch_or_release,
20         atomic_fetch_xor_release): New.
22 2016-08-06  Christian Seiler  <christian@iwakd.de>
24         [BZ #20444]
25         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
26         MACH_PORT_NULL.
28 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
30         * math/s_fdim.c: Avoid alias renamed.
31         * math/s_fdimf.c: Likewise.
32         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
33         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
34         Add s_fdimf-vis3, s_fdim-vis3.
35         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
36         (CFLAGS-s_fdim-vis3.c): Likewise.
37         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
38         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
40 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
42         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
43         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
44         Remove s_fdimf-vis3, s_fdim-vis3.
45         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
46         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
47         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
48         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
49         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
50         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
51         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
52         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
53         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
54         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
56 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
58         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
59         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
60         -Wa,-Av9a -mvis.
62 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
64         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
65         LIT() to individual constants in simple expressions
66         after splitting on spaces.
67         (_apply_lit): Rename replaced version, and use it to
68         apply to what appears to be a token.
70         * math/libm-test.inc: Fix many, many issues with
71         spacing.
73 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
75         * math/math.h: Move comment about <bits/mathdef.h> definitions
76         above inclusion of <bits/mathdef.h>.  Do not mention
77         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
79 2016-08-05  Torvald Riegel  <triegel@redhat.com>
81         * include/atomic.h (atomic_exchange_relaxed): New.
83 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
85         * math/e_scalb.c: Do not include <fenv.h>.
86         (invalid_fn): Do calculation resulting in NaN instead of raising
87         FE_INVALID and returning a NaN explicitly.
88         * math/e_scalbf.c: Do not include <fenv.h>.
89         (invalid_fn): Do calculation resulting in NaN instead of raising
90         FE_INVALID and returning a NaN explicitly.
91         * math/e_scalbl.c: Do not include <fenv.h>.
92         (invalid_fn): Do calculation resulting in NaN instead of raising
93         FE_INVALID and returning a NaN explicitly.
95 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
97         * po/de.po: Updated from Translation Project.
98         * po/fi.po: Likewise.
99         * po/sv.po: Likewise.
101 2016-08-04  Florian Weimer  <fweimer@redhat.com>
103         Use sysdep.o from libc.a in static libraries.
104         * sysdeps/unix/sysv/linux/i386/Makefile
105         (libpthread-shared-only-routines): Add sysdep.
106         (librt-shared-only-routines): Likewise.
108 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
110         * math/tgmath.h (nextdown): Define if
111         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
112         (nextup): Likewise.
114         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
115         macro.
116         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
117         Document.
118         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
119         Document macro.
120         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
121         (exp10f): Likewise.
122         (exp10l): Likewise.
123         * math/bits/mathcalls.h (exp10): Declare if
124         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
126         * manual/arith.texi (nextup): Fix typo in last change.
128 2016-08-03  Zack Weinberg  <zackw@panix.com>
130         [BZ #19239]
131         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
132         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
133         define major, minor, and makedev to issue deprecation warnings on use.
134         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
135         previously-activated deprecation warnings for these macros and prevent
136         subsequent inclusions of this header from having any effect.
137         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
138         including <sys/sysmacros.h>, and undefine it again afterward.
140 2016-08-03  Zack Weinberg  <zackw@panix.com>
142         * sysdeps/generic/sys/sysmacros.h: Delete file.
143         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
144         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
145         * bits/sysmacros.h: ... here; this encoding is now the generic
146         encoding.  Now defines only the following macros:
147         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
148         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
149         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
151         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
152         bits/sysmacros.h and the above new macros to generate the
153         public implementations of major, minor, and makedev.
154         * misc/tst-makedev.c: New test.
155         * include/sys/sysmacros.h: New wrapper.
157         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
158         (routines): Add makedev.
159         (tests): Add tst-makedev.
160         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
161         gnu_dev_makedev.
162         * posix/Makefile (headers): Remove sys/sysmacros.h.
163         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
165         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
166         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
167         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
168         * sysdeps/unix/sysv/linux/alpha/libc.abilist
169         * sysdeps/unix/sysv/linux/arm/libc.abilist
170         * sysdeps/unix/sysv/linux/hppa/libc.abilist
171         * sysdeps/unix/sysv/linux/i386/libc.abilist
172         * sysdeps/unix/sysv/linux/ia64/libc.abilist
173         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
174         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
175         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
176         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
177         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
178         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
179         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
180         * sysdeps/unix/sysv/linux/nios2/libc.abilist
181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
185         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
186         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
187         * sysdeps/unix/sysv/linux/sh/libc.abilist
188         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
189         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
192         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
193         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
194         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
195         Add GLIBC_2.25.
197         * include/features.h (__glibc_clang_prereq): New macro.
198         * misc/sys/cdefs.h (__glibc_clang_has_extension)
199         (__attribute_deprecated_msg__): New macros.
201 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
203         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
204         macro.
205         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
206         * manual/arith.texi (issignaling): Document as ISO from TS
207         18661-1:2014.
208         (nextup): Likewise.
209         (nextupf): Likewise.
210         (nextupl): Likewise.
211         (nextdown): Likewise.
212         (nextdownf): Likewise.
213         (nextdownl): Likewise.
214         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
215         macro.
216         * math/math.h: Define
217         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
218         <bits/libc-header-start.h> instead of including <features.h>.
219         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
220         [__USE_GNU].
221         * math/bits/mathcalls.h (nextdown): Declare if
222         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
223         (nextup): Likewise.
224         (__issignaling): Likewise.
226 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
228         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
229         check, and remove __glibc_likely hint
230         from FP_INFINITE check.
231         * s_csinhf.c (__csinhf): Likewise.
233         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
234         hint from FP_INFINITE check.
235         * s_csinhl.c (__csinhl): Likewise.
237 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
239         * math/Makefile (libm-calls): Insert F placeholder into
240         object names.  Move w_lgamma_compat* routines into
241         (libm-compat-calls): New variable.
242         (libm-compat-calls-ldouble-yes): New variable.
243         (calls): Insert F placeholder.
244         (generated): Redefine using new type-foreach macro call.
245         (routines): Likewise.
247         (types): New variable to hold a list of symbolic names
248         for each type supported by the target machine.
249         (libm-routines): Redefine using new types variable.
250         (type-foreach): macro to replace fooF with the
251         appropriately suffixed foo for each types.
253         (type-ldouble-suffix): New variable.
254         (type-ldouble-routines): Likewise.
255         (type-ldouble-yes): Likewise.
256         (type-double-suffix): Likewise.
257         (type-double-routines): Likewise.
258         (type-float-suffix): Likewise.
259         (type-float-routines): Likewise.
261         (dbl-only-routines): Remove.
262         (long-c-yes): Likewise.
263         (long-m-routines): Likewise.
264         (long-m-support): Likewise.
265         (long-m-yes): Likewise.
266         (test-longdouble-yes): Likewise.
268         (test-float.o): Simplify by increasing the scope of the
269         recipe which adds libm-test.stmp to the vector types.
270         (test-ifloat.o): Likewise.
271         (test-float-finite.o): Likewise.
272         (test-double.o): Likewise
273         (test-idouble.o): Likewise.
274         (test-double-finite.o): Likewise.
275         (test-ldouble.o): Likewise
276         (test-ildoubl.o): Likewise.
277         (test-ldouble-finite.o): Likewise.
279         (libm-tests): Redefine type tests using foreach and the
280         list of types in types.
282         (CPPFLAGS-test-ildoubl.c): Rename to
283         (CPPFLAGS-test-ildouble.c): New variable
285         * math/test-ildoubl.c: Rename to
286         * math/test-ildouble.c: New file.
288 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
290         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
291         Use fabsl instead of fabs.
292         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
293         Likewise.
294         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
295         Add long double suffix to constant to ensure proper
296         promotion to long double.
298 2016-08-03  Tom Tromey  <tom@tromey.com>
300         [BZ #20311]
301         * nptl_db/Makefile (headers): Add proc_service.h.
302         * nptl_db/proc_service.h: Add include guard.  Use
303         __BEGIN/__END_DECLS.
304         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
305         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
306         arguments.
309 2016-08-03  Florian Weimer  <fweimer@redhat.com>
311         [BZ #17730]
312         Avoid using memalign for TCB allocations.
313         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
314         (_dl_allocate_tls_storage): Use malloc and manual alignment.
315         Avoid alignment gap in the TLS_DTV_AT_TP case.
316         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
317         determine the pointer to free.
318         * nptl/tst-tls3-malloc.c: New test.
319         * nptl/Makefile (tests): Add it.
320         (tst-tls3-malloc): Link with libdl, libpthread.
321         (LDFLAGS-tst-tls3-malloc): Set.
322         (tst-tls3-malloc.out): Depend on DSO used in test.
324 2016-08-03  Florian Weimer  <fweimer@redhat.com>
326         [BZ #17730]
327         Avoid using memalign for TLS allocations.
328         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
329         is_static member with to_free member.
330         (union dtv): Use struct dtv_pointer.
331         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
332         dtv_pointer instead of is_static.
333         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
334         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
335         instead of val.
336         (allocate_dtv_entry): New function.
337         (allocate_and_init): Return struct dtv_pointer.  Call
338         allocate_dtv_entry instead of __libc_memalign.
339         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
340         instead of val.
341         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
342         instead of is_static.  Adjust call to allocate_and_init.
343         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
344         struct dtv_pointer instead of val.
346 2016-08-03  Florian Weimer  <fweimer@redhat.com>
348         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
349         (MALLOC_ALIGN_MASK): Move ...
350         * malloc/malloc-internal.h: ... to here.
351         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
353 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
356         (UDP_ENCAP_GTP1U): Likewise.
358         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
359         (PF_MAX): Update value.
360         (AF_QIPCRTR): New macro.
362 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
364         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
365         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
366         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
368         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
369         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
370         s_truncf-vis3, s_trunc-vis3.
371         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
372         (CFLAGS-s_ceil-vis3.c): Likewise.
373         (CFLAGS-s_floorf-vis3.c): Likewise.
374         (CFLAGS-s_floor-vis3.c): Likewise.
375         (CFLAGS-s_truncf-vis3.c): Likewise.
376         (CFLAGS-s_trunc-vis3.c): Likewise.
377         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
381         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
385         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
386         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
387         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
388         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
390 2016-08-02  David S. Miller  <davem@davemloft.net>
392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
393         (__nearbyint_vis3): Don't check for sNaN before float register is
394         loaded with the incoming argument.
395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
396         (__nearbyintf_vis3): Likewise.
397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
398         Likewise.
399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
400         Likewise.
402         * string/test-strncmp.c (do_test_limit): Make sure the test data
403         stream is aligned as required for the type "CHAR".
404         (do_test): Likewise.
406 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
408         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
409         by beq instructions jumping to the end of the function.
410         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
411         clobber list. Use "i" constraint instead of "X".
412         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
413         of "X".
415 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
417         * bits/libc-header-start.h: New file.
418         * Makefile (headers): Add bits/libc-header-start.h.
419         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
420         (__GLIBC_USE): New macro.
421         * libio/stdio.h: Define
422         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
423         <bits/libc-header-start.h> instead of including <features.h>.
424         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
425         (open_memstream): Likewise.
426         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
427         (__asprintf): Likewise.
428         (asprintf): Likewise.
429         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
430         (getdelim): Likewise.
431         (getline): Likewise.
432         * string/string.h: Define
433         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
434         <bits/libc-header-start.h> instead of including <features.h>.
435         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
436         (strndup): Likewise.
437         * wcsmbs/wchar.h: Define
438         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
439         <bits/libc-header-start.h> instead of including <features.h>.
440         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
441         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
443 2016-08-02  Florian Weimer  <fweimer@redhat.com>
445         Support linking against compatibility symbols, for use in tests.
446         * include/libc-symbols.h (symbol_version_reference): New macro.
447         (symbol_version): Use it.
448         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
449         (compat_symbol): Use compat_symbol_reference.
450         (compat_symbol_1, compat_symbol_2): Remove.
451         (compat_symbol_reference, compat_symbol_reference_1)
452         (compat_symbol_reference_2): New macro.  Use
453         symbol_version_reference.
455 2016-08-02  Florian Weimer  <fweimer@redhat.com>
457         [BZ #19469]
458         * malloc/Makefile (CPPFLAGS): Compile tests with
459         -DTEST_NO_MALLOPT.
460         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
462 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
464         [BZ #20033]
465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
466         finite version.
467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
468         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
469         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
470         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
472         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
474         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
476         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
478         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
479         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
483         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
484         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
485         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
486         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
487         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
488         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
489         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
490         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
491         in zero power.
493 2016-08-02  Florian Weimer  <fweimer@redhat.com>
495         [BZ #20370]
496         * malloc/arena.c (get_free_list): Update comment.  Assert that
497         arenas on the free list have no attached threads.
498         (remove_from_free_list): New function.
499         (reused_arena): Call it.
501 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
503         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
504         when it is a NaN.
505         [_IEEE_FP_INEXACT] Remove.
506         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
507         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
508         when it is a NaN.
509         [_IEEE_FP_INEXACT] Remove.
510         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
511         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
512         when it is a NaN.
513         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
514         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
515         when its absolute value is greater than 0x1.0p52.
516         [_IEEE_FP_INEXACT] Remove.
517         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
518         when its absolute value is greater than 0x1.0p23.
519         [_IEEE_FP_INEXACT] Remove.
521 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
523         * version.h (RELEASE): Set to "development"
524         (VERSION): Set to 2.24.90.
525         * NEWS: Add 2.25 section.
527         * version.h (RELEASE): Set to "stable"
528         (VERSION): Set to 2.24.
529         * include/features.h (__GLIBC_MINOR__): Set to 24.
531         * NEWS: Add 2.24 fixed bugs.
532         * po/libc.pot: Regenerate.
534 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
537         [$(subdir) = math] (libm-sysdep_routines): Remove.
538         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
539         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
540         s_truncf-vis3, s_trunc-vis3.
541         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
543         file.
544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
570         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
572         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
577         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
578         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
579         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
580         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
583         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
584         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
585         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
586         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
588 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
590         [BZ #20384]
591         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
592         test-double-libmvec-sincos-avx-main.o,
593         test-double-libmvec-sincos-avx2-main.o,
594         test-double-libmvec-sincos-main.o,
595         test-float-libmvec-sincosf-avx-main.o,
596         test-float-libmvec-sincosf-avx2-main.o and
597         test-float-libmvec-sincosf-main.o.
598         test-float-libmvec-sincosf-avx512-main.o.
599         ($(objpfx)test-double-libmvec-sincos): Also link with
600         $(objpfx)test-double-libmvec-sincos-main.o.
601         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
602         $(objpfx)test-double-libmvec-sincos-avx-main.o.
603         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
604         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
605         ($(objpfx)test-float-libmvec-sincosf): Also link with
606         $(objpfx)test-float-libmvec-sincosf-main.o.
607         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
608         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
609         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
610         test-double-libmvec-sincos-avx512-main.o and
611         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
612         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
613         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
614         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
615         (CFLAGS-test-double-libmvec-sincos.c): Removed.
616         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
617         (CFLAGS-test-double-libmvec-sincos-main.c): New.
618         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
619         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
620         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
621         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
622         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
623         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
624         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
625         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
626         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
627         -DREQUIRE_AVX2.
628         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
629         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
630         -DREQUIRE_AVX512F.
631         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
632         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
633         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
634         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
635         file.
636         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
637         Likewise.
638         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
639         Likewise.
640         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
641         Likewise.
642         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
643         Likewise.
644         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
645         Likewise.
646         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
647         Likewise.
648         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
649         Likewise.
651 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
653         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
655 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
657         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
658         and typo in a comment about AT_HWCAP entry.
660 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
662         * sysdeps/aarch64/libm-test-ulps: Updated.
664 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
666         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
667         of r13 as it is not restored in mvcle case.
669 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
671         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
672         Rename "ret" to "__ret".
673         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
674         inline_syscall5, inline_syscall6): Likewise.
676 2016-07-19   Will Newton  <will.newton@gmail.com>
678         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
679         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
680         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
681         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
682         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
684 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
686         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
687         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
688         -mfpmath=387 with $(rtld-CFLAGS).
689         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
690         $(rtld-CFLAGS).
692 2016-07-18   Ross Burton  <ross.burton@intel.com>
693              Khem Raj  <raj.khem@gmail.com>
695         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
696         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
697         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
698         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
699         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
700         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
701         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
702         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
703         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
704         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
705         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
706         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
707         R_METAG_TLS_DTPOFF): New.
709 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
710             Matt Clay  <mclay@lycos.com>
712         [BZ #20357]
713         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
714         to call __mpsin/__mpcos and to negate values.
715         * math/auto-libm-test-in: Add test.
716         * math/auto-libm-test-out: Regenerate.
718 2016-07-18  Zack Weinberg  <zackw@panix.com>
720         * grp/Makefile: Don't install the internal header grp-merge.h.
722 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
724         * sysdeps/aarch64/libm-test-ulps: Regenerated.
726 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
728         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
730 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
732         [BZ #15368]
733         * sysdeps/unix/sysv/linux/nptl-signals.h
734         (__nptl_clear_internal_signals): New function.
735         (__libc_signal_block_all): Likewise.
736         (__libc_signal_block_app): Likewise.
737         (__libc_signal_restore_set): Likewise.
738         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
739         implementation.
740         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
741         the cached pid/tid value in pthread structure.
743 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
745         [BZ #20347]
746         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
748 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
750         [BZ #20348]
751         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
752         preadv64, pwrite64 and pwritev64.
754 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
756         [BZ #20350]
757         * posix/tst-preadwrite.c: Renamed to ...
758         * posix/tst-preadwrite-common.c: This.
759         (PREAD): Removed.
760         (PWRITE): Likewise.
761         (STRINGIFY): Likewise.
762         (STRINGIFY2): Likewise.
763         (do_prepare): Make it static and remove function arguments.
764         (do_test): Likewise.
765         (PREPARE): Updated.
766         (TEST_FUNCTION): New.
767         (name): Make it static.
768         (fd): Likewise.
769         (do_prepare): Use create_temp_file.
770         (do_test): Renamed to ...
771         (do_test_with_offset): This.  Make it static and accept offset.
772         Properly check return value of PWRITE and PREAD.  Return bytes
773         read.  Don't close fd nor unlink name.
774         * posix/tst-preadwrite.c: Rewrite.
775         * posix/tst-preadwrite64.c: Likewise.
777 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
779         [BZ #20309]
780         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
781         -mtls-dialect=gnu2 works.
782         * configure: Regenerated.
783         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
784         (tests): Add tst-gnu2-tls1.
785         (modules-names): Add tst-gnu2-tls1mod.
786         ($(objpfx)tst-gnu2-tls1): New.
787         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
788         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
789         * elf/tst-gnu2-tls1.c: New file.
790         * elf/tst-gnu2-tls1mod.c: Likewise.
791         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
792         bytes for push in the PLT entry to align the stack.
794 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
796         [BZ #20349]
797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
799 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
801         [BZ #18707]
802         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
803         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
805 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
807         * sysdeps/unix/sysv/linux/sysdep.h
808         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
809         guards.
810         * misc/tst-preadvwritev-common.c: New file.
811         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
812         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
813         a check for files larger than 2GB.
815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
816         (__ASSUME_OFF_DIFF_OFF64): Remove define.
817         * sysdeps/unix/sysv/linux/pread.c
818         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
819         __OFF_T_MATCHES_OFF64_T.
820         * sysdeps/unix/sysv/linux/pread64.c
821         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
822         * sysdeps/unix/sysv/linux/preadv.c
823         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
824         * sysdeps/unix/sysv/linux/preadv64.c
825         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
826         * sysdeps/unix/sysv/linux/pwrite.c
827         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
828         * sysdeps/unix/sysv/linux/pwrite64.c
829         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
830         * sysdeps/unix/sysv/linux/pwritev.c
831         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
832         * sysdeps/unix/sysv/linux/pwritev64.c
833         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
835 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
838         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
840 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
842         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
844 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
846         [BZ #20240]
847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
848         (CFLAGS-s_modf-ppc32.c): New variable.
849         (CFLAGS-s_modff-ppc32.c): Likewise.
850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
851         (CFLAGS-s_modf-ppc64.c): Likewise.
852         (CFLAGS-s_modff-ppc64.c): Likewise.
854 2016-07-07  Andreas Schwab  <schwab@suse.de>
856         [BZ #20263]
857         * nptl/tst-robust10.c: New test.
858         * nptl/Makefile (tests): Add tst-robust10.
860 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
862         [BZ #20263]
863         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
865 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
867         * sysdeps/s390/linkmap.h (struct link_map_machine):
868         Remove member gotplt and add member jmprel.
869         * sysdeps/s390/s390-32/dl-machine.h
870         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
871         instead of gotplt with &got[3].
872         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
873         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
875 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
877         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
879 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
881         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
882         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
883         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
884         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
885         * libio/vtables.c (_IO_vtable_check)
886         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
887         * libio/libioP.h (IO_set_accept_foreign_vtables)
888         [!PTR_MANGLE]: Do not call PTR_MANGLE.
890 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
892         [BZ #20314]
893         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
894         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
895         $(common-objpfx)cmath.
896         ($(common-objpfx)cstdlib): New target.
897         ($(common-objpfx)cmath): Likewise.
899 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
901         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
903 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
905         [BZ #20327]
906         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
907         are not part of the string.
909 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
911         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
912         * nptl/tst-cancel4-common.h (fifoname): New variable.
913         (fifofd): Likewise.
914         (cl_fifo): New function.
915         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
916         SIGINT.
917         (tf_open): Add early cancel test.
919 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
921         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
923 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
925         * sysdeps/generic/ldsodefs.h
926         (dl_symbol_visibility_binds_local_p): New inline function.
927         * elf/dl-addr.c (determine_info): Treat hidden and internal
928         symbols as local.
929         * elf/dl-lookup.c (do_lookup_x): Likewise.
930         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
932 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
934         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
935         invalid exception for a sNaN input.
936         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
937         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
938         (__nearbyint_vis3): Likewise
939         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
940         (__nearbyintf_vis3): Likewise
941         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
942         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
943         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
944         Likewise.
945         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
946         Likewise.
948 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
950         [BZ #20139]
951         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
952         (HAVE_AVX512DQ_ASM_SUPPORT): This.
953         * sysdeps/x86_64/configure.ac: Require assembler from binutils
954         2.24 or above.
955         (HAVE_AVX512_ASM_SUPPORT): Removed.
956         (HAVE_AVX512DQ_ASM_SUPPORT): New.
957         * sysdeps/x86_64/configure: Regenerated.
958         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
959         check unconditional.
960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
961         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
962         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
963         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
964         Likewise.
965         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
966         Likewise.
967         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
968         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
969         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
970         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
971         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
972         Likewise.
973         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
974         Likewise.
975         * sysdeps/x86_64/multiarch/memset.S: Likewise.
976         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
977         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
978         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
980         Likewise.
981         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
982         Likewise.
983         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
984         Likewise.
985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
986         Likewise.
987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
988         Likewise.
989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
990         Likewise.
991         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
992         Likewise.
993         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
994         Likewise.
995         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
996         Likewise.
997         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
998         Likewise.
999         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1000         Likewise.
1002 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1004         [BZ #20024]
1005         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1007         of this implementation of vector function.
1008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1010         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1011         Likewise.
1012         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1013         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1014         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1015         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1016         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1017         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1018         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1019         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1020         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1021         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1022         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1023         for testing vector sincos with fixed ABI.
1024         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1025         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1026         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1027         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1028         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1029         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1030         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1031         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1032         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1033         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1034         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1035         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1036         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1037         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1038         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1039         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1041 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1043         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1045 2016-06-30  Anton Blanchard  <anton@samba.org>
1047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1048         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1049         s_sinf-ppc64.
1050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1053         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1055 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1059         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1060         e_expf-ppc64.
1061         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1062         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1063         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1064         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1066 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1068         [BZ #20277]
1069         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1070         when SHARED is defined.
1072 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1074         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1075         (index_arch_Prefer_ERMS): Likewise.
1076         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1077         __memcpy_erms for Prefer_ERMS.
1078         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1079         (__memmove_erms): Enabled for libc.a.
1080         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1081         __memmove_erms or Prefer_ERMS.
1082         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1083         __mempcpy_erms for Prefer_ERMS.
1084         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1085         __memset_erms for Prefer_ERMS.
1087 2016-06-30  Andreas Schwab  <schwab@suse.de>
1089         [BZ #20262]
1090         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1091         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1092         of memory.
1094 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1096         [BZ #18645]
1097         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1098         (test-extras): Add tst-cleanupx4aux.
1099         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1100         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1101         tst-cleanupx4aux.o.
1102         * nptl/tst-cleanupx4aux.c: New file.
1104 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1106         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1108 2016-06-29  Andreas Schwab  <schwab@suse.de>
1110         [BZ #20260]
1111         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1112         address before the beginning of the string as an integer to avoid
1113         array-bounds warning.
1115 2016-06-28  Richard Henderson  <rth@redhat.com>
1117         * elf/elf.h (EM_BPF): New.
1118         (EM_NUM): Update.
1119         (R_BPF_NONE, R_BPF_MAP_FD): New.
1121         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1122         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1123         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1124         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1125         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1126         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1127         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1128         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1129         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1130         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1131         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1132         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1133         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1134         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1135         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1136         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1137         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1138         (EM_NUM): Update.
1140 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1142         [BZ #18960]
1143         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1144         Set _nl_current_LC_CATEGORY_used to two instead of one.
1146 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1148         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1149         (do_test): ... this.
1150         (TEST_FUNCTION): New macro.
1151          Include test-skeleton.c.
1152         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1153         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1155 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1157         [BZ #15479]
1158         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1159         floating-point environment rather than just control word.
1160         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1161         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1162         floating-point environment, with "invalid" exceptions merged in,
1163         rather than just control word.
1164         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1165         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1166         "inexact" exceptions.
1168         [BZ #15479]
1169         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1170         floating-point environment rather than just control word.
1171         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1172         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1173         floating-point environment, with "invalid" exceptions merged in,
1174         rather than just control word.
1175         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1176         * math/libm-test.inc (floor_test_data): Do not allow spurious
1177         "inexact" exceptions.
1179         [BZ #15479]
1180         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1181         floating-point environment rather than just control word.
1182         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1183         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1184         floating-point environment, with "invalid" exceptions merged in,
1185         rather than just control word.
1186         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1187         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1188         "inexact" exceptions.
1190 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1192         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1193         __libc_vfork.
1194         (__vfork) [IS_IN (libc)]: Remove alias.
1195         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1196         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1197         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1199 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1201         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1202         of atomic_compare_and_exchange_bool_rel.
1203         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1204         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1205         catomic_compare_and_exchange_bool_rel): Remove.
1206         * sysdeps/aarch64/atomic-machine.h
1207         (atomic_compare_and_exchange_bool_rel): Likewise.
1208         * sysdeps/alpha/atomic-machine.h
1209         (atomic_compare_and_exchange_bool_rel): Likewise.
1210         * sysdeps/arm/atomic-machine.h
1211         (atomic_compare_and_exchange_bool_rel): Likewise.
1212         * sysdeps/mips/atomic-machine.h
1213         (atomic_compare_and_exchange_bool_rel): Likewise.
1214         * sysdeps/microblaze/atomic-machine.h
1215         ( __arch_compare_and_exchange_bool_8_rel,
1216         __arch_compare_and_exchange_bool_16_rel): Likewise.
1217         * sysdeps/powerpc/atomic-machine.h
1218         ( __arch_compare_and_exchange_bool_8_rel,
1219         __arch_compare_and_exchange_bool_16_rel): Likewise.
1220         * sysdeps/powerpc/powerpc32/atomic-machine.h
1221         ( __arch_compare_and_exchange_bool_32_rel,
1222         __arch_compare_and_exchange_bool_64_rel): Likewise.
1223         * sysdeps/powerpc/powerpc64/atomic-machine.h
1224         ( __arch_compare_and_exchange_bool_32_rel,
1225         __arch_compare_and_exchange_bool_64_rel): Likewise.
1226         * sysdeps/tile/atomic-machine.h
1227         (atomic_compare_and_exchange_bool_rel): Likewise.
1229 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1231         [BZ #20296]
1232         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1233         when either argument is a NaN.
1234         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1235         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1237         * math/libm-test.inc (snan_value_ld): New macro.
1238         (isgreater_test_data): Add sNaN tests.
1239         (isgreaterequal_test_data): Likewise.
1240         (isless_test_data): Likewise.
1241         (islessequal_test_data): Likewise.
1242         (islessgreater_test_data): Likewise.
1243         (isunordered_test_data): Likewise.
1244         (nextafter_test_data): Likewise.
1245         (nexttoward_test_data): Likewise.
1246         (remainder_test_data): Likewise.
1247         (remquo_test_data): Likewise.
1248         (significand_test_data): Likewise.
1249         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1251 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1253         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1254         environment macros are defined.
1255         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1257 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1259         [BZ #20191]
1260         Implement vtable verification in libio.
1261         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1262         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1263         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1264         _IO_new_file_init_internal instead of _IO_file_init.
1265         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1266         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1267         * libio/Makefile (routines): Add vtables.
1268         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1269         (_IO_init): Remove, not for internal use.
1270         (_IO_init_internal): Declare, internal replacement for _IO_init.
1271         (_IO_file_init): Remove, not for internal use.
1272         (_IO_new_file_init): Remove, not for internal use.
1273         (_IO_new_file_init_internal): Declare, internal replacement for
1274         _IO_new_file_init.
1275         (_IO_old_file_init): Remove, not for internal use.
1276         (_IO_old_file_init_internal): Declare, internal replacement for
1277         _IO_old_file_init.
1278         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1279         internal use.
1280         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1281         Declare.
1282         (libio_vtable): New macro.
1283         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1284         functions.
1285         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1286         _IO_new_file_init.
1287         (_IO_new_file_init): New externally visible wrapper which disables
1288         vtable verification.
1289         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1290         Define as vtables.
1291         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1292         (_IO_init): New externally visible wrapper which disables
1293         vtable verification.
1294         * libio/iofdopen.c (_IO_new_fdopen): Call
1295         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1296         comment.
1297         * libio/iofopen.c (__fopen_internal): Call
1298         _IO_new_file_init_internal instead of _IO_file_init.
1299         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1300         Define as vtables.
1301         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1302         _IO_new_file_init_internal instead of _IO_file_init.
1303         * libio/iopopen.c (_IO_new_popen): Likewise.
1304         (_IO_proc_jumps): Define as vtable.
1305         * libio/iovdprintf.c (_IO_vdprintf): Call
1306         _IO_new_file_init_internal instead of _IO_file_init.
1307         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1308         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1309         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1310         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1311         _IO_old_file_init.
1312         (_IO_old_file_init): New externally visible wrapper which disables
1313         vtable verification.
1314         (_IO_old_file_jumps): Define as vtable.
1315         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1316         _IO_old_file_init_internal instead of _IO_old_file_init.
1317         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1318         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1319         (_IO_old_proc_jumps): Define as vtable.
1320         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1321         Define as vtables.
1322         * libio/vtables.c: New file.
1323         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1324         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1325         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1326         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1327         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1328         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1329         instead of _IO_init.
1331 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1333         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1335 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1337         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1338         potentially unused.
1340 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1342         * test-skeleton.c (write_message): New function.
1343         * malloc/tst-mallocfork2.c (write_message): Remove.
1344         * debug/tst-longjmp_chk2.c (write_indented): New function.
1345         (write_message): Remove.
1346         (stackoverflow_handler): Call write_indented.
1348 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1350         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1351         "inexact" exceptions after fnstenv.
1352         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1353         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1354         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1356 2015-06-22  Zack Weinberg  <zackw@panix.com>
1358         * sysdeps/generic/bits/hwcap.h: Moved to ...
1359         * bits/hwcap.h: Here.
1361 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1363         * sysdeps/aarch64/memcpy.S (memcpy):
1364         Further tuning for performance.
1366 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1368         [BZ #20284]
1369         * malloc/arena.c (reused_arena): Do not return NULL if we start
1370         out with a non-corrupted arena.
1372 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1374         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1375         * misc/tst-preadvwritev.c: New file.
1376         * misc/tst-preadvwritev64.c: Likewise.
1377         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1378         usage.
1379         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1380         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1381         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1382         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1384 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1386         [BZ #19654]
1387         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1388         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1389         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1390         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1391         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1392         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1393         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1394         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1395         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1396         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1397         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1398         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1399         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1400         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1401         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1402         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1403         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1404         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1405         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1406         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1407         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1408         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1409         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1410         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1411         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1412         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1414 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1416         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1417         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1419 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1421         * sysdeps/aarch64/memcpy.S (memcpy):
1422         Rewrite of optimized memcpy and memmove.
1423         * sysdeps/aarch64/memmove.S (memmove): Remove
1424         memmove code (merged into memcpy.S).
1426 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1428         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1429         * sysdeps/generic/dl-dtv.h: New file.
1430         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1431         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1432         (dtv_t): Remove.
1433         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1434         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1435         (dtv_t): Remove.
1436         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1437         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1438         (dtv_t): Remove.
1439         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1440         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1441         (dtv_t): Remove.
1442         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1443         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1444         (dtv_t): Remove.
1445         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1446         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1447         (dtv_t): Remove.
1448         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1449         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1450         (dtv_t): Remove.
1451         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1452         (dtv_t): Remove.
1453         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1454         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1455         (dtv_t): Remove.
1456         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1457         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1458         (dtv_t): Remove.
1459         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1460         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1461         (dtv_t): Remove.
1462         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1463         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1464         (dtv_t): Remove.
1465         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1466         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1467         (dtv_t): Remove.
1468         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1469         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1470         (dtv_t): Remove.
1471         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1472         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1473         (dtv_t): Remove.
1474         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1475         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1476         (dtv_t): Remove.
1478 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1480         Revert symbol poisoning of  __malloc_initialize_hook.
1481         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1482         poisoning.
1483         * malloc/Makefile: Remove un-poisoning.
1484         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1485         instead of old__malloc_initialize_hook.
1486         * malloc/malloc-hooks.h: Likewise.
1487         * malloc/malloc.c: Likewise.
1488         * malloc/mcheck-init.c: Likewise.
1490 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1492         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1494 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1496         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1497         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1498         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1499         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1501 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1503         * NEWS: Mention addition of nextup and nextdown.
1504         * manual/arith.texi: Document nextup and nextdown.
1505         * manual/libm-err-tab.pl: Add nextup and nextdown.
1506         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1507         * math/Versions (libm): Add GLIBC_2.24.
1508         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1509         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1510         Add new test.
1511         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1512         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1513         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1514         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1515         (nextup_test_data): Likewise.
1516         (nextdown_test_data): Likewise.
1517         * math/s_nextdown.c: New file.
1518         * math/s_nextdownf.c: Likewise.
1519         * math/s_nextdownl.c: Likewise.
1520         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1521         F(nextup): New function.
1522         F(nextdown): Likewise.
1523         * math/tgmath.h: Add nextup and nextdown.
1524         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1525         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1526         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1527         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1528         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1529         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1530         Add nextup and nextdown.
1531         (CFLAGS-nldbl-nextup.c): New variable.
1532         (CFLAGS-nldbl-nextdown.c): Likewise.
1533         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1534         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1535         * sysdeps/nacl/libm.abilist: Update.
1536         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1538         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1539         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1540         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1541         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1542         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1543         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1544         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1547         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1550         Likewise.
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1560         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1561         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1563         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1565 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1567         * manual/pattern.texi: Fix typos & grammar errors.
1569 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1571         * manual/search.texi: Fix typos & grammar errors.
1573 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1575         * manual/message.texi: Fix typos & grammar errors.
1577 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1579         * manual/contrib.texi: Fix spelling typos.
1580         * manual/crypt.texi: Likewise.
1581         * manual/filesys.texi: Likewise.
1582         * manual/locale.texi: Likewise.
1583         * manual/message.texi: Likewise.
1584         * manual/nss.texi: Likewise.
1585         * manual/string.texi: Likewise.
1587 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1589         * manual/locale.texi: Fix typos & grammar errors.
1591 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1593         * manual/charset.texi: Fix typos & grammar errors.
1595 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1597         * manual/string.texi: Fix typos.
1599 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1601         * manual/ctype.texi: Fix typos.
1603 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1605         * manual/memory.texi: Fix various typos & grammar errors.
1607 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1609         [BZ #20255]
1610         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1611         * math/libm-test.inc (fdim_test_data): Add another test.
1613         [BZ #6796]
1614         [BZ #20255]
1615         [BZ #20256]
1616         * math/s_fdim.c: Include <math_private.h>.
1617         (__fdim): Use math_narrow_eval on result.
1618         * math/s_fdimf.c: Include <math_private.h>.
1619         (__fdimf): Use math_narrow_eval on result.
1620         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1621         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1622         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1623         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1624         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1625         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1626         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1627         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1628         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1629         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1630         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1631         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1632         overflow.  Add sNaN tests.
1634         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1635         fpclassify.
1636         * math/s_fdimf.c (__fdimf): Likewise.
1637         * math/s_fdiml.c (__fdiml): Likewise.
1639 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1641         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1642         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1644         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1645         ifunc'ed strcasecmp/strncasecmp.
1646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1647         [EALIGN]: Removed.
1648         [END]: Likewise.
1649         [__strcasecmp]: Define instead of the above to control symbol name.
1650         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1651         for __strcasecmp_power8.
1652         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1653         for __strncasecmp_power8.
1654         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1655         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1656         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1657         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1658         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1659         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1661 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1663         [BZ #20252]
1664         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1665         arguments when second argument is a NaN.
1666         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1667         qNaN tests.
1669         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1670         (conj_test_data): Likewise.
1671         (copysign_test_data): Likewise.
1672         (creal_test_data): Likewise.
1673         (fma_test_data): Likewise.
1674         (fmod_test_data): Likewise.
1676         [BZ #20250]
1677         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1678         itself.
1679         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1680         zero input to itself.
1681         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1682         Likewise.
1683         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1684         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1686         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1687         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1689 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1691         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1692         * nptl/tst-cancel4-common.c: New file.
1693         * nptl/tst-cancel4-common.h: Likewise.
1694         * nptl/tst-cancel4.c: Move common definitions to
1695         tst-cancel4-common.{c,h} file.
1696         * nptl/tst-cancel4_1.c: New test.
1697         * nptl/tst-cancel4_2.c: New test.
1699 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1701         [BZ #20248]
1702         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1703         (write_message): New function.
1704         (stackoverflow_handler): Call it instead of printf, to avoid
1705         excessive stack usage by printf.
1706         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1708 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1710         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1711         (prio_inherit_missing): Remove define.
1712         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1713         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1714         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1715         Likewise.
1716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1717         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1718         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1719         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1721         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1723 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1725         [BZ #19670]
1726         [BZ #19672]
1728         * io/test-lfs.c (do_prepare): Use xmalloc.
1729         * io/tst-fcntl.c (do_prepare): Likewise.
1730         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1731         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1732         * login/tst-utmp.c (do_prepare): Likewise.
1733         * posix/tst-exec.c (do_prepare): Likewise.
1734         * posix/tst-pathconf.c (prepare): Likewise.
1735         * posix/tst-spawn.c (do_prepare): Likewise.
1736         * posix/tst-truncate.c (do_prepare): Likewise.
1737         * rt/tst-aio.c (do_prepare): Likewise.
1738         * rt/tst-aio64.c (do_prepare): Likewise.
1740 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1742         [BZ #20237]
1743         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1744         (get*ent): Set entidx to NULL during initialization.  If entidx is
1745         NULL, start iteration from the beginning.
1747 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1749         * malloc/malloc.c (musable): Return correct size for dumped fake
1750         mmapped chunk.
1752 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1754         [BZ #20222]
1755         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1756         (_IO_cookie_write): Likewise.
1757         (_IO_cookie_seek): Likewise.
1758         (_IO_cookie_close): Likewise.
1759         (_IO_old_cookie_seek): Likewise.
1760         (set_callbacks): New function.
1761         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1763 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1765         * locale/programs/localedef.c (oldstyle_tables): Remove.
1766         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1768 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1770         [BZ #20240]
1771         * math/Makefile (CFLAGS-s_modf.c): New variable.
1772         (CFLAGS-s_modff.c): Likewise.
1773         (CFLAGS-s_modfl.c): Likewise.
1774         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1776 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1778         [BZ #20215]
1779         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1780         [!__GNUC_PREREQ (3,2)]: Likewise.
1782 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1784         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1785         (msghdr.msg_controllen): Likewise.
1786         (cmsghdr.cmsg_len): Likewise.
1787         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1788         ptw-oldsendmsg.
1789         (CFLAGS-oldrecvmsg.c): Remove rule.
1790         (CFLAGS-oldsendmsg.c): Likewise.
1791         (CFLAGS-recvmsg.c): Add rule.
1792         (CFLAGS-sendmsg.c): Likewise.
1793         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1794         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1795         (CFLAGS-recvmsg.c): Remove rule.
1796         (CFLAGS-sendmsg.c): Likewise.
1797         (CFLAGS-oldrecvmsg.c): Likewise.
1798         (CFLAGS-oldsendmsg.c): Likewise.
1799         (CFLAGS-recvmmsg.c): Likewise.
1800         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1801         to kernel defined interfaces.
1802         (msghdr.msg_controllen): Likewise.
1803         (cmsghdr.cmsg_len): Likewise.
1804         (msghdr.__glibc_reserved1): Remove member.
1805         (msghdr.__glibc_reserved2): Likewise.
1806         (cmsghdr.__glibc_reserved1): Likewise.
1807         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1808         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1809         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1810         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1811         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1812         version.
1813         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1814         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1815         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1816         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1817         Remove recvmsg and sendmsg.
1818         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1819         Likewise.
1820         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1821         Likewise.
1822         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1823         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1824         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1827         Likewise.
1828         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1829         [libc] (GLIBC_2.24): Likewise.
1830         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1835         [libc] (GLIBC_2.24): Likewise.
1836         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1837         Likewise.
1838         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1839         Likewise.
1840         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1841         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1842         Likewise.
1843         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1844         Likewise.
1845         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1848         Likewise.
1849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1850         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1851         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1852         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1853         version for {recv,send,recm,sendm}msg.
1854         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1867         Likewise.
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1869         Likewise.
1870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1884 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1886         [BZ #19564]
1887         Remove __malloc_initialize_hook from the API.
1888         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1889         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1890         #pragma GCC poison.
1891         * malloc/malloc-hooks.h: New file.
1892         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1893         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1894         (old__malloc_initialize_hook): Rename from
1895         __malloc_initialize_hook to evade poisoning.  Turn into compat
1896         symbol.
1897         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1898         __malloc_initialize_hook.
1899         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1900         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1901         * manual/memory.texi (Hooks for Malloc): Remove
1902         __malloc_initialize_hook.  Adjust hook example.
1904 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1906         [BZ #20235]
1907         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1908         itself.
1909         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1910         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1912         [BZ #20234]
1913         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1914         infinity or NaN input to itself.
1916         [BZ #20233]
1917         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1918         to itself.
1920         [BZ #20232]
1921         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1922         itself.
1924 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1926         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1927         __libc_start_main via GOT.
1929 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1931         * sysdeps/x86_64/memcopy.h: New file.
1932         * sysdeps/x86_64/wordcopy.c: Likewise.
1934 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1936         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1937         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1938         <cstdlib>.
1939         (optimization_barrier): New.
1940         (do_test): Use it.  Call quick_exit in the global namespace.
1941         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1942         instead of <cstdlib>, <thread>.
1943         (optimization_barrier): New.
1944         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1945         Call quick_exit in the global namespace.
1946         (do_test): Call optimization_barrier.  Use pthread_create,
1947         pthread_join instead of std::thread.
1949 2016-06-09  Andreas Schwab  <schwab@suse.de>
1951         [BZ #19755]
1952         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1953         new entries in auto-propagate mode.
1954         * nscd/grpcache.c (cache_addgr): Likewise.
1956 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1958         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1959         New functions.
1960         (add_temp_file): Use them.
1962 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1964         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1966 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1968         [BZ #20229]
1969         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1970         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1971         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1973         [BZ #20228]
1974         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1975         itself.
1976         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1977         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1979         [BZ #20227]
1980         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1981         itself.
1982         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1983         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1984         * math/libm-test.inc (log_test_data): Add sNaN tests.
1986         [BZ #20226]
1987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1988         itself.
1989         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1990         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1991         (exp10_test_data): Likewise.
1992         (expm1_test_data): Likewise.
1994         [BZ #20225]
1995         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1996         itself.
1997         * math/s_ldexpf.c (__ldexpf): Likewise.
1998         * math/s_ldexpl.c (__ldexpl): Likewise.
1999         * math/w_scalbln.c (__w_scalbln): Likewise.
2000         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2001         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2002         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2003         (scalbln_test_data): Likewise.
2005         [BZ #20224]
2006         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2007         argument to itself.
2008         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2010 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2012         [BZ #19776]
2013         * sysdeps/x86_64/memcpy.S: Make it dummy.
2014         * sysdeps/x86_64/mempcpy.S: Likewise.
2015         * sysdeps/x86_64/memmove.S: New file.
2016         * sysdeps/x86_64/memmove_chk.S: Likewise.
2017         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2018         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2019         * sysdeps/x86_64/memmove.c: Removed.
2020         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2021         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2022         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2023         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2024         Likewise.
2025         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2026         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2028         memcpy-sse2-unaligned, memmove-avx-unaligned,
2029         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2031         (__libc_ifunc_impl_list): Replace
2032         __memmove_chk_avx512_unaligned_2 with
2033         __memmove_chk_avx512_unaligned.  Remove
2034         __memmove_chk_avx_unaligned_2.  Replace
2035         __memmove_chk_sse2_unaligned_2 with
2036         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2037         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2038         with __memmove_avx512_unaligned.  Replace
2039         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2040         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2041         with __memcpy_chk_avx512_unaligned.  Remove
2042         __memcpy_chk_avx_unaligned_2.  Replace
2043         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2044         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2045         Replace __memcpy_avx512_unaligned_2 with
2046         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2047         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2048         with __mempcpy_chk_avx512_unaligned.  Remove
2049         __mempcpy_chk_avx_unaligned_2.  Replace
2050         __mempcpy_chk_sse2_unaligned_2 with
2051         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2052         Replace __mempcpy_avx512_unaligned_2 with
2053         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2054         Replace __mempcpy_sse2_unaligned_2 with
2055         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2056         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2057         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2058         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2059         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2060         (ENTRY): Removed.
2061         (END): Likewise.
2062         (ENTRY_CHK): Likewise.
2063         (libc_hidden_builtin_def): Likewise.
2064         Don't include ../memcpy.S.
2065         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2066         __memcpy_chk_avx512_unaligned_erms and
2067         __memcpy_chk_avx512_unaligned.  Use
2068         __memcpy_chk_avx_unaligned_erms and
2069         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2070         Default to __memcpy_chk_sse2_unaligned.
2071         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2072         Change function suffix from unaligned_2 to unaligned.
2073         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2074         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2075         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2076         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2077         (ENTRY): Removed.
2078         (END): Likewise.
2079         (ENTRY_CHK): Likewise.
2080         (libc_hidden_builtin_def): Likewise.
2081         Don't include ../mempcpy.S.
2082         (mempcpy): New.  Add a weak alias.
2083         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2084         __mempcpy_chk_avx512_unaligned_erms and
2085         __mempcpy_chk_avx512_unaligned.  Use
2086         __mempcpy_chk_avx_unaligned_erms and
2087         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2088         Default to __mempcpy_chk_sse2_unaligned.
2090 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2092         [BZ #19881]
2093         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2094         into ...
2095         * sysdeps/x86_64/memset.S: This.
2096         (__bzero): Removed.
2097         (__memset_tail): Likewise.
2098         (__memset_chk): Likewise.
2099         (memset): Likewise.
2100         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2101         defined.
2102         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2103         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2104         (__memset_zero_constant_len_parameter): Check SHARED instead of
2105         PIC.
2106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2107         memset-avx2 and memset-sse2-unaligned-erms.
2108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2109         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2110         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2111         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2112         (__bzero): Enabled.
2113         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2114         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2115         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2116         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2117         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2118         (memset): Removed.
2119         (__memset_chk): Likewise.
2120         (MEMSET_SYMBOL): New.
2121         (libc_hidden_builtin_def): Replace __memset_sse2 with
2122         __memset_sse2_unaligned.
2123         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2124         __memset_chk_sse2 and __memset_chk_avx2 with
2125         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2126         Use __memset_chk_sse2_unaligned_erms or
2127         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2128         __memset_chk_avx512_unaligned_erms and
2129         __memset_chk_avx512_unaligned.
2131 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2133         * math/gen-auto-libm-test.c (fp_format_desc): remove
2134         suffix member.
2135         (output_generic_value): Remove usage of suffix member,
2136         and the resulting unuse of the fp_format argument.
2137         (output_for_one_input_case): Remove unused fp_format
2138         parameter.
2140         * math/auto-libm-test-out: Regenerate.
2142         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2143         usage with TEST_COND_ibm128.
2144         (TEST_COND_flt_32): Remove.
2145         (TEST_COND_dbl_64): Remove.
2146         (TEST_COND_ldbl_96_intel): Remove.
2147         (TEST_COND_ldbl_96_m68k): Remove.
2148         (TEST_COND_ldbl_128): Remove.
2150 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2152         * auto-libm-test-in:
2153         Replace flt-32 usage with binary32.
2154         Replace dbl-64 usage with binary64.
2155         Replace ldbl-intel-96 usage with intel96.
2156         Replace ldbl-m68k-96 usage with m68k96.
2157         Replace ldbl-128ibm usage with ibm128.
2158         Replace ldbl-128 usage with binary128.
2160         * auto-libm-test-out: Regenerate.
2162 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2164         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2165         (parse_ulps): Dynamically generate type name matching
2166         string from all_floats.
2167         (get_ulps): Generate the ulps as an array instead.
2168         (output_ulps): Dynamically compose the type based
2169         on the number of supported formats, and print
2170         the indices as type specific helper macros.
2172         * math/libm-test.inc: Remove comment about CHOOSE.
2173         (ulp_data): Generate the type in libm-test-ulps.h.
2174         (ULP_IDX): New macro.
2175         (find_ulps): Update usage of max_ulp.
2177         * math/test-double-vlen2.h (CHOOSE): Remove.
2178         * math/test-double-vlen4.h (CHOOSE): Likewise.
2179         * math/test-double-vlen8.h (CHOOSE): Likewise.
2180         * math/test-float.c (CHOOSE): Likewise.
2181         * math/test-float-finite.c (CHOOSE): Likewise.
2182         * math/test-double.c (CHOOSE): Likewise.
2183         * math/test-double-finite.c (CHOOSE): Likewise.
2184         * math/test-idouble.c (CHOOSE): Likewise.
2185         * math/test-ifloat.c (CHOOSE): Likewise.
2186         * math/test-ildoubl.c (CHOOSE): Likewise.
2187         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2188         * math/test-ldouble.c (CHOOSE): Likewise.
2190         * math/test-float.h (TEST_FLOAT): Remove.
2191         * math/test-double.h (TEST_DOUBLE): Likewise.
2192         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2194 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2196         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2197         (parse_args): Strip C suffix from floating point literals
2198         typed with 'f' and wrap them with LIT().
2200         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2201         (test_ff_f_data_nexttoward): Rename to
2202         (test_fj_f_data): New struct.
2203         (nexttoward_test_data): Relabel tests as
2204         TEST_fj_f instead of TEST_ff_f.
2206 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2208         Emacs bug 23726.
2209         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2210         (__libc_realloc): Correct size computation for dumped fake mmapped
2211         chunks.
2213 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2215         [BZ #20219]
2216         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2217         to itself.
2218         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2220         [BZ #20218]
2221         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2222         to itself.
2223         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2225 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2227         [BZ #20195]
2228         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2229         check to ...
2230         (init_cpu_features): Here.
2232 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2234         [BZ #20214]
2235         * sysdeps/unix/sysv/linux/bits/in.h
2236         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2237          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2238         Define to 1.
2239         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2240          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2241         Define to 0.
2242         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2243         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2245 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2247         [BZ #20198]
2248         * stdlib/Makefile (tests): Add tst-quick_exit, and
2249         tst-thread-quick_exit.
2250         [ifeq ($(have-cxx-thread_local),yes)]
2251         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2252         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2253         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2254         (LDLIBS-tst-thread-quick_exit): Likewise.
2255         [ifneq ($(have-cxx-thread_local),yes)]
2256         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2257         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2258         If run_dtors is true call __call_tls_dtors.
2259         (exit): Call __run_exit_handlers with run_dtors set to true.
2260         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2261         definition.
2262         * stdlib/quick_exit.c (quick_exit): Remove function.
2263         (__new_quick_exit): New function.
2264         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2265         function.
2266         * stdlib/tst-quick_exit.cc: New file.
2267         * stdlib/tst-thread-quick_exit.cc: New file.
2268         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2269         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2270         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2271         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2272         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2273         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2274         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2275         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2276         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2277         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2278         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2279         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2280         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2281         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2282         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2283         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2288         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2289         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2290         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2291         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2292         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2295         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2296         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2297         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2299 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2301         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2302         a typo in comments.
2304 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2306         [BZ #20213]
2307         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2308         argument to itself.
2309         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2311 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2313         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2314         required flags.
2315         (CFLAGS-pwritev64.c): Likewise.
2316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2318         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2319         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2320         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2321         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2322         syscall from auto-generation.
2323         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2324         [WORDSIZE == 64] (pwritev64): Remove macro.
2325         [!PWRITEV] (PWRITEV): Likewise.
2326         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2327         [!PWRITEV] (PWRITE): Likewise.
2328         [!PWRITEV] (OFF_T): Likewise.
2329         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2330         (LO_HI_LONG): Remove macro.
2331         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2332         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2333         (PWRITEV): Remove macro.
2334         (PWRITEV_REPLACEMENTE): Likewise.
2335         (PWRITE): Likewise.
2336         (OFF_T): Likewise.
2337         (pwritev64): New function.
2338         * nptl/tst-cancel4.c (tf_writev): Add test.
2340         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2341         required flags.
2342         (CFLAGS-preadv64.c): Likewise.
2343         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2344         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2345         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2346         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2347         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2348         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2349         syscall from auto-generation.
2350         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2351         [WORDSIZE == 64] (preadv64): Remove macro.
2352         [!PREADV] (PREADV): Likewise.
2353         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2354         [!PREADV] (PREAD): Likewise.
2355         [!PREADV] (OFF_T): Likewise.
2356         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2357         (LO_HI_LONG): Remove macro.
2358         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2359         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2360         (PREADV): Remove macro.
2361         (PREADV_REPLACEMENTE): Likewise.
2362         (PREAD): Likewise.
2363         (OFF_T): Likewise.
2364         (preadv64): New function.
2365         * nptl/tst-cancel4.c (tf_preadv): Add test.
2367 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2369         [BZ #20212]
2370         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2371         argument to itself.
2372         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2374 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2376         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2377         New symbol defined as libc_hidden_def.
2378         (strcasestr): Became a weak alias to __strcasestr.
2379         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2380         according to multi-arch support.  Move __stpncpy hidden
2381         definition from here to...
2382         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2383         symbol stpncpy.
2384         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2385         libc_hidden_builtin_def.
2386         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2387         memset symbol to use when multi-arch support is available.
2389 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2391         * dlfcn/tst-rec-dlopen.c: Include string.h.
2393 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2395         * manual/install.texi: Remove mention of --without-tls
2396         * INSTALL: Regenerate.
2398 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2400         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2401         Remove.
2402         (call_function, interposed_malloc_called): New variables.
2403         (malloc): New function.
2404         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2405         and clear call_function as needed.
2407 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2409         * include/wchar.h (__wmemset): Use __typeof.
2411 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2413         * include/wchar.h (__wmemset): Declare function without typeof.
2415 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2417         [BZ #20205]
2418         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2419         exponent when incrementing negative subnormal with low mantissa
2420         word zero.
2421         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2422         Add another test.
2424 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2426         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2427         __wmemset instead of wmemset.
2429 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2431         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2432         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2433         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2434         __USE_KERNEL_IPV6_DEFS to 0.
2435         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2436         Update comment.
2438 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2440         [BZ #19861]
2441         Do not use IFUNC resolver with potentially unrelocated symbol.
2442         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2443         (DEFINE_FORK): Remove macro and inline definition.
2444         (fork_alias): Renamed from fork_ifunc.
2445         (__fork_alias): Renamed from __fork_ifunc.
2447 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2449         [BZ 19653]
2450         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2451         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2453 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2455         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2456         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2457         i386-linux-gnu).
2458         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2459         Set to no.
2460         * sysdeps/mach/hurd/configure: Refresh.
2462 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2464         [BZ #20178]
2465         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2466         on failure instead of exit.
2468 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2470         [BZ #3629]
2471         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2472         of POSIX.1-2008.
2474 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2476         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2477           Use PLT entry for calling _hurd_self_sigstate.
2479 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2481         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2482         available logical processors with SMT level type sharing L2
2483         cache for Intel processors.
2485 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2487         [BZ #20160]
2488         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2489         argument to itself before returning the result.
2490         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2491         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2492         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2493         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2494         Likewise.
2495         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2496         Likewise.
2497         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2498         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2499         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2500         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2501         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2502         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2504         [BZ #20160]
2505         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2506         argument to itself before returning the result.
2507         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2508         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2509         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2510         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2511         Likewise.
2512         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2513         Likewise.
2514         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2515         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2516         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2517         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2518         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2519         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2521 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2523         * libm-test.inc: Replace usage of M_El with
2524         (lit_e): New macro.
2526 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2528         * libm-test.inc: Replace usage of M_PI_4l with
2529         (lit_pi_4_d): New macro.
2531 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2533         * libm-test.inc: Replace usage of M_PIl with
2534         (lit_pi): New macro.
2536 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2538         * libm-test.inc: Replace usage of M_PI2l with
2539         (lit_pi_2_d): New macro.
2541         * math/test-double.h (LITM): New macro.
2542         * math/test-float.h (LITM): Likewise.
2543         * math/test-ldouble.h (LITM): Likewise.
2545 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2547         * libm-test.inc (M_PI_34l): Rename to
2548         (lit_pi_3_m_4_d): New Macro.
2549         (M_PI_34_LOG10El): Rename to
2550         (lit_pi_3_m_4_ln10_m_d): New Macro.
2551         (M_PI2_LOG10El): Rename to
2552         (lit_pi_2_ln10_m_d):  New Macro.
2553         (M_PI4_LOG10El): Rename to
2554         (lit_pi_4_ln10_m_d):  New Macro.
2555         (M_PI_LOG10El): Rename to
2556         (lit_pi_ln10_d):  New Macro.
2558 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2560         [BZ #20157]
2561         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2562         determine whether to negate low half if [_ARCH_PPCGR], and integer
2563         comparison otherwise.
2564         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2565         determine whether to negate low half.
2567         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2568         (NO_TEST_INLINE_DOUBLE): Likewise.
2569         (TEST_COND_x86_64): Likewise.
2570         (TEST_COND_x86): Likewise.
2571         (M_PI_6l): Likewise.
2573 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2575         * math/libm-test.inc:
2576         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2577         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2578         (TEST_LDOUBLE): Update usage to evaluate as true if
2579         the guarded tests match the property being tested.
2580         (LDBL_MAX_EXP): Change to MAX_EXP.
2581         (LDBL_MIN_EXP): Change to MIN_EXP.
2582         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2583         nexttoward tests.
2585 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2587         * math/libm-test.inc:
2588         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2589         (TYPE_MIN): Likewise.
2590         (TYPE_TRUE_MIN): Likewise.
2591         (TYPE_MAX): Likewise.
2592         (MIN_EXP): Likewise.
2593         (MAX_EXP): Likewise.
2594         (MANT_DIG): Likewise.
2596         (FSTR_MAX): New macro.
2597         (__CONCATX): Likewise.
2598         (QTYPE_STR): Likewise.
2599         (TEST_COND_binary32): Likewise.
2600         (TEST_COND_binary64): Likewise.
2601         (TEST_COND_binary128): Likewise.
2602         (TEST_COND_ibm128): Likewise.
2603         (TEST_COND_intel96): Likewise.
2604         (TEST_COND_m68k96): Likewise.
2606         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2607         (TEST_COND_dbl_64): Likewise.
2608         (TEST_COND_ldbl_96_intel): Likewise.
2609         (TEST_COND_ldbl_96_m68k): Likewise.
2610         (TEST_COND_ldbl_128): Likewise.
2611         (TEST_COND_ldbl_128ibm): Likewise.
2613         (plus_zero): Redefine using LIT macro.
2614         (minus_zero): Likewise.
2615         (plus_infty): Redefine as (INF).
2616         (minux_infty): Redefine as (-INF).
2617         (max_value): Redefine as TYPE_MAX.
2618         (min_value): Redefine as TYPE_MIN.
2619         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2621         (print_float): Refactor to use snprintf to convert FLOAT values
2622         to string. This brings it closer to dropin replacement of strtof
2623         for the TS 18661 defined types.
2624         (update_stats): Likewise.
2625         (print_complex_function_ulps): Likewise.
2626         (print_max_error): Likewise.
2627         (print_complex_max_error): Likewise.
2628         (check_float_internal): Likewise.
2630         * math/test-float.h (PREFIX): New macro.
2631         (LIT): Likewise.
2632         (TYPE_STR): Likewise.
2633         (FTOSTR): Likewise.
2635         * math/test-double.h (PREFIX): New macro.
2636         (LIT): Likewise.
2637         (TYPE_STR): Likewise.
2638         (FTOSTR): Likewise.
2640         * math/test-ldouble.h (PREFIX): New macro.
2641         (LIT): Likewise.
2642         (TYPE_STR): Likewise.
2643         (FTOSTR): Likewise.
2645 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2647         [BZ #20156]
2648         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2649         to itself when zero or not finite.
2650         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2652         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2653         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2655 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2657         [BZ #20153]
2658         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2659         x * x + x for infinities and NaNs.
2661         [BZ #20151]
2662         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2663         argument to itself before returning result.
2664         (__ieee754_y0l): Likewise.
2665         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2666         (__ieee754_y1l).
2668         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2669         (atan_test_data): Likewise.
2670         (ceil_test_data): Likewise.
2671         (cos_test_data): Likewise.
2672         (cosh_test_data): Likewise.
2673         (erf_test_data): Likewise.
2674         (exp2_test_data): Likewise.
2675         (fabs_test_data): Likewise.
2676         (floor_test_data): Likewise.
2677         (ilogb_test_data): Likewise.
2678         (j0_test_data): Likewise.
2679         (j1_test_data): Likewise.
2680         (jn_test_data): Likewise.
2681         (lgamma_test_data): Likewise.
2682         (lrint_test_data): Likewise.
2683         (llrint_test_data): Likewise.
2684         (logb_test_data): Likewise.
2685         (lround_test_data): Likewise.
2686         (llround_test_data): Likewise.
2687         (nearbyint_test_data): Likewise.
2688         (rint_test_data): Likewise.
2689         (round_test_data): Likewise.
2690         (sin_test_data): Likewise.
2691         (sincos_test_data): Likewise.
2692         (sinh_test_data): Likewise.
2693         (sqrt_test_data): Likewise.
2694         (tan_test_data): Likewise.
2695         (tanh_test_data): Likewise.
2696         (tgamma_test_data): Likewise.
2697         (trunc_test_data): Likewise.
2698         (y0_test_data): Likewise.
2699         (y1_test_data): Likewise.
2700         (yn_test_data): Likewise.
2702         * math/libm-test.inc: Update comment about NaN testing.
2703         (TEST_SNAN): New macro.
2704         (snan_value): Likewise.
2705         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2706         (fpclassify_test_data): Add sNaN tests.
2707         (isfinite_test_data): Likewise.
2708         (isinf_test_data): Likewise.
2709         (isnan_test_data): Likewise.
2710         (isnormal_test_data): Likewise.
2711         (issignaling_test_data): Likewise.
2712         (signbit_test_data): Likewise.
2713         * math/gen-libm-test.pl (%beautify): Add snan_value.
2714         (show_exceptions): Add argument $test_snan.
2715         (parse_args): Handle snan_value as non-finite.  Update call to
2716         show_exceptions.
2717         * math/Makefile (libm-test-no-inline-cflags): Add
2718         -fsignaling-nans.
2720 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2722         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2723         (CFLAGS-oldsendmsg.c): Add rule.
2724         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2725         Correct recvmsg symbol name.
2726         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2727         Likewise.
2729 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2731         * sysdeps/unix/sysv/linux/Makefile
2732         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2733         oldsendmmsg.
2734         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2735         sendmmsg.
2736         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2739         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2744         Likewise.
2745         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2746         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2747         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2748         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2749         iovlen and controllen fields to adjust to POSIX specification.
2750         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2752         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2753         and change to correct expected type.
2754         (msghdr.msg_controllen): Likewise.
2755         (cmsghdr.cmsg_len): Likewise.
2756         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2757         expected POSIX assumption about the size.
2758         (msghdr.msg_controllen): Likewise.
2759         (msghdr.__glibc_reserved1): Likewise.
2760         (msghdr.__glibc_reserved2): Likewise.
2761         (cmsghdr.cmsg_len): Likewise.
2762         (cmsghdr.__glibc_reserved1): Likewise.
2763         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2764         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2765         (CFLAGS-sendmsg.c): Remove rule.
2766         (CFLAGS-recvmsg.c): Likewise.
2767         (CFLAGS-oldsendmsg.c): Add rule.
2768         (CFLAGS-oldrecvmsg.c): Likewise.
2769         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2770         recvmsg and sendmsg.
2771         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2774         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2775         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2776         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2777         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2778         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2779         Likewise.
2780         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2781         Likewise.
2782         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2787         Likewise.
2788         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2789         Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2791         (GLIBC_2.24): Likewise.
2792         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2793         Likewise.
2794         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2795         Likewise.
2796         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2797         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2798         Likewise.
2799         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2800         Likewise.
2801         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2802         Likewise.
2803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2804         (GLIBC_2.24): Likewise.
2805         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2808         Likewise.
2809         * sysdeps/unix/sysv/linux/Makefile
2810         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2811         (CFLAGS-sendmsg.c): Add rule.
2812         (CFLAGS-recvmsg.c): Likewise.
2813         (CFLAGS-oldsendmsg.c): Likewise.
2814         (CFLAGS-oldrecvmsg.c): Likewise.
2815         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2816         initialization.
2817         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2818         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2819         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2820         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2821         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2822         iovlen and controllen fields to adjust to POSIX specification.
2823         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2824         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2825         added recvmsg and sendmsg.
2826         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2827         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2828         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2829         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2831         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2836         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2837         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2839         Likewise.
2840         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2842         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2843         Likewise.
2844         Likewise.
2845         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2846         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2847         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2848         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2849         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2850         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2852         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2854         Likewise.
2855         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2856         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2858         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2859         from auto-generation.
2860         (sendmsg): Likewise.
2861         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2862         (sendmsg): Likewise.
2863         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2864         (sendmsg): Likewise.
2865         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2866         (sendmsg): Likewise.
2867         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2868         (sendmsg): Likewise.
2869         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2870         (sendmsg): Likewise.
2871         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2872         Likewise.
2873         (sendmsg): Likewise.
2874         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2875         (sendmsg): Likewise.
2876         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2877         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2878         Remove.
2879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2880         Likewise.
2881         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2882         Undefine.
2883         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2884         Likewise.
2885         * sysdeps/unix/sysv/linux/kernel-features.h
2886         (__ASSUME_SENDMSG_SYSCALL): Define.
2887         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2888         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2890         Remove.
2891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2892         Likewise.
2893         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2894         Undefine.
2895         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2896         Likewise.
2897         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2899         Remove.
2900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2901         Likewise.
2902         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2903         Undefine.
2904         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2905         Likewise.
2906         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2907         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2908         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2909         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2910         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2911         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2912         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2913         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2914         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2916 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2918         * stdlib/gen-tst-strtod-round.c: Add backslash to
2919         compile command in comment.
2920         (printfp): Remove the literal suffix, and define an infinite
2921         value as INF to avoid expansion clash with INFINITY.
2922         (round_str): Remove the literal suffix.
2923         (round_for_all): Likewise, remove the now duplicate ldbl-64
2924         entry, and remove some magic constants.
2926         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2927         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2928         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2929         (_CONCAT): New macro.
2930         (CONCAT): Likewise.
2931         (CHOOSE_ld): Likewise.
2932         (CHOOSE_f): Likewise.
2933         (CHOOSE_d): Likewise.
2934         (FTYPE_MEMBER): Likewise.
2935         (BOOL_MEMBER): Likewise.
2936         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2937         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2938         (_XNTRY): Likewise.
2939         (XNTRY): Likewise.
2940         (_ENTRY): Likewise.
2941         (ENTRY): Likewise.
2942         (test_exactness): Generate members via macro.
2943         (test_results): Likewise.
2944         (test): Update members.
2945         (TEST): Redefine using new macros.
2946         (INF): New macro.
2947         (fetestmodes): New structure.
2948         (do_test): Refactor to be type generic.
2949         (test_in_one_mode): Refactor duplicate code into
2950         (GEN_ONE_TEST): New macro.
2952         * stdlib/tst-strtod-round-data.h: Regenerate.
2954         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2955         Extend to pass additional arbitrary parameters to
2956         generators.
2958 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2960         [BZ #15479]
2961         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2962         floating-point state after first floating-point operation on
2963         input.  Restore full floating-point state instead of just rounding
2964         mode.
2965         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2966         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2967         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2968         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2969         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2971         [BZ #15479]
2972         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2973         floating-point state after first floating-point operation on
2974         input.  Restore full floating-point state instead of just rounding
2975         mode.
2976         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2977         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2978         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2979         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2980         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2982 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2984         [BZ #19727]
2985         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2986         valid high surrogate.
2987         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2988         of an utf16 surrogate.
2989         * iconv/gconv_simple.c (BODY): Likewise.
2990         * iconvdata/bug-iconv12.c: New file.
2991         * iconvdata/Makefile (tests): Add bug-iconv12.
2993 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2995         [BZ #19726]
2996         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2997         outptrp in case of an illegal input.
2998         * iconv/tst-iconv6.c: New file.
2999         * iconv/Makefile (tests): Add tst-iconv6.
3001 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3003         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3004         an error in case of a value in range of an utf16 low surrogate.
3006 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3008         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3009         an error in case of a value in range of an utf16 low surrogate.
3011 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3013         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3014         Move to ...
3015         * sysdeps/s390/Makefile: ... here.
3016         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3017         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3018         (BRANCH_ON_COUNT): New define.
3019         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3020         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3021         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3022         run on s390-32, too.
3023         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3024         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3025         run on s390-32, too.
3026         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3027         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3028         run on s390-32, too.
3030 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3032         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3033         etf3eh or new vector loop-variant.
3035 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3037         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3038         etf3eh or new vector loop-variant.
3040 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3042         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3043         or new vector loop-variant.
3045 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3047         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3048         Rename to TR_LOOP and usage of tr instead of troo instruction.
3050 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3052         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3055 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3057         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3058         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3059         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3060         New override define.
3061         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3063 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3065         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3066         * sysdeps/s390/configure.ac: Add test for S390 vector register
3067         support in gcc.
3068         * sysdeps/s390/configure: Regenerated.
3070 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3072         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3073         Install file from $(objpfx)gconv-modules.
3074         ($(objpfx)gconv-modules): Concatenate architecture specific file
3075         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3076         * sysdeps/s390/gconv-modules: New file.
3077         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3078         Deleted.
3079         ($(objpfx)gconv-modules-s390): Deleted.
3080         (sysdeps-gconv-modules): New variable.
3082 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3084         [BZ #15479]
3085         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3086         of immediate operand to rounding instruction.
3087         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3088         Likewise.
3089         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3090         Likewise.
3091         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3092         Likewise.
3094 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3096         * math/libm-test.inc (MIN_EXP): Directly define as
3097         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3099 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3101         * math/libm-test.inc (MANT_DIG): Directly define as
3102         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3104 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3106         * stdlib/gen-tst-strtod-round.c (main):
3107           Change usage to more closely match the generated
3108           output.  Add usage and compilation instructions.
3109           (string_to_fp): Add and use FILE* parameter as
3110           output target.
3111           (print_fp): Likewise.
3112           (round_str): Likewise.
3113           (round_for_all): Likewise.
3114         * stdlib/tst-strtod-round.c (tests): Move into
3115         * stdlib/tst-strtod-round-data.h: New file.
3117 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3119         [BZ #15479]
3120         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3121         (__round): Do not force "inexact" exception.
3122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3123         variable.
3124         (__round): Do not force "inexact" exception.
3125         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3126         (__roundf): Do not force "inexact" exception.
3127         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3128         (__roundl): Do not force "inexact" exception.
3129         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3130         (__roundl): Do not force "inexact" exception.
3131         * math/libm-test.inc (round_test_data): Do not allow spurious
3132         "inexact" exceptions.
3134         [BZ #15479]
3135         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3136         exception in comment.
3137         (huge): Remove variable.
3138         (__floor): Do not force "inexact" exception.
3139         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3140         "inexact" exception in comment.
3141         (huge): Remove variable.
3142         (__floor): Do not force "inexact" exception.
3143         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3144         exception in comment.
3145         (huge): Remove variable.
3146         (__floorf): Do not force "inexact" exception.
3147         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3148         exception in comment.
3149         (huge): Remove variable.
3150         (__floorl): Do not force "inexact" exception.
3152         [BZ #15479]
3153         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3154         exception in comment.
3155         (huge): Remove variable.
3156         (__ceil): Do not force "inexact" exception.
3157         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3158         "inexact" exception in comment.
3159         (huge): Remove variable.
3160         (__ceil): Do not force "inexact" exception.
3161         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3162         (__ceilf): Do not force "inexact" exception.
3163         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3164         exception in comment.
3165         (huge): Remove variable.
3166         (__ceill): Do not force "inexact" exception.
3168 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3170         * config.h.in (BIND_NOW): New.
3171         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3172         * configure: Regenerated.
3173         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3174         indirect branch via the GOT slot.
3176 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3178         [BZ #19765]
3179         * sysdeps/s390/mempcpy.S: New File.
3180         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3182         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3183         Add mempcpy variants.
3184         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3185         (memcpy): Adjust to be usable from mempcpy entry point.
3186         (__memcpy_mvcle): Likewise.
3187         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3188         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3189         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3190         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3191         (__memcpy_z10): Likewise.
3192         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3194 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3196         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3197         Remove __GI_ symbol.
3198         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3199         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3200         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3201         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3202         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3203         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3205 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3207         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3208         Use cghi instead of chi to compare 64bit value.
3210 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3212         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3213         Jump to 1MB check before executing mvc-loop.
3215 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3217         [BZ #6527]
3218         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3219         unconditionally.
3220         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3222 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3224         * stdlib/tst-strtod6.c (do_test): Use new type generic
3225         invocation of the test function.
3226         (test): Refactor into ...
3227         (TEST_STRTOD): New macro base function.
3229 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3231         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3232         (TEST_STRTOD): New macro.
3233         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3235 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3237         * stdlib/tst-strtod6.c (do_test): Use new type generic
3238         invocation of the test function.
3239         (test): Refactor into ...
3240         (TEST_STRTOD): New macro base function.
3242 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3244         CVE-2016-4429
3245         [BZ #20112]
3246         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3247         payload.
3249 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3251         [BZ #20111]
3252         * bits/sockaddr.h (_SS_SIZE): Define.
3253         * bits/socket.h (_SS_SIZE): Remove.
3254         (_SS_PADSIZE): Adjust to account for all padding.
3255         (struct sockaddr_storage): Update comment.  Avoid implicit
3256         padding.
3257         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3258         (_SS_PADSIZE): Adjust to account for all padding.
3259         (struct sockaddr_storage): Update comment.  Avoid implicit
3260         padding.
3261         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3262         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3263         (_SS_PADSIZE): Adjust to account for all padding.
3264         (struct sockaddr_storage): Update comment.  Avoid implicit
3265         padding.
3266         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3267         __SS_SIZE is 126 in this version.
3268         * inet/tst-sockaddr.c: New file.
3269         * inet/Makefile (tests): Add tst-sockaddr.c
3270         (tst-sockaddr.c): Compile with non-strict aliasing.
3272 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3274         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3275         [XPG3 || XPG4].
3276         (NL_ARGMAX): Also expect for [XPG3].
3277         (NL_LANGMAX): Likewise.
3278         (NL_MSGMAX): Likewise.
3279         (NL_NMAX): Likewise.
3280         (NL_SETMAX): Likewise.
3281         (NL_TEXTMAX): Likewise.
3282         (NZERO): Likewise.
3283         (TMP_MAX): Likewise.
3284         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3285         variable.
3287         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3288         (PF_MAX): Update value.
3289         (AF_KCM): New macro.
3290         (SOL_NETBEUI): Likewise.
3291         (SOL_LLC): Likewise.
3292         (SOL_DCCP): Likewise.
3293         (SOL_NETLINK): Likewise.
3294         (SOL_TIPC): Likewise.
3295         (SOL_RXRPC): Likewise.
3296         (SOL_PPPOL2TP): Likewise.
3297         (SOL_BLUETOOTH): Likewise.
3298         (SOL_PNPIPE): Likewise.
3299         (SOL_RDS): Likewise.
3300         (SOL_IUCV): Likewise.
3301         (SOL_CAIF): Likewise.
3302         (SOL_ALG): Likewise.
3303         (SOL_NFC): Likewise.
3304         (SOL_KCM): Likewise.
3305         (MSG_BATCH): New enum value and macro.
3307 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3309         [BZ #18185]
3310         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3311         sharing L2 cache to 2 for Knights Landing.
3313 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3315         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3316         (FTW_DP): Do not expect for [XPG3 || XPG4].
3317         (FTW_SL): Do not expect for [XPG3].
3318         (FTW_SLN): Likewise.
3319         (FTW_PHYS): Likewise.
3320         (FTW_MOUNT): Likewise.
3321         (FTW_DEPTH): Likewise.
3322         (FTW_CHDIR): Likewise.
3323         (nftw): Likewise.
3324         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3325         variable.
3327 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3329         * manual/errno.texi: Fix various typos & grammar errors.
3331 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3333         * manual/intro.texi: Fix duplicated typo.
3335 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3337         [BZ #13304]
3338         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3339         <float.h>, <math_private.h> and <stdlib.h>.
3340         (add_split): New function.
3341         (mul_split): Likewise.
3342         (ext_val): New typedef.
3343         (store_ext_val): New function.
3344         (mul_ext_val): New function.
3345         (compare): New function.
3346         (add_split_ext): New function.
3347         (__fmal): After checking for Inf, NaN and zero, compute result as
3348         an exact sum of scaled double values in round-to-nearest before
3349         adding those up and adjusting for other rounding modes.
3350         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3351         tests of fma.
3352         * math/auto-libm-test-out: Regenerated.
3354 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3356         [BZ #20119]
3357         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3358         processor level type mask for CPUID with EAX == 11.
3360 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3362         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3363         logical threads if the HTT bit is 0.
3364         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3365         (index_cpu_HTT): Likewise.
3366         (reg_HTT): Likewise.
3368 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3370         [BZ #20115]
3371         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3372         Remove alignments on jump targets.
3374 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3376         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3377         (getpwent): Likewise.
3378         (setpwent): Likewise.
3379         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3380         variable.
3382         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3383         (remque): Likewise.
3384         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3385         variable.
3387 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3389         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3390         not being tested.
3392 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3395         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3396         call.
3397         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3398         (__condvar_cleanup1): Likewise.
3400 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3402         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3403         New
3404         (__pthread_unwind): Renamed to ...
3405         (PTHREAD_UNWIND): This.
3406         (__pthread_enable_asynccancel): Replace
3407         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3409 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3411         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3412         (CLONE_NEWCGROUP): New macro.
3414         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3415         (Q_GETNEXTQUOTA): New macro.
3417 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3419         [BZ #19907]
3420         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3421         buffer updated by the previous run.
3422         * string/test-memcpy.c (do_one_test): Likewise.
3423         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3424         * string/test-memmove.c (do_one_test): Likewise.
3426 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3428         [BZ #20094]
3429         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3430         not [__USE_XOPEN].
3431         (unlockpt): Likewise.
3432         (ptsname): Likewise.
3433         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3434         variable.
3436         [BZ #20076]
3437         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3438         instead of [__USE_UNIX98].
3439         (S_ISSOCK): Likewise.
3440         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3441         variable.
3443         [BZ #20074]
3444         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3445         [__USE_POSIX].
3446         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3447         variable.
3449         [BZ #20051]
3450         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3451         (ttyslot): Do not declare.
3452         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3453         (ttyslot): New prototype.
3454         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3455         variable.
3456         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3458 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3460         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3462 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3464         Fix race condition in tst-mallocfork2, use fewer resources.
3465         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3466         to current process group.
3467         (signal_sender): Yield in the non-sleeping case.
3469 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3471         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3472         (ecvt): Likewise.
3473         (fcvt): Likewise.
3474         (gcvt): Likewise.
3475         (getsubopt): Likewise.
3476         (grantpt): Likewise.
3477         (initstate): Likewise.
3478         (l64a): Likewise.
3479         (mktemp): Likewise.
3480         (mkstemp): Likewise.
3481         (ptsname): Likewise.
3482         (random): Likewise.
3483         (realpath): Likewise.
3484         (setstate): Likewise.
3485         (srandom): Likewise.
3486         (ttyslot): Likewise.
3487         (unlockpt): Likewise.
3488         (valloc): Likewise.
3490         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3491         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3492         variable.
3494 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3496         [BZ #20072]
3497         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3498         init_cpu_features only if SHARED is defined.
3499         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3501 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3503         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3504         non-inclusive caches on Intel processors.
3506 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3508         * malloc/malloc.c (dumped_main_arena_start)
3509         (dumped_main_arena_end): New variables.
3510         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3511         (do_check_chunk): Skip dumped fake mmapped chunks.
3512         (munmap_chunk): Likewise.
3513         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3514         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3515         mmapped chunks.
3516         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3517         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3518         and dumped_main_arena_end to cover the dumped heap.
3520 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3522         * conform/data/time.h-data (getdate_err): Do not expect for
3523         [XPG3].
3524         (getdate): Likewise.
3525         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3526         variable.
3528         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3529         (F_ULOCK): Likewise.
3530         (F_TEST): Likewise.
3531         (F_TLOCK): Likewise.
3532         (useconds_t): Likewise.
3533         (intptr_t): Do not expect for [XPG3] or [XPG4].
3534         (brk): Do not expect for [XPG3]
3535         (fchown): Likewise.
3536         (fchdir): Likewise.
3537         (ftruncate): Likewise.
3538         (getdtablesize): Likewise.
3539         (gethostid): Likewise.
3540         (getpagesize): Likewise.
3541         (getpgid): Likewise.
3542         (getsid): Likewise.
3543         (getwd): Likewise.
3544         (lchown): Likewise.
3545         (lockf): Likewise.
3546         (readlink): Likewise.
3547         (sbrk): Likewise.
3548         (setpgrp): Likewise.
3549         (setregid): Likewise.
3550         (setreuid): Likewise.
3551         (symlink): Likewise.
3552         (sync): Likewise.
3553         (truncate): Likewise.
3554         (ualarm): Likewise.
3555         (usleep): Likewise.
3556         (vfork): Likewise.
3557         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3558         variable.
3560         [BZ #20054]
3561         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3562         not [__USE_UNIX98].
3563         * conform/data/unistd.h-data (gethostname): Do not expect for
3564         [XPG3].
3566         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3567         [!POSIX] (S_IFBLK): Likewise.
3568         [!POSIX] (S_IFCHR): Likewise.
3569         [!POSIX] (S_IFIFO): Likewise.
3570         [!POSIX] (S_IFREG): Likewise.
3571         [!POSIX] (S_IFDIR): Likewise.
3572         [!POSIX] (S_IFLNK): Likewise.
3573         [!POSIX] (S_IFSOCK): Likewise.
3574         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3575         variable.
3576         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3578 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3580         * sysdeps/aarch64/memset.S (__memset):
3581         Rewrite of optimized memset.
3583 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3585         [BZ #19703]
3586         Partially async-signal-safe fork for single-threaded processes.
3587         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3588         variable.  Do not acquire and reset/release malloc and libio locks
3589         in single-threaded processes.
3590         * malloc/tst-mallocfork2.c: New file.
3591         * malloc/Makefile (tests): Add it.
3593 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3595         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3596         argument.  Use scratch buffer instead of extend_alloca.
3597         (gethosts): Use scratch buffer instead of extend_alloca.
3598         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3599         extend_alloca.
3600         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3602 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3604         [BZ #20055]
3605         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3606         instead of [__USE_UNIX98].
3607         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3608         [__USE_UNIX98].
3609         * conform/data/termios.h-data (tcgetsid): Do not expect for
3610         [XPG3].
3611         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3612         variable.
3613         (test-xfail-XPG4/termios.h/conform): Likewise.
3615 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3617         Do not use mcheck in localedef.
3618         * locale/programs/localedef.c (turn_on_mcheck)
3619         (__malloc_initialize_hook): Remove.
3621 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3623         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3624         * sysdeps/s390/s390-64/Makefile: Likewise.
3626 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3628         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3629         Remove ifunc-defines.sym.
3630         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3631         Likewise.
3632         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3633         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3634         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3635         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3636         rtld-global-offsets.sym.
3637         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3638         * sysdeps/x86/cpu-features-offsets.sym: This.
3639         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3640         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3642 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3644         [BZ #20073]
3645         * io/sys/stat.h (fchmod): Declare for
3646         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3647         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3648         variable.
3650         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3651         [XPG3] (S_IFSOCK): Likewise.
3652         [XPG3] (S_ISVTX): Likewise.
3653         [XPG3] (S_ISLNK): Likewise.
3654         [XPG3] (S_ISSOCK): Likewise.
3655         [XPG3] (fchmod): Likewise.
3656         [XPG3] (lstat): Likewise.
3657         [XPG3] (mknod): Likewise.
3659         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3660         [XPG3].  Expect type long and XFAIL for [XPG4].
3661         (st_blocks): Likewise.
3663         [BZ #20044]
3664         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3665         (pthread_atfork): New prototype.
3666         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3667         variable.
3669         [BZ #20043]
3670         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3671         prototype.
3673 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3675         [BZ #20017]
3676         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3677         gmtime.
3679 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3681         [BZ #19994]
3682         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3683         flag in _res.options.
3685 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3687         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3688         [XPG3 || XPG4].
3689         (blksize_t): Likewise.
3690         (clockid_t): Likewise.
3691         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3692         variable.
3693         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3695 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3697         * sysdeps/unix/sysv/linux/s390/init-first.c:
3698         Add VDSO_SYMBOL(getcpu).
3699         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3700         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3701         Add VDSO_SYMBOL(getcpu).
3702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3703         New define HAVE_GETCPU_VSYSCALL.
3704         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3706 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3708         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3709         instead of <sysdeps/x86_64/cacheinfo.c>.
3710         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3711         * sysdeps/x86/cacheinfo.c: Here.
3713 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3715         * malloc/malloc-internal.h: Adjust header file guard.
3717 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3719         [BZ #19787]
3720         * inet/getnameinfo.c (check_sprintf_result): New function.
3721         (CHECKED_SNPRINTF): New macro.
3722         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3723         to the host buffer.
3724         (gni_host_local): Use checked_copy to copy the host name.
3725         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3726         (gni_serv_local): Use checked_copy to copy the service name.
3727         (getnameinfo): Remove unnecessary truncation of result buffers.
3729 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3731         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3732         in case of inet_ntop failure.
3734 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3736         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3737         avoid long lines.
3738         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3739         variables.
3740         (gni_host_inet, gni_host_local): Add comment.
3741         (gni_host): Add comment.  Use temporary to avoid long lines.
3743 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3745         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3746         registers specifiers where general purpose registers specifiers should
3747         have been used.
3749 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3751         [BZ #19779]
3752         CVE-2016-1234
3753         Avoid copying names of directory entries.
3754         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3755         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3756         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3757         (struct readdir_result): New type.
3758         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3759         (GL_READDIR): New macros.
3760         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3761         (convert_dirent, convert_dirent64): New functions.
3762         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3763         convert_dirent64.  Adjust references to the readdir result.
3764         * sysdeps/unix/sysv/linux/i386/glob64.c:
3765         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3766         * posix/bug-glob2.c (LONG_NAME): Define.
3767         (filesystem): Add LONG_NAME.
3768         (my_DIR): Increase the size of room_for_dirent.
3770 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3772         [BZ #20041]
3773         * misc/sys/select.h (__need_timespec): Only define if
3774         [__USE_XOPEN2K].
3775         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3776         variable.
3777         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3778         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3779         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3781 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3782             Segher Boessenkool  <segher@gcc.gnu.org>
3784         [BZ #20004]
3785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3786         (__novec_swapcontext): Add missing load.
3788 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3790         [BZ #20023]
3791         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3792         <time.h>.
3793         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3794         variable.
3795         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3797 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3800         flags CLONE_VM compare.
3802 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3804         [BZ #20031]
3805         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3806         completely empty.
3808 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3810         [BZ #19573]
3811         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3812         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3813         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3814         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3815         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3816         (hesiod_free_list): Mark as hidden.
3817         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3818         res_set, res_get.
3819         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3820         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3821         (hesiod_init): Remove obsolete res_ninit call.
3822         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3823         (hesiod_bind): Do not call init.
3824         (get_txt_records): Use res_mkquery, res_send instead of
3825         res_nmkquery, res_nsend.
3826         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3827         instead of _nss_hesiod_init.
3828         (_nss_hesiod_initgroups_dyn): Likewise.
3829         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3830         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3831         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3833 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3835         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3836         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3838 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3840         * hesiod/hesiod.h: Remove RCS keyword.
3841         * hesiod/hesiod_p.h: Likewise.
3843         * hesiod/hesiod.c: Likewise.
3845 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3847         [BZ #12450]
3848         * locale/iso-639.def: Add Samogitian/sgs.
3850 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3852         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3854         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3856 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3857             Carlos O'Donell  <carlos@redhat.com>
3859         [BZ #19072]
3860         * grp/Makefile (headers): Add grp-merge.h
3861         (routines): Add grp-merge.
3862         * grp/getgrgid_r.c: Include grp-merge.h.
3863         (DEEPCOPY_FN): Define.
3864         (MERGE_FN): Define.
3865         * grp/getgrname_r.c: Include grp-merge.h.
3866         (DEEPCOPY_FN): Define.
3867         (MERGE_FN): Define.
3868         * grp/grp-merge.c: New file.
3869         * grp/grp-merge.h: New file.
3870         * include/grp-merge.h: New file.
3871         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3872         __copy_grp@GLIBC_PRIVATE.
3873         * manual/nss.texi (Actions in the NSS configuration): Describe
3874         return, continue, and merge.
3875         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3876         (DEEPCOPY_FN): Define.
3877         (MERGE_FN): Define.
3878         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3879         (DEEPCOPY_FN): Define.
3880         (MERGE_FN): Define.
3881         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3882         [!MERGE_FN]: Define __merge_einval.
3883         (CHECK_MERGE): Define.
3884         (REENTRANT_NAME): Process merge if do_merge is true.
3885         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3886         (__nss_getent_r): Likewise.
3887         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3888         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3890 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3892         [BZ #20012]
3893         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3894         length to calculate the buffer to read.
3895         (fmemopen_write): Set the buffer position based on bytes written.
3896         (fmemopen_seek): Return EINVAL for invalid whence modes.
3898         [BZ #19957]
3899         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3900         tst-getpid2.
3901         (test): Add tst-clone2.
3902         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3903         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3904         pid/tid fields for CLONE_VM.
3905         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3906         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3907         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3908         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3909         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3910         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3911         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3912         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3914         Likewise.
3915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3916         Likewise.
3917         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3918         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3919         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3920         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3921         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3922         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3923         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3924         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3926 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3928         [BZ #19642]
3929         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3930         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3931         (gni_serv_local, gni_serv): New functions extracted from
3932         getnameinfo.
3933         (getnameinfo): Call gni_host and gni_serv to perform the
3934         processing.  Always free scratch buffer.
3936 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3938         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3939         remaining bytes in the dest string, with zeros.
3941 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3943         [BZ #20010]
3944         CVE-2016-3706
3945         * sysdeps/posix/getaddrinfo.c
3946         (convert_hostent_to_gaih_addrtuple): New function.
3947         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3948         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3949         AF_INET data.
3951 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3953         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3954         callback function gl_readdir.
3955         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3956         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3957         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3958         memcpy to copy the name.
3959         * manual/pattern.texi (Calling Glob): Document requirements for
3960         implementations of the gl_readdir callback function.
3961         * manual/examples/mkdirent.c: New example.
3962         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3963         per the manual guidance.
3964         * posix/tst-gnuglob.c (my_readdir): Likewise.
3966 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3968         [BZ #20014]
3969         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3970         not [__USE_POSIX].
3971         (getchar_unlocked): Likewise.
3972         (putc_unlocked): Likewise.
3973         (putchar_unlocked): Likewise.
3974         (flockfile): Likewise.
3975         (ftrylockfile): Likewise.
3976         (funlockfile): Likewise.
3977         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3978         variable.
3979         (test-xfail-XPG4/stdio.h/conform): Likewise.
3981         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3982         Expect constant.
3983         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3984         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3985         variable.
3986         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3987         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3989         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3990         [__USE_LARGEFILE64] (off64_t): Likewise.
3991         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3992         variable.
3994 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3996         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3998 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4000         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4001         * resolv/res_init.c: Likewise.
4002         * resolv/res_mkquery.c: Likewise.
4004 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4006         * resolv/res_init.c (isascii): Do not define.  Use definition in
4007         <ctype.h>.
4008         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4009         (LOG_AUTH): Remove.
4010         (SPRINTF): Remove, adjust caller.
4011         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4013 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4015         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4016         SUNSECURITY conditional.
4017         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4019 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4021         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4022         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4023         Remove BSD-related preprocessor conditionals.
4024         * conf/portability.h: Remove.
4026 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4028         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4029         * resolv/res_data.c: Likewise.
4031 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4033         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4034         * resolv/res_data.c: Remove code conditional on ultrix.
4036 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4038         * resolv/res_init.c (RFC1535): Do not define.  Remove
4039         RFC1535 preprocessor conditionals.
4040         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4041         because there configuration options which make the resolver
4042         behavior different.
4044 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4046         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4047         RESOLVSORT preprocessor conditionals.
4048         * resolv/nss_dns/dns-host.c: Likewise.
4049         * resolv/res_init.c: Likewise.
4051 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4053         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4054         is never defined.
4056 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4058         * inet/inet_lnaof.c: Remove SCSS keyword.
4059         * inet/inet_mkadr.c: Likewise.
4060         * inet/inet_net.c: Likewise.
4061         * inet/inet_netof.c: Likewise.
4062         * inet/rcmd.c: Likewise.
4063         * inet/rexec.c: Likewise.
4064         * inet/ruserpass.c: Likewise.
4066 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4068         * resolv/inet_addr.c: Remove _LIBC conditionals.
4069         * resolv/res_data.c: Likewise.
4070         * resolv/res_init.c: Likewise.
4071         * resolv/res_mkquery.c: Likewise.
4072         * resolv/res_libc.c: Update comment.
4073         * resolv/README: Update.
4075 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4077         * resolv/gethnamaddr.c: Remove SCSS keyword.
4078         * resolv/herror.c: Likewise.
4079         * resolv/inet_addr.c: Likewise.
4080         * resolv/inet_net_ntop.c: Likewise.
4081         * resolv/inet_net_pton.c: Likewise.
4082         * resolv/inet_neta.c: Likewise.
4083         * resolv/inet_ntop.c: Likewise.
4084         * resolv/inet_pton.c: Likewise.
4085         * resolv/ns_date.c: Remove RCS keyword.
4086         * resolv/ns_name.c: Likewise.
4087         * resolv/ns_netint.c: Likewise.
4088         * resolv/ns_parse.c: Likewise.
4089         * resolv/ns_print.c: Likewise.
4090         * resolv/ns_samedomain.c: Likewise.
4091         * resolv/ns_ttl.c: Likewise.
4092         * resolv/nsap_addr.c: Likewise.
4093         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4094         * resolv/res_data.c: Remove RCS keyword.
4095         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4096         * resolv/res_init.c: Likewise.
4097         * resolv/res_mkquery.c: Likewise.
4098         * resolv/res_query.c: Likewise.
4099         * resolv/res_send.c: Likewise.
4101 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4103         * conform/data/stdio.h-data (fdopen): Expect also for
4104         [XPG3 || XPG4].
4106         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4107         (fseeko): Likewise.
4108         (ftello): Likewise.
4109         (ftrylockfile): Likewise.
4110         (funlockfile): Likewise.
4111         (getc_unlocked): Likewise.
4112         (getchar_unlocked): Likewise.
4113         (putc_unlocked): Likewise.
4114         (putchar_unlocked): Likewise.
4116 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4118         [BZ #19868]
4119         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4120         DNS packet syntax checks (which were not needed before).  Skip
4121         over non-PTR records.
4123 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4125         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4126         definition.  Include <stddef.h> instead.
4128 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4130         [BZ #19831]
4131         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4132         function.
4133         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4134         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4136 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4138         [BZ #19862]
4139         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4140         (getanswer_r): Do not call syslog.
4141         (gaih_getanswer_slice): Likewise.
4142         * resolv/gethnamaddr.c (AskedForGot): Remove.
4143         (getanswer): Do not call syslog.
4144         (gethostbyaddr): Likewise.
4146 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4148         * conform/data/signal.h-data (union sigval): Expect also if
4149         [XOPEN2K].
4150         (struct sigevent): Likewise.
4151         (SIGEV_NONE): Likewise.
4152         (SIGEV_SIGNAL): Likewise.
4153         (SIGEV_THREAD): Likewise.
4154         (SIGRTMIN): Likewise.
4155         (SIGRTMAX): Likewise.
4156         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4157         variable.
4158         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4160 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4162         [BZ #19830]
4163         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4164         (gaih_getanswer_slice): Likewise.
4165         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4166         Also check for availability of RR metadata.
4168 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4170         [BZ #19825]
4171         * resolv/res_send.c (send_vc): Remove early *resplen2
4172         initialization.  Set *resplen2 on socket error.  Call
4173         close_and_return_error for other errors.
4175 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4177         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4178         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4179         (SCM_IUCV_TRGCLS): New define.
4181 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4183         [BZ #20005]
4184         * libio/fmemopen.c (fmemopen_write): Update internal position after
4185         write.
4186         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4187         * stdio-common/tst-fmemopen4.c: New file..
4189 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4191         [BZ #19996]
4192         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4193         not [__USE_XOPEN2K].
4194         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4195         variable.
4197         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4198         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4199         variable.
4201         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4202         [__USE_XOPEN2K8].
4203         [__USE_LARGEFILE64] (off64_t): Likewise.
4204         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4205         variable.
4207 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4209         [BZ #19989]
4210         * libio/stdio.h (cuserid): Do not declare if
4211         [__USE_XOPEN2K && !__USE_GNU].
4212         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4213         variable.
4215 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4217         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4218         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4220         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4221         ifunc'ed strcspn.
4222         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4223         [EALIGN]: Removed.
4224         [END]: Likewise
4225         [STRSPN]: Define instead of the above to control symbol name.
4226         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4227         New file.
4228         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4229         Likewise.
4230         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4231         Likewise.
4232         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4233         Likewise.
4234         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4235         [INITIAL_MASK]: New macro.
4236         [STRCSPN]: Likewise.
4237         [UPDATE_MASK]: Likewise.
4238         [USE_AS_STRCSPN]: Lisewise.
4240 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4242         [BZ #19931]
4243         * stdio-common/tst-vfprintf-width-prec.c: New file.
4244         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4245         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4246         (generated): Add mtrace-related files.
4247         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4248         (tst-%-mem.out): New pattern rule, replaces
4249         tst-printf-bz18872-mem.out.
4250         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4251         specifier, deallocate any previously allocated work buffer.
4253 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4255         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4256         Add nop before __startcontext, add explaining comments.
4258 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4260         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4261         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4262         completely different API.
4264         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4265         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4266         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4267         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4268         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4269         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4270         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4271         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4272         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4273         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4275 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4277         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4279 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4281         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4282         when it is the default of 0.
4284 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4286         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4287         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4288         (sysdep_routines): Add new strcasestr targets.
4289         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4290         (__libc_ifunc_impl_list): Likewise.
4291         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4292         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4293         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4294         * sysdeps/powerpc/powerpc64/power8/Makefile:
4295         New file to add strcasestr-ppc64 to sysdep_routines.
4296         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4297         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4299 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4301         * benchtests/Makefile (wcsmbs-benchset): Include only for
4302         native builds and runs.
4303         (LOCALES): Likewise.
4304         (bench-build): Build timing-type here instead of the bench
4305         target.  Generate locale only for native builds.
4306         * benchtests/README: Add note for cross-building.
4308         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4310         * benchtests/README: Update README to include instructions on
4311         using bench-build.
4313         * Makefile.in (bench-build): New target.
4314         * Rules (PHONY): Add bench-build target.
4315         * benchtests/Makefile (bench): Depend on bench-build.
4316         (bench-build): New target.
4318 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4320         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4321         profil_reply_port.
4322         (profile_waiter): Do not initialize profil_reply_port.
4323         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4324         frequency instead of tick length in us.
4326 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4328         [BZ #18712]
4329         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4330         (__old_mempcpy_small): Likewise.
4331         (__old_strcpy_small): Likewise.
4332         (__old_stpcpy_small): Likewise.
4333         (__old_strpbrk_c2): Fix compat symbol name.
4334         (__old_strpbrk_c3): Likewise.
4335         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4336         (__mempcpy_small): Remove.
4337         (__strcpy_small): Remove.
4338         (__stpcpy_small): Remove.
4340 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4342         [BZ #19400]
4343         * locale/iso-639.def: Add the Talossan/tzl language.
4345 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4347         [BZ #16983]
4348         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4349         comment.  Add "ln" to strchr check on postal_fmt.
4351 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4353         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4354         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4355         tel_dom_fmt.
4357 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4359         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4360         (sysdep_routines): Added __strlen_power8.
4361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4362         __strlen_power8 entry.
4363         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4364         Implementation for POWER8.
4365         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4366         for __strlen_power8.
4367         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4368         Implementation for POWER8.
4370 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4372         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4374 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4376         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4377         Goldmont and Airmont processors.
4379 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4381         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4382         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4383         (__STRING2_SMALL_GET32): Remove.
4384         (memset): Remove.
4385         (__memset_1): Remove.
4386         (__memset_gc): Remove.
4387         (__mempcpy): Remove.
4388         (mempcpy): Remove.
4389         (__mempcpy_args): Remove.
4390         (strchr): Remove.
4391         (strcpy): Remove.
4392         (strcpy_args): Remove.
4393         (__stpcpy_args): Remove.
4394         (__strcmp_cc): Remove.
4395         (__strcmp_gc): Remove.
4396         (strstr): Remove.
4398 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4400         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4401         * nis/nis_call.c (nis_server_cache_add): Likewise.
4403 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4405         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4407 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4409         * malloc/arena.c (__malloc_fork_lock_parent)
4410         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4411         internal_function attribute.
4413 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4415         * stdio-common/printf_fp.c (__printf_fp_l):
4416         Rename ___printf_fp_l to __printf_fp_l and
4417         remove strong alias. Use libc_hidden_def instead
4418         of ldbl_hidden_def macro.
4420 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4422         Remove malloc hooks from fork handler.  They are no longer needed
4423         because malloc runs right before fork, and no malloc calls from
4424         other fork handlers are not possible anymore.
4425         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4426         declarations.
4427         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4428         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4429         (atfork_recursive_cntr): Remove.
4430         (__malloc_fork_lock_parent): Do not override malloc hooks and
4431         thread_arena.
4432         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4433         thread_arena.
4434         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4435         thread_arena instead of save_arena.
4437 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4439         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4440         (thread_atfork, thread_atfork_static): Remove.
4441         * sysdeps/mach/hurd/malloc-machine.h:
4442         (thread_atfork, thread_atfork_static): Remove.
4444 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4446         [BZ #19431]
4447         Run the malloc fork handler as late as possible to avoid deadlocks.
4448         * malloc/malloc-internal.h: New file.
4449         * malloc/malloc.c: Include it.
4450         * malloc/arena.c (ATFORK_MEM): Remove.
4451         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4452         Update comment.
4453         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4454         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4455         Remove outdated comment.
4456         (ptmalloc_init): Do not call thread_atfork.  Remove
4457         thread_atfork_static.
4458         * malloc/tst-malloc-fork-deadlock.c: New file.
4459         * Makefile (tests): Add tst-malloc-fork-deadlock.
4460         (tst-malloc-fork-deadlock): Link against libpthread.
4461         * manual/memory.texi (Aligned Memory Blocks): Update safety
4462         annotation comments.
4463         * sysdeps/nptl/fork.c (__libc_fork): Call
4464         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4465         __malloc_fork_unlock_child.
4466         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4468 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4470         [BZ #19613]
4471         Remove union wait.
4472         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4473         (w_stopsig, w_stopval): Remove.
4474         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4475         stat_loc argument.
4476         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4477         (__WAIT_STATUS_DEFN): Remove.
4478         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4479         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4480         (wait, wait3, wait4): Use int * for the stat_loc argument.
4481         * posix/wait.c (__wait): Likewise.
4482         * posix/wait3.c (__wait3): Likewise.
4483         * posix/wait4.c (__wait4): Likewise.
4484         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4485         (__WAIT_STATUS_DEFN): Remove.
4486         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4487         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4488         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4489         argument.
4490         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4491         * sysdeps/posix/wait3.c (__wait3): Likewise.
4492         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4493         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4494         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4495         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4496         stat_loc argument.
4497         * manual/process.texi (BSD Wait Functions): Remove union wait.
4499 2016-04-13  Andreas Schwab  <schwab@suse.de>
4501         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4502         (test-extras): Add tst-tlsalign-vars.
4503         * math/Makefile: Wrap long lines.
4504         (libm-vec-test-wrappers): Define.
4505         (test-extras): Add $(libm-vec-test-wrappers).
4506         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4507         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4508         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4509         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4510         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4511         (extra-test-objs): Add corresponding objects.
4513 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4515         [BZ #19928]
4516         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4517         New.
4518         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4519         times of shared cache size.
4520         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4521         (VMOVNT): New.
4522         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4523         (VMOVNT): Likewise.
4524         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4525         (VMOVNT): Likewise.
4526         (VMOVU): Changed to movups for smaller code sizes.
4527         (VMOVA): Changed to movaps for smaller code sizes.
4528         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4529         comments.
4530         (PREFETCH): New.
4531         (PREFETCH_SIZE): Likewise.
4532         (PREFETCHED_LOAD_SIZE): Likewise.
4533         (PREFETCH_ONE_SET): Likewise.
4534         Rewrite to use forward and backward loops, which move 4 vector
4535         registers at a time, to support overlapping addresses and use
4536         non temporal store if size is above the threshold and there is
4537         no overlap between destination and source.
4539 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4541         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4542         Include dl-vdso.
4543         * sysdeps/unix/sysv/linux/mips/Versions: Add
4544         __vdso_clock_gettime.
4545         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4546         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4547         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4548         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4549         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4550         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4551         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4552         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4553         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4555 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4557         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4558         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4561         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4562         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4565         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4566         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4567         syscalls generation.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4569         [__NR_pwrite64] (__NR_write): Remove define.
4570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4571         [__NR_pwrite64] (__NR_write): Remove define.
4572         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4573         Remove define.
4574         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4575         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4576         Remove define.
4577         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4578         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4579         Linux implementation as base.
4580         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4582         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4583         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4585         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4588         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4590         syscall generation.
4591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4592         [__NR_pread64] (__NR_pread): Remove define.
4593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4594         [__NR_pread64] (__NR_pread): Likewise.
4595         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4596         define.
4597         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4598         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4599         Remove define.
4600         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4601         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4602         Linux implementation as base.
4603         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4604         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4605         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4607         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4608         definition.
4609         (__ALIGNMENT_COUNT): Likewise.
4610         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4611         (__ALIGNMENT_COUNT): Likewise.
4612         (SYSCALL_LL): New define.
4613         (SYSCALL_LL64): Likewise.
4614         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4615         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4616         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4617         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4619         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4620         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4621         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4622         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4624         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4626 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4628         [BZ #19865]
4629         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4630         original buffer before retry.
4632 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4634         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4635         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4636         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4637         GLRO(dl_auxv) list.
4638         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4639         including <ldsodefs.h>.
4640         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4642 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4644         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4645         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4646         $(CPPFLAGS).
4648 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4650         [BZ #17950]
4651         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4652         Add -mfpmath=387.
4654 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4656         * sysdeps/i386/configure.ac: Change == to = when calling test.
4657         * sysdeps/x86_64/configure.ac: Likewise.
4658         * sysdeps/i386/configure: Regenerated.
4659         * sysdeps/x86_64/configure: Likewise.
4661 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4663         [BZ #16137]
4664         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4665         * benchtests/bench-strcoll.c (input_files): Likewise.
4666         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4667         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4668         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4670 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4672         [BZ #19929]
4673         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4674         [__USE_XOPEN2K8 && !__USE_GNU].
4675         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4676         variable.
4678         [BZ #19925]
4679         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4680         define if [!__USE_MISC && __USE_XOPEN2K].
4681         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4682         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4683         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4684         Likewise.
4685         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4686         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4687         variable.
4688         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4690 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4692         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4693         (sysdep_routines): Add new strspn targets.
4694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4695         (__libc_ifunc_impl_list): Add strspn.
4696         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4697         New file.
4698         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4699         Likewise.
4700         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4701         Likewise.
4702         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4703         Likewise.
4705 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4707         * misc/hsearch_r.c: Include <limits.h>.
4709 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4711         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4713 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4715         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4716         (MEMCPY_SYMBOL): New.
4717         (MEMPCPY_SYMBOL): Likewise.
4718         (MEMMOVE_CHK_SYMBOL): Likewise.
4719         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4720         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4721         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4722         Provide alias for memcpy in libc.a and ld.so.
4724 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4726         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4727         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4728         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4729         Disabled fro now.
4730         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4731         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4733 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4735         * benchtests/Makefile (string-benchset): Add memcpy-large,
4736         memmove-large and memset-large.
4737         * benchtests/bench-memcpy-large.c: New file.
4738         * benchtests/bench-memmove-large.c: Likewise.
4739         * benchtests/bench-memmove-large.c: Likewise.
4740         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4742 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4744         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4745         32-bit displacement to avoid long nop between instructions.
4747 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4749         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4750         a comment on VMOVU and VMOVA.
4752 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4754         [BZ #19633]
4755         Use specified locale for number formatting in strfmon_l.
4756         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4757         (__nl_lookup_word): New inline functions.
4758         * include/printf.h (__print_fp_l): Declare.
4759         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4760         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4761         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4762         (___printf_fp): New function.
4763         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4764         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4765         * stdlib/tst-strfmon_l.c (do_test): New test.
4766         * stdlib/Makefile (tests): Add kt.
4767         (LOCALES): Build additional locales.
4768         (tst-strfmon_l.out): Require locales.
4770 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4772         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4773         if not in libc.
4774         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4775         Likewise.
4776         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4777         Likewise.
4778         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4779         Likewise.
4781 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4783         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4784         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4785         with unaligned_erms.
4786         (__memmove_erms): Skip if source == destination.
4787         (__memmove_unaligned_erms): Don't check source == destination
4788         first.
4790 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4792         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4793         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4795 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4797         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4798         * string/strspn.c (strspn): Likewise.
4800 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4802         * benchtests/bench-memset.c (do_test): Support 64-byte
4803         alignment.
4804         (test_main): Test 64-byte alignment.
4806 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4808         * benchtests/bench-memmove.c (test_main): Test 64-byte
4809         alignment.
4811 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4813         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4815 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4817         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4818         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4819         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4821         * string/strpbrk.c (strpbrk): Rewrite function.
4822         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4823         (__strpbrk_c2): Likewise.
4824         (__strpbrk_c3): Likewise.
4825         * string/string-inlines.c
4826         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4827         Likewise.
4828         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4829         Likewise.
4831         * string/strspn.c (strcspn): Rewrite function.
4832         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4833         (__strspn_c1): Remove inline function.
4834         (__strspn_c2): Likewise.
4835         (__strspn_c3): Likewise.
4836         * string/string-inlines.c
4837         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4838         compatibility symbol.
4839         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4840         Likewise.
4841         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4842         Likewise.
4843         * string/string-inlines.c: Include generic version.
4845 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4846             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4848         * string/Version (libc): Add GLIBC_2.24.
4849         * string/strcspn.c (strcspn): Rewrite function.
4850         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4851         (__strcspn_c1): Remove inline function.
4852         (__strcspn_c2): Likewise.
4853         (__strcspn_c3): Likewise.
4854         * string/string-inline.c
4855         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4856         compatibility symbol.
4857         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4858         Likewise.
4859         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4860         Likewise.
4861         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4863 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4865         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4866         Use ahi instead of aghi to adjust stack pointer.
4868 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4870         [BZ #19853]
4871         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4872         TEST to take significant digits as second parameter.
4873         [TEST]: Redefine in terms of TEST_N taking 30
4874         significant digits.
4875         (do_test): Add test case to demonstrate precision
4876         failure in the ldbl-128ibm printf.
4877         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4878         (__mpn_extract_long_double): Carry 7 extra intermediate
4879         bits of precision to aide computing difference when
4880         signs differ.
4882 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4884         [BZ #19881]
4885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4886         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4887         memset-avx512-unaligned-erms.
4888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4889         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4890         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4891         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4892         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4893         __memset_sse2_unaligned_erms, __memset_erms,
4894         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4895         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4896         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4897         file.
4898         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4899         Likewise.
4900         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4901         Likewise.
4902         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4903         Likewise.
4905 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4907         [BZ #19776]
4908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4909         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4910         memmove-avx512-unaligned-erms.
4911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4912         (__libc_ifunc_impl_list): Test
4913         __memmove_chk_avx512_unaligned_2,
4914         __memmove_chk_avx512_unaligned_erms,
4915         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4916         __memmove_chk_sse2_unaligned_2,
4917         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4918         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4919         __memmove_avx512_unaligned_erms, __memmove_erms,
4920         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4921         __memcpy_chk_avx512_unaligned_2,
4922         __memcpy_chk_avx512_unaligned_erms,
4923         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4924         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4925         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4926         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4927         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4928         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4929         __mempcpy_chk_avx512_unaligned_erms,
4930         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4931         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4932         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4933         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4934         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4935         __mempcpy_erms.
4936         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4937         file.
4938         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4939         Likwise.
4940         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4941         Likwise.
4942         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4943         Likwise.
4945 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4947         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4948         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4949         (La_s390_64_regs): Likewise.
4950         (La_s390_32_retval): Append vector register lrv_v24.
4951         (La_s390_64_retval): Likeweise.
4952         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4953         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4954         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4955         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4957 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4959         [BZ #19916]
4960         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4961         to create a non-vector/vector version for _dl_runtime_resolve and
4962         _dl_runtime_profile. Move implementation to ...
4963         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4964         (_dl_runtime_resolve) Save and restore fpr/vrs.
4965         (_dl_runtime_profile) Save and restore vrs and fix some issues
4966         if _dl_call_pltexit is called.
4967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4968         Choose the correct resolver function if running on a machine with vx.
4969         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4970         to create a non-vector/vector version for _dl_runtime_resolve and
4971         _dl_runtime_profile. Move implementation to ...
4972         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4973         (_dl_runtime_resolve) Save and restore fpr/vrs.
4974         (_dl_runtime_profile) Save and restore vrs and fix some issues
4975         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4976         Choose the correct resolver function if running on a machine with vx.
4978 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4980         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4982 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4984         [BZ #19509]
4985         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4986         skip_map != NULL.
4987         * elf/tst-dlsym-error.c: New file.
4988         * elf/Makefile (tests): Add tst-dlsym-error.
4989         (tst-dlsym-error): Link against libdl.
4991 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4993         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4994         (__ASSUME_FUTIMESAT): Remove macro.
4995         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4997 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4999         [BZ #19879]
5000         CVE-2016-3075
5001         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5002         copy name.
5004 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5006         [BZ #19837]
5007         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5008         error if parse_line fails.
5010 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5012         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5013         (index_cpu_ERMS): Likewise.
5014         (reg_ERMS): Likewise.
5016 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5018         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5019         PER_LINUX_FDPIC): Add.
5021 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5024         memcpy-avx512-no-vzeroupper.
5025         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5026         to ...
5027         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5028         (MEMCPY): Don't define.
5029         (MEMCPY_CHK): Likewise.
5030         (MEMPCPY): Likewise.
5031         (MEMPCPY_CHK): Likewise.
5032         (MEMPCPY_CHK): Renamed to ...
5033         (__mempcpy_chk_avx512_no_vzeroupper): This.
5034         (MEMPCPY_CHK): Renamed to ...
5035         (__mempcpy_chk_avx512_no_vzeroupper): This.
5036         (MEMCPY_CHK): Renamed to ...
5037         (__memmove_chk_avx512_no_vzeroupper): This.
5038         (MEMCPY): Renamed to ...
5039         (__memmove_avx512_no_vzeroupper): This.
5040         (__memcpy_avx512_no_vzeroupper): New alias.
5041         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5043 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5045         [BZ #18858]
5046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5047         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5048         and mempcpy-avx512-no-vzeroupper.
5049         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5050         New.
5051         (MEMPCPY): Likewise.
5052         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5053         (MEMPCPY_CHK): New.
5054         (MEMPCPY): Likewise.
5055         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5056         (MEMPCPY): Likewise.
5057         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5058         (MEMPCPY): Likewise.
5059         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5060         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5061         Likewise.
5062         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5063         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5065 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5066              Amit Pawar  <Amit.Pawar@amd.com>
5068         [BZ #19583]
5069         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5070         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5071         processors.  Set Fast_Copy_Backward for AMD Excavator
5072         processors.
5073         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5074         New.
5075         (index_arch_Fast_Unaligned_Copy): Likewise.
5076         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5077         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5079 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5081         [BZ #19791]
5082         * resolv/res_send.c (close_and_return_error): New function.
5083         (send_dg): Initialize *resplen2 after reopen failure.  Call
5084         close_and_return_error for error returns.  On error paths without
5085         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5086         successful return.
5088 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5090         [BZ# 19860]
5091         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5092         zero if the compiler does not provide the AVX512F bit.
5094 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5096         [BZ #19848]
5097         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5098         from 8 to 4.
5099         (__ieee754_powl): Compare integer exponent against 4 not 8.
5100         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5101         from 8 to 4.
5102         (__ieee754_powl): Compare integer exponent against 4 not 8.
5103         * math/auto-libm-test-in: Add more tests of pow.
5104         * math/auto-libm-test-out: Regenerated.
5105         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5110         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5111         Make code unconditional.
5112         [!__NR_utimensat]: Remove conditional code.
5113         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5114         Make code unconditional.
5115         [!__NR_utimensat]: Remove conditional code.
5116         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5117         Make code unconditional.
5118         [!__NR_utimensat]: Remove conditional code.
5120 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5122         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5123         Make code unconditional.
5125 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5127         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5128         call-clobbered %eax on retry path.
5129         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5131 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5133         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5134         Don't set %rcx twice before "rep movsb".
5136 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5138         [BZ #19583]
5139         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5140         inline.  Check family before setting family, model and
5141         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5142         bits here.
5143         (init_cpu_features): Replace HAS_CPU_FEATURE and
5144         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5145         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5146         for Intel processors with usable AVX2.  Call get_common_indeces
5147         for other processors with family == NULL.
5148         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5149         (CPU_FEATURES_ARCH_P): Likewise.
5150         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5151         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5153 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5155         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5156         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5157         $(shared-thread-library) instead of hardcoding the path to libpthread.
5159 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5161         * sysdeps/unix/sysv/linux/kernel-features.h
5162         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5163         * sysdeps/unix/sysv/linux/getdents.c
5164         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5165         [!have_no_getdents64_defined]: Likewise.
5166         (__GETDENTS): Remove __have_no_getdents64 conditional.
5168 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5170         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5171         Remove macro.
5172         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5173         <kernel-features.h>.
5174         (signalfd) [__NR_signalfd4]: Make code unconditional.
5175         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5177 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5179         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5180         style.
5182 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5184         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5185         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5186         __pthread_unwind.
5187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5188         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5189         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5190         (__condvar_cleanup1): Likewise.
5192 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5194         [BZ #19822]
5195         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5196         move it to the final $@ location.
5198 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5200         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5201         access where posix_spawn success and pid argument is null.
5202         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5203         success case.
5205 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5207         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5209         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5211         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5212         and __fcntl.
5213         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5214         __fcntl only.
5215         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5216         adding attribute_hidden to __open and __fcntl.
5218         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5219         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5220         depend on libc-modules.h,
5221         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5223 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5226         Remove macro.
5227         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5228         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5229         entry.
5231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5232         Remove macro.
5233         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5234         include <kernel-features.h>.
5235         [!__ASSUME_FALLOCATE]: Remove conditional code.
5236         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5238 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5240         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5241         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5242         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5243         (_ZGVdN4v_cos_avx2): Likewise.
5244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5245         (_ZGVdN4v_cos): Likewise.
5246         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5247         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5248         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5249         (_ZGVdN4v_exp_avx2): Likewise.
5250         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5251         (_ZGVdN4v_exp): Likewise.
5252         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5253         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5254         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5255         (_ZGVdN4v_log_avx2): Likewise.
5256         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5257         (_ZGVdN4v_log): Likewise.
5258         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5259         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5260         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5261         (_ZGVdN4vv_pow_avx2): Likewise.
5262         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5263         (_ZGVdN4vv_pow): Likewise.
5264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5265         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5266         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5267         (_ZGVdN4v_sin_avx2): Likewise.
5268         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5269         (_ZGVdN4v_sin): Likewise.
5270         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5271         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5272         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5273         (_ZGVdN4vvv_sincos_avx2): Likewise.
5274         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5275         (_ZGVdN4vvv_sincos): Likewise.
5276         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5277         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5279         (_ZGVbN4v_cosf_sse4): Likewise.
5280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5281         (_ZGVdN8v_cosf_avx2): Likewise.
5282         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5283         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5284         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5285         (_ZGVbN4v_expf_sse4): Likewise.
5286         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5287         (_ZGVdN8v_expf_avx2): Likewise.
5288         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5289         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5290         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5291         (_ZGVbN4v_logf_sse4): Likewise.
5292         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5293         (_ZGVdN8v_logf_avx2): Likewise.
5294         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5295         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5296         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5297         (_ZGVbN4vv_powf_sse4): Likewise.
5298         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5299         (_ZGVdN8vv_powf_avx2): Likewise.
5300         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5301         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5303         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5304         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5305         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5306         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5307         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5308         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5309         (_ZGVbN4v_sinf_sse4): Likewise.
5310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5311         (_ZGVdN8v_sinf_avx2): Likewise.
5312         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5313         Use JUMPTARGET to call callee.
5314         (WRAPPER_IMPL_SSE2_ff): Likewise.
5315         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5316         (WRAPPER_IMPL_AVX): Likewise.
5317         (WRAPPER_IMPL_AVX_ff): Likewise.
5318         (WRAPPER_IMPL_AVX_fFF): Likewise.
5319         (WRAPPER_IMPL_AVX512): Likewise.
5320         (WRAPPER_IMPL_AVX512_ff): Likewise.
5321         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5322         Likewise.
5323         (WRAPPER_IMPL_SSE2_ff): Likewise.
5324         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5325         (WRAPPER_IMPL_AVX): Likewise.
5326         (WRAPPER_IMPL_AVX_ff): Likewise.
5327         (WRAPPER_IMPL_AVX_fFF): Likewise.
5328         (WRAPPER_IMPL_AVX512): Likewise.
5329         (WRAPPER_IMPL_AVX512_ff): Likewise.
5330         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5332 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5334         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5335         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5336         qualifier.
5337         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5338         internal_function qualifiers.
5340 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5342         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5343         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5344         * math/atest-exp.c (exp_mpn): Mark chk unused.
5345         * math/atest-exp2.c (exp_mpn): Likwise.
5346         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5347         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5349 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5351         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5352         Remove macro.
5353         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5354         <kernel-features.h>.
5355         [__NR_ppoll]: Make code unconditional.
5356         [!__ASSUME_PPOLL]: Remove conditional code.
5358         * sysdeps/unix/sysv/linux/kernel-features.h
5359         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5360         (__ASSUME_ACCEPT4): Likewise.
5361         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5362         Define.
5363         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5364         Likewise.
5365         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5366         Likewise.
5367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5370         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5371         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5372         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5373         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5375         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5376         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5377         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5379         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5380         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5381         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5383         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5384         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5385         Likewise.
5386         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5387         Likewise.
5388         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5389         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5390         0x040300].
5391         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5392         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5394         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5395         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5396         0x030300].
5397         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5398         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5399         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5400         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5401         0x040300].
5402         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5404         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5405         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5406         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5407         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5408         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5409         0x030300].
5410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5411         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5412         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5413         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5414         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5415         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5418         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5419         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5420         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5421         0x040300].
5422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5423         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5424         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5425         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5428         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5429         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5430         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5432         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5433         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5434         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5436         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5437         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5438         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5439         Likewise.
5440         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5441         Likewise.
5443 2016-03-15  Andreas Schwab  <schwab@suse.de>
5445         [BZ #19257]
5446         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5447         statp->_u._ext.nscount as loop count.
5449 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5451         * math/test-signgam-finite-c99.c: Also #undef
5452         __LIBC_INTERNAL_MATH_INLINES.
5453         * math/test-signgam-main.c: Likewise.
5455 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5457         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5458         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5459         (MADV_FREE): Likewise.
5460         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5461         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5462         EPOLLEXCLUSIVE.
5464 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5466         * timezone/README: Remove mention of checktab.awk. Mention wiki
5467         SharedSourceFiles.
5469 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5471         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5472         WUNTRACED.
5474 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5476         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5477         order to match the type of p when calling atomic_exchange_acq().
5479 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5481         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5482         cfi_offset calls.
5483         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5484         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5485         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5486         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5487         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5489 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5491         * timezone/checktab.awk: Removed.
5493 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5495         * manual/math.texi (Errors in Math Functions): Document relaxed
5496         accuracy goals for IBM long double.
5497         * math/libm-test.inc (test_exceptions): Always allow spurious
5498         "underflow" and "inexact" exceptions for IBM long double.
5500 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5502         [BZ #19762]
5503         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5504         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5505         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5506         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5507         (bit_arch_*): This for feature array.
5508         (bit_*): Renamed to ...
5509         (bit_cpu_*): This for cpu array.
5510         (index_*): Renamed to ...
5511         (index_arch_*): This for feature array.
5512         (index_*): Renamed to ...
5513         (index_cpu_*): This for cpu array.
5514         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5515         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5516         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5517         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5518         bit_##name with index_cpu_##name and bit_cpu_##name.
5519         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5520         bit_##name with index_arch_##name and bit_arch_##name.
5522 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5524         [BZ #19792]
5525         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5526         Terminate FDE before return label.
5528 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5530         [BZ #19790]
5531         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5532         (rintl): Define as macro.
5533         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5534         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5535         of fesetround.  Ensure results are evaluated before end of scope.
5536         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5537         USE_AS_NEARBYINTL and include s_rintl.c.
5538         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5539         Disable exception traps in new environment.
5540         (libc_feholdsetround_ppc_ctx): Likewise.
5542 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5544         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5545         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5546         (tst_audit10_aux) [__AVX512F__]: ... here.
5548 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5550         * include/sys/auxv.h: New file.
5552 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5554         [BZ #19759]
5555         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5557 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5559         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5560         operand modifier.
5561         (feclearexcept): Likewise.
5563 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5565         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5566         to reflect the entire 32-bit HWCAP.
5567         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5568         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5570 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5572         [BZ #19783]
5573         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5574         $(test-via-rtld-prefix).
5575         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5577 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5579         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5580         union wait.  Report any non-zero exit status as error.
5582 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5584         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5585         configured with --enable-hardcoded-path-in-tests.
5587 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5589         [BZ #19677]
5590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5591         (__ieee754_remainderl): Put zero low parts in canonical form.
5592         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5593         file.  Based on
5594         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5595         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5596         with wrapper round test-fmodrem-ldbl-128ibm.c.
5597         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5598         file.
5599         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5600         Likewise.
5601         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5602         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5604 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5606         [BZ #19610]
5607         * elf/ldconfig.c (opt_link): Update comment.
5608         (options): Update help string for option -X.
5609         (search_dir): Unlink stale symbolic link only if updating symbolic
5610         links.
5611         * elf/tst-ldconfig-X.sh: New file.
5612         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5613         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5615 2016-03-07  Andreas Schwab  <schwab@suse.de>
5617         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5618         needed arguments.
5620 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5622         [BZ #15333]
5623         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5624         to lstat64.
5626 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5628         * libio/filedoalloc.c (isatty): Remove.
5629         (local_isatty): Add comment.  Call __isatty directly.
5630         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5631         * libio/wfiledoalloc.c (isatty): Remove.
5632         (_IO_wfile_doallocate): Update comment.
5634 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5636         [BZ #19269]
5637         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5638         tst-audit4-aux.o.
5639         (tst-audit10): Depend on tst-audit10-aux.o.
5640         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5641         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5642         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5643         instead of inline AVX code.
5644         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5645         instead of inline AVX512 code.
5646         * sysdeps/x86_64/tst-audit4-aux.c: New file
5647         * sysdeps/x86_64/tst-audit10-aux.c: New file
5649         [BZ #19648]
5650         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5652 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5654         [BZ #14750]
5655         [BZ #10354]
5656         [BZ #18433]
5657         * include/sched.h (__clone): Add hidden prototype.
5658         (__clone2): Likewise.
5659         * include/unistd.h (__dup): Likewise.
5660         * posix/Makefile (tests): Add tst-spawn2.
5661         * posix/tst-spawn2.c: New file.
5662         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5663         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5664         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5665         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5666         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5667         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5668         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5669         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5670         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5671         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5672         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5674         Likewise.
5675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5676         Likewise.
5677         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5678         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5679         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5680         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5681         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5682         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5683         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5684         * sysdeps/unix/sysv/linux/nptl-signals.h
5685         (____nptl_is_internal_signal): New function.
5686         * sysdeps/unix/sysv/linux/spawni.c: New file.
5688         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5689         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5690         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5691         * posix/tst-execvp2.c (do_test): Likewise.
5692         * posix/tst-execvp3.c (do_test): Likewise.
5693         * posix/tst-execvp4.c (do_test): Likewise.
5694         * posix/tst-execvpe1.c: New file.
5695         * posix/tst-execvpe2.c: Likewise.
5696         * posix/tst-execvpe3.c: Likewise.
5697         * posix/tst-execvpe4.c: Likewise.
5698         * posix/tst-execvpe5.c: Likewise.
5699         * posix/tst-execvpe6.c: Likewise.
5701         [BZ #19534]
5702         * posix/execl.c (execl): Remove dynamic memory allocation.
5703         * posix/execle.c (execle): Likewise.
5704         * posix/execlp.c (execlp): Likewise.
5706 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5708         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5709         Replace .text with .text.avx512.
5710         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5711         Likewise.
5713 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5715         * sysdeps/generic/libnsl.abilist: New file.
5716         * sysdeps/generic/libutil.abilist: New file.
5718 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5720         [BZ #19762]
5721         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5722         HAS_ARCH_FEATURE with Fast_Rep_String.
5723         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5724         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5725         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5726         Likewise.
5727         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5728         Likewise.
5729         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5730         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5731         Likewise.
5732         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5733         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5734         Likewise.
5736 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5738         [BZ #19745]
5739         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5740         with *%rax in call.
5742 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5744         [BZ #19745]
5745         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5746         with *__libc_start_main@GOTPCREL(%rip) in call.
5748 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5750         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5751         inside conditional for nonempty $(CXX).
5753         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5754         nonempty.
5756         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5757         to test for empty $(CXX) rather than $(CXX) of "no".
5759 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5761         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5763 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5764             H.J. Lu  <hongjiu.lu@intel.com>
5766         [BZ #18880]
5767         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5768         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5769         enable __memcpy_ssse3_back.
5771 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5773         [BZ #19758]
5774         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5775         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5777 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5779         [BZ #19490]
5780         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5781         (__fentry__): Likewise.
5783 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5785         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5786         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5788 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5790         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5791         __mcount_internal directly.
5792         (C_LABEL(__fentry__)): Likewise.
5793         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5794         directly.
5796 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5798         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5799         (__start_context): Call __setcontext directly.
5801 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5803         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5804         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5805         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5806         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5807         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5808         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5809         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5810         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5811         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5812         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5813         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5814         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5816         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5817         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5818         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5819         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5820         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5821         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5822         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5823         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5824         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5825         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5826         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5827         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5828         Remove conditional code.
5829         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5830         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5831         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5832         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5833         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5834         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5835         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5836         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5837         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5838         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5839         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5840         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5842 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5844         * NEWS (2.23): Fix typo in bug 19048 text.
5846 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5848         [BZ #14259]
5849         * Makeconfig: Rename msgcatdir to localedir.
5850         Rename inst_msgcatdir to inst_localedir.
5851         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5852         * config.make.in: Add localedir.
5853         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5854         (ldd-rewrite): Likewise.
5855         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5856         (install-others): Use inst_localedir.
5857         (CPPFLAGS): Use localedir.
5858         * locale/Makefile (locale-CPPFLAGS): Likewise.
5859         * po/Makefile (mo-installed): Use inst_localedir.
5861         [BZ #19575]
5862         * localedata/charmaps/GB18030: Update comments regarding PAU to
5863         non-PUA mappings.
5865 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5867         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5868         test for header.
5869         * sysdeps/unix/sysv/linux/configure: Regenerated.
5870         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5871         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5872         Remove conditional code.
5873         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5875         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5876         Define to 3.2.0.
5877         (arch_minimum_kernel): Likewise.
5878         * sysdeps/unix/sysv/linux/configure: Regenerated.
5879         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5880         Define to 2.6.32.
5881         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5882         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5883         (arch_minimum_kernel): Define to 2.6.32.
5884         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5885         * README: Document Linux 3.2 requirement.
5886         * manual/install.texi (Linux): Document Linux 3.2 headers
5887         requirement.
5888         * INSTALL: Regenerated.
5890 2016-02-24  Andreas Schwab  <schwab@suse.de>
5892         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5893         if !NO_LONG_DOUBLE.
5895 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5897         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5898         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5900 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5902         [BZ #19512]
5903         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5905 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5907         * posix/tst-dir.c: Include libc-internal.h.
5909 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5911         [BZ #19056]
5912         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5913         * manual/filesys.texi (Reading/Closing Directory): Mention
5914         deprecaion.
5915         * posix/tst-dir.c (main): Disable deprecation warning in test.
5917 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5919         [BZ #19679]
5920         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5921         Renamed to ...
5922         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5923         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5924         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5925         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5926         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5927         * sysdeps/x86_64/dl-trampoline.h
5928         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5929         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5931 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5933         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5935 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5937         * elf/elf.h (R_386_GOT32X): New.
5938         (R_386_NUM): Update.
5939         (R_X86_64_GOTPCRELX: New.
5940         (R_X86_64_REX_GOTPCRELX): New.
5941         (R_X86_64_NUM): Update.
5943 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5945         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5947 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5949         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5950         assign attr->stackaddr to it, and adjust it down when
5951         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5952         [_STACK_GROWS_UP]: Delete assert.
5953         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5954         Implement stack grows up logic.
5955         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5956         stack grows up logic.
5958 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5960         * NEWS: Update with 2.24 template.
5962 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5964         [BZ #19678]
5965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5966         Ensure +0.0 is returned when taking the next value below the least
5967         positive value.
5969 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5971         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5972         available.  Do not define NO_THREADS.
5973         * malloc/malloc.c: Do not check NO_THREADS.
5974         * malloc/arena.c: Likewise.
5976 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5978         * malloc/malloc.c (__libc_mallinfo): Update comment.
5979         (struct malloc_par): Remove max_total_mem member, it was always 0.
5980         (int_mallinfo): Store 0 into usmblks (no functional change).
5981         * malloc/hooks.c (struct malloc_state): Document that
5982         max_total_mem is always 0.
5983         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5984         always 0.
5985         * manual/memory.texi (Statistics of Malloc): Likewise.
5987 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5989         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5990         * malloc/arena.c (arena_max): Remove.
5991         (heap_trim, _int_new_arena): Do not update arena_max.
5993 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5995         * resolv/res_init.c (res_ninit): Update comment.
5997 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5999         [BZ #19505]
6000         * posix/spawn_int.h: Add headers and include guard.
6001         (__spawn_valid_fd): New function.
6002         * posix/spawn_faction_addopen.c
6003         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6004         * posix/spawn_faction_addclose.c
6005         (posix_spawn_file_actions_addclose): Likewise.
6006         * posix/spawn_faction_adddup2.c
6007         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6008         second file descriptor.
6009         * posix/spawn_valid_fd.c: New file.
6010         * posix/tst-posix_spawn-fd.c: New file.
6011         * posix/Makefile (routines): Add spawn_valid_fd.
6012         (tests): Add tst-posix_spawn-fd.
6014 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6016         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6017         (do_test): Limit the number of arenas, so that we can use fewer
6018         outer threads.  Limit timeout to 3 seconds, in preparation for a
6019         larger TIMEOUT value.
6021 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6023         [BZ #19674]
6024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6025         sign in overflowing and underflowing results when overflow or
6026         underflow is detected early.  Include sign in result before rather
6027         than after scaling.
6029         [BZ #19603]
6030         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6031         (__ieee754_remainderl): Adjust sign of integer version of low part
6032         when taking absolute value of high part.
6033         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6034         * math/libm-test.inc (remainder_test_data): Add another test.
6035         (remquo_test_data): Likewise.
6037 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #19602]
6040         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6041         equal high parts and both low parts zero specially.
6042         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6043         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6044         Add test-fmodl-ldbl-128ibm.
6046         [BZ #19595]
6047         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6048         common logic for all cases of shifting subnormal results.  Do not
6049         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6050         exponent to ldbl_insert_mantissa in subnormal case.
6052         [BZ #19594]
6053         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6054         on high and low parts then adjust result and use
6055         ldbl_canonicalize_int if needed.
6057         [BZ #19593]
6058         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6059         on high part and __floor or __ceil on low part then use
6060         ldbl_canonicalize_int if needed.
6062         [BZ #19592]
6063         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6064         high and low parts then use ldbl_canonicalize_int if needed.
6066         [BZ #17899]
6067         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6068         New function.
6069         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6070         on high and low parts then use ldbl_canonicalize_int if needed.
6072 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6074         * configure: Regenerated.
6076         * po/libc.pot: Regenerated.
6078         * po/be.po: Updated translation.
6079         * po/bg.po: Likewise.
6080         * po/ca.po: Likewise.
6081         * po/cs.po: Likewise.
6082         * po/da.po: Likewise.
6083         * po/el.po: Likewise.
6084         * po/eo.po: Likewise.
6085         * po/es.po: Likewise.
6086         * po/fi.po: Likewise.
6087         * po/fr.po: Likewise.
6088         * po/gl.po: Likewise.
6089         * po/hr.po: Likewise.
6090         * po/hu.po: Likewise.
6091         * po/ia.po: Likewise.
6092         * po/id.po: Likewise.
6093         * po/it.po: Likewise.
6094         * po/ja.po: Likewise.
6095         * po/lt.po: Likewise.
6096         * po/nb.po: Likewise.
6097         * po/nl.po: Likewise.
6098         * po/pt_BR.po: Likewise.
6099         * po/rw.po: Likewise.
6100         * po/sk.po: Likewise.
6101         * po/sl.po: Likewise.
6102         * po/sv.po: Likewise.
6103         * po/tr.po: Likewise.
6104         * po/zh_CN.po: Likewise.
6105         * po/zh_TW.po: Likewise.
6107         * version.h (RELEAES): Set to "development".
6108         (VERSION): Set to 2.23.90.
6110         * version.h (RELEASE): Set to "stable".
6111         (VERSION): Set to 2.23.
6112         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6114         * NEWS: Updated fixed bugs.
6116 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6117             Wilco Dijkstra  <wdijkstr@arm.com>
6119         [BZ #19462]
6120         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6121         (_STRING_INLINE_unaligned): This.
6122         * include/string.h: Include <string_private.h>.
6123         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6124         _STRING_INLINE_unaligned.
6125         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6126         (_STRING_INLINE_unaligned): New.
6127         * sysdeps/aarch64/string_private.h: New file.
6128         * sysdeps/generic/string_private.h: Likewise.
6129         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6130         * sysdeps/s390/string_private.h: Likewise.
6131         * sysdeps/x86/string_private.h: Likewise.
6132         * sysdeps/m68k/m680x0/m68020/bits/string.h
6133         (_STRING_ARCH_unaligned): Renamed to ...
6134         (_STRING_INLINE_unaligned): This.
6135         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6136         to ...
6137         (_STRING_INLINE_unaligned): This.
6138         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6139         to ...
6140         (_STRING_INLINE_unaligned): This.
6141         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6142         to ...
6143         (_STRING_INLINE_unaligned): This.
6145 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6146             H.J. Lu  <hongjiu.lu@intel.com>
6148         [BZ #19590]
6149         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6150         relocation.
6152 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6154         [BZ #18665]
6155         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6156         *herrno_p.
6157         (gaih_getanswer): Document functional behviour. Return tryagain
6158         if any result is tryagain.
6159         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6160         when freed.
6161         * resolv/res_send.c: Add copyright text.
6162         (__libc_res_nsend): Document that MAXPACKET is expected.
6163         (send_vc): Document. Remove buffer reuse.
6164         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6165         size of the buffer. Add Dprint for truncated UDP buffer.
6167 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6169         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6170         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6171         * INSTALL: Regenerate.
6173 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6174             Jonathan Wakely  <jwakely@redhat.com>
6175             Carlos O'Donell  <carlos@redhat.com>
6177         [BZ 19439]
6178         * math/Makefile (tests): Add test-math-isinff.
6179         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6180         * math/bits/mathcalls.h [__USE_MISC]: Use
6181         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6182         functions not in C++11 and which don't conflict e.g. isinff,
6183         isinfl etc.
6184         * math/test-math-isinff.cc: New file.
6186 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6188         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6190 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6192         [BZ #19529]
6193         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6195 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6197         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6199 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6201         [BZ #19550]
6202         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6203         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6204         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6205         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6206         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6207         New syscall entry.
6208         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6209         New syscall entry.
6210         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6211         syscall entry.
6213 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6215         [BZ #18240]
6216         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6217         unsigned int wraparound.
6219 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6221         [BZ #18240]
6222         * misc/bug18240.c: New test.
6223         * misc/Makefile (tests): Add it.
6225 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6226             Joseph Myers  <joseph@codesourcery.com>
6228         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6229         load in branch delay slot when less than a word of input left.
6231 2016-01-27  Andreas Schwab  <schwab@suse.de>
6233         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6234         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6235         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6236         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6238 2016-01-26  David S. Miller  <davem@davemloft.net>
6240         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6242 2016-01-25  David S. Miller  <davem@davemloft.net>
6244         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6245         __sqrtl_finite.
6246         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6247         instead using versioned_symbol.
6248         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6249         of entries.
6251         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6252         __sqrtl_finite to GLIBC_2.23
6254 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6256         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6258 2016-01-25  Andreas Schwab  <schwab@suse.de>
6260         [BZ #17514]
6261         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6262         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6263         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6264         * nptl/tst-mutex-errorcheck.c: New file.
6266 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6268         [BZ #18560]
6269         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6270         (IPCOP_semop): Likewise.
6271         (IPCOP_semget): Likewise.
6272         (IPCOP_semctl): Likewise.
6273         (IPCOP_msgsnd): Likewise.
6274         (IPCOP_msgrcv): Likewise.
6275         (IPCOP_msgget): Likewise.
6276         (IPCOP_msgctl): Likewise.
6277         (IPCOP_shmat): Likewise.
6278         (IPCOP_shmdt): Likewise.
6279         (IPCOP_shmget): Likewise.
6280         (IPCOP_shmctl): Likewise.
6282 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6284         * string/tst-endian.c: Include <libc-internal.h>.
6285         (do_test): Ignore tautological-compare warnings around
6286         "htobeXX (beXXtoh (i)) != i" and
6287         "htoleXX (leXXtoh (i)) != i" if-statements.
6289 2016-01-24  David S. Miller  <davem@davemloft.net>
6291         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6292         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6293         alias.
6294         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6295         __sqrtl_finite.
6297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6299 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6301         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6302         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6303         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6305 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6307         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6308         (thread_func): Use new function to simplify barrier check.
6309         (do_test): Use new function to simplify checking barrier exit
6310         code, and actually join the child thread.
6312 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6314         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6315         semicolon.
6316         (__libc_tend): Likewise.
6317         (__libc_tabort): Likewise.
6319 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6321         * sysdeps/nios2/libm-test-ulps: Update.
6322         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6323         (__gtsf2): Likewise.
6324         (__unorddf2): Likewise.
6325         (__unordsf2): Likewise.
6326         (__ledf2): Likewise.
6328 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6330         * nis/nis_table.c (__follow_path): Disable diagnostic for
6331         uninitialized variable that is a false positive for gcc 4.7.
6332         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6334 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6336         * sysdeps/nacl/lowlevellock-futex.h
6337         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6338         Always evaluate PRIVATE argument.
6340 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6342         [BZ #19490]
6343         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6344         (pthread_cond_broadcast): Use ENTRY/END
6345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6346         (pthread_cond_signal): Likewise.
6347         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6348         Likewise.
6349         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6350         Likewise.
6351         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6352         Likewise.
6354 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6356         * sysdeps/ieee754/dbl-64/s_finite.c
6357         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6358         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6359         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6360         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6361         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6364         (__gtsf2): Add as optional for libc.so.
6365         (__unordsf2): Likewise.
6366         (__signbit): Remove for libc.so.
6367         (__signbitl): Likewise.
6369 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6371         * iconvdata/bug-iconv11.c (test_ibm93x):
6372         Use %zu printf format specifier for size_t argument.
6374 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6376         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6377         already-recorded ulps.
6378         * sysdeps/arm/libm-test-ulps: Regenerated.
6379         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6380         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6381         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6383 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6384             Paul Pluzhnikov  <ppluzhnikov@google.com>
6386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6387         assembler not supporting AVX-512.
6389 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6391         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6393 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6395         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6396         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6398         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6400         * sysdeps/arm/libm-test-ulps: Regenerated.
6402 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6404         [BZ #19451]
6405         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6407 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6409         [BZ #19486]
6410         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6411         * sysdeps/generic/fix-fp-int-convert-overflow.h
6412         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6413         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6414         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6415         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6416         Likewise.
6417         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6418         Avoid conversions to long int where inexact exceptions
6419         could be raised.
6420         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6421         Likewise.
6422         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6423         Avoid conversions to long long int where inexact exceptions
6424         could be raised.
6425         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6426         Likewise.
6428 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6430         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6431         * configure: Regenerated.
6433 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6435         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6437 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6439         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6440         outside of comment.
6442 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6444         * nptl/tst-barrier1.c: Add description on first line.
6445         * nptl/tst-barrier2.c: Likewise.
6446         * nptl/tst-barrier3.c: Likewise.
6447         * nptl/tst-barrier4.c: Likewise.
6448         * nptl/tst-barrier5.c: Likewise.
6450 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6452         [BZ #18868]
6453         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6455 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6459         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6460         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6461         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6462         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6463         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6464         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6465         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6466         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6469 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6471         [BZ #13065]
6472         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6473         new implementation.
6474         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6475         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6476         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6477         (BARRIER_IN_THRESHOLD): New macro.
6478         * nptl/pthread_barrierattr_setpshared.c
6479         (pthread_barrierattr_setpshared): Clean up.
6480         * nptl/tst-barrier4.c: Correct comment.
6481         * nptl/tst-barrier5.c: New file.
6482         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6483         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6484         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6485         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6486         * nptl/lowlevelbarrier.sym: Remove.
6487         * nptl/DESIGN-barrier.txt: Remove.
6488         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6489         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6490         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6491         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6492         error.
6493         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6494         implementation.
6496 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6498         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6499         (do_child): Mask SIGRTMIN while thr is running.
6501 2016-01-15  Martin Sebor  <msebor@redhat.com>
6503         [BZ #19432]
6504         * iconvdata/Makefile: Add bug-iconv11.
6505         * iconvdata/bug-iconv11.c: New test.
6506         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6507         * iconvdata/ibm933.c: Same.
6508         * iconvdata/ibm935.c: Same.
6509         * iconvdata/ibm937.c: Same.
6510         * iconvdata/ibm939.c: Same.
6512 2016-01-15  Martin Sebor  <msebor@redhat.com>
6514         [BZ #19443]
6515         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6516         [DEBUG] (_ufc_set_bits): Declare used.
6517         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6518         [DEBUG] (print_all): Declare used.
6519         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6520         operands of the ternary ?: expression to target type.
6521         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6522         calling the undeclared abort.
6523         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6525 2016-01-15  Martin Sebor  <msebor@redhat.com>
6527         [BZ #18755]
6528         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6529         warnings.
6530         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6531         (__gai_create_helper_thread): Same.
6532         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6533         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6534         to suppress -Wmaybe-uninitialized warnings.
6536 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6538         [BZ #19465]
6539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6540         inside if.
6541         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6542         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6543         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6545 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6547         [BZ #19466]
6548         * time/tst-mktime2.c (time_t_max): Removed.
6549         (time_t_min): Likewise.
6550         (TYPE_SIGNED): New.
6551         (TYPE_MINIMUM): Likewise.
6552         (TYPE_MAXIMUM): Likewise.
6553         (TIME_T_MIN): Likewise.
6554         (TIME_T_MAX): Likewise.
6555         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6556         and TIME_T_MIN.
6557         (do_test): Likewise.
6559 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6561         [BZ #19467]
6562         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6563         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6565 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6567         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6569 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6571         * benchtests/Makefile (PYTHON): Define.
6572         (bench-func): Use $(PYTHON) to run python scripts.
6573         ($(objpfx)bench-%.c): Likewise.
6575 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6577         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6578         leading slash when `file_name' is "/".
6580 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6582         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6583         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6586         Likewise.
6587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6588         Likewise.
6589         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6590         enum constant and macro.
6591         (PTRACE_SETSIGMASK): Likewise.
6592         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6593         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6594         (PTRACE_GETSIGMASK): Likewise.
6595         (PTRACE_SETSIGMASK): Likewise.
6596         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6597         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6598         Likewise.
6599         (PTRACE_SETSIGMASK): Likewise.
6600         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6601         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6602         (PTRACE_GETSIGMASK): Likewise.
6603         (PTRACE_SETSIGMASK): Likewise.
6604         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6605         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6606         Likewise.
6607         (PTRACE_SETSIGMASK): Likewise.
6608         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6609         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6610         Likewise.
6611         (PTRACE_SETSIGMASK): Likewise.
6612         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6613         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6614         Likewise.
6615         (PTRACE_SETSIGMASK): Likewise.
6616         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6618 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6619             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6621         [BZ #19439]
6622         * math/bits/mathcalls.h
6623         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6624         prototype.
6625         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6627 2016-01-11  Andreas Schwab  <schwab@suse.de>
6629         [BZ #19253]
6630         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6631         cache when TZDEFRULES was used.
6632         * time/tst-tzname.c: New file.
6633         * time/Makefile (test): Add tst-tzname.
6634         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6635         * timezone/Makefile (test-zones): Add $(posixrules-file).
6636         ($(testdata)/$(posixrules-file)): New rule.
6638 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6640         Fix doc quoting problems with Texinfo 5
6641         Without this change, in the info file output, Texinfo 5 quotes code
6642         in text with undirected single quotes 'like this' and generates
6643         code examples that with many PDF readers cannot be cut out of PDFs
6644         and pasted into code.
6645         * manual/libc.texinfo: Configure the libc manual like the GNU
6646         Emacs manual, by using @documentencoding and setting
6647         txicodequoteundirected and txicodequotebacktick.  This way,
6648         Texinfo 5 quotes code in text with directed single quotes ‘like
6649         this’ and produces examples that can be cut out of PDFs.  This
6650         change causes Texinfo 5 to generate info files that contain UTF-8
6651         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6652         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6654 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6656         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6657         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6658         barriers to their respective compiler built-ins.
6659         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6660         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6661         * sysdeps/powerpc/sysdep.h: Likewise.
6662         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6666 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6668         * scripts/config.guess: Revert previous shebang change.
6669         * scripts/config.sub: Likewise.
6670         * scripts/mkinstalldirs: Likewise.
6672 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6674         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6675         PPC_FEATURE2_HAS_IEEE128.
6676         * sysdeps/powerpc/dl-procinfo.c:
6677         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6679 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6681         [BZ #19415]
6682         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6683         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6684         (_dl_lookup_address): Rewrite using function resolver trampoline.
6685         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6686         two bits in address.
6688 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6690         * longlong.h: Change !__SHMEDIA__ to
6691         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6692         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6694 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6695             Joseph Myers  <joseph@codesourcery.com>
6696             Mark Shinwell  <shinwell@codesourcery.com>
6697             Andrew Stubbs  <ams@codesourcery.com>
6698             Rich Felker <dalias@libc.org>
6700         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6702 2016-01-07  Richard Henderson  <rth@redhat.com>
6704         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6706 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6708         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6709         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6710         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6711         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6712         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6714 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6715             Joseph Myers  <joseph@codesourcery.com>
6717         * timezone/private.h: Update from tzcode 2015g.
6718         * timezone/tzfile.h: Likewise.
6719         * timezone/tzselect.ksh: Likewise.
6720         * timezone/zdump.c: Likewise.
6721         * timezone/zic.c: Likewise.
6722         * timezone/ialloc.c: Remove file.
6723         * timezone/scheck.c: Likewise.
6724         * timezone/Makefile (extra-objs): Remove variable.
6725         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6726         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6727         -Wno-maybe-uninitialized.
6728         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6729         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6730         (CFLAGS-ialloc.c): Remove variable.
6731         (CFLAGS-scheck.c): Likewise.
6732         * timezone/README: Update list of files from tzcode.
6734 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6736         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6737         instead of __fxprintf when _LIBC is undefined.
6739 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6741         * catgets/test-gencat.sh: Remove space after shebang.
6742         * conform/GlibcConform.pm: Likewise.
6743         * conform/check-header-lists.sh: Likewise.
6744         * conform/conformtest.pl: Likewise.
6745         * conform/linknamespace.pl: Likewise.
6746         * conform/list-header-symbols.pl: Likewise.
6747         * debug/catchsegv.sh: Likewise.
6748         * elf/genrtldtbl.awk: Likewise.
6749         * elf/tst-pathopt.sh: Likewise.
6750         * elf/tst-rtld-load-self.sh: Likewise.
6751         * grp/tst_fgetgrent.sh: Likewise.
6752         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6753         * iconvdata/gen-8bit-gap.sh: Likewise.
6754         * iconvdata/gen-8bit.sh: Likewise.
6755         * iconvdata/run-iconv-test.sh: Likewise.
6756         * intl/tst-gettext.sh: Likewise.
6757         * intl/tst-gettext2.sh: Likewise.
6758         * intl/tst-gettext4.sh: Likewise.
6759         * intl/tst-gettext6.sh: Likewise.
6760         * intl/tst-translit.sh: Likewise.
6761         * io/ftwtest-sh: Likewise.
6762         * libio/test-freopen.sh: Likewise.
6763         * locale/gen-translit.pl: Likewise.
6764         * malloc/tst-mtrace.sh: Likewise.
6765         * manual/check-safety.sh: Likewise.
6766         * manual/libc-texinfo.sh: Likewise.
6767         * manual/tsort.awk: Likewise.
6768         * manual/xtract-typefun.awk: Likewise.
6769         * nptl/tst-cancel-wrappers.sh: Likewise.
6770         * nptl/tst-tls6.sh: Likewise.
6771         * posix/globtest.sh: Likewise.
6772         * posix/tst-getconf.sh: Likewise.
6773         * posix/wordexp-tst.sh: Likewise.
6774         * scripts/check-c++-types.sh: Likewise.
6775         * scripts/check-local-headers.sh: Likewise.
6776         * scripts/config.guess: Likewise.
6777         * scripts/config.sub: Likewise.
6778         * scripts/cpp: Likewise.
6779         * scripts/cross-test-ssh.sh: Likewise.
6780         * scripts/documented.sh: Likewise.
6781         * scripts/evaluate-test.sh: Likewise.
6782         * scripts/gen-libc-abis: Likewise.
6783         * scripts/gen-sorted.awk: Likewise.
6784         * scripts/list-fixed-bugs.py: Likewise.
6785         * scripts/merge-test-results.sh: Likewise.
6786         * scripts/mkinstalldirs: Likewise.
6787         * scripts/rellns-sh: Likewise.
6788         * scripts/test-installation.pl: Likewise.
6789         * scripts/update-copyrights: Likewise.
6790         * stdio-common/tst-printf.sh: Likewise.
6791         * stdio-common/tst-unbputc.sh: Likewise.
6792         * stdlib/tst-fmtmsg.sh: Likewise.
6793         * stdlib/tst-setcontext3.sh: Likewise.
6794         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6795         * sysdeps/unix/make-syscalls.sh: Likewise.
6797 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6799         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6800         asm stw with atomic_exchange_rel.  Add explanatory comment.
6801         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6802         Likewise.
6804 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6806         [BZ #19122]
6807         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6808         * sysdeps/generic/dl-unistd.h: New file.
6809         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6811 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6813          [BZ #19122]
6814          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6815          * sysdeps/generic/dl-mman.h: New file.
6816          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6818 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6820         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6821         trailing whitespace removed.
6822         * scripts/config.guess: Update to version 2016-01-01.
6823         * scripts/config.sub: Update to version 2016-01-01.
6824         * scripts/move-if-change: Update from gnulib.
6826 2016-01-04  Anton Blanchard  <anton@samba.org>
6828         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6829         for array indices.
6830         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6832 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6834         * NEWS: Update copyright dates.
6835         * catgets/gencat.c (print_version): Likewise.
6836         * csu/version.c (banner): Likewise.
6837         * debug/catchsegv.sh: Likewise.
6838         * debug/pcprofiledump.c (print_version): Likewise.
6839         * debug/xtrace.sh (do_version): Likewise.
6840         * elf/ldconfig.c (print_version): Likewise.
6841         * elf/ldd.bash.in: Likewise.
6842         * elf/pldd.c (print_version): Likewise.
6843         * elf/sotruss.sh: Likewise.
6844         * elf/sprof.c (print_version): Likewise.
6845         * iconv/iconv_prog.c (print_version): Likewise.
6846         * iconv/iconvconfig.c (print_version): Likewise.
6847         * locale/programs/locale.c (print_version): Likewise.
6848         * locale/programs/localedef.c (print_version): Likewise.
6849         * login/programs/pt_chown.c (print_version): Likewise.
6850         * malloc/memusage.sh (do_version): Likewise.
6851         * malloc/memusagestat.c (print_version): Likewise.
6852         * malloc/mtrace.pl: Likewise.
6853         * manual/libc.texinfo: Likewise.
6854         * nptl/version.c (banner): Likewise.
6855         * nscd/nscd.c (print_version): Likewise.
6856         * nss/getent.c (print_version): Likewise.
6857         * nss/makedb.c (print_version): Likewise.
6858         * posix/getconf.c (main): Likewise.
6859         * scripts/test-installation.pl: Likewise.
6860         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6862         * All files with FSF copyright notices: Update copyright dates
6863         using scripts/update-copyrights.
6864         * intl/plural.c: Regenerated.
6865         * locale/programs/charmap-kw.h: Likewise.
6866         * locale/programs/locfile-kw.h: Likewise.
6868 2016-01-02  Helge Deller  <deller@gmx.de>
6870         [BZ #19285]
6871         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6872         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6873         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6874         (MADV_xxK_PAGES): Remove.
6876 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6878         [BZ #15421]
6879         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6880         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6881         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6882         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6884 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6886         [BZ #19408]
6887         * sysdeps/unix/sysv/linux/personality.c: New file.
6888         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6889         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6891         (sysdep_routines): Add personality.
6892         (tests): Add tst-personality.
6893         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6894         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6895         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6896         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6897         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6898         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6899         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6900         Likewise.
6901         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6902         Likewise.
6903         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6904         Likewise.
6905         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6906         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6907         Likewise.
6909 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6911         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6912         (PATH_ARM_SYSTYPE): Remove.
6913         (PATH_CPUINFO): Likewise.
6914         (IO_BASE_FOOTBRIDGE): Likewise.
6915         (IO_SHIFT_FOOTBRIDGE): Likewise.
6916         (struct platform): Likewise.
6917         (init_iosys): Remove compatibility code for 2.4 kernels.
6918         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6920 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6922         * malloc/tst-malloc-thread-fail.c: New file.
6923         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6924         (tst-malloc-thread-fail): Link against libpthread.
6926 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6928         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6929         (get_parser): New function.
6930         (main): New function.
6932 2015-12-29  Rob Wu  <rob@robwu.nl>
6934         [BZ #19369]
6935         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6937 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6939         [BZ #19270]
6940         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6942 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6944         [BZ #15421]
6945         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6947 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6949         [BZ #13690]
6950         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6951         after releasing it.
6952         (__lll_robust_unlock): Likewise.
6953         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6954         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6955         (lll_robust_unlock): Likewise.
6956         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6957         Prevent warnings in callers.
6959 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6961         * malloc/arena.c (list_lock): Update comment.
6963 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6965         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6966         __parse_hwcap_and_convert_at_platform to libc.a.
6968 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6970         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6971         platform and feature support for POWER9.
6972         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6973         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6974         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6975         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6976         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6977         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6978         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6979         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6981 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6983         Harmonize generic stdio-lock support with nptl
6985         This fixes build when _IO_funlockfile is a macro, fixes build where
6986         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6987         stack unwind.
6989         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6990         _IO_release_lock ): Use cleanup attribute on new
6991         _IO_acquire_lock_file variable instead of assuming that
6992         _IO_release_lock will be called.
6993         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6994         _IO_acquire_lock_needs_exceptions_enabled.
6995         (_IO_acquire_lock_clear_flags2): New macro.
6997 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6999         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7001 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7003         [BZ #19182]
7004         * malloc/arena.c (list_lock): Document lock ordering requirements.
7005         (free_list_lock): New lock.
7006         (ptmalloc_lock_all): Comment on free_list_lock.
7007         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7008         (detach_arena): Update comment.  free_list_lock is now needed.
7009         (_int_new_arena): Use free_list_lock around detach_arena call.
7010         Acquire arena lock after list_lock.  Add comment, including FIXME
7011         about incorrect synchronization.
7012         (get_free_list): Switch to free_list_lock.
7013         (reused_arena): Acquire free_list_lock around detach_arena call
7014         and attached threads counter update.  Add two FIXMEs about
7015         incorrect synchronization.
7016         (arena_thread_freeres): Switch to free_list_lock.
7017         * malloc/malloc.c (struct malloc_state): Update comments to
7018         mention free_list_lock.
7020 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7022         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7023         Remove functions.
7024         (sloww, sloww1): Accept argument to offset quadrant.
7025         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7026         quadrant.
7027         (__sin, __cos): Consolidate common code into new functions.
7028         (reduce_sincos_1, do_sincos_1): New functions.
7029         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7032         code to new functions.
7033         (reduce_sincos_2, do_sincos_2): New functions.
7034         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7037         common code for sincos.
7038         (__cos) [!IN_SINCOS]: Likewise.
7039         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7040         New function.
7041         (__sincos): Use it.
7043 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7045         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7046         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7047         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7049 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7051         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7053         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7054         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7055         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7056         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7057         index_Prefer_No_VZEROUPPER): New feature.
7058         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7059         Prefer_No_VZEROUPPER for Knights Landing.
7061 015-12-18  Torvald Riegel  <triegel@redhat.com>
7063         * math/atest-exp2.c (mp_exp_m1): Remove.
7065 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7067         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7068         syscalls.
7069         (__SYSCALL0): New macro.
7070         (__SYSCALL1): Likewise.
7071         (__SYSCALL2): Likewise.
7072         (__SYSCALL3): Likewise.
7073         (__SYSCALL4): Likewise.
7074         (__SYSCALL5): Likewise.
7075         (__SYSCALL6): Likewise.
7076         (__SYSCALL_CONCAT_X): Likewise.
7077         (__SYSCALL_CONCAT): Likewise.
7078         (__SYSCALL_DIST): Likewise.
7079         (__SYSCALL_CALL): Likewise.
7081 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7083         [BZ #19363]
7084         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7086 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7088         [BZ #19375]
7089         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7090         negative subnormals.
7092 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7094         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7095         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7096         (INTERNAL_SYSCALL_NCS): Use it.
7097         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7099 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7101         [BZ #19243]
7102         * malloc/arena.c (get_free_list): Remove assert and adjust
7103         reference count handling.  Add comment about reused_arena
7104         interaction.
7105         (reused_arena): Add comments abount get_free_list interaction.
7106         * malloc/tst-malloc-thread-exit.c: New file.
7107         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7108         (tst-malloc-thread-exit): Link against libpthread.
7110 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7112         [BZ #19367]
7113         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7114         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7115         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7116         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7117         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7119 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7121         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7122         Silvermont optimizations for Knights Landing.
7124 2015-12-15  Andreas Schwab  <schwab@suse.de>
7126         [BZ #17197]
7127         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7128         immediately after emitting SI.
7129         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7130         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7131         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7132         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7133         * iconvdata/bug-iconv10.c: New file.
7134         * iconvdata/Makefile (tests): Add bug-iconv10.
7135         ($(objpfx)bug-iconv10.out): New rule.
7137 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7139         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7140         aliasing violation.
7142 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7144         [BZ #18472]
7145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7146         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7147         conditionals for them.
7148         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7149         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7151         sys/kdaemon.h.
7152         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7153         compat-only syscall, obsoleted in glibc 2.23.
7154         (create_module): Likewise.
7155         (get_kernel_syms): Likewise.
7156         (query_module): Likewise.
7157         (uselib): Likewise.
7158         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7160 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7162         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7163         <linux/version.h>.
7164         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7165         conditional code.
7166         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7167         and ioshift_name initialization.
7169 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7171         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7172         Fix indentation.
7174 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7176         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7178 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7180         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7182 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7183             Jakub Wilk  <jwilk@debian.org>
7185         [BZ #19347]
7186         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7187         to change the group of the device to the tty group.
7189 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7191         Split large string section; add truncation advice
7192         * manual/examples/strncat.c: Remove.
7193         This example was misleading, as the code would have undefined
7194         behavior if "hello" was longer than SIZE.  Anyway, the manual
7195         shouldn't encourage strncpy+strncat for this sort of thing.
7196         * manual/string.texi (Copying Strings and Arrays): Split into
7197         three sections Copying Strings and Arrays, Concatenating Strings,
7198         and Truncating Strings, as this section was way too long.  All
7199         cross-referenced changed.  Add advice about string-truncation
7200         functions.  Remove misleading strncat example.
7202 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7204         * manual/nss.texi (NSS Modules Interface): Document
7205         NSS_STATUS_NOTFOUND and SUCCESS.
7207 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7209         [BZ 18568]
7210         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7211         201505L, for Unicode 8.
7213 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7215         * locale/C-translit.h: Regenerate.
7217 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7219         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7220         and U+0153.
7222 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7224         [BZ #19351]
7225         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7226         expanding log(1+z), compare z rather than its square with epsilon
7227         to determine when to avoid evaluating the expansion.
7229         [BZ #19350]
7230         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7231         Increase overflow threshold.
7233         [BZ #19349]
7234         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7235         when small.
7237         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7239         New macro.
7240         [__LINUX_KERNEL_VERSION >= 0x040300]
7241         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7242         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7243         Likewise.
7244         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7245         Likewise.
7246         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7247         Likewise.
7248         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7249         Likewise.
7250         [__LINUX_KERNEL_VERSION >= 0x040300]
7251         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7252         [__LINUX_KERNEL_VERSION >= 0x040300]
7253         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7254         [__LINUX_KERNEL_VERSION >= 0x040300]
7255         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7256         [__LINUX_KERNEL_VERSION >= 0x040300]
7257         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7258         [__LINUX_KERNEL_VERSION >= 0x040300]
7259         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7261         Likewise.
7262         [__LINUX_KERNEL_VERSION >= 0x040300]
7263         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7265         Likewise.
7266         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7267         Likewise.
7268         [__LINUX_KERNEL_VERSION >= 0x040300]
7269         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7270         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7271         Likewise.
7272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7273         Likewise.
7274         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7276         Likewise.
7277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7278         Likewise.
7279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7280         Likewise.
7281         [__LINUX_KERNEL_VERSION >= 0x040300]
7282         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7283         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7284         Likewise.
7285         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7286         Likewise.
7287         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7288         Likewise.
7289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7290         Likewise.
7291         [__LINUX_KERNEL_VERSION >= 0x040300]
7292         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7293         [__LINUX_KERNEL_VERSION >= 0x040300]
7294         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7295         [__LINUX_KERNEL_VERSION >= 0x040300]
7296         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7297         [__LINUX_KERNEL_VERSION >= 0x040300]
7298         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7299         [__LINUX_KERNEL_VERSION >= 0x040300]
7300         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7302         Likewise.
7303         [__LINUX_KERNEL_VERSION >= 0x040300]
7304         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7306         Likewise.
7307         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7308         Likewise.
7309         [__LINUX_KERNEL_VERSION >= 0x040300]
7310         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7311         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7312         Likewise.
7313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7314         Likewise.
7315         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7316         (__ASSUME_SOCKET_SYSCALL): Likewise.
7317         (__ASSUME_BIND_SYSCALL): Likewise.
7318         (__ASSUME_CONNECT_SYSCALL): Likewise.
7319         (__ASSUME_LISTEN_SYSCALL): Likewise.
7320         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7321         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7322         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7323         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7324         (__ASSUME_SEND_SYSCALL): Likewise.
7325         (__ASSUME_SENDTO_SYSCALL): Likewise.
7326         (__ASSUME_RECV_SYSCALL): Likewise.
7327         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7328         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7329         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7330         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7331         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7332         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7333         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7334         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7335         Likewise.
7336         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7337         Likewise.
7338         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7339         Likewise.
7340         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7341         Likewise.
7342         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7343         Likewise.
7344         [__LINUX_KERNEL_VERSION >= 0x020625]
7345         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7346         [__LINUX_KERNEL_VERSION >= 0x020625]
7347         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7348         [__LINUX_KERNEL_VERSION >= 0x020625]
7349         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7350         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7351         Likewise.
7352         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7353         Likewise.
7354         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7355         Likewise.
7356         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7357         Likewise.
7358         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7359         Likewise.
7360         [__LINUX_KERNEL_VERSION >= 0x020625]
7361         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7362         [__LINUX_KERNEL_VERSION >= 0x020625]
7363         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7364         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7365         Likewise.
7366         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7367         Likewise.
7369 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7371         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7372         record the current if the current ABI and CPU support the FP64
7373         extension.
7374         (has-modd-spreg): Define to record the current if the current ABI and
7375         CPU support 32-bit floating point values in odd FPU registers.
7376         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7377         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7378         $(has-modd-spreg) equals yes.
7379         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7380         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7381         $(has-modd-spreg) equal yes.
7383 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7385         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7386         basename.
7388 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7390         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7391         (bench-string): ... here.
7392         (bench): Add bench-string.
7393         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7394         to *-benchset to reflect what they are.
7395         (benchset): Adjust.
7397         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7398         cos-inputs.
7400 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7402         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7403         __attribute__ ((__simd__)) for vector math function declarations.
7405 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7407         Fix typo in strncat, wcsncat manual entries
7408         * manual/string.texi (Copying and Concatenation): Fix typos in
7409         sample implementations of strncat and wcsncat, by having them use
7410         the old value of the destination length, not the new one.
7412 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7414         [BZ #16961]
7415         [BZ #16962]
7416         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7417         string on the stack for strtod.
7418         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7419         a string on the stack for strtof.
7420         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7421         constructing a string on the stack for strtold.
7422         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7423         __strtold_nan to GLIBC_PRIVATE.
7424         * math/test-nan-overflow.c: New file.
7425         * math/test-nan-payload.c: Likewise.
7426         * math/Makefile (tests): Add test-nan-overflow and
7427         test-nan-payload.
7429 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7431         Consistency about byte vs character in string.texi
7432         * manual/string.texi (String and Array Utilities):
7433         Distinguish more carefully among bytes, multibyte characters,
7434         and wide characters.  Use "byte" when talking about C 'char',
7435         to distinguish it more clearly from multibyte characters.
7436         Say "wide character" or "multibyte character" instead of
7437         "character", when a wide or multibyte character is intended.
7438         Similarly for "multibyte string" versus "string".
7439         Define these terms more carefully.
7441 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7443         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7444         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7445         Likewise.
7446         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7447         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7448         * sysdeps/sh/math_private.h: New file.
7449         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7450         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7451         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7452         long double function name.
7453         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7454         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7456         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7457         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7459         Remove __finitel, __isinfl, and __isnanl.
7460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7461         Likewise.
7462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7464         Remove __finitel.
7465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7466         Likewise.
7467         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7469 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7471         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7472         installed libmvec_nonshared.a.
7474 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7476         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7477         (sysdep_routines): Likewise.
7478         (sysdep-rtld-routines): Likewise.
7479         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7480         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7481         * sysdeps/powerpc/Versions: Added new
7482         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7483         * sysdeps/powerpc/hwcapinfo.c: New file.
7484         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7485         and parse hwcap, hwcap2 and platform number information.
7486         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7487         to store HWCAP+HWCAP2 and platform number.
7488         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7489         for HWCAP+HWCAP2 and platform number in the TCB.
7490         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7491         the HWCAP, HWCAP2 and platform number in the TCB.
7492         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7493         (TLS_INIT_TP): Included calls to add the hwcap and
7494         at_platform values in the TCB in TP initialization.
7495         (TLS_DEFINE_INIT_TP): Likewise.
7496         (THREAD_GET_HWCAP): New macro.
7497         (THREAD_SET_HWCAP): Likewise.
7498         (THREAD_GET_AT_PLATFORM): Likewise.
7499         (THREAD_SET_AT_PLATFORM): Likewise.
7500         * sysdeps/powerpc/powerpc32/dl-machine.h:
7501         (dl_platform_init): New function that calls
7502         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7503         powerpc32.
7504         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7505         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7506         this functionality, static linking case.
7507         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7508         linking case.
7509         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7510         __parse_hwcap_and_convert_at_platform for the static linking case.
7511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7512         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7513         ABI list for GLIBC 2.23.
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7515         Likewise.
7516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7517         Likewise.
7519 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7521         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7522         * configure: Regenerate.
7523         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7524         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7526 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7528         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7529         * iconvdata/ibm933.c: Likewise.
7530         * iconvdata/ibm935.c: Likewise.
7531         * iconvdata/ibm937.c: Likewise.
7532         * iconvdata/ibm939.c: Likewise.
7534 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7536         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7537         pthread_join.
7538         * nptl/tst-cancel21.c (tf): Likewise.
7540 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7542         [BZ #19313]
7543         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7544         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7545         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7546         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7547         Likewise.
7548         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7549         Likewise.
7550         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7551         Likewise.
7552         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7553         Likewise.
7554         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7555         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7556         unsigned long int with __CPU_MASK_TYPE.
7558 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7560         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7562 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7565         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7566         t512.x.
7567         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7569 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7571         [BZ #19214]
7572         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7573         argument to return extended model.  Update family and model
7574         with extended family and model when family == 0x0f.
7575         (init_cpu_features): Updated.
7577 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7579         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7580         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7582         * sysdeps/mach/hurd/mmap64.c: New file.
7584 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7586         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7587         rights for its main user thread in NEWTASK.
7589 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7591         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7592         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7594 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7596         [BZ #14259]
7597         * Makeconfig: Rename localedir to complocaledir.
7598         Rename inst_localedir to inst_complocaledir.
7599         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7600         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7601         * configure.ac: Use libc_cv_complocaledir.
7602         * configure: Regenerate.
7603         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7604         -DCOMPLOCALEDIR.
7605         * locale/findlocale.c: Use COMPLOCALEDIR.
7606         * locale/loadarchive.c: Likewise.
7607         * locale/programs/locale.c: Likewise.
7608         * locale/programs/localedef.c: Likewise.
7609         * locale/programs/locarchive.c: Likewise.
7610         * localedata/Makefile: Use inst_complocaledir.
7611         * sysdeps/gnu/configure: Regenerate.
7612         * sysdeps/hppa/configure: Regenerate.
7613         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7614         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7616         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7617         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7618         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7619         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7621 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7623         [BZ #19058]
7624         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7625         AS_NEEDED.
7626         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7627         workaround.
7628         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7629         libmvec-static-only-routines): Added new file.
7630         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7632 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7634         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7635         of interrupted RPC instead of restoring it.
7637         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7638         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7639         libc_hidden_def.
7640         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7641         into initialized data instead of common. Define rtld_hidden_data_def.
7642         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7643         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7644         libc_hidden_def.
7645         (if_freenameindex): Add libc_hidden_weak.
7646         (if_nameindex): Add libc_hidden_weak.
7647         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7648         __open64.
7649         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7650         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7651         * sysdeps/mach/nanosleep.c: Include <time.h>
7652         (__nanosleep): Rename to __libc_nanosleep.
7653         (__nanosleep): Add weak_alias.
7654         (nanosleep): Update alias.
7656 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7658         * stdlib/strtod_nan.c: New file.
7659         * stdlib/strtod_nan_double.h: Likewise.
7660         * stdlib/strtod_nan_float.h: Likewise.
7661         * stdlib/strtod_nan_main.c: Likewise.
7662         * stdlib/strtod_nan_narrow.h: Likewise.
7663         * stdlib/strtod_nan_wide.h: Likewise.
7664         * stdlib/strtof_nan.c: Likewise.
7665         * stdlib/strtold_nan.c: Likewise.
7666         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7667         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7668         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7669         * wcsmbs/wcstod_nan.c: Likewise.
7670         * wcsmbs/wcstof_nan.c: Likewise.
7671         * wcsmbs/wcstold_nan.c: Likewise.
7672         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7673         strtold_nan.
7674         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7675         wcstof_nan.
7676         * include/stdlib.h (__strtof_nan): Declare and use
7677         libc_hidden_proto.
7678         (__strtod_nan): Likewise.
7679         (__strtold_nan): Likewise.
7680         (__wcstof_nan): Likewise.
7681         (__wcstod_nan): Likewise.
7682         (__wcstold_nan): Likewise.
7683         * include/wchar.h (____wcstoull_l_internal): Declare.
7684         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7685         (____strtoull_l_internal): Remove declaration.
7686         (STRTOF_NAN): Define macro.
7687         (SET_MANTISSA): Remove macro.
7688         (STRTOULL): Likewise.
7689         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7690         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7691         (STRTOF_NAN): Define macro.
7692         (SET_MANTISSA): Remove macro.
7693         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7694         (SET_MANTISSA): Remove macro.
7695         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7696         macro.
7697         (SET_MANTISSA): Remove macro.
7698         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7699         macro.
7700         (SET_MANTISSA): Remove macro.
7701         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7702         (SET_MANTISSA): Remove macro.
7703         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7704         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7705         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7707         [BZ #19266]
7708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7709         upper case and lower case letters inside NAN(), not using TOLOWER.
7710         * stdlib/tst-strtod-nan-locale-main.c: New file.
7711         * stdlib/tst-strtod-nan-locale.c: Likewise.
7712         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7713         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7714         Depend on $(gen-locales).
7715         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7716         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7717         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7718         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7719         Depend on $(gen-locales).
7720         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7722 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7724         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7726         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7728         __finitel, __isinfl, and __isnanl.
7729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7730         Likewise.
7731         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7733         __finitel.
7734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7735         Likewise.
7736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7738 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7740         * malloc/memusage.c (me): Remove redundant getenv call.
7742 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7744         [BZ #19143]
7745         [BZ #19164]
7746         * nptl/check-cpuset.h: Remove.
7747         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7748         Remove CPU set size check.
7749         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7750         Likewise.
7751         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7752         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7753         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7754         (__pthread_setaffinity_new): Remove CPU set size check.
7755         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7756         (__kernel_cpumask_size): Remove.
7757         (__sched_setaffinity_new): Remove CPU set size check.
7758         * manual/threads.texi (Default Thread Attributes): Remove stale
7759         reference to check_cpuset_attr, determine_cpumask_size in comment.
7760         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7761         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7762         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7763         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7764         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7765         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7766         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7767         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7768         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7769         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7770         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7771         skeleton test file.
7772         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7773         tst-affinity-pid.
7775 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7777         * scripts/update-abilist.sh: New file.
7778         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7779         * Makerules (update-all-abi-%, update-all-abi)
7780         (subdir_update-all-abi): New targets.
7781         * elf/Makefile (update-all-abi): New target.
7783 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7785         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7786         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7787         (__libc_lock_define_initialized): Use it.
7788         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7789         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7790         * malloc/malloc.c (main_arena): Likewise.
7791         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7792         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7794 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7796         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7797         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7798         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7799         (PTRACE_O_MASK): Update value.
7800         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7801         New value in enum __ptrace_setoptions.
7802         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7803         (PTRACE_O_MASK): Update value.
7804         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7805         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7806         (PTRACE_O_MASK): Update value.
7807         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7808         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7809         (PTRACE_O_MASK): Update value.
7810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7811         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7812         (PTRACE_O_MASK): Update value.
7813         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7814         New value in enum __ptrace_setoptions.
7815         (PTRACE_O_MASK): Update value.
7816         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7817         New value in enum __ptrace_setoptions.
7818         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7819         (PTRACE_O_MASK): Update value.
7821         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7822         New macro.
7823         (PACKET_AUXDATA): Likewise.
7824         (PACKET_ORIGDEV): Likewise.
7825         (PACKET_VERSION): Likewise.
7826         (PACKET_HDRLEN): Likewise.
7827         (PACKET_RESERVE): Likewise.
7828         (PACKET_TX_RING): Likewise.
7829         (PACKET_LOSS): Likewise.
7830         (PACKET_VNET_HDR): Likewise.
7831         (PACKET_TX_TIMESTAMP): Likewise.
7832         (PACKET_TIMESTAMP): Likewise.
7833         (PACKET_FANOUT): Likewise.
7834         (PACKET_TX_HAS_OFF): Likewise.
7835         (PACKET_QDISC_BYPASS): Likewise.
7836         (PACKET_ROLLOVER_STATS): Likewise.
7837         (PACKET_FANOUT_DATA): Likewise.
7838         (PACKET_MR_UNICAST): Likewise.
7840         [BZ #19242]
7841         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7842         (TOUPPER): Likewise.
7843         * stdlib/tst-strtol-locale-main.c: New file.
7844         * stdlib/tst-strtol-locale.c: Likewise.
7845         * stdlib/Makefile (tests): Add tst-strtol-locale.
7846         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7847         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7848         Depend on $(gen-locales).
7849         * wcsmbs/tst-wcstol-locale.c: New file.
7850         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7851         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7852         tr_TR.ISO-8859-9.
7853         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7854         Depend on $(gen-locales).
7856 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7858         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7859         __glibc_likely instead of __builtin_expect.  After falling back to
7860         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7861         system interface to register the code pages as occupied.
7863 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7865         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7866         [!ARM_MATH_PRIVATE_H].
7867         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7868         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7869         [!HPPA_MATH_PRIVATE_H].
7870         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7871         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7872         to [!I386_MATH_PRIVATE_H].
7873         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7874         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7875         Change guard to [!M68K_MATH_PRIVATE_H].
7876         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7877         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7878         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7879         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7880         macro.
7881         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7882         [!MIPS_MATH_PRIVATE_H].
7883         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7884         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7885         [!NIO2_MATH_PRIVATE_H].
7886         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7887         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7888         [!TILE_MATH_PRIVATE_H].
7889         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7891         [BZ #15421]
7892         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7893         initialize with 0 and define as weak alias of __signgam.
7894         * include/math.h [!_ISOMAC] (__signgam): Declare.
7895         * math/Makefile (libm-calls): Add w_lgamma_compat.
7896         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7897         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7898         test-signgam-ullong-init.
7899         (tests-static): Add test-signgam-uchar-static,
7900         test-signgam-uchar-init-static, test-signgam-uint-static,
7901         test-signgam-uint-init-static, test-signgam-ullong-static and
7902         test-signgam-ullong-init-static.
7903         (CFLAGS-test-signgam-uchar.c): New variable.
7904         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7905         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7906         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7907         (CFLAGS-test-signgam-uint.c): Likewise.
7908         (CFLAGS-test-signgam-uint-init.c): Likewise.
7909         (CFLAGS-test-signgam-uint-static.c): Likewise.
7910         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7911         (CFLAGS-test-signgam-ullong.c): Likewise.
7912         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7913         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7914         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7915         * math/Versions (libm): Add GLIBC_2.23.
7916         * math/lgamma-compat.h: New file.
7917         * math/test-signgam-main.c: Likewise.
7918         * math/test-signgam-uchar-init-static.c: Likewise.
7919         * math/test-signgam-uchar-init.c: Likewise.
7920         * math/test-signgam-uchar-static.c: Likewise.
7921         * math/test-signgam-uchar.c: Likewise.
7922         * math/test-signgam-uint-init-static.c: Likewise.
7923         * math/test-signgam-uint-init.c: Likewise.
7924         * math/test-signgam-uint-static.c: Likewise.
7925         * math/test-signgam-uint.c: Likewise.
7926         * math/test-signgam-ullong-init-static.c: Likewise.
7927         * math/test-signgam-ullong-init.c: Likewise.
7928         * math/test-signgam-ullong-static.c: Likewise.
7929         * math/test-signgam-ullong.c: Likewise.
7930         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7931         wrapper of w_lgamma_main.c.
7932         * math/w_lgamma_compat.c: New file.
7933         * math/w_lgamma_compatf.c: Likewise.
7934         * math/w_lgamma_compatl.c: Likewise.
7935         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7936         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7937         defining compatibility symbols.
7938         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7939         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7940         wrapper of w_lgammaf_main.c.
7941         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7942         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7943         defining compatibility symbols.
7944         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7945         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7946         wrapper of w_lgammal_main.c.
7947         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7948         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7949         defining compatibility symbols.
7950         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7951         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7952         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7953         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7954         <lgamma-compat.h>.
7955         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7956         (__ieee754_gamma): Define as alias.
7957         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7958         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7959         <lgamma-compat.h>.
7960         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7961         (__ieee754_gammaf): Define as alias.
7962         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7963         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7964         <lgamma-compat.h>.
7965         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7966         (__ieee754_gammal): Define as alias.
7967         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7968         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7969         <math/w_lgamma_compat.c>.
7970         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7971         Define as alias of __lgamma_compat and use in defining lgammal.
7972         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7973         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7974         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7975         (USE_AS_COMPAT): New macro.
7976         (LGAMMA_OLD_VER): Undefine and redefine.
7977         (lgammal): Do not define here.
7978         (gammal): Only define here if [GAMMA_ALIAS].
7979         * conform/linknamespace.pl (@whitelist): Remove signgam.
7980         * sysdeps/nacl/libm.abilist: Update.
7981         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7982         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7983         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7984         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7994         Likewise.
7995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7996         Likewise.
7997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7998         Likewise.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8002         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8003         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8004         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8005         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8007         Likewise.
8008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8009         Likewise.
8010         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8014 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8016         [BZ #16364]
8017         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8018         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8020 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8022         * sysdeps/s390/fpu/bits/mathinline.h:
8023         Use __asm__ [__volatile__] instead of asm [volatile].
8024         * sysdeps/s390/abort-instr.h: Likewise.
8025         * sysdeps/s390/atomic-machine.h: Likewise.
8026         * sysdeps/s390/bits/string.h: Likewise.
8027         * sysdeps/s390/dl-tls.h: Likewise.
8028         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8029         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8030         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8031         * sysdeps/s390/fpu/fesetround.c: Likewise.
8032         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8033         * sysdeps/s390/fpu/s_fma.c: Likewise.
8034         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8035         * sysdeps/s390/memusage.h: Likewise.
8036         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8037         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8038         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8039         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8040         * sysdeps/s390/nptl/tls.h: Likewise.
8041         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8042         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8043         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8044         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8045         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8046         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8047         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8048         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8049         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8050         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8051         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8052         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8053         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8054         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8055         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8056         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8057         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8058         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8059         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8061         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8062         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8063         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8065 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8066             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8068         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8069         Add lwarx hint, and use macro for acquire instruction.
8070         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8071         Likewise.
8072         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8073         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8074         update to use new atomic macros.
8076 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8078         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8079         (__lll_trylock_elision): Fix setting of adapt_count.
8080         * sysdeps/unix/sysv/linux/powerpc/htm.h
8081         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8082         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8083         (_ABORT_SYSCALL): Renumber, and clarify definition.
8084         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8086 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8088         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8089         after system headers to prevent MIN/MAX redefinition.  Define
8090         HAVE_ALLOCA to preserve builtin alloca usage.
8092 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8094         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8095         static and don't set or restore rounding.
8096         (__cos)[IN_SINCOS]: Likewise.
8097         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8098         (__sincos): Set and restore rounding mode.  Remove check for infinite
8099         or NaN input.
8101         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8103         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8104         as used.
8106 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8108         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8110 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8112         * config.make.in (have-glob-dat-reloc): New.
8113         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8114         target supports GLOB_DAT relocaton. AC_SUBST.
8115         * configure: Regenerated.
8116         * elf/Makefile (tests): Add tst-prelink.
8117         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8118         (tst-prelink-ENV): New.
8119         ($(objpfx)tst-prelink-conflict.out): Likewise.
8120         ($(objpfx)tst-prelink-cmp.out): Likewise.
8121         * sysdeps/x86/tst-prelink.c: Moved to ...
8122         * elf/tst-prelink.c: Here.
8123         * sysdeps/x86/tst-prelink.exp: Moved to ...
8124         * elf/tst-prelink.exp: Here.
8125         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8126         (tst-prelink-ENV): Removed.
8127         ($(objpfx)tst-prelink-conflict.out): Likewise.
8128         ($(objpfx)tst-prelink-cmp.out): Likewise.
8129         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8131 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8133         [BZ #14551]
8134         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8135         (__mpn_construct_long_double): If high part overflows to infinity,
8136         set errno and recompute overflowed result of the correct sign.
8137         * sysdeps/ieee754/ldbl-128ibm/Makefile
8138         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8139         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8140         $(libm).
8141         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8143 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8145         [BZ #15479]
8146         [BZ #19238]
8147         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8148         floating-point state after first operation on input.  Restore full
8149         state rather than just rounding mode.
8150         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8151         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8152         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8154         [BZ #19235]
8155         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8156         add 0.5 to integer arguments.
8157         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8158         Likewise.
8159         (.LC2): New object.
8161 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8163         * scripts/pylintrc (reports): Set to no.
8165 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8167         * elf/dl-load.c (open_verify): Take new argument FD.
8168         Skip __open call if passed FD is not -1.
8169         (_dl_map_object, open_path): Update callers.
8170         * elf/dl-sysdep-open.h: New file.
8171         * elf/dl-load.c: Include it.
8172         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8173         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8174         * sysdeps/nacl/dl-sysdep-open.h: New file.
8175         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8176         from libc to rtld.
8178 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8180         [BZ #19228]
8181         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8182         and restore full floating-point state.
8183         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8184         Likewise.
8185         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8186         Likewise.
8187         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8188         Likewise.
8189         * math/test-nearbyint-except-2.c: New file.
8190         * math/Makefile (tests): Add test-nearbyint-except-2.
8192 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8194         [BZ #19178]
8195         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8196         (tst-prelink-ENV): New.
8197         ($(objpfx)tst-prelink-conflict.out): Likewise.
8198         ($(objpfx)tst-prelink-cmp.out): Likewise.
8199         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8200         * sysdeps/x86/tst-prelink.c: New file.
8201         * sysdeps/x86/tst-prelink.exp: Likewise.
8203 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8205         * math/auto-libm-test-in: Add another test of pow.
8206         * math/auto-libm-test-out: Regenerated.
8207         * math/libm-test.inc (pow_test_data): Add another test.
8209 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8211         [BZ #19219]
8212         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8213         weak_alias to nearbyintl.
8215 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8217         * sysdeps/aarch64/bits/string.h: New file.
8218         (_STRING_ARCH_unaligned): Define.
8220 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8222         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8223         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8224         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8225         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8228 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8230         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8231         for original name of the DSO.  Add it to the name list of the DSO
8232         if it is actually given.
8233         (_dl_map_object): Keep track of whether an audit module rewrote
8234         the file name.  If yes, pass the original name to
8235         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8236         debugging is enabled, log the change of the file name.
8237         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8238         _dl_map_object_from_fd.
8239         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8240         * elf/tst-audit11.c: New file
8241         * elf/tst-auditmod11.c: New file.
8242         * elf/tst-audit11mod1.c: New file.
8243         * elf/tst-audit11mod2.c: New file.
8244         * elf/tst-audit11mod2.map: New file.
8245         * elf/tst-audit12.c: New file
8246         * elf/tst-auditmod12.c: New file.
8247         * elf/tst-audit12mod1.c: New file.
8248         * elf/tst-audit12mod2.c: New file.
8249         * elf/tst-audit12mod2.map: New file.
8250         * elf/tst-audit12mod3.c: New file.
8252 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8254         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8255         Don't create weak aliases,
8256         because versioned symbols are created later.
8257         * sysdeps/s390/s390-32/setjmp.S
8258         (setjmp, _setjmp): Remove weak and rename to an unique name
8259         in SHARED case due to existing versioned symbols.
8260         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8261         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8262         (getcontext): Create weak alias only in non SHARED case.
8263         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8265 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8267         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8268         (__ASSUME_*_SYSCALL) Define new macros.
8269         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8270         Remove socketcall syscalls.
8271         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8272         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8273         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8274         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8275         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8276         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8278 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8280         [BZ #12926]
8281         Terminate process on invalid netlink response.
8282         * sysdeps/unix/sysv/linux/netlinkaccess.h
8283         (__netlink_assert_response): Declare.
8284         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8285         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8286         (sysdep_routines): Add netlink_assert_response.
8287         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8288         __netlink_assert_response.
8289         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8290         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8291         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8292         __netlink_assert_response.
8294 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8296         [BZ #19178]
8297         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8298         (RTYPE_CLASS_PLT): Likewise.
8299         (RTYPE_CLASS_COPY): Likewise.
8300         (RTYPE_CLASS_TLS): Likewise.
8301         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8302         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8303         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8304         DL_DEBUG_PRELINK.
8306 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8308         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8309         calls with argument -0.5.
8310         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8312         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8313         (libc_cv_z_nodlopen): Likewise.
8314         (libc_cv_z_initfirst): Likewise.
8315         * configure: Regenerated.
8317 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8319         Simplify abilist format to be line-based.
8320         * scripts/abilist.awk: Collect descriptors in the descs variable.
8321         (emit): Write descs variable and sort it
8322         externally, with sort.
8323         * sysdeps/**/*.abilist: Convert to new format.
8325 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8327         [BZ #11460]
8328         * io/Makefile (routines): Add fts64.
8329         (tests): Add tst-fts and tst-fts-lfs.
8330         (CFLAGS-fts64.c): New.
8331         * io/Versions (GLIBC_2.23): New.
8332         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8333         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8334         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8335         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8336         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8337         (FTSENT64): Likewise.
8338         (fts64_children): Likewise.
8339         (fts64_close): Likewise.
8340         (fts64_open): Likewise.
8341         (fts64_read): Likewise.
8342         (fts64_set): Likewise.
8343         * io/fts64.c: New file.
8344         * io/tst-fts.c: New test.
8345         * io/tst-fts-lfs.c: Likewise.
8346         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8347         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8348         fts64_set.
8349         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8354         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8356         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8357         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8358         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8359         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8360         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8361         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8363         Likewise.
8364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8365         Likewise.
8366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8368         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8370         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8376         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8377         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8378         * sysdeps/wordsize-64/fts.c: New file.
8379         * sysdeps/wordsize-64/fts64.c: Likewise.
8380         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8381         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8382         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8383         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8385 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8387         * math/libm-test.inc (NON_FINITE): New macro.
8388         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8389         * math/gen-libm-test.pl (show_exceptions): Add argument
8390         $non_finite.
8391         (parse_args): Update call to show_exceptions.
8392         * math/test-math-finite.h: New file.
8393         * math/test-math-no-finite.h: Likewise.
8394         * math/test-double-finite.c: Likewise.
8395         * math/test-float-finite.c: Likewise.
8396         * math/test-ldouble-finite.c: Likewise.
8397         * math/test-double.c: Include "test-math-no-finite.h".
8398         * math/test-float.c: Include "test-math-no-finite.h".
8399         * math/test-ldouble.c: Include "test-math-no-finite.h".
8400         * math/test-math-inline.h (TEST_FINITE): New macro.
8401         * math/test-math-vector.h (TEST_FINITE): Likewise.
8402         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8403         (libm-tests): Add test-float-finite and test-double-finite.
8404         ($(objpfx)test-float-finite.o): New dependency on
8405         $(objpfx)libm-test.stmp.
8406         ($(objpfx)test-double-finite.o): Likewise.
8407         ($(objpfx)test-ldouble-finite.o): Likewise.
8408         (libm-test-no-inline-cflags): New variable.
8409         (libm-test-finite-cflags): Likewise.
8410         (CFLAGS-test-float-finite.c): Likewise.
8411         (CFLAGS-test-double-finite.c): Likewise.
8412         (CFLAGS-test-ldouble-finite.c): Likewise.
8413         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8414         (CFLAGS-test-double.c): Likewise.
8415         (CFLAGS-test-ldouble.c): Likewise.
8417 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8419         * io/fcntl.c (__fcntl): Add ... to prototype.
8420         * misc/ioctl.c (__ioctl): Likewise.
8421         * misc/syscall.c (syscall): Likewise.
8423 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8425         * scripts/list-fixed-bugs.py: New file.
8427         [BZ #19213]
8428         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8429         returned for argument 1.
8430         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8431         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8432         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8433         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8434         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8435         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8437         [BZ #19211]
8438         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8439         __USE_XOPEN], not if [!__USE_ISOC99].
8440         (lgammaf): Likewise.
8441         (lgammal): Likewise.
8442         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8443         (gammaf): Likewise.
8444         (gammal): Likewise.
8445         * math/test-signgam-finite-c11.c: New file.
8446         * math/test-signgam-finite-c99.c: Likewise.
8447         * math/test-signgam-finite.c: Likewise.
8448         * math/Makefile (tests): Add test-signgam-finite,
8449         test-signgam-finite-c99 and test-signgam-finite-c11.
8450         (CFLAGS-test-signgam-finite.c): New variable.
8451         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8452         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8454         [BZ #19212]
8455         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8456         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8457         500].
8458         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8459         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8460         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8461         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8462         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8463         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8464         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8465         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8466         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8467         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8469         [BZ #19209]
8470         * math/bits/math-finite.h (ldexp): Remove declaration.
8471         (ldexpf): Likewise.
8472         (ldexpl): Likewise.
8474         [BZ #19205]
8475         * math/bits/math-finite.h (acosf): Condition declaration on
8476         [__USE_ISOC99].
8477         (acosl): Likewise.
8478         (acoshf): Likewise.
8479         (acoshl): Likewise.
8480         (asinf): Likewise.
8481         (asinl): Likewise.
8482         (atan2f): Likewise.
8483         (atan2l): Likewise.
8484         (atanhf): Likewise.
8485         (atanhl): Likewise.
8486         (coshf): Likewise.
8487         (coshl): Likewise.
8488         (expf): Likewise.
8489         (expl): Likewise.
8490         (fmodf): Likewise.
8491         (fmodl): Likewise.
8492         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8493         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8494         (j0l): Likewise.
8495         (y0f): Likewise.
8496         (y0l): Likewise.
8497         (j1f): Likewise.
8498         (j1l): Likewise.
8499         (y1f): Likewise.
8500         (y1l): Likewise.
8501         (jnf): Likewise.
8502         (jnl): Likewise.
8503         (ynf): Likewise.
8504         (ynl): Likewise.
8505         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8506         (lgammal_r): Likewise.
8507         (__lgamma_r_finite): New declaration.
8508         (__lgammaf_r_finite): Likewise.
8509         (__lgammal_r_finite): Likewise.
8510         (lgamma): Use __lgamma_r_finite.
8511         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8512         __lgammaf_r_finite.
8513         (lgammal): Condition definition on [__USE_ISOC99].  Use
8514         __lgammal_r_finite.
8515         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8516         __lgamma_r_finite.
8517         (gammaf): Condition definition on [__USE_ISOC99].  Use
8518         __lgammaf_r_finite.
8519         (gammal): Condition definition on [__USE_ISOC99].  Use
8520         __lgammal_r_finite.
8521         (logf): Condition declaration on [__USE_ISOC99].
8522         (logl): Likewise.
8523         (log10f): Likewise.
8524         (log10l): Likewise.
8525         (ldexpf): Likewise.
8526         (ldexpl): Likewise.
8527         (powf): Likewise.
8528         (powl): Likewise.
8529         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8530         __USE_ISOC99].
8531         (remainderf): Condition declaration on [__USE_ISOC99].
8532         (remainderl): Likewise.
8533         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8534         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8535         (scalbl): Likewise.
8536         (sinhf): Condition declaration on [__USE_ISOC99].
8537         (sinhl): Likewise.
8538         (sqrtf): Likewise.
8539         (sqrtl): Likewise.
8541 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8543         * sysdeps/arm/atomic-machine.h
8544         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8545         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8546         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8547         Remove conditional code.
8548         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8549         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8550         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8551         Change conditional to [__ASSEMBLER__].
8552         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8553         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8554         [!__ASSEMBLER__].
8555         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8556         code.
8557         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8558         conditional macro definitions.
8559         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8560         (__arch_compare_and_exchange_val_16_acq): Likewise.
8561         (__arch_compare_and_exchange_val_32_acq): Likewise.
8562         (atomic_exchange_and_add): Likewise.
8563         (atomic_add): Likewise.
8564         (atomic_add_negative): Likewise.
8565         (atomic_add_zero): Likewise.
8566         (atomic_bit_set): Likewise.
8567         (atomic_bit_test_set): Likewise.
8568         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8569         code unconditional.
8570         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8572         * math/test-math-errno.h: New file.
8573         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8574         empty.
8575         (TEST_ERRNO): New macro.
8576         (TEST_EXCEPTIONS): Likewise.
8577         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8578         (TEST_EXCEPTIONS): Likewise.
8579         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8580         * math/test-double.c: Include "test-math-errno.h".
8581         * math/test-float.c: Likewise.
8582         * math/test-ldouble.c: Likewise.
8583         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8584         code unconditional.
8585         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8586         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8587         unconditional.
8588         (test_errno): Only run code if TEST_ERRNO.
8589         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8591 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8593         * nptl/tst-once5.cc: Remove attribution.
8595 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8597         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8598         sqrt, tan, tanh, y0, y1 and yn.
8599         * math/auto-libm-test-out: Regenerated.
8600         * math/libm-test.inc (scalb_test_data): Add more tests.
8601         (scalbn_test_data): Likewise.
8602         (scalbln_test_data): Likewise.
8603         (signbit_test_data): Likewise.
8604         (sin_test_data): Likewise.
8605         (sincos_test_data): Likewise.
8606         (sinh_test_data): Likewise.
8607         (sqrt_test_data): Likewise.
8608         (tan_test_data): Likewise.
8609         (tanh_test_data): Likewise.
8610         (tgamma_test_data): Likewise.
8611         (y0_test_data): Likewise.
8612         (y1_test_data): Likewise.
8613         (yn_test_data): Likewise.
8614         (significand_test_data): Likewise.
8615         * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 2015-11-03  David Kastrup  <dak@gnu.org>
8619         [BZ #18604]
8620         * assert/assert.h (assert): Don't macro-expand failed assertion
8621         expression in error message.
8622         * malloc/malloc.c (assert): Likewise.
8624 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8626         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8627         test.
8628         * configure: Regenerated.
8630 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8632         * math/libm-test.inc (modf_test_data): Add more tests.
8633         (nearbyint_test_data): Likewise.
8634         (nextafter_test_data): Likewise.
8635         (nexttoward_test_data): Likewise.
8636         (pow_test_data): Likewise.
8637         (remainder_test_data): Likewise.
8638         (remquo_test_data): Likewise.
8639         (rint_test_data): Likewise.
8641         [BZ #19201]
8642         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8643         Check for zero remainder in case of large exponents and ensure
8644         correct sign of result in that case.
8645         * math/libm-test.inc (remainder_test_data): Add more tests.
8647         [BZ #6799]
8648         * math/s_nextafter.c: Include <errno.h>.
8649         (__nextafter): Set errno on overflow and underflow.
8650         * math/s_nexttowardf.c: Include <errno.h>.
8651         (__nexttowardf): Set errno on overflow and underflow.
8652         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8653         (__nextafterl): Set errno on overflow and underflow.
8654         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8655         (__nexttoward): Set errno on overflow and underflow.
8656         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8657         (__nexttowardf): Set errno on overflow and underflow.
8658         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8659         (__nextafterf): Set errno on overflow and underflow.
8660         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8661         (__nextafterl): Set errno on overflow and underflow.
8662         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8663         (__nexttoward): Set errno on overflow and underflow.
8664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8665         (__nexttowardf): Set errno on overflow and underflow.
8666         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8667         (__nextafterl): Set errno on overflow and underflow.
8668         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8669         (__nexttoward): Set errno on overflow and underflow.
8670         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8671         (__nexttowardf): Set errno on overflow and underflow.
8672         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8673         (__nexttoward): Set errno on overflow and underflow.
8674         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8675         (__nexttowardf): Set errno on overflow and underflow.
8676         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8677         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8678         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8679         (__nextafterl): Set errno on overflow and underflow.
8680         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8681         setting to be missing on overflow.  Add more tests.
8682         (nexttoward_test_data): Likewise.
8684         * configure.ac (libc_cv_initfini_array): Remove configure test.
8685         * configure: Regenerated.
8687 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8689         [BZ #19189]
8690         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8691         non-finite argument handle arguments with negative sign.
8693         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8694         result from infinite argument.
8695         (j1_test_data): Likewise.
8696         (jn_test_data): Likewise.
8697         (y0_test_data): Likewise.
8698         (y1_test_data): Likewise.
8699         (yn_test_data): Likewise.
8701         [BZ #16171]
8702         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8703         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8704         * math/w_remainderf.c (dremf): Define as weak alias of
8705         __remainderf.
8706         * math/w_remainderl.c (dreml): Define as weak alias of
8707         __remainderl.
8708         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8709         __remainder.
8710         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8711         __remainderf.
8712         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8713         __remainderl.
8714         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8715         weak alias of remainderl.
8716         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8717         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8718         alias of __remainder.
8719         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8720         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8721         strong alias of __remainderl.
8722         (dreml): Use long_double_symbol.
8723         * math/Makefile (libm-calls): Remove w_drem.
8724         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8725         (CFLAGS-nldbl-drem.c): Remove variable.
8726         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8727         * math/w_drem.c: Remove file.
8728         * math/w_dremf.c: Likewise.
8729         * math/w_dreml.c: Likewise.
8730         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8731         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8732         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8734         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8735         * sysdeps/i386/configure: Regenerated.
8736         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8737         * sysdeps/x86_64/configure: Regenerated.
8739         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8740         test.
8741         (libc_cv_visibility_attribute): Likewise.
8742         (libc_cv_protected_data): Test unconditionally.
8743         (libc_cv_broken_visibility_attribute): Remove configure test.
8744         (libc_cv_have_sdata_section): Test unconditionally.
8745         * configure: Regenerated.
8747         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8748         * include/scratch_buffer.h: Include <stddef.h> instead of
8749         <libc-internal.h>.
8750         (struct scratch_buffer): Use max_align_t instead of
8751         libc_max_align_t.
8753 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8755         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8756         instead of extend_alloca.  Change control flow to avoid a goto.
8757         Remove assert which is trivially always true.
8759 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #16068]
8762         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8763         (FE_ALL_EXCEPT_X86): New macro.
8764         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8765         FE_ALL_EXCEPT.  Ensure precision control is included in
8766         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8767         handle "denormal operand exception" and clear FZ and DAZ bits.
8768         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8769         (FE_ALL_EXCEPT_X86): New macro.
8770         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8771         FE_ALL_EXCEPT.  Ensure precision control is included in
8772         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8773         handle "denormal operand exception" and clear FZ and DAZ bits.
8774         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8775         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8776         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8777         test-fenv-x87 and test-fenv-sse-2.
8778         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8780         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8781         * math/test-double.h (BUILD_COMPLEX): New macro.
8782         * math/test-float.h (BUILD_COMPLEX): Likewise.
8783         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8785         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8786         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8787         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8789         instead of DBL_DENORM_MIN in comment.
8790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8791         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8792         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8793         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8794         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8795         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8797 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8799         [BZ# 19048]
8800         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8801         attached_threads member.
8802         (main_arena): Initialize attached_threads.
8803         * malloc/arena.c (list_lock): Update comment.
8804         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8805         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8806         (deattach_arena): New function.
8807         (_int_new_arena): Initialize arena reference count and deattach
8808         replaced arena.
8809         (get_free_list, reused_arena): Update reference count and deattach
8810         replaced arena.
8811         (arena_thread_freeres): Update arena reference count and only put
8812         unreferenced arenas on the free list.
8814 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8816         [BZ #19181]
8817         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8818         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8819         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8820         * math/test-fenv-clear-main.c: New file.
8821         * math/test-fenv-clear.c: Likewise.
8822         * math/Makefile (tests): Add test-fenv-clear.
8823         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8824         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8825         test-fenv-clear-sse.
8826         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8828         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8829         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8830         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8832 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8834         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8835         static libc.
8837 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8839         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8840         test.
8841         * sysdeps/i386/configure: Regenerated.
8842         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8843         test.
8844         * sysdeps/x86_64/configure: Regenerated.
8845         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8847         memset-avx2 unconditionally instead of conditionally on
8848         [$(config-cflags-avx2) = yes].
8849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8850         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8851         unconditional.
8852         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8853         * sysdeps/x86_64/multiarch/memset_chk.S
8854         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8855         to [IS_IN (libc) && SHARED].
8857 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8859         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8860         configure test.
8861         * sysdeps/arm/configure: Regenerated.
8862         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8863         Define variable if not already defined.
8865         [BZ #17404]
8866         * sysdeps/mips/atomic-machine.h
8867         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8868         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8869         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8871         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8872         unconditional.
8873         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8874         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8875         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8876         unconditional.
8877         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8878         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8879         unconditional.
8880         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8881         * stdlib/setenv.c
8882         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8883         code unconditional.
8884         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8885         Remove conditional code.
8886         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8887         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8888         unconditional.
8889         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8890         code.
8891         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8892         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8893         unconditional.
8894         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8895         code.
8896         * sysdeps/ieee754/ldbl-128/k_tanl.c
8897         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8898         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8899         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8900         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8901         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8902         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8903         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8904         unconditional.
8905         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8906         code.
8907         * sysdeps/ieee754/ldbl-96/k_tanl.c
8908         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8909         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8911         * nptl/tst-initializers1-c11.c: New file.
8912         * nptl/tst-initializers1-gnu11.c: Likewise.
8913         * nptl/Makefile (tests): Add these new tests.
8914         (CFLAGS-tst-initializers1-c11.c): New variable.
8915         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8917         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8918         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8919         instead of -std=gnu99.
8920         * configure.ac (systemtap): Test with -std=gnu11 instead of
8921         -std=gnu99.
8922         * configure: Regenerated.
8923         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8924         in compilation command in comment.
8926         * sysdeps/nptl/configure.ac: Remove file.
8927         * sysdeps/nptl/configure: Remove generated file.
8928         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8929         * configure: Regenerated.
8930         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8931         * config.make.in (have-forced-unwind): Remove variable.
8932         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8933         unconditional.
8934         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8935         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8936         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8937         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8938         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8939         unconditional.
8941 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8943         [BZ #19174]
8944         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8945         .skip_lock_out_of_tbegin_retries.
8946         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8947         (__lll_lock_elision): Likewise, and respect a value of
8948         try_tbegin <= 0.
8950 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8952         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8953         statement.
8955 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8957         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8958         variable.
8959         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8960         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8962         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8963         of -std=c1x -D_ISOC11_SOURCE.
8965         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8966         * configure: Regenerated.
8967         * manual/install.texi (Tools for Compilation): Document
8968         requirement for GCC 4.7 or later.
8969         * INSTALL: Regenerated.
8971 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8973         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8974         on CNT to a conditional jump to 'puntdata'.
8976 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8978         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8979         (libc_cv_gcc_tls_model_attr): Likewise.
8980         * configure: Regenerated.
8982         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8983         * configure: Regenerated.
8984         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8986 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8988         * configure.ac (old_glibc_headers): Remove configure test.
8989         * configure: Regenerated.
8990         * config.make.in (old-glibc-headers): Remove variable.
8991         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8992         (install): Remove dependency on remove-old-headers.
8993         (headers2_0): Remove variable.
8994         (remove-old-headers): Remove rule.
8996         * configure.ac (libc_cv_dot_text): Remove configure test.
8997         (libc_cv_asm_set_directive): Use .text instead of
8998         ${libc_cv_dot_text} in configure test.
8999         * configure: Regenerated.
9001 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9003         [BZ #19168]
9004         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9006 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9008         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9009         not support static linking.
9010         * configure: Regenerate.
9012 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9014         * math/libm-test.inc (check_float_internal): Do not special-case
9015         errors up to 0.5 ulp.
9017         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9018         log2.
9019         * math/auto-libm-test-out: Regenerated.
9020         * math/libm-test.inc (MAX_EXP): New macro.
9021         (ilogb_test_data): Add more tests.
9022         (isfinite_test_data): Likewise.
9023         (isgreater_test_data): Likewise.
9024         (isgreaterequal_test_data): Likewise.
9025         (isinf_test_data): Likewise.
9026         (isless_test_data): Likewise.
9027         (islessequal_test_data): Likewise.
9028         (islessgreater_test_data): Likewise.
9029         (isnan_test_data): Likewise.
9030         (isnormal_test_data): Likewise.
9031         (issignaling_test_data): Likewise.
9032         (isunordered_test_data): Likewise.
9033         (j0_test_data): Likewise.
9034         (j1_test_data): Likewise.
9035         (jn_test_data): Likewise.
9036         (lgamma_test_data): Likewise.
9037         (log_test_data): Likewise.
9038         (log10_test_data): Likewise.
9039         (log1p_test_data): Likewise.
9040         (log2_test_data): Likewise.
9041         (logb_test_data): Likewise.
9042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9044         [BZ #18611]
9045         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9046         avoid excess range and precision on underflow.
9047         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9048         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9050         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9051         underflow.
9052         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9053         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9054         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9055         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9056         * math/auto-libm-test-in: Do not allow missing errno setting for
9057         tests of j1 and jn.
9058         * math/auto-libm-test-out: Regenerated.
9060 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9062         [BZ #15491]
9063         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9064         floating-point environment instead of clearing all exceptions.
9065         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9066         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9067         merging in "invalid" exceptions from frndint.
9068         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9069         * math/test-nearbyint-except.c: New file.
9070         * math/Makefile (tests): Add test-nearbyint-except.
9072 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9074         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9076         * sysdeps/tile/libm-test-ulps: Regenerated.
9078 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9081         (__NR_sync_file_range2): Assume it is always defined.
9082         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9083         (__NR_sync_file_range): Assume it is always defined.
9085 2015-10-22  Andreas Schwab  <schwab@suse.de>
9087         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9088         INTERNAL_SYSCALL_ERRNO.
9089         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9090         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9091         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9092         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9093         Likewise.
9094         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9096 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9098         * io/tst-fcntl.c (fd): New static variable.
9099         (do_prepare): Open temporary file here....
9100         (do_test): ...not here.
9102         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9104 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9106         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9107         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9108         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9109         Moved before "#ifdef __ASSEMBLER__".
9111 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9113         [BZ #19156]
9114         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9115         arguments very close to 0.
9117 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9119         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9120         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9122 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9124         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9125         New.  Defined for GCC 5 and above when not compiling for
9126         profiling.
9127         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9129         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9130         Renamed to ...
9131         (CFLAGS-epoll_pwait.o): This.
9132         (CFLAGS-mmap.c): Renamed to ...
9133         (CFLAGS-mmap.o): This.
9134         (CFLAGS-mmap64.c): Renamed to ...
9135         (CFLAGS-mmap64.o): This.
9136         (CFLAGS-epoll_pwait.os): New.
9137         (CFLAGS-mmap.os): Likewise.
9138         (CFLAGS-mmap64.os): Likewise.
9139         (CFLAGS-semtimedop.os): Likewise.
9140         (CFLAGS-semtimedop.c): Renamed to ...
9141         (CFLAGS-semtimedop.o): This.
9143 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9145         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9146         warning message.
9148 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9150         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9151         * Makefile ($(objpfx)c++-types-check.out): Filter out
9152         $(+gccwarn-c) instead of -Wstrict-prototypes.
9154         * io/fts.c (fts_open): Convert to prototype-style function
9155         definition.
9156         * malloc/mcheck.c (mcheck): Likewise.
9157         (mcheck_pedantic): Likewise.
9158         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9159         internal_function.
9160         (re_search_internal): Likewise.
9161         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9162         prototype-style function definition.
9163         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9164         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9165         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9166         (xdr_utmpptr): Likewise.
9167         (xdr_utmparr): Likewise.
9168         (xdr_utmpidle): Likewise.
9169         (xdr_utmpidleptr): Likewise.
9170         (xdr_utmpidlearr): Likewise.
9172         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9173         log, log10 and log2.
9174         * math/auto-libm-test-out: Regenerated.
9175         * math/libm-test.inc (fmod_test_data): Add more tests.
9176         (fpclassify_test_data): Likewise.
9177         (frexp_test_data): Likewise.
9178         (hypot_test_data): Likewise.
9179         (ilogb_test_data): Likewise.
9181 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9183         * debug/fortify_fail.c (__fortify_fail): Convert to
9184         prototype-style function definition.  Use internal_function.
9185         * libio/genops.c (save_for_backup): Convert to prototype-style
9186         function definition.
9187         * libio/wgenops.c (save_for_wbackup): Likewise.
9188         * login/grantpt.c (grantpt): Likewise.
9189         * login/ptsname.c (ptsname): Likewise.
9190         (__ptsname_r): Likewise.
9191         * login/unlockpt.c (unlockpt): Likewise.
9192         * mach/msgserver.c (__mach_msg_server): Likewise.
9193         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9194         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9195         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9196         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9197         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9198         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9199         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9200         Likewise.
9201         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9202         internal_function.
9203         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9204         prototype-style function definition.
9205         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9206         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9207         (__pthread_create_2_0): Likewise.
9208         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9209         * nptl/register-atfork.c (__register_atfork): Likewise.
9210         * posix/glob.c (glob): Likewise.
9211         * posix/regcomp.c (re_comp): Likewise.
9212         * posix/regexec.c (re_exec): Likewise.
9213         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9214         [!__STDC__]: Remove conditional code.
9215         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9216         [!__STDC__]: Remove conditional code.
9217         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9218         [!__STDC__]: Remove conditional code.
9219         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9220         [!__STDC__]: Remove conditional code.
9221         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9222         [!__STDC__]: Remove conditional code.
9223         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9224         [!__STDC__]: Remove conditional code.
9225         * stdlib/mul.c [__STDC__]: Make code unconditional.
9226         [!__STDC__]: Remove conditional code.
9227         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9228         [!__STDC__]: Remove conditional code.
9229         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9230         [!__STDC__]: Remove conditional code.
9231         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9232         function definition.
9233         (STRTOF): Likewise.
9234         * stdlib/strtod_l.c (__STRTOF): Likewise.
9235         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9236         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9237         (__strtol_l): Likewise.
9238         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9239         [!__STDC__]: Remove conditional code.
9240         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9241         definition.
9242         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9243         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9244         type.
9245         (__strcasecmp): Convert to prototype-style function definition.
9246         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9247         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9248         type.
9249         (__strncasecmp): Convert to prototype-style function definition.
9250         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9251         * sunrpc/xdr.c (xdr_union): Likewise.
9252         * sunrpc/xdr_array.c (xdr_array): Likewise.
9253         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9254         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9255         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9256         Likewise.
9257         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9258         Likewise.
9259         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9260         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9261         Likewise.
9262         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9263         (LOCALE_PARAM_PROTO): Likewise.
9264         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9265         argument type.
9266         (ut_argument_spec): Remove macro.
9267         (ut_argument_spec_iso): Rename to ut_argument_spec.
9268         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9269         prototype-style function definition.
9270         (memcpy_uppcase): Likewise.
9271         (__strftime_internal): Likewise.
9272         (my_strftime): Likewise.
9273         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9274         (LOCALE_PARAM_DECL): Likewise.
9275         [_LIBC] (LOCALE_PARAM): Include argument type.
9276         (__strptime_internal): Convert to prototype-style function
9277         definition.
9278         (strptime): Likewise.
9279         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9280         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9281         type.
9282         (__wcscasecmp): Convert to prototype-style function definition.
9283         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9284         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9285         type.
9286         (__wcsncasecmp): Convert to prototype-style function definition.
9288         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9289         function definition.
9290         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9291         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9292         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9293         * elf/dl-minimal.c (_itoa): Likewise.
9294         * hurd/hurdmalloc.c (malloc): Likewise.
9295         (free): Likewise.
9296         (realloc): Likewise.
9297         * inet/inet6_option.c (inet6_option_space): Likewise.
9298         (inet6_option_init): Likewise.
9299         (inet6_option_append): Likewise.
9300         (inet6_option_alloc): Likewise.
9301         (inet6_option_next): Likewise.
9302         (inet6_option_find): Likewise.
9303         * io/ftw.c (FTW_NAME): Likewise.
9304         (NFTW_NAME): Likewise.
9305         (NFTW_NEW_NAME): Likewise.
9306         (NFTW_OLD_NAME): Likewise.
9307         * libio/iofwide.c (_IO_fwide): Likewise.
9308         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9309         (_IO_str_init_static): Likewise.
9310         (_IO_str_init_readonly): Likewise.
9311         (_IO_str_overflow): Likewise.
9312         (_IO_str_underflow): Likewise.
9313         (_IO_str_count): Likewise.
9314         (_IO_str_seekoff): Likewise.
9315         (_IO_str_pbackfail): Likewise.
9316         (_IO_str_finish): Likewise.
9317         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9318         (_IO_wstr_overflow): Likewise.
9319         (_IO_wstr_underflow): Likewise.
9320         (_IO_wstr_count): Likewise.
9321         (_IO_wstr_seekoff): Likewise.
9322         (_IO_wstr_pbackfail): Likewise.
9323         (_IO_wstr_finish): Likewise.
9324         * locale/programs/localedef.c (normalize_codeset): Likewise.
9325         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9326         (add_locales_to_archive): Likewise.
9327         (delete_locales_from_archive): Likewise.
9328         * malloc/malloc.c (__libc_mallinfo): Likewise.
9329         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9330         * misc/tsearch.c (__tfind): Likewise.
9331         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9332         * nptl/pthread_attr_getdetachstate.c
9333         (__pthread_attr_getdetachstate): Likewise.
9334         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9335         Likewise.
9336         * nptl/pthread_attr_getinheritsched.c
9337         (__pthread_attr_getinheritsched): Likewise.
9338         * nptl/pthread_attr_getschedparam.c
9339         (__pthread_attr_getschedparam): Likewise.
9340         * nptl/pthread_attr_getschedpolicy.c
9341         (__pthread_attr_getschedpolicy): Likewise.
9342         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9343         Likewise.
9344         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9345         Likewise.
9346         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9347         Likewise.
9348         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9349         Likewise.
9350         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9351         (__pthread_attr_init_2_0): Likewise.
9352         * nptl/pthread_attr_setdetachstate.c
9353         (__pthread_attr_setdetachstate): Likewise.
9354         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9355         Likewise.
9356         * nptl/pthread_attr_setinheritsched.c
9357         (__pthread_attr_setinheritsched): Likewise.
9358         * nptl/pthread_attr_setschedparam.c
9359         (__pthread_attr_setschedparam): Likewise.
9360         * nptl/pthread_attr_setschedpolicy.c
9361         (__pthread_attr_setschedpolicy): Likewise.
9362         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9363         Likewise.
9364         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9365         Likewise.
9366         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9367         Likewise.
9368         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9369         Likewise.
9370         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9371         Likewise.
9372         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9373         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9374         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9375         use internal_function.
9376         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9377         prototype-style function definition.
9378         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9379         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9380         internal_function.
9381         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9382         Convert to prototype-style function definition.
9383         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9384         Likewise.
9385         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9386         Likewise.
9387         (__pthread_mutex_unlock): Likewise.
9388         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9389         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9390         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9391         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9392         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9393         * nss/makedb.c (process_input): Likewise.
9394         * posix/fnmatch.c (__strchrnul): Likewise.
9395         (__wcschrnul): Likewise.
9396         (fnmatch): Likewise.
9397         * posix/fnmatch_loop.c (FCT): Likewise.
9398         * posix/glob.c (globfree): Likewise.
9399         (__glob_pattern_type): Likewise.
9400         (__glob_pattern_p): Likewise.
9401         * posix/regcomp.c (re_compile_pattern): Likewise.
9402         (re_set_syntax): Likewise.
9403         (re_compile_fastmap): Likewise.
9404         (regcomp): Likewise.
9405         (regerror): Likewise.
9406         (regfree): Likewise.
9407         * posix/regexec.c (regexec): Likewise.
9408         (re_match): Likewise.
9409         (re_search): Likewise.
9410         (re_match_2): Likewise.
9411         (re_search_2): Likewise.
9412         (re_search_stub): Likewise.  Use internal_function
9413         (re_copy_regs): Likewise.
9414         (re_set_registers): Convert to prototype-style function
9415         definition.
9416         (prune_impossible_nodes): Likewise.  Use internal_function.
9417         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9418         prototype-style function definition.
9419         (inet_net_pton_ipv4): Likewise.
9420         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9421         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9422         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9423         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9424         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9425         Make variadic.
9426         * time/strptime_l.c (localtime_r): Convert to prototype-style
9427         function definition.
9428         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9429         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9430         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9431         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9433         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9434         definition.
9435         (_ufc_doit_r): Likewise.
9436         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9437         (_ufc_output_conversion_r): Likewise.
9438         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9439         * inet/rcmd.c (rcmd_af): Likewise.
9440         (rcmd): Likewise.
9441         (ruserok_af): Likewise.
9442         (ruserok): Likewise.
9443         (ruserok2_sa): Likewise.
9444         (ruserok_sa): Likewise.
9445         (iruserok_af): Likewise.
9446         (iruserok): Likewise.
9447         (__ivaliduser): Likewise.
9448         (__validuser2_sa): Likewise.
9449         * inet/rexec.c (rexec_af): Likewise.
9450         (rexec): Likewise.
9451         * inet/ruserpass.c (ruserpass): Likewise.
9452         * locale/programs/xmalloc.c (xcalloc): Likewise.
9453         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9454         * math/w_drem.c (__drem): Likewise.
9455         * math/w_dremf.c (__dremf): Likewise.
9456         * math/w_dreml.c (__dreml): Likewise.
9457         * misc/daemon.c (daemon): Likewise.
9458         * resolv/res_debug.c (p_fqnname): Likewise.
9459         * stdlib/div.c (div): Likewise.
9460         * string/memcmp.c (memcmp_bytes): Likewise.
9461         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9462         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9464         * crypt/cert.c (main): Convert to prototype-style function
9465         definition.
9466         * io/pipe.c (__pipe): Likewise.
9467         * io/pipe2.c (__pipe2): Likewise.
9468         * misc/futimesat.c (futimesat): Likewise.
9469         * misc/utimes.c (__utimes): Likewise.
9470         * posix/execve.c (__execve): Likewise.
9471         * posix/execvp.c (execvp): Likewise.
9472         * posix/execvpe.c (__execvpe): Likewise.
9473         * posix/fexecve.c (fexecve): Likewise.
9474         * socket/socketpair.c (socketpair): Likewise.
9475         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9476         * stdlib/erand48.c (erand48): Likewise.
9477         * stdlib/erand48_r.c (__erand48_r): Likewise.
9478         * stdlib/jrand48.c (jrand48): Likewise.
9479         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9480         * stdlib/lcong48.c (lcong48): Likewise.
9481         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9482         * stdlib/nrand48.c (nrand48): Likewise.
9483         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9484         * stdlib/seed48.c (seed48): Likewise.
9485         * stdlib/seed48_r.c (__seed48_r): Likewise.
9486         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9487         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9488         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9490 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9492         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9493         * configure: Regenerated.
9494         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9495         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9496         unconditional.
9497         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9498         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9499         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9500         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9501         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9502         unconditional.
9503         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9505         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9506         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9508         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9509         function definition.
9510         * crypt/crypt_util.c (__encrypt_r): Likewise.
9511         * libio/genops.c (_IO_no_init): Likewise.
9512         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9513         (_IO_old_fopencookie): Likewise.
9514         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9515         * libio/iogetline.c (_IO_getline): Likewise.
9516         (_IO_getline_info): Likewise.
9517         * libio/iogetwline.c (_IO_getwline): Likewise.
9518         (_IO_getwline_info): Likewise.
9519         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9520         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9521         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9522         (find_entry): Likewise.
9523         (iterate_table): Likewise.
9524         (lookup): Likewise.
9525         * login/forkpty.c (forkpty): Likewise.
9526         * misc/hsearch_r.c (__hsearch_r): Likewise.
9527         * misc/select.c (__select): Likewise.
9528         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9529         Likewise.
9530         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9531         Likewise.
9532         * nptl/old_pthread_cond_timedwait.c
9533         (__pthread_cond_timedwait_2_0): Likewise.
9534         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9535         * nptl/pthread_barrierattr_getpshared.c
9536         (pthread_barrierattr_getpshared): Likewise.
9537         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9538         Likewise.
9539         * nptl/pthread_mutex_setprioceiling.c
9540         (pthread_mutex_setprioceiling): Likewise.
9541         * nptl/pthread_mutexattr_getprioceiling.c
9542         (pthread_mutexattr_getprioceiling): Likewise.
9543         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9544         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9545         Likewise.
9546         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9547         Likewise.
9548         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9549         Likewise.
9550         * socket/recvfrom.c (__recvfrom): Likewise.
9551         * socket/sendto.c (__sendto): Likewise.
9552         * socket/setsockopt.c (__setsockopt): Likewise.
9553         * stdio-common/_itoa.c (_itoa): Likewise.
9554         * stdio-common/_itowa.c (_itowa): Likewise.
9555         * stdio-common/reg-printf.c (__register_printf_specifier):
9556         Likewise.
9557         (__register_printf_function): Likewise.
9558         * stdio-common/tempname.c (__path_search): Likewise.
9559         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9560         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9561         * stdlib/random_r.c (__initstate_r): Likewise.
9562         * stdlib/setenv.c (__add_to_environ): Likewise.
9563         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9564         * streams/getpmsg.c (getpmsg): Likewise.
9565         * streams/putmsg.c (putmsg): Likewise.
9566         * streams/putpmsg.c (putpmsg): Likewise.
9567         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9568         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9569         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9570         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9571         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9572         * sunrpc/svc_udp.c (cache_get): Likewise.
9573         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9574         * sysdeps/mach/hurd/getcwd.c
9575         (__canonicalize_directory_name_internal): Likewise.
9576         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9577         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9578         * sysdeps/mach/hurd/select.c (__select): Likewise.
9579         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9580         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9581         * sysdeps/sparc/nptl/pthread_barrier_init.c
9582         (__pthread_barrier_init): Likewise.
9583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9584         (__pthread_cond_timedwait): Likewise.
9585         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9586         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9587         Likewise.
9588         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9589         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9590         Likewise.
9591         * sysvipc/semtimedop.c (semtimedop): Likewise.
9592         * time/setitimer.c (__setitimer): Likewise.
9593         * time/strftime_l.c (emacs_strftime): Likewise.
9595 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9597         * config.make.in (have-ssp): Delete.
9598         (stack-protector): New variable.
9599         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9600         cache test for -fstack-protector-strong.  Export stack_protector to
9601         the best ssp flag.
9602         * configure: Regenerated.
9603         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9604         * nscd/Makefile (CFLAGS-nscd): Likewise.
9605         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9607 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9609         [BZ #19122]
9610         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9611         attribute_hidden.
9613 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9615         [BZ #18743]
9616         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9617         code to...
9618         (ELIDE_LOCK): ...here.
9619         (__get_new_count): New function with part of the code from
9620         __elide_lock that updates the value of adapt_count after a
9621         transaction abort.
9622         (__elided_trylock): Moved this code to...
9623         (ELIDE_TRYLOCK): ...here.
9625 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9627         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9628         * configure: Regenerate.
9629         * INSTALL: Regenerate.
9630         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9631         and tweak grammar.
9633 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9635         * login/programs/pt_chown.c: Include signal.h
9636         (main): Clear any signal mask from the parent process.
9638 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9640         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9641         * configure: Regenerated.
9642         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9643         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9644         $(gnu89-inline-CFLAGS).
9646         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9647         test.
9648         (libc_cv_asm_weakext_directive): Likewise.
9649         * configure: Regenerated.
9650         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9651         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9652         * include/libc-symbols.h
9653         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9654         #error.
9655         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9656         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9658         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9659         prototype-style function definition.
9660         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9661         * sysdeps/i386/ffs.c (__ffs): Likewise.
9662         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9663         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9664         Likewise.
9665         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9666         Likewise.
9667         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9669         Likewise.
9670         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9671         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9672         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9673         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9674         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9675         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9676         * sysdeps/mach/hurd/access.c (__access): Likewise.
9677         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9678         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9679         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9680         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9681         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9682         (cthread_getspecific): Likewise.
9683         (cthread_setspecific): Likewise.
9684         (__libc_getspecific): Likewise.
9685         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9686         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9687         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9688         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9689         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9690         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9691         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9692         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9693         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9694         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9695         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9696         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9697         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9698         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9699         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9700         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9701         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9702         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9703         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9704         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9705         * sysdeps/mach/hurd/link.c (__link): Likewise.
9706         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9707         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9708         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9709         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9710         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9711         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9712         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9713         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9714         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9715         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9716         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9717         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9718         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9719         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9720         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9721         * sysdeps/mach/hurd/send.c (__send): Likewise.
9722         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9723         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9724         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9725         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9726         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9727         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9728         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9729         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9730         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9731         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9732         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9733         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9734         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9735         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9736         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9737         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9738         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9739         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9740         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9741         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9742         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9743         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9744         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9745         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9746         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9747         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9748         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9749         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9750         * sysdeps/posix/alarm.c (alarm): Likewise.
9751         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9752         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9753         * sysdeps/posix/dup.c (__dup): Likewise.
9754         * sysdeps/posix/dup2.c (__dup2): Likewise.
9755         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9756         (main): Likewise.
9757         * sysdeps/posix/flock.c (__flock): Likewise.
9758         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9759         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9760         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9761         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9762         * sysdeps/posix/isatty.c (__isatty): Likewise.
9763         * sysdeps/posix/killpg.c (killpg): Likewise.
9764         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9765         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9766         * sysdeps/posix/raise.c (raise): Likewise.
9767         * sysdeps/posix/remove.c (remove): Likewise.
9768         * sysdeps/posix/rename.c (rename): Likewise.
9769         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9770         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9771         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9772         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9773         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9774         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9775         * sysdeps/posix/sigset.c (sigset): Likewise.
9776         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9777         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9778         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9779         * sysdeps/posix/time.c (time): Likewise.
9780         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9781         (ttyname): Likewise.
9782         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9783         * sysdeps/posix/utime.c (utime): Likewise.
9784         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9785         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9786         Likewise.
9787         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9788         (pthread_spin_trylock): Likewise.
9789         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9790         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9791         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9792         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9793         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9794         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9795         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9796         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9797         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9798         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9799         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9800         * sysdeps/s390/ffs.c (__ffs): Likewise.
9801         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9802         Likewise.
9803         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9804         Likewise.
9805         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9806         Likewise.
9807         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9808         (pthread_barrier_destroy): Likewise.
9809         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9810         (__pthread_barrier_wait): Likewise.
9811         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9812         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9813         (__pthread_barrier_wait): Likewise.
9814         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9815         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9816         (memcmp_not_common_alignment): Likewise.
9817         (MEMCMP): Likewise.
9818         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9819         (_wordcopy_fwd_dest_aligned): Likewise.
9820         (_wordcopy_bwd_aligned): Likewise.
9821         (_wordcopy_bwd_dest_aligned): Likewise.
9822         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9823         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9824         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9825         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9826         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9827         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9828         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9829         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9830         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9831         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9832         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9833         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9834         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9835         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9836         * sysdeps/unix/stime.c (stime): Likewise.
9837         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9838         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9839         Likewise.  Use internal_function.
9840         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9841         Convert to prototype-style function definition.
9842         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9843         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9844         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9845         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9846         Likewise.  Use internal_function.
9847         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9848         prototype-style function definition
9849         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9850         Likewise.
9851         (__getlogin_r): Likewise.
9852         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9853         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9854         (__pthread_cond_broadcast): Likewise.
9855         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9856         (__pthread_cond_destroy): Likewise.
9857         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9858         (__pthread_cond_init): Likewise.
9859         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9860         (__pthread_cond_signal): Likewise.
9861         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9862         (__pthread_cond_wait): Likewise.
9863         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9864         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9865         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9868         Likewise.
9869         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9870         Likewise.
9871         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9872         Likewise.
9873         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9875         (__ftruncate64): Likewise.
9876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9877         (truncate64): Likewise.
9878         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9879         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9880         (pthread_getcpuclockid): Likewise.
9881         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9882         Likewise.
9883         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9884         Likewise.
9885         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9890         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9891         (__libc_sigaction): Likewise.
9892         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9893         Likewise.
9894         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9895         (__sigprocmask): Likewise.
9896         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9897         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9898         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9899         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9900         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9901         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9902         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9903         Likewise.
9904         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9905         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9906         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9907         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9908         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9909         Likewise.
9910         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9911         (__sigprocmask): Likewise.
9912         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9913         (cfgetispeed): Likewise.
9914         (cfsetospeed): Likewise.
9915         (cfsetispeed): Likewise.
9916         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9917         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9918         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9919         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9920         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9921         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9922         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9923         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9924         Likewise.
9925         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9926         Likewise.
9927         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9928         Likewise.
9929         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9930         Likewise.
9931         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9933 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9935         sunrpc: Rewrite with explicit TLS access using __thread.
9936         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9937         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9938         directly.
9939         (__rpc_thread_variables): Access thread_rpc_vars directly.
9940         Eliminate redundant assignment of the tvp variable.
9942 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9944         malloc: Rewrite with explicit TLS access using __thread.
9945         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9946         (tsd_setspecific, tsd_getspecific): Remove.
9947         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9948         (tsd_setspecific, tsd_getspecific): Likewise.
9949         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9950         (tsd_setspecific, tsd_getspecific): Likewise.
9951         * malloc/arena.c (thread_arena): New TLS variable.
9952         (arena_key): Remove variable.
9953         (arena_get): Use thread_arena.
9954         (arena_lookup): Remove macro.
9955         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9956         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9957         (_int_new_arena, get_free_list, reused_arena)
9958         (arena_thread_freeres): Use thread_arena.
9959         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9960         tsd_getspecific, tsd_setspecific from safety annotations.
9961         (Allocating Cleared Space): Remove arena_lookup from safety
9962         annotations.
9964 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9966         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9967         struct scratch_buffer instead of extend_alloca.
9969 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9971         * sysdeps/unix/sysv/linux/kernel-features.h
9972         (__ASSUME_SOCK_CLOEXEC): Remove.
9973         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9974         (__have_paccept): Remove unused macro.
9975         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9976         * misc/syslog.c (openlog_internal): Remove fallback code for
9977         !__ASSUME_SOCK_CLOEXEC.
9978         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9979         missing SOCK_CLOEXEC.
9980         * nscd/connections.c (have_sock_cloexec): Remove definition.
9981         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9982         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9983         !__ASSUME_SOCK_CLOEXEC.
9984         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9985         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9986         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9987         definition.
9988         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9989         code for !__ASSUME_SOCK_CLOEXEC.
9991 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9993         [BZ #18982]
9994         * manual/stdio.texi (Variable Arguments Output): Add portability
9995         note, explaining that vfprintf clobbers the va_list pointer.
9997 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9999         * math/libm-test.inc (fabs_test_data): Add more tests.
10000         (fdim_test_data): Likewise.
10001         (fma_test_data): Likewise.
10002         (fmax_test_data): Likewise.
10003         (fmin_test_data): Likewise.
10004         (fmod_test_data): Likewise.
10006 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10008         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10009         data.
10011 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10013         * math/libm-test.inc (ceil_test_data): Add more tests and more
10014         expectations for "inexact".
10015         (floor_test_data): Add more tests.
10016         (round_test_data): Likewise.
10017         (trunc_test_data): Likewise.
10019         * crypt/cert.c (good_bye): Convert to prototype-style function
10020         definition.
10021         (get8): Likewise.
10022         (put8): Likewise.
10023         * crypt/crypt-entry.c (crypt): Likewise.
10024         (__fcrypt): Likewise.
10025         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10026         (_ufc_set_bits): Likewise.
10027         (_ufc_clearmem): Likewise.
10028         (__init_des_r): Likewise.
10029         (shuffle_sb): Likewise.
10030         (shuffle_sb): Likewise.
10031         (_ufc_setup_salt_r): Likewise.
10032         (_ufc_mk_keytab_r): Likewise.
10033         (_ufc_dofinalperm_r): Likewise.
10034         (encrypt): Likewise.
10035         (__setkey_r): Likewise.
10036         (setkey): Likewise.
10037         * crypt/md5.c (md5_init_ctx): Likewise.
10038         (md5_read_ctx): Likewise.
10039         (md5_finish_ctx): Likewise.
10040         (md5_stream): Likewise.
10041         (md5_buffer): Likewise.
10042         (md5_process_bytes): Likewise.
10043         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10044         (__sha256_finish_ctx): Likewise.
10045         (__sha256_process_bytes): Likewise.
10046         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10047         (__sha512_finish_ctx): Likewise.
10048         (__sha512_process_bytes): Likewise.
10049         * ctype/isctype.c (__isctype): Likewise.
10050         * debug/backtrace.c (__backtrace): Likewise.
10051         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10052         * debug/fgets_chk.c (__fgets_chk): Likewise.
10053         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10054         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10055         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10056         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10057         * debug/memset_chk.c (__memset_chk): Likewise.
10058         * debug/strcat_chk.c (__strcat_chk): Likewise.
10059         * debug/strncat_chk.c (__strncat_chk): Likewise.
10060         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10061         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10062         * dirent/dirfd.c (dirfd): Likewise.
10063         * dirent/getdents.c (__getdirentries): Likewise.
10064         * dirent/getdents64.c (getdirentries64): Likewise.
10065         * dirent/rewinddir.c (__rewinddir): Likewise.
10066         * dirent/seekdir.c (seekdir): Likewise.
10067         * dirent/telldir.c (telldir): Likewise.
10068         * elf/sln.c (makesymlinks): Likewise.
10069         (makesymlink): Likewise.
10070         * gmon/gmon.c (__moncontrol): Likewise.
10071         (__monstartup): Likewise.
10072         (write_hist): Likewise.
10073         (write_call_graph): Likewise.
10074         (write_bb_counts): Likewise.
10075         * grp/setgroups.c (setgroups): Likewise.
10076         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10077         * inet/inet_net.c (inet_network): Likewise.
10078         * inet/inet_netof.c (inet_netof): Likewise.
10079         * inet/rcmd.c (rresvport_af): Likewise.
10080         (rresvport): Likewise.
10081         * io/access.c (__access): Likewise.
10082         * io/chdir.c (__chdir): Likewise.
10083         * io/chmod.c (__chmod): Likewise.
10084         * io/chown.c (__chown): Likewise.
10085         * io/close.c (__close): Likewise.
10086         * io/creat.c (creat): Likewise.
10087         * io/creat64.c (creat64): Likewise.
10088         * io/dup.c (__dup): Likewise.
10089         * io/dup2.c (__dup2): Likewise.
10090         * io/dup3.c (__dup3): Likewise.
10091         * io/euidaccess.c (__euidaccess): Likewise.
10092         * io/faccessat.c (faccessat): Likewise.
10093         * io/fchmod.c (__fchmod): Likewise.
10094         * io/fchmodat.c (fchmodat): Likewise.
10095         * io/fchown.c (__fchown): Likewise.
10096         * io/fchownat.c (fchownat): Likewise.
10097         * io/fcntl.c (__fcntl): Likewise.
10098         * io/flock.c (__flock): Likewise.
10099         * io/fts.c (fts_load): Likewise.
10100         (fts_close): Likewise.
10101         (fts_read): Likewise.
10102         (fts_set): Likewise.
10103         (fts_children): Likewise.
10104         (fts_build): Likewise.
10105         (fts_stat): Likewise.
10106         (fts_sort): Likewise.
10107         (fts_alloc): Likewise.
10108         (fts_lfree): Likewise.
10109         (fts_palloc): Likewise.
10110         (fts_padjust): Likewise.
10111         (fts_maxarglen): Likewise.
10112         (fts_safe_changedir): Likewise.
10113         * io/getwd.c (getwd): Likewise.
10114         * io/isatty.c (__isatty): Likewise.
10115         * io/lchown.c (__lchown): Likewise.
10116         * io/link.c (__link): Likewise.
10117         * io/linkat.c (linkat): Likewise.
10118         * io/lseek.c (__libc_lseek): Likewise.
10119         * io/mkdir.c (__mkdir): Likewise.
10120         * io/mkdirat.c (mkdirat): Likewise.
10121         * io/mkfifo.c (mkfifo): Likewise.
10122         * io/mkfifoat.c (mkfifoat): Likewise.
10123         * io/open.c (__libc_open): Likewise.
10124         * io/open64.c (__libc_open64): Likewise.
10125         * io/readlink.c (__readlink): Likewise.
10126         * io/readlinkat.c (readlinkat): Likewise.
10127         * io/rmdir.c (__rmdir): Likewise.
10128         * io/symlink.c (__symlink): Likewise.
10129         * io/symlinkat.c (symlinkat): Likewise.
10130         * io/ttyname.c (ttyname): Likewise.
10131         * io/ttyname_r.c (__ttyname_r): Likewise.
10132         * io/umask.c (__umask): Likewise.
10133         * io/unlink.c (__unlink): Likewise.
10134         * io/unlinkat.c (unlinkat): Likewise.
10135         * io/utime.c (utime): Likewise.
10136         * libio/clearerr.c (clearerr): Likewise.
10137         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10138         * libio/feof.c (_IO_feof): Likewise.
10139         * libio/feof_u.c (feof_unlocked): Likewise.
10140         * libio/ferror.c (_IO_ferror): Likewise.
10141         * libio/ferror_u.c (ferror_unlocked): Likewise.
10142         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10143         * libio/fileno.c (__fileno): Likewise.
10144         * libio/fputc.c (fputc): Likewise.
10145         * libio/fputc_u.c (fputc_unlocked): Likewise.
10146         * libio/fputwc.c (fputwc): Likewise.
10147         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10148         * libio/freopen.c (freopen): Likewise.
10149         * libio/freopen64.c (freopen64): Likewise.
10150         * libio/fseek.c (fseek): Likewise.
10151         * libio/fseeko.c (fseeko): Likewise.
10152         * libio/fseeko64.c (fseeko64): Likewise.
10153         * libio/ftello.c (__ftello): Likewise.
10154         * libio/ftello64.c (ftello64): Likewise.
10155         * libio/fwide.c (fwide): Likewise.
10156         * libio/genops.c (_IO_un_link): Likewise.
10157         (_IO_link_in): Likewise.
10158         (_IO_least_marker): Likewise.
10159         (_IO_switch_to_main_get_area): Likewise.
10160         (_IO_switch_to_backup_area): Likewise.
10161         (_IO_switch_to_get_mode): Likewise.
10162         (_IO_free_backup_area): Likewise.
10163         (_IO_switch_to_put_mode): Likewise.
10164         (__overflow): Likewise.
10165         (__underflow): Likewise.
10166         (__uflow): Likewise.
10167         (_IO_setb): Likewise.
10168         (_IO_doallocbuf): Likewise.
10169         (_IO_default_underflow): Likewise.
10170         (_IO_default_uflow): Likewise.
10171         (_IO_default_xsputn): Likewise.
10172         (_IO_sgetn): Likewise.
10173         (_IO_default_xsgetn): Likewise.
10174         (_IO_sync): Likewise.
10175         (_IO_default_setbuf): Likewise.
10176         (_IO_default_seekpos): Likewise.
10177         (_IO_default_doallocate): Likewise.
10178         (_IO_init): Likewise.
10179         (_IO_old_init): Likewise.
10180         (_IO_default_sync): Likewise.
10181         (_IO_default_finish): Likewise.
10182         (_IO_default_seekoff): Likewise.
10183         (_IO_sputbackc): Likewise.
10184         (_IO_sungetc): Likewise.
10185         (_IO_set_column): Likewise.
10186         (_IO_set_column): Likewise.
10187         (_IO_adjust_column): Likewise.
10188         (_IO_get_column): Likewise.
10189         (_IO_init_marker): Likewise.
10190         (_IO_remove_marker): Likewise.
10191         (_IO_marker_difference): Likewise.
10192         (_IO_marker_delta): Likewise.
10193         (_IO_seekmark): Likewise.
10194         (_IO_unsave_markers): Likewise.
10195         (_IO_nobackup_pbackfail): Likewise.
10196         (_IO_default_pbackfail): Likewise.
10197         (_IO_default_seek): Likewise.
10198         (_IO_default_stat): Likewise.
10199         (_IO_default_read): Likewise.
10200         (_IO_default_write): Likewise.
10201         (_IO_default_showmanyc): Likewise.
10202         (_IO_default_imbue): Likewise.
10203         (_IO_iter_next): Likewise.
10204         (_IO_iter_file): Likewise.
10205         * libio/getc.c (_IO_getc): Likewise.
10206         * libio/getwc.c (_IO_getwc): Likewise.
10207         * libio/iofclose.c (_IO_new_fclose): Likewise.
10208         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10209         * libio/iofflush.c (_IO_fflush): Likewise.
10210         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10211         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10212         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10213         * libio/iofgets.c (_IO_fgets): Likewise.
10214         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10215         * libio/iofgetws.c (fgetws): Likewise.
10216         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10217         * libio/iofopen64.c (_IO_fopen64): Likewise.
10218         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10219         (_IO_cookie_write): Likewise.
10220         (_IO_cookie_seek): Likewise.
10221         (_IO_cookie_close): Likewise.
10222         (_IO_cookie_seekoff): Likewise.
10223         (_IO_old_cookie_seek): Likewise.
10224         * libio/iofputs.c (_IO_fputs): Likewise.
10225         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10226         * libio/iofputws.c (fputws): Likewise.
10227         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10228         * libio/iofread.c (_IO_fread): Likewise.
10229         * libio/iofread_u.c (__fread_unlocked): Likewise.
10230         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10231         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10232         * libio/ioftell.c (_IO_ftell): Likewise.
10233         * libio/iofwrite.c (_IO_fwrite): Likewise.
10234         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10235         * libio/iogets.c (_IO_gets): Likewise.
10236         * libio/iopadn.c (_IO_padn): Likewise.
10237         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10238         (_IO_new_popen): Likewise.
10239         (_IO_new_proc_close): Likewise.
10240         * libio/ioputs.c (_IO_puts): Likewise.
10241         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10242         (_IO_seekoff): Likewise.
10243         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10244         (_IO_seekpos): Likewise.
10245         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10246         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10247         * libio/ioungetc.c (_IO_ungetc): Likewise.
10248         * libio/ioungetwc.c (ungetwc): Likewise.
10249         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10250         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10251         * libio/iowpadn.c (_IO_wpadn): Likewise.
10252         * libio/libc_fatal.c (__libc_fatal): Likewise.
10253         * libio/memstream.c (__open_memstream): Likewise.
10254         (_IO_mem_sync): Likewise.
10255         (_IO_mem_finish): Likewise.
10256         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10257         (_IO_old_file_close_it): Likewise.
10258         (_IO_old_file_finish): Likewise.
10259         (_IO_old_file_fopen): Likewise.
10260         (_IO_old_file_attach): Likewise.
10261         (_IO_old_file_setbuf): Likewise.
10262         (_IO_old_do_write): Likewise.
10263         (old_do_write): Likewise.
10264         (_IO_old_file_underflow): Likewise.
10265         (_IO_old_file_overflow): Likewise.
10266         (_IO_old_file_sync): Likewise.
10267         (_IO_old_file_seekoff): Likewise.
10268         (_IO_old_file_write): Likewise.
10269         (_IO_old_file_xsputn): Likewise.
10270         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10271         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10272         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10273         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10274         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10275         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10276         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10277         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10278         (_IO_old_popen): Likewise.
10279         (_IO_old_proc_close): Likewise.
10280         * libio/oldpclose.c (__old_pclose): Likewise.
10281         * libio/pclose.c (__new_pclose): Likewise.
10282         * libio/peekc.c (_IO_peekc_locked): Likewise.
10283         * libio/putc.c (_IO_putc): Likewise.
10284         * libio/putc_u.c (putc_unlocked): Likewise.
10285         * libio/putchar.c (putchar): Likewise.
10286         * libio/putchar_u.c (putchar_unlocked): Likewise.
10287         * libio/putwc.c (putwc): Likewise.
10288         * libio/putwc_u.c (putwc_unlocked): Likewise.
10289         * libio/putwchar.c (putwchar): Likewise.
10290         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10291         * libio/rewind.c (rewind): Likewise.
10292         * libio/setbuf.c (setbuf): Likewise.
10293         * libio/setlinebuf.c (setlinebuf): Likewise.
10294         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10295         * libio/vscanf.c (_IO_vscanf): Likewise.
10296         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10297         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10298         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10299         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10300         (_IO_switch_to_main_wget_area): Likewise.
10301         (_IO_switch_to_wbackup_area): Likewise.
10302         (_IO_wsetb): Likewise.
10303         (_IO_wdefault_pbackfail): Likewise.
10304         (_IO_wdefault_finish): Likewise.
10305         (_IO_wdefault_uflow): Likewise.
10306         (__woverflow): Likewise.
10307         (__wuflow): Likewise.
10308         (__wunderflow): Likewise.
10309         (_IO_wdefault_xsputn): Likewise.
10310         (_IO_wdefault_xsgetn): Likewise.
10311         (_IO_wdoallocbuf): Likewise.
10312         (_IO_wdefault_doallocate): Likewise.
10313         (_IO_switch_to_wget_mode): Likewise.
10314         (_IO_free_wbackup_area): Likewise.
10315         (_IO_switch_to_wput_mode): Likewise.
10316         (_IO_sputbackwc): Likewise.
10317         (_IO_sungetwc): Likewise.
10318         (_IO_adjust_wcolumn): Likewise.
10319         (_IO_init_wmarker): Likewise.
10320         (_IO_wmarker_delta): Likewise.
10321         (_IO_seekwmark): Likewise.
10322         (_IO_unsave_wmarkers): Likewise.
10323         * libio/wmemstream.c (open_wmemstream): Likewise.
10324         (_IO_wmem_sync): Likewise.
10325         (_IO_wmem_finish): Likewise.
10326         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10327         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10328         * locale/programs/simple-hash.c (init_hash): Likewise.
10329         (delete_hash): Likewise.
10330         (insert_entry): Likewise.
10331         (set_entry): Likewise.
10332         (next_prime): Likewise.
10333         (is_prime): Likewise.
10334         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10335         (xmalloc): Likewise.
10336         (xrealloc): Likewise.
10337         * locale/programs/xstrdup.c (xstrdup): Likewise.
10338         * localedata/collate-test.c (xstrcoll): Likewise.
10339         * localedata/xfrm-test.c (xstrcmp): Likewise.
10340         * login/getlogin_r.c (__getlogin_r): Likewise.
10341         * login/getpt.c (__posix_openpt): Likewise.
10342         * login/login_tty.c (login_tty): Likewise.
10343         * login/setlogin.c (setlogin): Likewise.
10344         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10345         (mach_msg_destroy_port): Likewise.
10346         (mach_msg_destroy_memory): Likewise.
10347         * malloc/mcheck.c (flood): Likewise.
10348         * misc/acct.c (acct): Likewise.
10349         * misc/brk.c (__brk): Likewise.
10350         * misc/chflags.c (chflags): Likewise.
10351         * misc/chroot.c (chroot): Likewise.
10352         * misc/fchflags.c (fchflags): Likewise.
10353         * misc/fstab.c (getfsspec): Likewise.
10354         (getfsfile): Likewise.
10355         * misc/fsync.c (fsync): Likewise.
10356         * misc/ftruncate.c (__ftruncate): Likewise.
10357         * misc/ftruncate64.c (__ftruncate64): Likewise.
10358         * misc/getdomain.c (getdomainname): Likewise.
10359         (getdomainname): Likewise.
10360         * misc/gethostname.c (__gethostname): Likewise.
10361         * misc/getpass.c (getpass): Likewise.
10362         * misc/getttyent.c (skip): Likewise.
10363         (value): Likewise.
10364         * misc/gtty.c (gtty): Likewise.
10365         * misc/hsearch.c (hsearch): Likewise.
10366         (hcreate): Likewise.
10367         * misc/hsearch_r.c (__hcreate_r): Likewise.
10368         (__hdestroy_r): Likewise.
10369         * misc/ioctl.c (__ioctl): Likewise.
10370         * misc/mkdtemp.c (mkdtemp): Likewise.
10371         * misc/mkostemp.c (mkostemp): Likewise.
10372         * misc/mkostemp64.c (mkostemp64): Likewise.
10373         * misc/mkostemps.c (mkostemps): Likewise.
10374         * misc/mkostemps64.c (mkostemps64): Likewise.
10375         * misc/mkstemp.c (mkstemp): Likewise.
10376         * misc/mkstemp64.c (mkstemp64): Likewise.
10377         * misc/mkstemps.c (mkstemps): Likewise.
10378         * misc/mkstemps64.c (mkstemps64): Likewise.
10379         * misc/mktemp.c (__mktemp): Likewise.
10380         * misc/preadv.c (preadv): Likewise.
10381         * misc/preadv64.c (preadv64): Likewise.
10382         * misc/pwritev.c (pwritev): Likewise.
10383         * misc/pwritev64.c (pwritev64): Likewise.
10384         * misc/readv.c (__readv): Likewise.
10385         * misc/revoke.c (revoke): Likewise.
10386         * misc/setdomain.c (setdomainname): Likewise.
10387         * misc/setegid.c (setegid): Likewise.
10388         * misc/seteuid.c (seteuid): Likewise.
10389         * misc/sethostid.c (sethostid): Likewise.
10390         * misc/sethostname.c (sethostname): Likewise.
10391         * misc/setregid.c (__setregid): Likewise.
10392         * misc/setreuid.c (__setreuid): Likewise.
10393         * misc/sstk.c (sstk): Likewise.
10394         * misc/stty.c (stty): Likewise.
10395         * misc/syscall.c (syscall): Likewise.
10396         * misc/syslog.c (setlogmask): Likewise.
10397         * misc/truncate.c (__truncate): Likewise.
10398         * misc/truncate64.c (truncate64): Likewise.
10399         * misc/ualarm.c (ualarm): Likewise.
10400         * misc/usleep.c (usleep): Likewise.
10401         * misc/ustat.c (ustat): Likewise.
10402         * misc/writev.c (__writev): Likewise.
10403         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10404         * nptl/old_pthread_cond_broadcast.c
10405         (__pthread_cond_broadcast_2_0): Likewise.
10406         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10407         Likewise.
10408         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10409         Likewise.
10410         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10411         Likewise.
10412         * nptl/pt-raise.c (raise): Likewise.
10413         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10414         Likewise.
10415         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10416         * nptl/pthread_barrierattr_destroy.c
10417         (pthread_barrierattr_destroy): Likewise.
10418         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10419         Likewise.
10420         * nptl/pthread_barrierattr_setpshared.c
10421         (pthread_barrierattr_setpshared): Likewise.
10422         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10423         Likewise.
10424         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10425         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10426         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10427         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10428         Likewise.
10429         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10430         Likewise.
10431         * nptl/pthread_condattr_getpshared.c
10432         (pthread_condattr_getpshared): Likewise.
10433         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10434         Likewise.
10435         * nptl/pthread_condattr_setpshared.c
10436         (pthread_condattr_setpshared): Likewise.
10437         * nptl/pthread_detach.c (pthread_detach): Likewise.
10438         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10439         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10440         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10441         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10442         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10443         Likewise.
10444         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10445         Likewise.
10446         * nptl/pthread_mutex_getprioceiling.c
10447         (pthread_mutex_getprioceiling): Likewise.
10448         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10449         Likewise.
10450         * nptl/pthread_mutexattr_getprotocol.c
10451         (pthread_mutexattr_getprotocol): Likewise.
10452         * nptl/pthread_mutexattr_getpshared.c
10453         (pthread_mutexattr_getpshared): Likewise.
10454         * nptl/pthread_mutexattr_getrobust.c
10455         (pthread_mutexattr_getrobust): Likewise.
10456         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10457         Likewise.
10458         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10459         Likewise.
10460         * nptl/pthread_mutexattr_setprioceiling.c
10461         (pthread_mutexattr_setprioceiling): Likewise.
10462         * nptl/pthread_mutexattr_setprotocol.c
10463         (pthread_mutexattr_setprotocol): Likewise.
10464         * nptl/pthread_mutexattr_setpshared.c
10465         (pthread_mutexattr_setpshared): Likewise.
10466         * nptl/pthread_mutexattr_setrobust.c
10467         (pthread_mutexattr_setrobust): Likewise.
10468         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10469         Likewise.
10470         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10471         Likewise.
10472         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10473         Likewise.
10474         * nptl/pthread_rwlockattr_getkind_np.c
10475         (pthread_rwlockattr_getkind_np): Likewise.
10476         * nptl/pthread_rwlockattr_getpshared.c
10477         (pthread_rwlockattr_getpshared): Likewise.
10478         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10479         Likewise.
10480         * nptl/pthread_rwlockattr_setkind_np.c
10481         (pthread_rwlockattr_setkind_np): Likewise.
10482         * nptl/pthread_rwlockattr_setpshared.c
10483         (pthread_rwlockattr_setpshared): Likewise.
10484         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10485         Likewise.
10486         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10487         Likewise.
10488         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10489         Likewise.
10490         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10491         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10492         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10493         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10494         * nptl/sem_close.c (sem_close): Likewise.
10495         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10496         * nptl/sem_init.c (__old_sem_init): Likewise.
10497         * nptl/sigaction.c (__sigaction): Likewise.
10498         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10499         * posix/_exit.c (_exit): Likewise.
10500         * posix/alarm.c (alarm): Likewise.
10501         * posix/confstr.c (confstr): Likewise.
10502         * posix/fpathconf.c (__fpathconf): Likewise.
10503         * posix/getgroups.c (__getgroups): Likewise.
10504         * posix/getpgid.c (__getpgid): Likewise.
10505         * posix/group_member.c (__group_member): Likewise.
10506         * posix/pathconf.c (__pathconf): Likewise.
10507         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10508         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10509         * posix/setgid.c (__setgid): Likewise.
10510         * posix/setpgid.c (__setpgid): Likewise.
10511         * posix/setuid.c (__setuid): Likewise.
10512         * posix/sleep.c (__sleep): Likewise.
10513         * posix/sysconf.c (__sysconf): Likewise.
10514         * posix/times.c (__times): Likewise.
10515         * posix/uname.c (__uname): Likewise.
10516         * posix/waitid.c (__waitid): Likewise.
10517         * pwd/getpw.c (__getpw): Likewise.
10518         * resolv/base64.c (b64_pton): Likewise.
10519         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10520         * resolv/gethnamaddr.c (Dprintf): Likewise.
10521         (gethostbyname): Likewise.
10522         (gethostbyname2): Likewise.
10523         (gethostbyaddr): Likewise.
10524         (_sethtent): Likewise.
10525         (_gethtbyname): Likewise.
10526         (_gethtbyname2): Likewise.
10527         (_gethtbyaddr): Likewise.
10528         (map_v4v6_address): Likewise.
10529         (map_v4v6_hostent): Likewise.
10530         (addrsort): Likewise.
10531         (ht_sethostent): Likewise.
10532         (ht_gethostbyname): Likewise.
10533         (ht_gethostbyaddr): Likewise.
10534         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10535         (inet_net_ntop_ipv4): Likewise.
10536         * resolv/inet_neta.c (inet_neta): Likewise.
10537         * resolv/inet_ntop.c (inet_ntop): Likewise.
10538         (inet_ntop4): Likewise.
10539         (inet_ntop6): Likewise.
10540         * resolv/inet_pton.c (__inet_pton): Likewise.
10541         (inet_pton4): Likewise.
10542         (inet_pton6): Likewise.
10543         * resolv/res_debug.c (loc_aton): Likewise.
10544         (loc_ntoa): Likewise.
10545         * resource/getpriority.c (__getpriority): Likewise.
10546         * resource/getrusage.c (__getrusage): Likewise.
10547         * resource/nice.c (nice): Likewise.
10548         * resource/setpriority.c (__setpriority): Likewise.
10549         * resource/setrlimit64.c (setrlimit64): Likewise.
10550         * resource/vlimit.c (vlimit): Likewise.
10551         * resource/vtimes.c (vtimes): Likewise.
10552         * rt/aio_error.c (aio_error): Likewise.
10553         * rt/aio_return.c (aio_return): Likewise.
10554         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10555         * signal/kill.c (__kill): Likewise.
10556         * signal/killpg.c (killpg): Likewise.
10557         * signal/raise.c (raise): Likewise.
10558         * signal/sigaction.c (__sigaction): Likewise.
10559         * signal/sigaddset.c (sigaddset): Likewise.
10560         * signal/sigaltstack.c (sigaltstack): Likewise.
10561         * signal/sigandset.c (sigandset): Likewise.
10562         * signal/sigblock.c (__sigblock): Likewise.
10563         * signal/sigdelset.c (sigdelset): Likewise.
10564         * signal/sigempty.c (sigemptyset): Likewise.
10565         * signal/sigfillset.c (sigfillset): Likewise.
10566         * signal/sighold.c (sighold): Likewise.
10567         * signal/sigignore.c (sigignore): Likewise.
10568         * signal/sigintr.c (siginterrupt): Likewise.
10569         * signal/sigisempty.c (sigisemptyset): Likewise.
10570         * signal/sigismem.c (sigismember): Likewise.
10571         * signal/signal.c (signal): Likewise.
10572         * signal/sigorset.c (sigorset): Likewise.
10573         * signal/sigpause.c (__sigpause): Likewise.
10574         * signal/sigpending.c (sigpending): Likewise.
10575         * signal/sigprocmask.c (__sigprocmask): Likewise.
10576         * signal/sigrelse.c (sigrelse): Likewise.
10577         * signal/sigreturn.c (__sigreturn): Likewise.
10578         * signal/sigset.c (sigset): Likewise.
10579         * signal/sigsetmask.c (__sigsetmask): Likewise.
10580         * signal/sigstack.c (sigstack): Likewise.
10581         * signal/sigsuspend.c (__sigsuspend): Likewise.
10582         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10583         * signal/sysv_signal.c (__sysv_signal): Likewise.
10584         * socket/accept.c (accept): Likewise.
10585         * socket/accept4.c (__libc_accept4): Likewise.
10586         * socket/bind.c (__bind): Likewise.
10587         * socket/connect.c (__connect): Likewise.
10588         * socket/getpeername.c (getpeername): Likewise.
10589         * socket/getsockname.c (__getsockname): Likewise.
10590         * socket/getsockopt.c (getsockopt): Likewise.
10591         * socket/listen.c (__listen): Likewise.
10592         * socket/recv.c (__recv): Likewise.
10593         * socket/recvmsg.c (__recvmsg): Likewise.
10594         * socket/send.c (__send): Likewise.
10595         * socket/sendmsg.c (__sendmsg): Likewise.
10596         * socket/shutdown.c (shutdown): Likewise.
10597         * socket/sockatmark.c (sockatmark): Likewise.
10598         * socket/socket.c (__socket): Likewise.
10599         * stdio-common/ctermid.c (ctermid): Likewise.
10600         * stdio-common/cuserid.c (cuserid): Likewise.
10601         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10602         * stdio-common/remove.c (remove): Likewise.
10603         * stdio-common/rename.c (rename): Likewise.
10604         * stdio-common/renameat.c (renameat): Likewise.
10605         * stdio-common/tempname.c (__gen_tempname): Likewise.
10606         * stdio-common/xbug.c (InitBuffer): Likewise.
10607         (AppendToBuffer): Likewise.
10608         (ReadFile): Likewise.
10609         * stdlib/a64l.c (a64l): Likewise.
10610         * stdlib/drand48_r.c (drand48_r): Likewise.
10611         * stdlib/getcontext.c (getcontext): Likewise.
10612         * stdlib/getenv.c (getenv): Likewise.
10613         * stdlib/l64a.c (l64a): Likewise.
10614         * stdlib/llabs.c (llabs): Likewise.
10615         * stdlib/lldiv.c (lldiv): Likewise.
10616         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10617         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10618         * stdlib/putenv.c (putenv): Likewise.
10619         * stdlib/random.c (__srandom): Likewise.
10620         (__initstate): Likewise.
10621         (__setstate): Likewise.
10622         * stdlib/random_r.c (__srandom_r): Likewise.
10623         (__setstate_r): Likewise.
10624         (__random_r): Likewise.
10625         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10626         * stdlib/setcontext.c (setcontext): Likewise.
10627         * stdlib/setenv.c (setenv): Likewise.
10628         (unsetenv): Likewise.
10629         * stdlib/srand48.c (srand48): Likewise.
10630         * stdlib/srand48_r.c (__srand48_r): Likewise.
10631         * stdlib/swapcontext.c (swapcontext): Likewise.
10632         * stdlib/system.c (__libc_system): Likewise.
10633         * stdlib/tst-strtod.c (expand): Likewise.
10634         * stdlib/tst-strtol.c (expand): Likewise.
10635         * stdlib/tst-strtoll.c (expand): Likewise.
10636         * streams/fattach.c (fattach): Likewise.
10637         * streams/fdetach.c (fdetach): Likewise.
10638         * streams/getmsg.c (getmsg): Likewise.
10639         * streams/isastream.c (isastream): Likewise.
10640         * string/ffs.c (__ffs): Likewise.
10641         * string/ffsll.c (ffsll): Likewise.
10642         * string/memcmp.c (memcmp_common_alignment): Likewise.
10643         (memcmp_not_common_alignment): Likewise.
10644         (MEMCMP): Likewise.
10645         * string/memcpy.c (memcpy): Likewise.
10646         * string/memmove.c (MEMMOVE): Likewise.
10647         * string/memset.c (memset): Likewise.
10648         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10649         * string/strchrnul.c (STRCHRNUL): Likewise.
10650         * string/strerror.c (strerror): Likewise.
10651         * string/strndup.c (__strndup): Likewise.
10652         * string/strverscmp.c (__strverscmp): Likewise.
10653         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10654         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10655         (clnttcp_freeres): Likewise.
10656         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10657         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10658         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10659         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10660         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10661         (xdr_callhdr): Likewise.
10662         * sunrpc/rpcinfo.c (udpping): Likewise.
10663         (tcpping): Likewise.
10664         (pstatus): Likewise.
10665         (pmapdump): Likewise.
10666         (brdcst): Likewise.
10667         (deletereg): Likewise.
10668         (getprognum): Likewise.
10669         (getvers): Likewise.
10670         (get_inet_address): Likewise.
10671         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10672         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10673         (svcudp_stat): Likewise.
10674         (svcudp_recv): Likewise.
10675         (svcudp_reply): Likewise.
10676         (svcudp_getargs): Likewise.
10677         (svcudp_freeargs): Likewise.
10678         (svcudp_destroy): Likewise.
10679         * sunrpc/xdr.c (xdr_bytes): Likewise.
10680         (xdr_netobj): Likewise.
10681         (xdr_string): Likewise.
10682         (xdr_wrapstring): Likewise.
10683         * sunrpc/xdr_float.c (xdr_float): Likewise.
10684         (xdr_double): Likewise.
10685         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10686         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10687         * sysvipc/ftok.c (ftok): Likewise.
10688         * sysvipc/msgctl.c (msgctl): Likewise.
10689         * sysvipc/msgget.c (msgget): Likewise.
10690         * sysvipc/msgrcv.c (msgrcv): Likewise.
10691         * sysvipc/msgsnd.c (msgsnd): Likewise.
10692         * sysvipc/semget.c (semget): Likewise.
10693         * sysvipc/semop.c (semop): Likewise.
10694         * sysvipc/shmat.c (shmat): Likewise.
10695         * sysvipc/shmctl.c (shmctl): Likewise.
10696         * sysvipc/shmdt.c (shmdt): Likewise.
10697         * sysvipc/shmget.c (shmget): Likewise.
10698         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10699         * termios/speed.c (cfgetospeed): Likewise.
10700         (cfgetispeed): Likewise.
10701         (cfsetospeed): Likewise.
10702         (cfsetispeed): Likewise.
10703         * termios/tcflow.c (tcflow): Likewise.
10704         * termios/tcflush.c (tcflush): Likewise.
10705         * termios/tcgetattr.c (__tcgetattr): Likewise.
10706         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10707         * termios/tcgetsid.c (tcgetsid): Likewise.
10708         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10709         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10710         * time/adjtime.c (__adjtime): Likewise.
10711         * time/dysize.c (dysize): Likewise.
10712         * time/ftime.c (ftime): Likewise.
10713         * time/getitimer.c (__getitimer): Likewise.
10714         * time/gettimeofday.c (__gettimeofday): Likewise.
10715         * time/gmtime.c (__gmtime_r): Likewise.
10716         (gmtime): Likewise.
10717         * time/localtime.c (__localtime_r): Likewise.
10718         (localtime): Likewise.
10719         * time/offtime.c (__offtime): Likewise.
10720         * time/settimeofday.c (__settimeofday): Likewise.
10721         * time/stime.c (stime): Likewise.
10722         * time/strftime_l.c (tm_diff): Likewise.
10723         (iso_week_days): Likewise.
10724         * time/strptime.c (strptime): Likewise.
10725         * time/time.c (time): Likewise.
10726         * time/timespec_get.c (timespec_get): Likewise.
10727         * time/tzset.c (tzset_internal): Likewise.
10728         (compute_change): Likewise.
10729         (__tz_compute): Likewise.
10730         * wcsmbs/btowc.c (__btowc): Likewise.
10731         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10732         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10733         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10734         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10735         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10736         * wcsmbs/wcscat.c (__wcscat): Likewise.
10737         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10738         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10739         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10740         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10741         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10742         * wcsmbs/wcslen.c (__wcslen): Likewise.
10743         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10744         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10745         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10746         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10747         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10748         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10749         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10750         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10751         * wcsmbs/wcstok.c (wcstok): Likewise.
10752         * wcsmbs/wctob.c (wctob): Likewise.
10753         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10754         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10755         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10756         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10757         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10758         * wcsmbs/wmemset.c (__wmemset): Likewise.
10759         * wctype/wcfuncs.c (__towlower): Likewise.
10760         (__towupper): Likewise.
10762         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10763         (lll_unlock_elision): Add adapt_count parameter.
10765 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10767         * sysdeps/nptl/configure.ac: Do not give errors based on the
10768         results of top-level configure tests.
10769         * sysdeps/nptl/configure: Regenerated.
10771         * configure.ac (libc_cv_Bgroup): Remove configure test.
10772         * configure: Regenerated.
10773         * config.make.in (have-Bgroup): Remove variable.
10775         * configure.ac (sizeof_long_double): Remove configure test.
10776         * configure: Regenerated.
10777         * config.make.in (sizeof-long-double): Remove variable.
10779         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10780         * configure: Regenerated.
10781         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10782         variable.
10783         (exceptions): Likewise.
10784         * sysdeps/arm/configure: Regenerated.
10785         * config.make.in (exceptions): Remove variable.
10786         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10787         $(exceptions).
10788         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10789         (CFLAGS-vdprintf_chk.c): Likewise.
10790         (CFLAGS-printf_chk.c): Likewise.
10791         (CFLAGS-fprintf_chk.c): Likewise.
10792         (CFLAGS-vprintf_chk.c): Likewise.
10793         (CFLAGS-vfprintf_chk.c): Likewise.
10794         (CFLAGS-gets_chk.c): Likewise.
10795         (CFLAGS-fgets_chk.c): Likewise.
10796         (CFLAGS-fgets_u_chk.c): Likewise.
10797         (CFLAGS-fread_chk.c): Likewise.
10798         (CFLAGS-fread_u_chk.c): Likewise.
10799         (CFLAGS-wprintf_chk.c): Likewise.
10800         (CFLAGS-fwprintf_chk.c): Likewise.
10801         (CFLAGS-vwprintf_chk.c): Likewise.
10802         (CFLAGS-vfwprintf_chk.c): Likewise.
10803         (CFLAGS-fgetws_chk.c): Likewise.
10804         (CFLAGS-fgetws_u_chk.c): Likewise.
10805         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10806         (CFLAGS-fputc.c): Likewise.
10807         (CFLAGS-fputwc.c): Likewise.
10808         (CFLAGS-freopen64.c): Likewise.
10809         (CFLAGS-freopen.c): Likewise.
10810         (CFLAGS-fseek.c): Likewise.
10811         (CFLAGS-fseeko64.c): Likewise.
10812         (CFLAGS-fseeko.c): Likewise.
10813         (CFLAGS-ftello64.c): Likewise.
10814         (CFLAGS-ftello.c): Likewise.
10815         (CFLAGS-fwide.c): Likewise.
10816         (CFLAGS-genops.c): Likewise.
10817         (CFLAGS-getc.c): Likewise.
10818         (CFLAGS-getchar.c): Likewise.
10819         (CFLAGS-getwc.c): Likewise.
10820         (CFLAGS-getwchar.c): Likewise.
10821         (CFLAGS-iofclose.c): Likewise.
10822         (CFLAGS-iofflush.c): Likewise.
10823         (CFLAGS-iofgetpos64.c): Likewise.
10824         (CFLAGS-iofgetpos.c): Likewise.
10825         (CFLAGS-iofgets.c): Likewise.
10826         (CFLAGS-iofgetws.c): Likewise.
10827         (CFLAGS-iofputs.c): Likewise.
10828         (CFLAGS-iofputws.c): Likewise.
10829         (CFLAGS-iofread.c): Likewise.
10830         (CFLAGS-iofsetpos64.c): Likewise.
10831         (CFLAGS-iofsetpos.c): Likewise.
10832         (CFLAGS-ioftell.c): Likewise.
10833         (CFLAGS-iofwrite.c): Likewise.
10834         (CFLAGS-iogetdelim.c): Likewise.
10835         (CFLAGS-iogetline.c): Likewise.
10836         (CFLAGS-iogets.c): Likewise.
10837         (CFLAGS-iogetwline.c): Likewise.
10838         (CFLAGS-ioputs.c): Likewise.
10839         (CFLAGS-ioseekoff.c): Likewise.
10840         (CFLAGS-ioseekpos.c): Likewise.
10841         (CFLAGS-iosetbuffer.c): Likewise.
10842         (CFLAGS-iosetvbuf.c): Likewise.
10843         (CFLAGS-ioungetc.c): Likewise.
10844         (CFLAGS-ioungetwc.c): Likewise.
10845         (CFLAGS-oldfileops.c): Likewise.
10846         (CFLAGS-oldiofclose.c): Likewise.
10847         (CFLAGS-oldiofgetpos64.c): Likewise.
10848         (CFLAGS-oldiofgetpos.c): Likewise.
10849         (CFLAGS-oldiofsetpos64.c): Likewise.
10850         (CFLAGS-oldiofsetpos.c): Likewise.
10851         (CFLAGS-peekc.c): Likewise.
10852         (CFLAGS-putc.c): Likewise.
10853         (CFLAGS-putchar.c): Likewise.
10854         (CFLAGS-putwc.c): Likewise.
10855         (CFLAGS-putwchar.c): Likewise.
10856         (CFLAGS-rewind.c): Likewise.
10857         (CFLAGS-wfileops.c): Likewise.
10858         (CFLAGS-wgenops.c): Likewise.
10859         (CFLAGS-oldiofopen.c): Likewise.
10860         (CFLAGS-iofopen.c): Likewise.
10861         (CFLAGS-iofopen64.c): Likewise.
10862         (CFLAGS-oldtmpfile.c): Likewise.
10863         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10864         (CFLAGS-fprintf.c): Likewise.
10865         (CFLAGS-printf.c): Likewise.
10866         (CFLAGS-vfwprintf.c): Likewise.
10867         (CFLAGS-vfscanf.c): Likewise.
10868         (CFLAGS-vfwscanf.c): Likewise.
10869         (CFLAGS-fscanf.c): Likewise.
10870         (CFLAGS-scanf.c): Likewise.
10871         (CFLAGS-isoc99_vfscanf.c): Likewise.
10872         (CFLAGS-isoc99_vscanf.c): Likewise.
10873         (CFLAGS-isoc99_fscanf.c): Likewise.
10874         (CFLAGS-isoc99_scanf.c): Likewise.
10875         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10876         (CFLAGS-isoc99_fwscanf.c): Likewise.
10877         (CFLAGS-isoc99_vwscanf.c): Likewise.
10878         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10880         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10881         after mkstemp64.
10882         * login/tst-utmp.c (do_prepare): Likewise.
10883         * rt/tst-aio.c (do_prepare): Likewise.
10884         * rt/tst-aio64.c (do_prepare): Likewise.
10886 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10888         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10889         (__lll_lock_elision): Remove adapt_count decrement...
10890         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10891         (__lll_trylock_elision): Likewise.
10892         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10893         (__lll_unlock_elision): ... to here. And utilize
10894         new adapt_count parameter.
10895         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10896         (__lll_unlock_elision): Update to include adapt_count
10897         parameter.
10898         (lll_unlock_elision): Pass pointer to adapt_count
10899         variable.
10901 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10903         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10904         Add elision adapt_count parameter to list of arguments.
10905         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10906         (lll_unlock_elision): Update with new parameter list
10907         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10908         (lll_unlock_elision): Likewise.
10909         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10910         (lll_unlock_elision): Likewise.
10912 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10914         [BZ #19122]
10915         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10916         attribute_hidden.
10918         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10919         attribute_hidden.
10920         [IS_IN (rtld)] (__strdup): Likewise.
10921         [IS_IN (rtld)] (__strerror_r): Likewise.
10922         [IS_IN (rtld)] (__strsep_g): Likewise.
10923         [IS_IN (rtld)] (memchr): Likewise.
10924         [IS_IN (rtld)] (memcmp): Likewise.
10925         [IS_IN (rtld)] (memcpy): Likewise.
10926         [IS_IN (rtld)] (memmove): Likewise.
10927         [IS_IN (rtld)] (memset): Likewise.
10928         [IS_IN (rtld)] (rawmemchr): Likewise.
10929         [IS_IN (rtld)] (stpcpy): Likewise.
10930         [IS_IN (rtld)] (strchr): Likewise.
10931         [IS_IN (rtld)] (strcmp): Likewise.
10932         [IS_IN (rtld)] (strlen): Likewise.
10933         [IS_IN (rtld)] (strnlen): Likewise.
10934         [IS_IN (rtld)] (strsep): Likewise.
10936         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10937         attribute_hidden.
10938         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10940         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10941         attribute_hidden.
10942         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10944         * include/setjmp.h (__longjmp): Add attribute_hidden.
10945         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10947         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10948         Add attribute_hidden.
10950         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10951         [IS_IN (rtld)] (__open): Likewise.
10952         [IS_IN (rtld)] (__fcntl): Likewise.
10954         * include/dirent.h (__opendirat): Add attribute_hidden.
10955         (__getdents): Likewise.
10956         (__getdents64): Likewise.
10957         (__alloc_dir): Likewise.
10958         [IS_IN (rtld)] (__closedir): Likewise.
10959         [IS_IN (rtld)] (__fdopendir): Likewise.
10960         [IS_IN (rtld)] (__readdir): Likewise.
10961         [IS_IN (rtld)] (__readdir64): Likewise.
10962         [IS_IN (rtld)] (__rewinddir): Likewise.
10964         * include/dlfcn.h (_dl_catch_error): Moved to ...
10965         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10966         attribute_hidden.
10968         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10969         (_itoa_word): Likewise.
10971         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10972         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10973         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10974         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10975         (_dl_higher_prime_number): Likewise.
10976         (_dl_debug_printf_c): Likewise.
10977         (_dl_signal_cerror): Likewise.
10978         (_dl_receive_error): Likewise.
10979         (_dl_reloc_bad_type): Likewise.
10980         (_dl_resolve_conflicts): Likewise.
10981         (_dl_check_all_versions): Likewise.
10982         (_dl_check_map_versions): Likewise.
10983         (_dl_sort_fini): Likewise.
10984         (_dl_debug_initialize): Likewise.
10985         (_dl_init_paths): Likewise.
10986         (_dl_show_auxv): Likewise.
10987         (_dl_next_ld_env_entry): Likewise.
10988         (_dl_important_hwcaps): Likewise.
10989         (_dl_load_cache_lookup): Likewise.
10990         (_dl_update_slotinfo): Likewise.
10991         (_dl_show_scope): Likewise.
10993         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10994         attribute_hidden.
10995         (_wordcopy_fwd_dest_aligned): Likewise.
10996         (_wordcopy_bwd_aligned): Likewise.
10997         (_wordcopy_bwd_dest_aligned): Likewise.
10999         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11000         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11001         Likewise.
11002         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11003         Likewise.
11004         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11006 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11009         GCC 5 requirement.
11011 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11013         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11014         test.
11015         * sysdeps/i386/configure: Regenerated.
11016         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11017         code unconditional.
11019         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11020         test.
11021         (libc_cv_asm_popsection_directive): Likewise.
11022         * configure: Regenerated.
11023         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11024         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11025         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11026         (__make_section_unallocated): Make definition unconditional.
11027         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11028         Remove conditional definition.
11029         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11030         (__make_section_unallocated): Likewise.
11032         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11033         * configure: Regenerated.
11034         * config.make.in (static-libgcc): Remove variable.
11035         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11036         $(static-libgcc).
11037         (build-module-helper): Likewise.
11039         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11040         * configure: Regenerated.
11042 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11044         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11045         (struct char_buffer): New type.
11046         (char_buffer_start, char_buffer_size, char_buffer_error)
11047         (char_buffer_rewind, char_buffer_add): New functions.
11048         (ADDW): Remove macro, replaced by the char_buffer_add function.
11049         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11050         of extend_alloca.  Make control flow more explicit.
11052 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11054         [BZ #19137]
11055         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11056         Add -fomit-frame-pointer.
11057         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11059 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11061         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11062         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11063         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11064         only if !__GNUC_PREREQ (5,0).
11065         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11066         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11067         (INTERNAL_SYSCALL_NCS): Likewise.
11068         (LOADREGS_0): New macro for GCC 5.
11069         (ASMARGS_0): Likewise.
11070         (LOADREGS_1): Likewise.
11071         (ASMARGS_1): Likewise.
11072         (LOADREGS_2): Likewise.
11073         (ASMARGS_2): Likewise.
11074         (LOADREGS_3): Likewise.
11075         (ASMARGS_3): Likewise.
11076         (LOADREGS_4): Likewise.
11077         (ASMARGS_4): Likewise.
11078         (LOADREGS_5): Likewise.
11079         (ASMARGS_5): Likewise.
11080         (LOADREGS_6): Likewise.
11081         (ASMARGS_6): Likewise.
11083 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11085         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11086         -fomit-frame-pointer.
11087         (CFLAGS-mmap64.c): Likewise.
11088         (CFLAGS-semtimedop.c): Likewise.
11089         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11090         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11091         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11092         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11094 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11096         [BZ #18928]
11097         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11098         _dl_pointer_guard member.
11099         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11100         initializer.
11101         (security_init): Always set up pointer guard.
11102         (process_envvars): Do not process LD_POINTER_GUARD.
11104 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11106         [BZ #19134]
11107         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11108         (.LC2): Likewise.
11109         (.LC3): Likewise.
11110         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11112 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11114         [BZ #19129]
11115         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11116         r0 and r1.
11118 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11120         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11122 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11124         * include/stap-probe.h: Fix macro definition formatting.
11126 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11128         [BZ #19074]
11129         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11130         load and store num_ifs.
11132 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11134         [BZ #18822]
11135         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11136         (__sched_getaffinity_new): Add libc_hidden_proto and
11137         libc_hidden_def.
11139 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11141         [BZ #19007]
11142         * scripts/localplt.awk: Also allow GOT references.
11143         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11144         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11145         with "+ REL R_386_GLOB_DAT".
11146         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11147         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11149 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11151         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11152         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11153         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11154         Likewise.
11155         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11156         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11157         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11158         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11159         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11160         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11161         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11162         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11163         Likewise.
11164         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11166 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11168         [BZ #19125]
11169         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11170         <math_private.h> and <stdint.h>.
11171         (__llround): Avoid conversions to and from long long int, and
11172         subtractions, where those might raise spurious exceptions.
11173         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11174         <math_private.h> and <stdint.h>.
11175         (__llroundf): Avoid conversions to and from long long int, and
11176         subtractions, where those might raise spurious exceptions.
11178 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11180         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11181         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11182         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11183         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11184         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11185         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11186         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11187         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11188         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11189         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11190         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11191         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11192         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11193         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11194         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11195         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11196         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11197         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11198         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11199         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11200         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11201         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11202         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11203         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11204         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11205         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11206         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11207         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11208         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11209         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11210         (__xstat64_conv): Likewise.
11211         (__xstat32_conv): Likewise.
11213 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11215         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11216         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11217         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11218         <sysdeps/unix/sysv/linux/sysdep.h>.
11219         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11220         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11221         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11222         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11223         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11224         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11225         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11226         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11227         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11231         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11232         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11233         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11235         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11236         (sysdep-dl-routines): Add sysdep.
11237         [$(subdir) == nptl] (libpthread-routines): Likewise.
11238         [$(subdir) == rt] (librt-routines): Likewise.
11239         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11240         PIC when branching to SYSCALL_ERROR_LABEL.
11241         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11243         <sysdeps/unix/sysv/linux/sysdep.h>.
11244         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11245         (SYSCALL_ERROR_ERRNO): Removed.
11246         (SYSCALL_ERROR_HANDLER): Changed to empty.
11247         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11248         (__syscall_error): New prototype.
11249         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11250         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11252 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11254         [BZ #19124]
11255         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11256         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11257         _dl_runtime_resolve_avx.
11258         (_dl_runtime_profile_avx512): Make it a hidden alias of
11259         _dl_runtime_profile_avx.
11261 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11263         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11264         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11265         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11266         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11268         [BZ #16422]
11269         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11270         New configure test.
11271         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11272         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11273         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11274         <math_private.h> and <stdint.h>.
11275         (__llrint): Avoid conversions to long long int where those might
11276         raise spurious exceptions.
11277         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11278         <math_private.h> and <stdint.h>.
11279         (__llrintf): Avoid conversions to long long int where those might
11280         raise spurious exceptions.
11282 2015-10-12  Andreas Schwab  <schwab@suse.de>
11284         [BZ #18969]
11285         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11286         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11287         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11288         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11289         $(gen-locales).
11290         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11291         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11292         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11293         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11294         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11295         $(gen-locales).
11296         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11297         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11298         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11299         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11300         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11301         ($(objpfx)tst-ftell-active-handler.out)
11302         ($(objpfx)tst-ftell-append.out)
11303         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11304         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11305         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11306         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11307         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11308         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11309         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11310         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11311         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11312         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11313         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11314         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11315         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11316         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11317         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11318         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11319         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11320         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11321         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11322         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11323         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11324         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11325         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11326         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11327         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11328         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11329         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11330         $(gen-locales).
11331         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11332         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11333         $(gen-locales).
11334         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11335         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11336         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11337         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11338         $(gen-locales).
11339         * libio/tst_wprintf2.c (main): Use explicit locale.
11340         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11342 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11344         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11345         __msg_sig_post.
11346         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11348 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11350         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11351         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11353         * sysdeps/arm/libm-test-ulps: Regenerated.
11355         [BZ #15470]
11356         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11358         [BZ #16399]
11359         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11360         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11361         and <fix-fp-int-convert-overflow.h>.
11362         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11363         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11364         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11365         and <fix-fp-int-convert-overflow.h>.
11366         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11367         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11368         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11369         <fix-fp-int-convert-overflow.h>.
11370         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11371         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11372         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11373         <fix-fp-int-convert-overflow.h>.
11374         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11375         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11376         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11377         and <fix-fp-int-convert-overflow.h>.
11378         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11379         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11380         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11381         <limits.h> and <fix-fp-int-convert-overflow.h>.
11382         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11383         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11384         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11385         and <fix-fp-int-convert-overflow.h>.
11386         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11387         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11388         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11389         and <fix-fp-int-convert-overflow.h>.
11390         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11391         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11392         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11394 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11396         [BZ #18589]
11397         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11398         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11399         $(gen-locales).
11401 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11402             Phil Blundell <pb@pbcl.net>
11404         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11405         * nptl/tst-cancel26.c: New file.
11406         * nptl/tst-cancel27.c: Likewise.
11408 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11410         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11411         __ILP32__ isn't defined.
11412         (lrint): Likewise.
11413         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11414         (lrintf): Likewise.
11415         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11416         (lrintl): Likewise.
11417         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11418         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11419         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11421 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11423         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11424         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11426         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11427         file.
11428         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11429         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11431 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11433         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11434         configure test.
11435         * sysdeps/i386/configure: Regenerated.
11436         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11437         configure test.
11438         * sysdeps/x86_64/configure: Regenerated.
11439         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11440         Make code unconditional.
11442         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11443         test.
11444         * sysdeps/i386/configure: Regenerated.
11445         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11446         test.
11447         * sysdeps/x86_64/configure: Regenerated.
11448         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11449         Make code unconditional.
11450         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11451         Likewise.
11452         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11453         Likewise.
11454         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11455         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11456         code unconditional.
11457         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11458         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11459         code unconditional.
11460         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11461         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11462         code unconditional.
11463         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11464         code unconditional.
11465         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11466         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11467         code unconditional.
11468         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11469         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11470         code unconditional.
11471         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11472         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11473         code unconditional.
11474         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11475         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11476         code unconditional.
11477         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11478         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11480         [BZ #19095]
11481         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11482         mantissa to long int before shifting left.
11484 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11486         [BZ #19094]
11487         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11488         <limits.h>.
11489         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11490         when result overflows but exception would not result from cast.
11491         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11492         <limits.h>.
11493         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11494         when result overflows but exception would not result from cast.
11495         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11496         <limits.h>.
11497         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11498         when result overflows but exception would not result from cast.
11499         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11500         <limits.h>.
11501         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11502         when result overflows but exception would not result from cast.
11503         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11504         <limits.h>.
11505         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11506         when result overflows but exception would not result from cast.
11507         * math/libm-test.inc (lrint_test_data): Add more tests.
11508         (llrint_test_data): Likewise.
11510 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11512         [BZ #18872]
11513         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11514         Move out from under [$(run-built-tests) = yes] conditional.
11515         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11516         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11518 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11520         [BZ #18589]
11521         * string/Makefile (tests): Add bug-strcoll2.
11522         (LOCALES): Add cs_CZ.UTF-8.
11523         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11525         [BZ #18589]
11526         * string/bug-strcoll2.c: New file.
11527         * locale/categories.def: Revert commit
11528         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11529         * locale/langinfo.h: Likewise.
11530         * locale/localeinfo.h: Likewise.
11531         * locale/C-collate.c: Likewise.
11532         * locale/programs/ld-collate.c (collate_output): Likewise.
11533         * string/strcoll_l.c (STRDIFF): Likewise.
11534         (STRCOLL): Likewise.
11535         * wcsmbs/wcscoll_l.c: Likewise.
11537 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11539         * math/libm-test.inc (lround_test_data): Do not expect the absence
11540         of "inexact" for some tests with non-integer arguments.
11541         (llround_test_data): Likewise.
11543         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11544         test.
11545         (libc_cv_cc_sse2avx): Likewise.
11546         * sysdeps/i386/configure: Regenerated.
11547         * sysdeps/i386/i686/multiarch/Makefile
11548         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11549         [$(subdir) = math].
11550         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11551         code unconditional.
11552         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11553         Likewise.
11554         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11555         Likewise.
11556         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11557         Likewise.
11558         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11559         test.
11560         (libc_cv_cc_sse2avx): Likewise.
11561         * sysdeps/x86_64/configure: Regenerated.
11562         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11563         unconditional.
11564         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11565         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11566         unconditional.
11567         (_dl_runtime_profile)
11568         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11569         conditional code.
11570         * sysdeps/x86_64/fpu/multiarch/Makefile
11571         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11572         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11573         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11574         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11576         * sysdeps/x86_64/fpu/multiarch/e_log.c
11577         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11578         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11579         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11580         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11581         Likewise.
11582         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11583         Likewise.
11584         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11585         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11586         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11587         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11588         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11589         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11590         (HAVE_SSE2AVX_SUPPORT): Likewise.
11592 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11594         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11595         instead of #pragma optimize.
11597 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11599         [BZ #17195]
11600         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11601         as is similarly done in systrim and _int_free already.
11603 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11605         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11607 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11609         [BZ #19088]
11610         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11611         <limits.h>.
11612         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11613         overflows but exception would not result from cast.
11614         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11615         and <limits.h>.
11616         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11617         overflows but exception would not result from cast.
11618         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11619         <limits.h>.
11620         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11621         overflows but exception would not result from cast.
11622         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11623         <limits.h>.
11624         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11625         overflows but exception would not result from cast.
11626         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11627         <limits.h>.
11628         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11629         overflows but exception would not result from cast.
11630         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11631         <limits.h>.
11632         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11633         overflows but exception would not result from cast.
11634         * math/libm-test.inc (lround_test_data): Add more tests.
11635         (llround_test_data): Likewise.
11637 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11639         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11640         (CFLAGS-ialloc.c): Ditto.
11641         (CFLAGS-scheck.c): Ditto.
11643 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11645         [BZ #19086]
11646         * manual/filesys.texi (Storage Allocation): Fix argument order for
11647         posix_fallocate64.
11649 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11651         [BZ #19085]
11652         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11653         exponent below 48 inside case for non-overflowing exponent.
11654         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11656 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11658         * iconvdata/cp737.h (from_idx): Add const.
11659         * iconvdata/cp775.h (from_idx): Likewise.
11661 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11663         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11664         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11665         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11667         [BZ #19079]
11668         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11669         file, conditioned on [!_LP64].
11670         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11671         [!_LP64] (__lround): Do not define as function or alias.
11672         [!_LP64] (lround): Likewise.
11673         [!_LP64] (__lroundl): Likewise.
11674         [!_LP64] (lroundl): Likewise.
11675         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11676         macro.
11677         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11678         Likewise.
11680 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11682         * math/libm-test.inc (lrint_test_data): Add more tests.
11683         (llrint_test_data): Likewise.
11684         (lround_test_data): Likewise.
11685         (llround_test_data): Likewise.
11687         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11688         (llrint_test_data): Add tests used for lrint.
11690         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11691         test.
11692         * sysdeps/i386/configure: Regenerated.
11693         * sysdeps/i386/i686/multiarch/Makefile
11694         [$(config-cflags-sse4) = yes]: Make code unconditional.
11695         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11696         Likewise.
11697         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11698         Likewise.
11699         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11700         test.
11701         * sysdeps/x86_64/configure: Regenerated.
11702         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11703         Make code unconditional.
11704         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11705         Likewise.
11706         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11707         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11709         * scripts/rpm2dynsym.sh: Remove file.
11711 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11713         * configure.ac (libc_cv_cxx_thread_local): Define.
11714         * configure: Regenerate.
11715         * config.make.in (have-cxx-thread_local): Define.
11716         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11717         (LDLIBS-tst-thread_local1): Define.
11718         (tests): Add tst-thread_local1.
11719         [have-cxx-thread_local != yes] (tests-unsupported): Add
11720         tst-thread_local1.
11721         * nptl/tst-thread_local1.cc: New file.
11723 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11725         [BZ #19078]
11726         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11727         (u_thres): Likewise.
11728         (__expl): Determine whether to call __kernel_standard_l based on
11729         value of result, not argument.
11731         * math/libm-test.inc (scalb_test_data): Add more expectations for
11732         the "inexact" exception.
11734         [BZ #19077]
11735         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11736         0.0L for argument 1.0L.
11738         [BZ #19076]
11739         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11740         constant 0.0L when computing infinite result.
11742 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11744         [BZ #10432]
11745         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11746         malloc_usable_size.
11748 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11750         [BZ #19018]
11751         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11752         Mangle function pointer before storing it.
11753         (__call_tls_dtors): Demangle function pointer before calling it.
11755 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11757         [BZ #19012]
11758         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11759         Clean up on failure.
11761 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11763         [BZ #19071]
11764         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11765         long int variable to store possibly incremented high part of
11766         mantissa.
11767         * math/libm-test.inc (lround_test_data): Add tests used for
11768         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11769         for tests requiring 64-bit long.  Do not condition tests on
11770         [TEST_FLOAT] unnecessarily.
11771         (llround_test_data): Add tests used for lround.  Add another
11772         expectation for the "inexact" exception.  Do not condition tests
11773         on [TEST_FLOAT] unnecessarily.
11775         [BZ #887]
11776         [BZ #19049]
11777         [BZ #19050]
11778         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11779         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11780         <fix-int-fp-convert-zero.h>.
11781         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11782         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11783         <fix-int-fp-convert-zero.h>.
11784         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11785         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11786         <fix-int-fp-convert-zero.h>.
11787         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11788         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11789         <fix-int-fp-convert-zero.h>.
11790         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11791         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11792         <fix-int-fp-convert-zero.h>.
11793         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11794         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11795         <fix-int-fp-convert-zero.h>.
11796         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11797         * sysdeps/ieee754/flt-32/s_erff.c: Include
11798         <fix-int-fp-convert-zero.h>.
11799         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11800         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11801         <fix-int-fp-convert-zero.h>.
11802         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11804         <fix-int-fp-convert-zero.h>.
11805         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11806         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11807         <fix-int-fp-convert-zero.h>.
11808         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11809         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11810         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11811         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11812         file.
11813         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11815 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11817         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11819 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11821         [BZ #19059]
11822         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11823         overflowing computation.
11824         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11825         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11826         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11827         Likewise.
11828         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11829         Likewise.
11830         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11831         Likewise.
11832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11833         Likewise.
11834         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11835         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11836         Likewise.
11837         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11838         Likewise.
11839         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11841         * nss/rewrite_field.c (__nss_rewrite_field): Use
11842         internal_function.
11843         * nss/valid_field.c (__nss_valid_field): Likewise.
11844         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11846 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11848         [BZ #18724]
11849         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11850         (__nss_invalid_field_characters, __nss_valid_field)
11851         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11852         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11853         tst-field.c: New file.
11854         * nss/Makefile (routines): Add valid_field, rewrite_field.
11855         (tests-static): Define unconditionally.
11856         (tests): Include tests-static.
11857         [build-static-nss] (tests-static): Use append.
11858         [build-static-nss] (tests): Remove modification.
11859         * nss/getent.c (print_group): Call putgrent.  Report error.
11860         (print_gshadow): Call putsgent.  Report error.
11861         (print_passwd): Call putpwent.  Report error.
11862         (print_shadow): Call putspent.  Report error.
11863         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11864         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11865         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11866         name, password, directory, shell fields for valid syntax.  Rewrite
11867         GECOS field to match syntax.
11868         * pwd/Makefile (tests): Add tst-putpwent.
11869         * pwd/tst-putpwent.c: New file.
11870         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11871         Check grName, grpasswd, gr_mem fields for valid syntax.
11872         Change loop variable i to size_t.
11873         * grp/Makefile (tests): Add tst-putgrent.
11874         * grp/tst-putgrent.c: New file.
11875         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11876         valid syntax.
11877         * shadow/Makefile (tests): Add tst-putspent.
11878         * shadow/tst-putspent.c: New file.
11879         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11880         sg_mem fields for valid syntax.
11881         * gshadow/Makefile (tests): Add tst-putsgent.
11882         * gshadow/tst-putsgent.c: New file.
11884 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11886         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11887         assembly instructions.
11889 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11891         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11892         prefix from operands.
11894 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11896         [BZ #16347]
11897         [BZ #19046]
11898         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11899         <libc-internal.h>.
11900         (MAXLGM): Do not use diagnostic control macros.
11901         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11902         threshold for ldbl-128ibm.
11903         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11904         instead of multiplying by log then subtracting.
11905         * math/auto-libm-test-in: Add more tests of lgamma.
11906         * math/auto-libm-test-out: Regenerated.
11908         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11909         (TYPE_HEX_DIG): Likewise.
11910         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11911         precisions when printing floating-point numbers.
11912         (check_float_internal): Likewise.
11914 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11916         [BZ #16620]
11917         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11918         of log (10) rounded downward to 48 bits.
11919         (log10_low): Use corresponding low part of log (10).
11921         [BZ #19032]
11922         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11923         compute result as (x - x) / (x - x) not as 0 / 0.
11924         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11925         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11927         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11928         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11929         and expm1.
11930         * math/auto-libm-test-out: Regenerated.
11931         * math/libm-test.inc (acos_test_data): Add more tests.
11932         (asin_test_data): Likewise.
11933         (asinh_test_data): Likewise.
11934         (atan_test_data): Likewise.
11935         (atanh_test_data): Likewise.
11936         (atan2_test_data): Likewise.
11937         (cbrt_test_data): Likewise.
11938         (ceil_test_data): Likewise.
11939         (copysign_test_data): Likewise.
11940         (cos_test_data): Likewise.
11941         (cosh_test_data): Likewise.
11942         (erf_test_data): Likewise.
11943         (erfc_test_data): Likewise.
11944         (exp_test_data): Likewise.
11945         (exp10_test_data): Likewise.
11946         (exp2_test_data): Likewise.
11947         (expm1_test_data): Likewise.
11948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11950 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11952         [BZ #19006]
11953         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11954         to ...
11955         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11956         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11957         to ...
11958         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11959         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11960         to ...
11961         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11962         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11963         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11964         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11965         to ...
11966         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11967         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11968         Moved to ...
11969         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11970         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11971         Moved to ...
11972         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11973         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11974         to ...
11975         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11976         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11977         Moved to ...
11978         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11979         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11980         to ...
11981         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11982         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11983         Removed.
11984         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11985         Likewise.
11986         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11987         Likewise.
11988         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11989         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11990         Likewise.
11991         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11994         Likewise.
11995         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11996         Likewise.
11997         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11998         Likewise.
11999         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12000         Likewise.
12001         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12002         Likewise.
12003         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12004         Likewise.
12005         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12008         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12009         Likewise.
12010         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12011         Likewise.
12012         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12013         Likewise.
12014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12015         Likewise.
12016         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12017         Likewise.
12018         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12019         Replace ../i486/pthread_cond_timedwait.S with
12020         ../pthread_cond_timedwait.S.
12022 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12024         * math/libm-test.inc (acos_test_data): Refine expectations for
12025         errno and "inexact" exceptions.
12026         (acosh_test_data): Likewise.
12027         (asin_test_data): Likewise.
12028         (asinh_test_data): Likewise.
12029         (atan_test_data): Likewise.
12030         (atanh_test_data): Likewise.
12031         (atan2_test_data): Likewise.
12032         (cbrt_test_data): Likewise.
12033         (ceil_test_data): Likewise.
12034         (copysign_test_data): Likewise.
12035         (cosh_test_data): Likewise.
12036         (erf_test_data): Likewise.
12037         (erfc_test_data): Likewise.
12038         (exp_test_data): Likewise.
12039         (exp10_test_data): Likewise.
12040         (exp2_test_data): Likewise.
12041         (expm1_test_data): Likewise.
12042         (fabs_test_data): Likewise.
12043         (floor_test_data): Likewise.
12044         (fma_test_data): Likewise.
12045         (fmax_test_data): Likewise.
12046         (fmin_test_data): Likewise.
12047         (fmod_test_data): Likewise.
12048         (fpclassify_test_data): Likewise.
12049         (frexp_test_data): Likewise.
12050         (hypot_test_data): Likewise.
12051         (ilogb_test_data): Likewise.
12052         (isgreater_test_data): Likewise.
12053         (isgreaterequal_test_data): Likewise.
12054         (isinf_test_data): Likewise.
12055         (isless_test_data): Likewise.
12056         (islessequal_test_data): Likewise.
12057         (islessgreater_test_data): Likewise.
12058         (isnan_test_data): Likewise.
12059         (isnormal_test_data): Likewise.
12060         (issignaling_test_data): Likewise.
12061         (isunordered_test_data): Likewise.
12062         (j0_test_data): Likewise.
12063         (j1_test_data): Likewise.
12064         (jn_test_data): Likewise.
12065         (lgamma_test_data): Likewise.
12066         (lrint_test_data): Likewise.
12067         (llrint_test_data): Likewise.
12068         (log_test_data): Likewise.
12069         (log10_test_data): Likewise.
12070         (log1p_test_data): Likewise.
12071         (log2_test_data): Likewise.
12072         (logb_test_data): Likewise.
12073         (lround_test_data): Likewise.
12074         (llround_test_data): Likewise.
12075         (modf_test_data): Likewise.
12076         (nearbyint_test_data): Likewise.
12077         (nextafter_test_data): Likewise.
12078         (nexttoward_test_data): Likewise.
12079         (pow_test_data): Likewise.
12080         (remainder_test_data): Likewise.
12081         (remquo_test_data): Likewise.
12082         (rint_test_data): Likewise.
12083         (round_test_data): Likewise.
12084         (signbit_test_data): Likewise.
12085         (sinh_test_data): Likewise.
12086         (sqrt_test_data): Likewise.
12087         (tanh_test_data): Likewise.
12088         (tgamma_test_data): Likewise.
12089         (trunc_test_data): Likewise.
12090         (y0_test_data): Likewise.
12091         (y1_test_data): Likewise.
12092         (yn_test_data): Likewise.
12093         (significand_test_data): Likewise.
12095 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12097         * manual/filesys.texi (Storage Allocation): Document that
12098         posix_fallocate emulation fails when fd is open with O_WRONLY.
12100 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12102         [BZ #19016]
12103         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12104         allow more cases with X^2 + Y^2 >= 0.5.
12105         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12106         normal element in sum instead of special-casing based on values of
12107         arguments.
12108         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12109         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12110         -1 as normal element in sum instead of special-casing based on
12111         values of arguments.
12112         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12113         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12114         (__x2y2m1): Update comment.
12115         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12116         as normal element in sum instead of special-casing based on values
12117         of arguments.
12118         * math/s_clog.c (__clog): Handle more cases using log1p without
12119         hypot.
12120         * math/s_clog10.c (__clog10): Likewise.
12121         * math/s_clog10f.c (__clog10f): Likewise.
12122         * math/s_clog10l.c (__clog10l): Likewise.
12123         * math/s_clogf.c (__clogf): Likewise.
12124         * math/s_clogl.c (__clogl): Likewise.
12125         * math/auto-libm-test-in: Add more tests of clog and clog10.
12126         * math/auto-libm-test-out: Regenerated.
12127         * sysdeps/i386/fpu/libm-test-ulps: Update.
12128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12130 2015-09-28  Martin Sebor  <msebor@redhat.com>
12132         [BZ #18969]
12133         * string/Makefile (LOCALES): Define.
12134         (gen-locales.mk): Include.
12135         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12136         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12137         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12138         on setlocale failure.
12140 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12142         [BZ #18985]
12143         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12144         (__strftime_internal): Likewise.
12145         * time/tst-strftime.c (do_bz18985): New test.
12146         (do_test): Call it.
12148 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12150         [BZ #18956]
12151         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12152         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12153         extracting high part.
12154         * math/auto-libm-test-in: Add another test of pow.
12155         * math/auto-libm-test-out: Regenerated.
12156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12158 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12160         [BZ #18825]
12161         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12162         New macro.
12163         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12164         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12165         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12166         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12167         DBL_NARROW_EVAL, reloading the PIC register as needed.
12168         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12169         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12170         FLT_NARROW_EVAL.  Use separate return path for case when first
12171         argument is NaN.
12172         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12173         DEFINE_LDBL_MIN.
12174         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12175         PIC register.
12176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12177         math_check_force_underflow_nonneg.
12178         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12179         underflow for subnormal result.
12180         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12182         math_check_force_underflow_nonneg.
12183         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12184         math_check_force_underflow.
12185         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12186         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12187         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12188         DEFINE_LDBL_MIN.
12189         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12190         * math/auto-libm-test-in: Add more tests of pow.
12191         * math/auto-libm-test-out: Regenerated.
12193 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12195         * nss/bug17079.c (init_test_items): Add diagnostic for
12196         inconsistent entries.
12197         (test_buffer_size): Skip inconsistent entries.
12199 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #13304]
12202         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12203         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12204         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12206         [BZ #13304]
12207         * sysdeps/microblaze/s_fma.c: New file.
12208         * sysdeps/microblaze/s_fmaf.c: Likewise.
12209         * sysdeps/microblaze/sfp-machine.h: Likewise.
12211 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12213         [BZ #17250]
12214         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12215         member.
12217 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12219         [BZ #18803]
12220         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12221         (MO): New macro.
12222         (__ieee754_hypot) [PIC]: Load PIC register.
12223         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12224         DBL_NARROW_EVAL.
12225         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12226         math_check_force_underflow_nonneg in case where result might be
12227         tiny.
12228         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12229         Likewise.
12230         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12231         Likewise.
12232         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12233         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12234         * math/auto-libm-test-in: Add more tests of hypot.
12235         * math/auto-libm-test-out: Regenerated.
12237 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12239         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12241 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12243         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12244         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12245         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12246         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12247         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12248         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12249         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12251         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12252         LOAD_PIC_REG.
12254         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12255         (FLT_CHECK_FORCE_UFLOW): Likewise.
12256         (DBL_CHECK_FORCE_UFLOW): Likewise.
12257         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12258         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12259         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12260         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12261         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12262         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12263         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12264         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12265         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12266         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12267         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12268         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12269         (flt_min): Replace with use of DEFINE_FLT_MIN.
12270         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12271         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12272         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12273         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12274         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12275         (flt_min): Replace with use of DEFINE_FLT_MIN.
12276         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12277         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12278         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12279         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12280         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12281         (flt_min): Replace with use of DEFINE_FLT_MIN.
12282         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12283         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12284         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12285         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12286         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12287         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12288         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12289         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12290         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12291         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12292         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12293         (flt_min): Replace with use of DEFINE_FLT_MIN.
12294         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12295         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12296         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12297         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12298         main computation.
12299         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12300         (flt_min): Replace with use of DEFINE_FLT_MIN.
12301         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12302         main computation.
12303         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12304         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12305         (MO): New macro.
12306         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12307         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12308         (flt_min): Replace with use of DEFINE_FLT_MIN.
12309         (MO): New macro.
12310         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12311         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12312         (__log1pl): Use MO.
12314         [BZ #19003]
12315         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12316         $(config-cflags-nofma).
12318 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12320         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12322 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12324         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12325         (TWO127): Likewise.
12327         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12328         (min_of_type): Likewise.
12329         (math_check_force_underflow): Likewise.
12330         (math_check_force_underflow_nonneg): Likewise.
12331         (math_check_force_underflow_complex): Likewise.
12332         * math/e_exp2l.c (__ieee754_exp2l): Use
12333         math_check_force_underflow_nonneg.
12334         * math/k_casinh.c (__kernel_casinh): Likewise.
12335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12337         * math/s_catan.c (__catan): Use
12338         math_check_force_underflow_complex.
12339         * math/s_catanf.c (__catanf): Likewise.
12340         * math/s_catanh.c (__catanh): Likewise.
12341         * math/s_catanhf.c (__catanhf): Likewise.
12342         * math/s_catanhl.c (__catanhl): Likewise.
12343         * math/s_catanl.c (__catanl): Likewise.
12344         * math/s_ccosh.c (__ccosh): Likewise.
12345         * math/s_ccoshf.c (__ccoshf): Likewise.
12346         * math/s_ccoshl.c (__ccoshl): Likewise.
12347         * math/s_cexp.c (__cexp): Likewise.
12348         * math/s_cexpf.c (__cexpf): Likewise.
12349         * math/s_cexpl.c (__cexpl): Likewise.
12350         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12351         * math/s_clog10.c (__clog10): Likewise.
12352         * math/s_clog10f.c (__clog10f): Likewise.
12353         * math/s_clog10l.c (__clog10l): Likewise.
12354         * math/s_clogf.c (__clogf): Likewise.
12355         * math/s_clogl.c (__clogl): Likewise.
12356         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12357         * math/s_csinf.c (__csinf): Likewise.
12358         * math/s_csinh.c (__csinh): Likewise.
12359         * math/s_csinhf.c (__csinhf): Likewise.
12360         * math/s_csinhl.c (__csinhl): Likewise.
12361         * math/s_csinl.c (__csinl): Likewise.
12362         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12363         * math/s_csqrtf.c (__csqrtf): Likewise.
12364         * math/s_csqrtl.c (__csqrtl): Likewise.
12365         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12366         * math/s_ctanf.c (__ctanf): Likewise.
12367         * math/s_ctanh.c (__ctanh): Likewise.
12368         * math/s_ctanhf.c (__ctanhf): Likewise.
12369         * math/s_ctanhl.c (__ctanhl): Likewise.
12370         * math/s_ctanl.c (__ctanl): Likewise.
12371         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12372         instead of volatile.
12373         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12374         math_check_force_underflow.
12375         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12376         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12377         volatile when forcing underflow.
12378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12379         math_check_force_underflow_nonneg.
12380         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12381         Likewise.
12382         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12383         math_check_force_underflow.
12384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12385         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12386         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12387         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12388         math_check_force_underflow_nonneg.
12389         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12390         math_check_force_underflow.
12391         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12393         instead of volatile.
12394         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12395         math_check_force_underflow.
12396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12397         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12398         math_check_force_underflow_nonneg.
12399         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12400         math_check_force_underflow.
12401         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12402         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12403         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12404         math_check_force_underflow_nonneg.
12405         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12406         Likewise.
12407         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12408         math_check_force_underflow.
12409         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12410         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12411         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12412         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12413         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12414         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12415         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12416         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12417         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12418         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12419         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12420         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12421         Likewise.
12422         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12423         math_check_force_underflow_nonneg.
12424         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12425         Likewise.
12426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12427         math_check_force_underflow.
12428         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12429         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12430         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12431         Likewise.
12432         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12433         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12434         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12435         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12436         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12437         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12439         instead of volatile.
12440         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12441         math_check_force_underflow.
12442         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12444         math_check_force_underflow.
12445         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12446         Likewise.
12447         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12448         Use math_check_force_underflow_nonneg.
12449         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12450         math_check_force_underflow.
12451         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12452         Likewise.
12453         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12454         Likewise.
12455         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12456         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12457         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12458         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12459         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12460         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12461         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12462         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12463         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12464         math_check_force_underflow_nonneg.
12465         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12466         math_check_force_underflow.
12467         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12468         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12469         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12470         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12471         math_check_force_underflow_nonneg.
12472         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12473         math_check_force_underflow.
12474         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12476         instead of volatile.
12477         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12478         math_check_force_underflow.
12480         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12481         * stdlib/strtod_l.c: Include <math_private.h>.
12482         (overflow_value): Use math_narrow_eval.
12483         (underflow_value): Likewise.
12484         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12485         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12486         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12487         (__ieee754_gamma_r): Likewise.
12488         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12489         Likewise.
12490         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12491         Likewise.
12492         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12493         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12494         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12495         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12496         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12497         (__ieee754_gammaf_r): Likewise.
12498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12499         Likewise.
12500         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12501         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12502         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12503         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12504         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12505         volatile.
12506         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12507         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12508         math_narrow_eval.
12509         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12510         Likewise.
12511         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12512         Likewise.
12513         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12514         Likewise.
12515         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12516         volatile.
12517         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12518         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12519         math_narrow_eval.
12520         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12521         Likewise.
12522         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12523         Likewise.
12525 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12527         * nptl/Versions: Remove ignored symbols.
12529 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12531         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12532         * nss/Makefile (tests): Update.
12534 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12536         * nss/bug18287.c: New file.
12537         * nss/Makefile (tests): Add bug18287.
12539 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12541         * mach/Versions (__mach_host_self_): Add symbol.
12543 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12545         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12546         vm_page_size.
12548 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12550         Really fix sysdeps/i386/fpu/s_scalbn.S build
12552         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12553         (libc: GLIBC_2_22): Remove unused version set.
12555 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12557         * config.make.in (enable-timezone-tools): New variable.
12558         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12559         (enable_timezone_tools): Export to generated files.
12560         * configure: Regenerate.
12561         * INSTALL: Regenerate.
12562         * manual/install.texi (--disable-timezone-tools): Document new flag.
12563         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12564         ifeq ($(enable-timezone-tools),yes) check.
12566 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12568         * timezone/Makefile: Revert previous change.
12570         [BZ #18980]
12571         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12572         (DEFINE_DBL_MIN): Likewise.
12573         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12574         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12575         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12576         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12577         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12578         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12579         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12580         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12581         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12582         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12583         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12584         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12585         (flt_min): Replace with use of DEFINE_FLT_MIN.
12586         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12587         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12588         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12589         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12590         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12591         (flt_min): Replace with use of DEFINE_FLT_MIN.
12592         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12593         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12594         (flt_min): Replace with use of DEFINE_FLT_MIN.
12595         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12596         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12597         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12598         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12599         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12600         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12601         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12602         (__ieee754_pow): Use DBL_NARROW_EVAL.
12603         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12604         (__ieee754_powf): Use FLT_NARROW_EVAL.
12605         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12606         (__ieee754_expf_sse2): Convert double-precision result to single
12607         precision.
12608         * sysdeps/i386/fpu/libm-test-ulps: Update.
12610 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12612         * timezone/Makefile: Ignore unused variable errors due to private.h
12613         (time_t_min) and (time_t_max).
12614         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12615         Likewise.
12617 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12619         [BZ #18981]
12620         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12621         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12622         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12623         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12624         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12625         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12626         (__scalbn): Use DBL_NARROW_EVAL.
12627         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12628         (__scalbnf): Use FLT_NARROW_EVAL.
12630 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12632         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12633         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12634         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12635         * stdio-common/printf_fp.c (___printf_fp):
12636         Use signbit to get the sign. Use isinf macro to allow inlining.
12637         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12638         * stdio-common/printf_size.c (__printf_size): Likewise.
12640 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12642         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12644 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12646         [BZ #18980]
12647         * sysdeps/generic/math_private.h: Include <float.h>.
12648         (math_narrow_eval): New macro.
12649         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12650         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12651         math_narrow_eval on overflowing return value.
12652         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12653         Likewise.
12654         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12655         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12657         Likewise.
12658         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12660 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12662         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12663         * math/Makefile: Remove isinf_ns.c.
12664         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12665         * math/multc3.c (__multc3): Likewise.
12666         * math/s_casin.c (__casin): Likewise.
12667         * math/s_casinf.c (__casinf): Likewise.
12668         * math/s_casinl.c (__casinl): Likewise.
12669         * math/s_cproj.c (__cproj): Likewise.
12670         * math/s_cprojf.c (__cprojf): Likewise.
12671         * math/s_cprojl.c (__cprofl): Likewise.
12672         * math/s_ctan.c (__ctan): Likewise.
12673         * math/s_ctanf.c (__ctanf): Likewise.
12674         * math/s_ctanh.c (__ctanh): Likewise.
12675         * math/s_ctanhf.c (__ctanhf): Likewise.
12676         * math/s_ctanhl.c (__ctanhl): Likewise.
12677         * math/s_ctanl.c (__ctanl): Likewise.
12678         * math/w_fmod.c (__fmod): Likewise.
12679         * math/w_fmodf.c (__fmodf): Likewise.
12680         * math/w_fmodl.c (_fmodl): Likewise.
12681         * math/w_remainder.c (__remainder): Likewise.
12682         * math/w_remainderf.c (__remainderf): Likewise.
12683         * math/w_remainderl.c (__remainderl): Likewise.
12684         * math/w_scalb.c (__scalb): Likewise.
12685         * math/w_scalbf.c (__scalbf): Likewise.
12686         * math/w_scalbl.c (__scalbl): Likewise.
12687         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12688         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12689         with isinf.
12690         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12691         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12692         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12693         __isinf_nsf with isinf.
12694         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12695         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12696         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12697         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12698         with isinf.
12699         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12700         __isinf_nsl with isinf.
12701         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12702         with isinf.
12703         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12704         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12705         __isinf_nsl with isinf.
12706         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12707         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12708         with isinf.
12710 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12712         * resolv/base64.c (rcsid): Remove unused static.
12713         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12714         static.  (tqpi1): Likewise.
12715         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12716         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12717         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12718         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12719         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12720         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12721         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12722         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12723         Likewise.
12725 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12727         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12728         <nptl/pthreadP.h>.
12729         (_longjmp_unwind): Use __libc_ptf_call.
12730         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12732 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12734         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12735         * sysdeps/arm/__longjmp.S: Likewise.
12737 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12739         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12740         Use __builtin_signbit.
12741         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12742         Use __builtin_signbitf.
12743         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12744         Use __builtin_signbitl.
12745         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12746         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12748 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12750         [BZ #15367]
12751         [BZ #17441]
12753         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12754         * math/math.h (fpclassify): Use __builtin_fpclassify when
12755         available.  (signbit): Use __builtin_signbit(f/l).
12756         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12757         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12758         (isinf): Use __builtin_isinf_sign.
12760 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12762         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12763         * benchtests/bench-math-inlines.c: New benchmark.
12764         * benchtests/bench-util.h: New file.
12765         * benchtests/bench-util.c: New file.
12766         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12768 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12770         * elf/tst-dlmopen1.c: Define TEST_SO.
12771         (do_test): Use TEST_SO.
12773         * elf/dl-load.c: Include libc-internal.h.
12774         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12776 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12778         [BZ #17887]
12779         * time/strptime_l.c (__strptime_internal): Make %z accept
12780         [+-]HH:MM time zones.
12782 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12784         [BZ #17886]
12785         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12786         valid time zone.
12788 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12790         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12791         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12793         (__ASSUME_FDATASYNC): Delete.
12795 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12797         * conform/linknamespace.pl: Require weak undefined symbols to be
12798         in the standard namespace.
12799         (%strong_syms): Rename to %seen_syms.
12800         (%strong_seen): Rename to %seen_where.
12802 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12804         [BZ #18970]
12805         * misc/error.c (error): Replace pthread_setcancelstate with
12806         __pthread_setcancelstate.
12807         (error_at_line): Likewise.
12808         * posix/wordexp.c (parse_comm): Likewise.
12809         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12810         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12811         (__pthread_setcancelstate): This.
12812         (pthread_setcancelstate): Add an alias.
12813         * nptl/nptl-init.c (pthread_functions): Replace
12814         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12815         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12816         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12817         hidden_proto.
12818         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12819         it with hidden_def.
12820         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12821         (pthread_setcancelstate): Renamed to ...
12822         (__pthread_setcancelstate): This.
12823         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12824         __libc_ptf_call with __pthread_setcancelstate.
12826 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12827             Andreas Schwab  <schwab@suse.de>
12829         [BZ #17118]
12830         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12831         result when imaginary part of argument is infinite using sine and
12832         cosine.
12833         * math/s_ctanf.c (__ctanf): Likewise.
12834         * math/s_ctanl.c (__ctanl): Likewise.
12835         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12836         of result when real part of argument is infinite using sine and
12837         cosine.
12838         * math/s_ctanhf.c (__ctanhf): Likewise.
12839         * math/s_ctanhl.c (__ctanhl): Likewise.
12840         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12841         (ctanh_test_data): Add more tests of ctanh.
12843 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12845         [BZ #15384]
12846         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12847         bit-mask as in subtraction.
12848         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12849         Likewise.
12850         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12851         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12852         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12854         [BZ #18951]
12855         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12856         underflow exception for small results.
12857         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12858         Likewise.
12859         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12860         Likewise.
12861         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12862         Likewise.
12863         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12864         Likewise.
12865         * math/auto-libm-test-in: Add more tests of tgamma.
12866         * math/auto-libm-test-out: Regenerated.
12868 2015-09-17  Andreas Schwab  <schwab@suse.de>
12870         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12872 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12874         [BZ #18977]
12875         * math/bits/mathcalls.h
12876         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12877         not declare.
12878         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12879         Likewise.
12880         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12881         Likewise.
12882         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12883         Likewise.
12884         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12885         Likewise.
12886         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12887         Likewise.
12888         * conform/data/math.h-data
12889         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12890         function.
12891         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12892         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12893         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12894         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12895         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12896         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12897         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12898         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12899         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12900         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12901         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12903         [BZ #6803]
12904         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12905         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12906         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12907         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12908         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12909         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12910         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12911         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12912         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12914         Likewise.
12915         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12916         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12917         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12918         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12919         long_double_symbol calls.
12920         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12921         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12922         strong alias of __ldexpl.
12923         (scalbnl): Define using long_double_symbol.
12924         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12925         Remove alias.
12926         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12927         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12928         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12929         (scalbln_test_data): Add more errno expectations.
12931 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12933         Cache the host port like we cache the task port.  This way we do not
12934         need to call the kernel just to get the port.  Furthermore, we no
12935         longer increase the reference count on every invocation of
12936         `mach_host_self'.
12938         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12939         Protect declarations against the macro expansion.
12940         * mach/mach_init.c (__mach_host_self_): New variable.
12941         (mach_init): Initialize `__mach_host_self_'.
12942         * mach/mach_init.h (__mach_host_self_): New declaration.
12943         (__mach_host_self, mach_host_self): New macros.
12944         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12945         Release reference.
12947 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12949         [BZ #4404]
12950         * po/de.po: Update from Translation Project.
12952         [BZ #16415]
12953         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12954         (__expm1l): Remove code to handle positive infinity and overflow.
12955         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12956         variable.
12957         (__expm1l): Remove code to handle positive infinity and overflow.
12959 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12960             Paul Pluzhnikov  <ppluzhnikov@google.com>
12962         [BZ #18872]
12963         * stdio-common/Makefile (tst-printf-bz18872): New test.
12964         (tst-printf-bz18872-mem.out): Likewise.
12965         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12966         * stdio-common/vfprintf.c: Fix memory leaks.
12968 2015-09-16  Andreas Schwab  <schwab@suse.de>
12970         [BZ #17244]
12971         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12972         Remove extra va_start/va_end calls.
12974         [BZ #17243]
12975         * posix/execl.c (execl): Add missing va_end.
12976         * posix/execle.c (execle): Likewise.
12977         * posix/execlp.c (execlp): Likewise.
12979 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12981         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12982         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12984 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12986         [BZ #18967]
12987         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12988         undefine around includes of <bits/mathcalls.h>.
12989         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12990         not declare function.
12991         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12992         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12993         (scalb): Likewise.
12994         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12995         not define macro.
12996         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12997         variable.
12998         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12999         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13000         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13002         [BZ #18857]
13003         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13004         return non-finite argument without doing ordered comparisons on
13005         it.
13007         [BZ #16296]
13008         * math/fenv.h (fegetround): Use __attribute_pure__.
13009         * include/fenv.h (__fegetround): Likewise.
13011         [BZ #18595]
13012         * math/s_ctan.c (__ctan): Force underflow exception for results
13013         whose real or imaginary part has small absolute value.
13014         * math/s_ctanf.c (__ctanf): Likewise.
13015         * math/s_ctanh.c (__ctanh): Likewise.
13016         * math/s_ctanhf.c (__ctanhf): Likewise.
13017         * math/s_ctanhl.c (__ctanhl): Likewise.
13018         * math/s_ctanl.c (__ctanl): Likewise.
13019         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13020         and ctanh.  Add more tests of ctan and ctanh.
13022         [BZ #15918]
13023         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13024         handling of cases where one argument is an infinity.
13026         [BZ #18875]
13027         [BZ #18966]
13028         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13029         (MO): New macro.
13030         (__ieee754_exp10): For small results, force underflow exception
13031         and remove excess range and precision from return value.
13032         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13033         (MO): New macro.
13034         (__ieee754_exp10f): For small results, force underflow exception
13035         and remove excess range and precision from return value.
13036         * math/auto-libm-test-in: Add more tests of exp10.
13037         * math/auto-libm-test-out: Regenerated.
13039 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13041         [BZ #18875]
13042         [BZ #18961]
13043         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13044         (MO): New macro.
13045         (__ieee754_exp): For small results, force underflow exception and
13046         remove excess range and precision from return value.
13047         (__exp_finite): Likewise.
13048         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13049         (MO): New macro.
13050         (__ieee754_expf): For small results, force underflow exception and
13051         remove excess range and precision from return value.
13052         (__expf_finite): Likewise.
13053         * math/auto-libm-test-in: Add more tests of exp.
13054         * math/auto-libm-test-out: Regenerated.
13056         [BZ #16521]
13057         [BZ #18875]
13058         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13059         small results.
13060         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13061         (MO): New macro.
13062         (__ieee754_exp2): For small results, force underflow exception and
13063         remove excess range and precision from return value.
13064         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13065         (MO): New macro.
13066         (__ieee754_exp2f): For small results, force underflow exception
13067         and remove excess range and precision from return value.
13068         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13069         (MO): New macro.
13070         (__ieee754_exp2l): Force underflow exception for small results.
13071         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13072         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13073         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13074         (MO): New macro.
13075         (__ieee754_exp2l): Force underflow exception for small results.
13076         * math/auto-libm-test-in: Add more tests or exp2.
13077         * math/auto-libm-test-out: Regenerated.
13079 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13081         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13083         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13084         /dev/null.
13086 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13088         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13089         io fs process)): Drop spurious backslash.
13091 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13094         Use sysinfo system call instead of parsing /proc/meminfo.
13095         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13096         Likewise.
13098 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13100         [BZ #16985]
13101         * programs/localedef.c (main): Display argv[remaining] when
13102         output_path is NULL.
13104 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13106         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13107         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13108         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13109         tanh.
13110         * math/auto-libm-test-out: Regenerated.
13111         * sysdeps/i386/fpu/libm-test-ulps: Update.
13112         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13113         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13116 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13118         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13119         Use 'override' keyword to freeze the value here, preventing
13120         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13122 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13124         [BZ #14912]
13125         * sysdeps/aarch64/bits/atomic.h: Move to ...
13126         * sysdeps/aarch64/atomic-machine.h: ...here.
13127         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13128         _AARCH64_ATOMIC_MACHINE_H.
13129         * sysdeps/alpha/bits/atomic.h: Move to ...
13130         * sysdeps/alpha/atomic-machine.h: ...here.
13131         * sysdeps/arm/bits/atomic.h: Move to ...
13132         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13133         * bits/atomic.h: Move to ...
13134         * sysdeps/generic/atomic-machine.h: ...here.
13135         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13136         * sysdeps/i386/bits/atomic.h: Move to ...
13137         * sysdeps/i386/atomic-machine.h: ...here.
13138         * sysdeps/ia64/bits/atomic.h: Move to ...
13139         * sysdeps/ia64/atomic-machine.h: ...here.
13140         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13141         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13142         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13143         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13144         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13145         * sysdeps/microblaze/bits/atomic.h: Move to ...
13146         * sysdeps/microblaze/atomic-machine.h: ...here.
13147         * sysdeps/mips/bits/atomic.h: Move to ...
13148         * sysdeps/mips/atomic-machine.h: ...here.
13149         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13150         * sysdeps/powerpc/bits/atomic.h: Move to ...
13151         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13152         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13153         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13154         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13155         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13156         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13157         <atomic-machine.h> instead of <bits/atomic.h>.
13158         * sysdeps/s390/bits/atomic.h: Move to ...
13159         * sysdeps/s390/atomic-machine.h: ...here.
13160         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13161         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13162         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13163         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13164         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13165         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13166         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13167         * sysdeps/tile/bits/atomic.h: Move to ...
13168         * sysdeps/tile/atomic-machine.h: ...here.
13169         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13170         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13171         <sysdeps/tile/atomic-machine.h> instead of
13172         <sysdeps/tile/bits/atomic.h>.
13173         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13174         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13175         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13176         <sysdeps/tile/atomic-machine.h> instead of
13177         <sysdeps/tile/bits/atomic.h>.
13178         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13179         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13180         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13181         <sysdeps/arm/atomic-machine.h> instead of
13182         <sysdeps/arm/bits/atomic.h>.
13183         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13184         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13185         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13186         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13187         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13188         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13189         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13190         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13191         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13192         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13193         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13194         * sysdeps/x86_64/bits/atomic.h: Move to ...
13195         * sysdeps/x86_64/atomic-machine.h: ...here.
13196         * include/atomic.h: Include <atomic-machine.h> instead of
13197         <bits/atomic.h>.
13199         * sysdeps/mips/mips32/libm-test-ulps: Update.
13200         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13202         [BZ #18952]
13203         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13204         not convert non-integer negative arguments to int to determine the
13205         value of signgam.
13206         * math/auto-libm-test-in: Add more tests of lgamma.
13207         * math/auto-libm-test-out: Regenerated.
13209         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13210         cosh, csqrt, erfc, expm1 and lgamma.
13211         * math/auto-libm-test-out: Regenerated.
13212         * sysdeps/i386/fpu/libm-test-ulps: Update.
13213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13215 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13217         [BZ #2542]
13218         [BZ #2543]
13219         [BZ #2558]
13220         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13221         __lgamma_neg for arguments from -28.0 to -2.0.
13222         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13223         __lgamma_negf for arguments from -15.0 to -2.0.
13224         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13225         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13226         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13227         Call __lgamma_negl for arguments from -33.0 to -2.0.
13228         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13229         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13230         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13231         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13232         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13233         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13234         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13235         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13236         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13237         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13238         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13239         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13240         (__lgamma_neg): Likewise.
13241         (__lgamma_negl): Likewise.
13242         (__lgamma_product): Likewise.
13243         (__lgamma_productl): Likewise.
13244         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13245         * math/auto-libm-test-in: Add more tests of lgamma.
13246         * math/auto-libm-test-out: Regenerated.
13247         * sysdeps/i386/fpu/libm-test-ulps: Update.
13248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13252         [BZ #18675]
13253         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13255 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13257         [BZ #14912]
13258         * bits/libc-lock.h: Move to ...
13259         * sysdeps/generic/libc-lock.h: ...here.
13260         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13261         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13262         * sysdeps/mach/hurd/libc-lock.h: ...here.
13263         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13264         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13265         * sysdeps/mach/bits/libc-lock.h: Move to ...
13266         * sysdeps/mach/libc-lock.h: ...here.
13267         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13268         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13269         * sysdeps/nptl/libc-lock.h: ...here.
13270         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13271         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13272         * sysdeps/nptl/libc-lockP.h: ...here.
13273         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13274         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13275         <bits/libc-lock.h>.
13276         * dirent/scandir-tail.c: Likewise.
13277         * dlfcn/dlerror.c: Likewise.
13278         * elf/dl-close.c: Likewise.
13279         * elf/dl-iteratephdr.c: Likewise.
13280         * elf/dl-lookup.c: Likewise.
13281         * elf/dl-open.c: Likewise.
13282         * elf/dl-support.c: Likewise.
13283         * elf/dl-writev.h: Likewise.
13284         * elf/rtld.c: Likewise.
13285         * grp/fgetgrent.c: Likewise.
13286         * gshadow/fgetsgent.c: Likewise.
13287         * gshadow/sgetsgent.c: Likewise.
13288         * iconv/gconv_conf.c: Likewise.
13289         * iconv/gconv_db.c: Likewise.
13290         * iconv/gconv_dl.c: Likewise.
13291         * iconv/gconv_int.h: Likewise.
13292         * iconv/gconv_trans.c: Likewise.
13293         * include/link.h: Likewise.
13294         * inet/getnameinfo.c: Likewise.
13295         * inet/getnetgrent.c: Likewise.
13296         * inet/getnetgrent_r.c: Likewise.
13297         * intl/bindtextdom.c: Likewise.
13298         * intl/dcigettext.c: Likewise.
13299         * intl/finddomain.c: Likewise.
13300         * intl/gettextP.h: Likewise.
13301         * intl/loadmsgcat.c: Likewise.
13302         * intl/localealias.c: Likewise.
13303         * intl/textdomain.c: Likewise.
13304         * libidn/idn-stub.c: Likewise.
13305         * libio/libioP.h: Likewise.
13306         * locale/duplocale.c: Likewise.
13307         * locale/freelocale.c: Likewise.
13308         * locale/newlocale.c: Likewise.
13309         * locale/setlocale.c: Likewise.
13310         * login/getutent_r.c: Likewise.
13311         * login/getutid_r.c: Likewise.
13312         * login/getutline_r.c: Likewise.
13313         * login/utmp-private.h: Likewise.
13314         * login/utmpname.c: Likewise.
13315         * malloc/mtrace.c: Likewise.
13316         * misc/efgcvt.c: Likewise.
13317         * misc/error.c: Likewise.
13318         * misc/fstab.c: Likewise.
13319         * misc/getpass.c: Likewise.
13320         * misc/mntent.c: Likewise.
13321         * misc/syslog.c: Likewise.
13322         * nis/nis_call.c: Likewise.
13323         * nis/nis_callback.c: Likewise.
13324         * nis/nss-default.c: Likewise.
13325         * nis/nss_compat/compat-grp.c: Likewise.
13326         * nis/nss_compat/compat-initgroups.c: Likewise.
13327         * nis/nss_compat/compat-pwd.c: Likewise.
13328         * nis/nss_compat/compat-spwd.c: Likewise.
13329         * nis/nss_nis/nis-alias.c: Likewise.
13330         * nis/nss_nis/nis-ethers.c: Likewise.
13331         * nis/nss_nis/nis-grp.c: Likewise.
13332         * nis/nss_nis/nis-hosts.c: Likewise.
13333         * nis/nss_nis/nis-network.c: Likewise.
13334         * nis/nss_nis/nis-proto.c: Likewise.
13335         * nis/nss_nis/nis-pwd.c: Likewise.
13336         * nis/nss_nis/nis-rpc.c: Likewise.
13337         * nis/nss_nis/nis-service.c: Likewise.
13338         * nis/nss_nis/nis-spwd.c: Likewise.
13339         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13340         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13341         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13342         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13343         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13344         * nis/nss_nisplus/nisplus-network.c: Likewise.
13345         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13346         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13347         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13348         * nis/nss_nisplus/nisplus-service.c: Likewise.
13349         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13350         * nis/ypclnt.c: Likewise.
13351         * nptl/libc_pthread_init.c: Likewise.
13352         * nss/getXXbyYY.c: Likewise.
13353         * nss/getXXent.c: Likewise.
13354         * nss/getXXent_r.c: Likewise.
13355         * nss/nss_db/db-XXX.c: Likewise.
13356         * nss/nss_db/db-netgrp.c: Likewise.
13357         * nss/nss_db/nss_db.h: Likewise.
13358         * nss/nss_files/files-XXX.c: Likewise.
13359         * nss/nss_files/files-alias.c: Likewise.
13360         * nss/nsswitch.c: Likewise.
13361         * posix/regex_internal.h: Likewise.
13362         * posix/wordexp.c: Likewise.
13363         * pwd/fgetpwent.c: Likewise.
13364         * resolv/res_hconf.c: Likewise.
13365         * resolv/res_libc.c: Likewise.
13366         * shadow/fgetspent.c: Likewise.
13367         * shadow/lckpwdf.c: Likewise.
13368         * shadow/sgetspent.c: Likewise.
13369         * socket/opensock.c: Likewise.
13370         * stdio-common/reg-modifier.c: Likewise.
13371         * stdio-common/reg-printf.c: Likewise.
13372         * stdio-common/reg-type.c: Likewise.
13373         * stdio-common/vfprintf.c: Likewise.
13374         * stdio-common/vfscanf.c: Likewise.
13375         * stdlib/abort.c: Likewise.
13376         * stdlib/cxa_atexit.c: Likewise.
13377         * stdlib/fmtmsg.c: Likewise.
13378         * stdlib/random.c: Likewise.
13379         * stdlib/setenv.c: Likewise.
13380         * string/strsignal.c: Likewise.
13381         * sunrpc/auth_none.c: Likewise.
13382         * sunrpc/bindrsvprt.c: Likewise.
13383         * sunrpc/create_xid.c: Likewise.
13384         * sunrpc/key_call.c: Likewise.
13385         * sunrpc/rpc_thread.c: Likewise.
13386         * sysdeps/arm/backtrace.c: Likewise.
13387         * sysdeps/generic/ldsodefs.h: Likewise.
13388         * sysdeps/generic/stdio-lock.h: Likewise.
13389         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13390         * sysdeps/i386/backtrace.c: Likewise.
13391         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13392         * sysdeps/m68k/backtrace.c: Likewise.
13393         * sysdeps/mach/hurd/cthreads.c: Likewise.
13394         * sysdeps/mach/hurd/dirstream.h: Likewise.
13395         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13396         * sysdeps/nptl/malloc-machine.h: Likewise.
13397         * sysdeps/nptl/stdio-lock.h: Likewise.
13398         * sysdeps/posix/dirstream.h: Likewise.
13399         * sysdeps/posix/getaddrinfo.c: Likewise.
13400         * sysdeps/posix/system.c: Likewise.
13401         * sysdeps/pthread/aio_suspend.c: Likewise.
13402         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13403         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13404         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13405         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13406         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13407         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13408         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13409         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13410         * sysdeps/unix/sysv/linux/system.c: Likewise.
13411         * sysdeps/x86_64/backtrace.c: Likewise.
13412         * time/alt_digit.c: Likewise.
13413         * time/era.c: Likewise.
13414         * time/tzset.c: Likewise.
13415         * wcsmbs/wcsmbsload.c: Likewise.
13416         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13417         instead of <bits/libc-lock.h> in comment.
13419 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13421         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13422         Only use .set mips2 if the current ISA is below mips2.
13423         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13424         Likewise.
13425         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13426         mips32r2 if the current ISA is below mips32r2.
13427         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13428         (TLS_IE): Updated to use the TLD_RDHWR macro.
13429         (TLS_LE): Likewise.
13430         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13431         __ASSEMBLER__ condition.
13433 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13435         Fix parallel build of before-compile targets.
13437         * sysdeps/mach/Makefile ($(patsubst
13438         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13439         mach-before-compile target.
13440         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13441         io fs process)): Move rule to dedicated hurd-before-compile target.
13443 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13445         Fix rules generating headers in hurd/ and mach/ when initial make call
13446         has subdir= explicitly set.
13448         * sysdeps/mach/Makefile ($(patsubst
13449         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13450         calling $(MAKE).
13451         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13452         io fs process)): Force subdir to hurd when calling $(MAKE).
13453         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13454         subdir to mach when calling $(MAKE).
13456 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13458         Check sysheaders when looking for Mach and Hurd headers
13460         * sysdeps/mach/configure.ac: Add sysheaders check.
13461         * sysdeps/mach/configure: Regenerate.
13462         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13463         * sysdeps/mach/hurd/configure: Regenerate.
13465 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13467         [BZ #18921]
13468         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13469         Fix inverted sense of test of 'o_directory_works' value.
13470         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13471         Bernhard Voelker <mail@bernhard-voelker.de>.
13473 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13475         [BZ #14912]
13476         * bits/linkmap.h: Move to ...
13477         * sysdeps/generic/linkmap.h: ...here.
13478         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13479         * sysdeps/aarch64/linkmap.h: ...here.
13480         * sysdeps/arm/bits/linkmap.h: Move to ...
13481         * sysdeps/arm/linkmap.h: ...here.
13482         * sysdeps/hppa/bits/linkmap.h: Move to ...
13483         * sysdeps/hppa/linkmap.h: ...here.
13484         * sysdeps/ia64/bits/linkmap.h: Move to ...
13485         * sysdeps/ia64/linkmap.h: ...here.
13486         * sysdeps/mips/bits/linkmap.h: Move to ...
13487         * sysdeps/mips/linkmap.h: ...here.
13488         * sysdeps/s390/bits/linkmap.h: Move to ...
13489         * sysdeps/s390/linkmap.h: ...here.
13490         * sysdeps/sh/bits/linkmap.h: Move to ...
13491         * sysdeps/sh/linkmap.h: ...here.
13492         * sysdeps/x86/bits/linkmap.h: Move to ...
13493         * sysdeps/x86/linkmap.h: ...here.
13494         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13496 2015-09-04  Andreas Schwab  <schwab@suse.de>
13498         [BZ #18635]
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13500         (__makecontext): Terminate FDE before return label.
13501         (__novec_makecontext): Likewise.
13503 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13505         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13506         first member of struct sv in syscall macro.
13508 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13510         [BZ #14912]
13511         * bits/stdio-lock.h: Move to ...
13512         * sysdeps/generic/stdio-lock.h: ...here.
13513         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13514         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13515         * sysdeps/nptl/stdio-lock.h: ...here.
13516         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13517         * include/libio.h: Include <stdio-lock.h> instead of
13518         <bits/stdio-lock.h>.
13519         * sysdeps/nptl/fork.c: Likewise.
13520         * sysdeps/pthread/flockfile.c: Likewise.
13521         * sysdeps/pthread/ftrylockfile.c: Likewise.
13522         * sysdeps/pthread/funlockfile.c: Likewise.
13524         [BZ #14912]
13525         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13526         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13527         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13528         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13529         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13530         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13531         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13533 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13535         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13536         (test-xfail-tst-protected1b): New variable.
13538 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13540         [BZ #14912]
13541         * bits/libc-tsd.h: Move to ...
13542         * sysdeps/generic/libc-tsd.h: ...here.
13543         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13544         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13545         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13546         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13547         * include/ctype.h: Include <libc-tsd.h> instead of
13548         <bits/libc-tsd.h>.
13549         * include/rpc/rpc.h: Likewise.
13550         * locale/localeinfo.h: Likewise.
13551         * sunrpc/rpc_thread.c: Likewise.
13552         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13553         * sysdeps/nptl/malloc-machine.h: Likewise.
13555         * Makefile (headers): Remove bits/libc-lock.h.
13556         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13558         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13559         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13560         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13561         <bits/stdio-lock.h>.
13562         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13563         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13565 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13567         [BZ #18757]
13568         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13569         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13570         BZ #18757.
13572 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13574         * malloc/mtrace.pl: Filter out NULL entries.
13576 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13578         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13579         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13580         macro.
13582         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13583         (TCP_CC_INFO): Likewise.
13584         (TCP_SAVE_SYN): Likewise.
13585         (TCP_SAVED_SYN): Likewise.
13587 2015-08-31  Brett Neumeier <brett@neumeier.us>
13589         [BZ #18870]
13590         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13592 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13594         [BZ #18873]
13595         Fix broken overflow check in posix_fallocate
13596         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13597         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13598         Fix parenthesization typo.
13600 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13602         [BZ #18887]
13603         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13604         tst-mntent-blank-passno.
13605         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13606         * misc/tst-mntent-blank-corrupt.c: New test.
13607         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13608         * misc/tst-mntent.c (do_test): ... here.
13610 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13612         [BZ #4404]
13613         * po/de.po: Fix SIGALRM typo.
13615 2015-08-28  James Perkins  <james@loowit.net>
13617         * time/tst-strptime2.c (tests): Replace short list of test
13618         strings for strptime %z specifier with code which exhaustively
13619         tests every combination of sign and 0 to 5 digits. Tests for
13620         rejection of invalid strings.
13622 2015-08-28  James Perkins  <james@loowit.net>
13624         [BZ #16141]
13625         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13626         calculation, removing incorrect decimal time rounding, so that
13627         all minute values result in a valid seconds value.
13628         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13629         offset range limits to UTC-99:59 through UTC+99:59 to parse
13630         current and historical use cases.
13631         * time/tst-strptime2.c (tests): Modify and add tests for the
13632         strptime %z input field descriptor, specifically conversion of
13633         minutes to seconds and validating an offset range of -9959 to
13634         +9959.
13636 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13637             Dmitry V. Levin  <ldv@altlinux.org>
13639         [BZ #18877]
13640         * posix/Makefile (tests): Add tst-mmap-offset.
13641         * posix/tst-mmap.c: New file.
13642         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13643         offset calculation for negative values.
13645 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13647         * sysdeps/i386/init-arch.h: New file.
13648         * sysdeps/i386/i586/init-arch.h: Likewise.
13649         * sysdeps/i386/i686/init-arch.h: Likewise.
13650         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13651         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13652         * sysdeps/x86/cpu-features.h (bit_I586): New.
13653         (bit_I686): Likewise.
13654         (bit_CX8): Likewise.
13655         (bit_CMOV): Likewise.
13656         (index_CX8): Likewise.
13657         (index_CMOV): Likewise.
13658         (index_I586): Likewise.
13659         (index_I686): Likewise.
13660         (reg_CX8): Likewise.
13661         (reg_CMOV): Likewise.
13662         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13663         available at compile-time.
13664         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13665         available at compile-time.
13666         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13667         (USE_I686): Likewise.
13669 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13671         * sysdeps/i386/bcopy.S: New file.
13672         * sysdeps/i386/bzero.S: Likewise.
13673         * sysdeps/i386/memcpy.S: Likewise.
13674         * sysdeps/i386/memmove.S: Likewise.
13675         * sysdeps/i386/mempcpy.S: Likewise.
13676         * sysdeps/i386/memset.S: Likewise.
13677         * sysdeps/i386/bzero.c: Removed.
13678         * sysdeps/i386/memset.c: Likewise.
13679         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13680         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13681         * sysdeps/i386/i586/memset_chk.S: Likewise.
13682         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13683         * sysdeps/i386/memcpy_chk.S: Here.
13684         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13685         * sysdeps/i386/memmove_chk.S: Here.
13686         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13687         * sysdeps/i386/mempcpy_chk.S: Likewise.
13688         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13689         * sysdeps/i386/memset_chk.S: Likewise.
13691 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13693         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13694         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13695         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13696         * soft-fp/fmadf4.c: Ditto.
13697         * soft-fp/fmatf4.c: Ditto.
13699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13701         * sysdeps/i386/i586/Implies: Removed.
13702         * sysdeps/i386/i686/Implies: Likewise.
13704 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13706         * sysdeps/i386/i486/strlen.S: Moved to ...
13707         * sysdeps/i386/strlen.S: Here.
13709 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13711         * sysdeps/i386/i486/strcat.S: Moved to ...
13712         * sysdeps/i386/strcat.S: Here.
13714 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13716         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13717         * sysdeps/i386/pthread_spin_trylock.S: Here.
13718         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13719         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13723         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13724         * sysdeps/i386/string-inlines.c: Here.
13726 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13728         * sysdeps/i386/i486/htonl.S: Moved ...
13729         * sysdeps/i386/htonl.S: here.
13731 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13733         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13734         * sysdeps/i386/bits/atomic.h: Here.
13736 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13738         * sysdeps/i386/i486/Versions: Removed.
13740 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13742         [BZ #2898]
13743         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13744         Based on patch by Aurelien Jarno.
13746 2015-08-26  Stan Shebs  <stanshebs@google.com>
13748         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13749         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13751 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13753         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13754         * sysdeps/powerpc/dl-procinfo.c:
13755         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13756         feature so it shows when LD_SHOW_AUXV=1.
13758 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13760         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13761         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13762         definition.  ISA 2.07B no longer requires full sync.
13764 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13766         [BZ #18863]
13767         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13768         (si_call_addr): Define.
13769         (si_syscall): Define.
13770         (si_arch): Define.
13772 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13774         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13775         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13776         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13777         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13778         (__memset_zero_constant_len_parameter): New.
13779         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13780         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13781         (__memset_zero_constant_len_parameter): Don't define if
13782         __memset_chk or USE_AS_BZERO are defined.
13784         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13785         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13786         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13788         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13789         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13790         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13791         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13792         comments.
13793         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13794         -mno-mmx for $(all-rtld-routines).
13795         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13796         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13797         i386.
13799 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13801         * sysdeps/generic/unwind.h
13802         (_Unwind_Word): Use __mode__(__unwind_word__)
13803         instead of __mode__(__word__).
13804         (_Unwind_Sword): Likewise.
13806         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13807         (MAX_NEEDED_INPUT): New define.
13808         (MAX_NEEDED_OUTPUT): New define.
13810         * NEWS: New item for IBM z13 string optimizations.
13812         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13813         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13814         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13815         * sysdeps/s390/multiarch/Makefile
13816         (sysdep_routines): Add memrchr functions.
13817         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13818         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13820         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13821         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13822         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13823         * sysdeps/s390/multiarch/Makefile
13824         (sysdep_routines): Add wmemcmp functions.
13825         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13826         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13827         * benchtests/bench-wmemcmp.c: New File.
13828         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13830         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13831         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13832         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13833         * sysdeps/s390/multiarch/Makefile
13834         (sysdep_routines): Add wmemset functions.
13835         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13836         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13837         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13838         * string/test-memset.c: Add wmemset support.
13839         * wcsmbs/test-wmemset.c: New File.
13840         * wcsmbs/Makefile (strop-tests): Add wmemset.
13841         * benchtests/bench-memset.c: Add wmemset support.
13842         * benchtests/bench-wmemset.c: New File.
13843         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13845         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13846         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13847         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13848         * sysdeps/s390/multiarch/Makefile
13849         (sysdep_routines): Add memccpy functions.
13850         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13851         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13852         * string/memccpy.c: Use MEMCCPY if defined.
13854         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13855         * sysdeps/s390/multiarch/memchr.c: Likewise.
13856         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13857         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13858         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13859         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13860         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13861         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13862         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13863         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13864         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13865         and rawmemchr functions.
13866         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13867         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13868         and wmemchr.
13869         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13870         * string/test-memchr.c: Add wmemchr support.
13871         * wcsmbs/test-wmemchr.c: New File.
13872         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13873         * benchtests/bench-memchr.c: Add wmemchr support.
13874         * benchtests/bench-wmemchr.c: New File.
13875         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13877         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13878         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13879         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13880         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13881         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13882         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13883         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13884         wcscspn functions.
13885         * sysdeps/s390/multiarch/ifunc-impl-list.c
13886         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13887         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13888         * string/test-strcspn.c: Add wcscspn support.
13889         * wcsmbs/test-wcscspn.c: New File.
13890         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13891         * benchtests/bench-strcspn.c: Add wcscspn support.
13892         * benchtests/bench-wcscspn.c: New File.
13893         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13895         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13896         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13897         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13898         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13899         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13900         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13902         wcspbrk functions.
13903         * sysdeps/s390/multiarch/ifunc-impl-list.c
13904         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13905         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13906         * string/test-strpbrk.c: Add wcspbrk support.
13907         * wcsmbs/test-wcspbrk.c: New File.
13908         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13909         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13910         * benchtests/bench-wcspbrk.c: New File.
13911         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13913         * sysdeps/s390/multiarch/strspn-c.c: New File.
13914         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13915         * sysdeps/s390/multiarch/strspn.c: Likewise.
13916         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13917         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13918         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13919         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13920         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13921         wcsspn functions.
13922         * sysdeps/s390/multiarch/ifunc-impl-list.c
13923         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13924         * string/test-strspn.c: Add wcsspn support.
13925         * wcsmbs/test-wcsspn.c: New File.
13926         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13927         * benchtests/bench-strspn.c: Add wcsspn support.
13928         * benchtests/bench-wcsspn.c: New File.
13929         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13931         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13932         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13933         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13934         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13935         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13936         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13937         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13938         wcsrchr functions.
13939         * sysdeps/s390/multiarch/ifunc-impl-list.c
13940         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13941         * benchtests/bench-wcsrchr.c: New File.
13942         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13944         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13945         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13946         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13947         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13948         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13949         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13950         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13951         wcschrnul functions.
13952         * sysdeps/s390/multiarch/ifunc-impl-list.c
13953         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13954         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13955         * string/test-strchr.c: Add wcschrnul support.
13956         * wcsmbs/test-wcschrnul.c: New File.
13957         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13958         * benchtests/bench-strchr.c: Add wcschrnul support.
13959         * benchtests/bench-wcschrnul.c: New File.
13960         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13962         * sysdeps/s390/multiarch/strchr-c.c: New File.
13963         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13964         * sysdeps/s390/multiarch/strchr.c: Likewise.
13965         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13966         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13967         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13969         wcschr functions.
13970         * sysdeps/s390/multiarch/ifunc-impl-list.c
13971         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13972         * string/strchr.c (STRCHR): Define and use macro.
13973         * benchtests/bench-wcschr.c: New File.
13974         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13976         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13977         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13978         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13979         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13980         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13981         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13982         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13983         wcsncmp functions.
13984         * sysdeps/s390/multiarch/ifunc-impl-list.c
13985         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13986         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13987         * benchtests/bench-strncmp.c: Add wcsncmp support.
13988         * benchtests/bench-wcsncmp.c: New File.
13989         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13991         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13992         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13993         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13994         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13995         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13996         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13997         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13999         wcscmp functions.
14000         * sysdeps/s390/multiarch/ifunc-impl-list.c
14001         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14002         * string/strcmp.c (STRCMP): Define and use macro.
14003         * benchtests/bench-wcscmp.c: New File.
14004         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14005         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14006         instead of _HAVE_STRING_ARCH_memchr.
14008         * sysdeps/s390/multiarch/strncat-c.c: New File.
14009         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14010         * sysdeps/s390/multiarch/strncat.c: Likewise.
14011         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14012         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14013         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14014         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14015         wcsncat functions.
14016         * sysdeps/s390/multiarch/ifunc-impl-list.c
14017         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14018         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14019         * string/test-strncat.c: Add wcsncat support.
14020         * wcsmbs/test-wcsncat.c: New File.
14021         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14022         * benchtests/bench-strncat.c: Add wcsncat support.
14023         * benchtests/bench-wcsncat.c: New File.
14024         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14026         * sysdeps/s390/multiarch/strcat-c.c: New File.
14027         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14028         * sysdeps/s390/multiarch/strcat.c: Likewise.
14029         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14030         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14031         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14032         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14033         wcscat functions.
14034         * sysdeps/s390/multiarch/ifunc-impl-list.c
14035         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14036         * string/strcat.c (STRCAT): Define and use macro.
14037         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14038         * string/test-strcat.c: Add wcscat support.
14039         * wcsmbs/test-wcscat.c: New File.
14040         * wcsmbs/Makefile (strop-tests): Add wcscat.
14041         * benchtests/bench-strcat.c: Add wcscat support.
14042         * benchtests/bench-wcscat.c: New File.
14043         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14045         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14046         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14047         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14048         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14049         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14050         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14052         wcpncpy functions.
14053         * sysdeps/s390/multiarch/ifunc-impl-list.c
14054         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14055         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14056         * string/test-stpncpy.c: Add wcpncpy support.
14057         * wcsmbs/test-wcpncpy.c: New File.
14058         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14059         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14060         * benchtests/bench-wcpncpy.c: New File.
14061         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14063         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14064         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14065         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14066         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14067         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14068         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14069         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14071         wcsncpy functions.
14072         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14073         * sysdeps/s390/multiarch/ifunc-impl-list.c
14074         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14075         * string/test-strncpy.c: Add wcsncpy support.
14076         * wcsmbs/test-wcsncpy.c: New File.
14077         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14078         * benchtests/bench-strncpy.c: Add wcsncpy support.
14079         * benchtests/bench-wcsncpy.c: New File.
14080         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14082         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14083         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14084         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14085         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14086         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14087         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14088         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14089         wcpcpy functions.
14090         * string/stpcpy.c: Use STPCPY if defined.
14091         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14092         * sysdeps/s390/multiarch/ifunc-impl-list.c
14093         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14094         * string/test-stpcpy.c: Add wcpcpy support.
14095         * wcsmbs/test-wcpcpy.c: New File.
14096         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14097         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14098         * benchtests/bench-wcpcpy.c: New File.
14099         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14101         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14102         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14103         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14104         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14105         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14106         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14107         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14108         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14109         wcscpy functions.
14110         * sysdeps/s390/multiarch/ifunc-impl-list.c
14111         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14112         * benchtests/bench-wcscpy.c: New File.
14113         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14115         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14116         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14117         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14118         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14119         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14120         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14122         wcsnlen functions.
14123         * sysdeps/s390/multiarch/ifunc-impl-list.c
14124         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14125         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14126         * string/test-strnlen.c: Add wcsnlen support.
14127         * wcsmbs/test-wcsnlen.c: New File.
14128         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14129         * benchtests/bench-strnlen.c: Add wcsnlen support.
14130         * benchtests/bench-wcsnlen.c: New File.
14131         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14133         * sysdeps/s390/multiarch/Makefile: New File.
14134         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14135         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14136         * sysdeps/s390/multiarch/strlen.c: Likewise.
14137         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14138         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14139         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14140         * string/strlen.c (STRLEN): Define and use macro.
14141         * sysdeps/s390/multiarch/ifunc-impl-list.c
14142         (IFUNC_VX_IMPL): New macro function.
14143         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14144         * benchtests/Makefile (wcsmbs-bench): New variable.
14145         (string-bench-all): Added wcsmbs-bench.
14146         * benchtests/bench-wcslen.c: New File.
14148         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14149         s390_vx_libc_ifunc2): New macro function.
14151         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14152         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14153         assembler support.
14154         * sysdeps/s390/configure: Regenerated.
14156         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14157         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14159         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14160         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14161         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14163         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14164         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14166         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14167         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14168         (memcmp, bcmp): Use __memcmp_default as alias source.
14169         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14170         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14171         Rename to __memcmp_default.
14172         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14173         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14174         (memcpy): Use __memcpy_default as alias source.
14175         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14176         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14177         Rename to __memcpy_default.
14178         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14179         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14180         (memset): Use __memset_default as alias source.
14181         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14182         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14183         Rename to __memset_default.
14184         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14185         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14186         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14187         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14188         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14189         (memcmp, bcmp): Use __memcmp_default as alias source.
14190         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14191         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14192         Rename to __memcmp_default.
14193         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14194         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14195         (memcpy): Use __memcpy_default as alias source.
14196         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14197         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14198         Rename to __memcpy_default.
14199         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14200         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14201         (memset): Use __memset_default as alias source.
14202         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14203         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14204         Rename to __memset_default.
14205         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14206         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14208         [BZ #18610]
14209         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14210         __ieee_instruction_pointer to __unused.
14211         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14212         __ieee_instruction_pointer.
14213         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14214         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14215         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14216         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14217         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14218         Mark dxc-field as reserved.
14220 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14222         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14223         if the weak reference is not null.
14225 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14227         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14229         [BZ #11214]
14230         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14232 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14235         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14236         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14237         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14238         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14239         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14240         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14241         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14242         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14243         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14244         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14245         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14246         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14247         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14248         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14249         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14250         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14251         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14253 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14255         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14256         register other than r0 for tabort, it has special meaning.
14257         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14258         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14259         transaction before starting syscall.
14261 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14263         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14265 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14267         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14269         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14270         * sysdeps/x86_64/rtld-memset.S: Likewise.
14271         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14272         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14273         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14274         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14276         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14278 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14280         * debug/strcpy_chk.c: Improve performance.
14281         * debug/stpcpy_chk.c: Likewise.
14282         * sysdeps/x86_64/strcpy_chk.S: Remove.
14283         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14285         [BZ #18240]
14286         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14288 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14290         [BZ #15128]
14291         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14292         ifuncmain8.
14293         (modules-names): Add ifuncmod8.
14294         ($(objpfx)ifuncmain8): New rule.
14295         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14296         <cpuid.h>.
14297         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14298         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14299         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14300         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14301         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14302         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14303         * sysdeps/x86_64/ifuncmain8.c: New file.
14304         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14305         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14306         Removed.
14307         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14308         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14309         Change rtld_savespace_sse to __glibc_unused2.
14310         (RTLD_CHECK_FOREIGN_CALL): Removed.
14311         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14312         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14313         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14315 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14317         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14319 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14321         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14322         Unconditionally set __fpcr to avoid uninialized warning.
14323         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14325 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14327         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14328         is corrupt.
14330         * malloc/arena.c (arena_get2): Drop unused argument.
14331         (arena_lock): Adjust.
14332         (arena_get_retry): Likewise.
14334 2015-08-24  Andreas Schwab  <schwab@suse.de>
14336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14337         Don't define.
14338         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14339         (__ASSUME_IPC64): Don't undef.
14340         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14341         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14342         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14343         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14344         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14345         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14346         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14347         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14348         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14349         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14350         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14351         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14352         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14353         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14354         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14355         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14356         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14357         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14358         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14359         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14362 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14364         * manual/Makefile (install): Only build manual when perl is available.
14366 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14368         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14369         '#undef memcpy' by '#undef memchr'.
14371 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14373         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14374         memchr not point to the internal __GI_memchr implementation.
14376 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14378         * timezone/Makefile (CFLAGS-zdump.c): Remove
14379         -Wno-strict-prototypes.
14380         (CFLAGS-zic.c): Likewise.
14381         (CFLAGS-ialloc.c): Likewise.
14382         (CFLAGS-scheck.c): Likewise.
14384         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14385         -Wno-error=undef.
14387 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14389         * i386/i686/multiarch/strcasestr-c.c: Removed.
14390         * x86_64/multiarch/strcasestr.c: Likewise.
14391         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14392         Remove strcasestr.
14394 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14396         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14398         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14399         variables for high and low parts before possibly modifying them.
14401 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14403         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14404         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14405         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14406         of "multiarch/init-arch.h".
14407         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14408         * sysdeps/x86/init-arch.h: This.
14410 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14412         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14413         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14415 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14417         [BZ #17787]
14418         * manual/macros.texi: Add twoexp macro.
14419         * manual/filesys.texi: Fix exponents.
14420         * manual/llio.texi: Likewise.
14421         * manual/stdio.texi: Likewise.
14423 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14425         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14426         incorrect use.
14428 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14430         [BZ #18370]
14431         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14432         whose real or imaginary part has small absolute value.
14433         * math/s_csqrtf.c (__csqrtf): Likewise.
14434         * math/s_csqrtl.c (__csqrtl): Likewise.
14435         * math/auto-libm-test-in: Add more tests of csqrt.
14436         * math/auto-libm-test-out: Regenerated.
14437         * sysdeps/i386/fpu/libm-test-ulps: Update.
14439 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14441         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14442         __ppc_set_ppr_very_low): New functions.
14443         * manual/platform.texi: Add documentation about
14444         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14446 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14448         * string/stpncpy.c (stpncpy): Improve performance using
14449         __strnlen/memcpy/memset.
14451 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14453         [BZ #18796]
14454         * scripts/test-installation.pl: Don't add -lmvec to build options if
14455         libmvec wasn't built.
14457 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14459         [BZ #14341]
14460         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14461         case when there is a gap between DT_REL and DT_JMPREL sections.
14462         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14463         (LDFLAGS-tst-split-dynreloc): New.
14464         (tst-split-dynreloc-ENV): Likewise.
14465         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14466         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14468 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14470         [BZ #18822]
14471         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14472         attribute_hidden.
14473         (__xstat64_conv): Likewise.
14474         (__xstat32_conv): Likewise.
14476 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14478         [BZ #18822]
14479         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14480         Don't load %ebx when calling __setcontext.  Call __setcontext
14481         with HIDDEN_JUMPTARGET.
14482         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14483         libc_hidden_def.
14485 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14487         * sysdeps/i386/i686/Makefile
14488         [$(subdir) == string] (sysdep_routines): Moved to ...
14489         * sysdeps/i386/Makefile: Here.
14490         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14491         * sysdeps/i386/cacheinfo.c: Here.
14492         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14493         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14494         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14495         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14497 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14499         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14500         __i586__ is defined.
14501         (HAS_I686): Defined to 1 if __i686__ is defined.
14503 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14505         * elf/Makefile [$(have-z-execstack) = yes]
14506         (CPPFLAGS-tst-execstack.c): New variable.
14508         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14509         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14510         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14511         UTMPX || _HAVE_UT_TV].
14512         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14513         UTMPX || _HAVE_UT_TV - 0].
14515 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14517         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14518         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14519         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14521 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14523         * sysdeps/powerpc/dl-procinfo.c:
14524         (_dl_powerpc_cap_flags): Added missing strings for some
14525         hwcap features.
14526         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14528 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14530         Port the 0x7efe...feff pattern to GCC 6.
14531         See Steve Ellcey's bug report in:
14532         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14533         * string/memrchr.c (MEMRCHR):
14534         * string/rawmemchr.c (RAWMEMCHR):
14535         * string/strchr.c (strchr):
14536         * string/strchrnul.c (STRCHRNUL):
14537         Rewrite code to avoid issues with signed shift overflow.
14539 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14541         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14542         whether cpuid is available only if HAS_CPUID is 0.
14543         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14544         (HAS_I586): Likewise.
14545         (HAS_I686): Likewise.
14547 2015-08-18  Zack Weinberg  <zackw@panix.com>
14549         * misc/Versions (libc): Add GLIBC_2.23.
14551 2015-08-18  Alan Modra  <amodra@gmail.com>
14553         [BZ #18421]
14554         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14555         .Lp__global.
14556         (_start): Load %dp via .Lp__global.
14557         [!SHARED]: Use .section .rodata.
14559 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14561         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14562         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14566         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14567         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14569 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14571         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14572         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14574 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14576         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14577         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14579 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14581         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14582         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14584 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14586         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14587         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14589 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14591         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14593 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14595         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14596         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14597         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14598         (__ASSUME_LWS_CAS): Delete.
14600 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14602         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14603         * sysdeps/hppa/configure: Regenerated.
14604         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14605         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14606         * sysdeps/hppa/nptl/tls.h: Likewise.
14608 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14610         [BZ #18823]
14611         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14612         for scaling up small arguments.
14613         * math/s_csqrtf.c (__csqrtf): Likewise.
14614         * math/s_csqrtl.c (__csqrtl): Likewise.
14615         * math/auto-libm-test-in: Add more tests of csqrt.
14616         * math/auto-libm-test-out: Regenerated.
14618 2015-08-17  Andreas Schwab  <schwab@suse.de>
14620         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14621         version set GLIBC_2.19.
14623 2015-08-16  Zack Weinberg  <zackw@panix.com>
14625         [BZ #18681]
14626         * misc/regexp.h: This interface is no longer supported.
14627         Remove all contents, leaving only an #error directive.
14628         * misc/regexp.c (loc1, loc2, locs, step, advance):
14629         Demote to compatibility symbols.
14631 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14633         [BZ #18084]
14634         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14635         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14636         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14637         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14638         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14639         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14640         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14641         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14642         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14644 2015-08-15  Zack Weinberg  <zackw@panix.com>
14646         [BZ #18795]
14647         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14648         buffer length is known to be too large, not if it's known to be
14649         small enough.
14650         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14651         overflow at runtime, involving a length parameter, twice: once
14652         with a compile-time constant length parameter, once without.
14654 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14656         [BZ #18824]
14657         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14658         scaling x * y up instead of down.
14659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14661         * math/auto-libm-test-in: Add more tests of fma.
14662         * math/auto-libm-test-out: Regenerated.
14664 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14666         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14668 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14671         unnecessary movq.
14672         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14673         Likewise.
14675 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14677         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14678         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14679         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14680         and tgamma.
14681         * math/auto-libm-test-out: Regenerated.
14682         * sysdeps/i386/fpu/libm-test-ulps: Update.
14683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14685         [BZ #16520]
14686         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14687         (__tanh): Force underflow exception for arguments with small
14688         absolute value.
14689         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14690         (__tanhf): Force underflow exception for arguments with small
14691         absolute value.
14692         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14693         (__tanhl): Force underflow exception for arguments with small
14694         absolute value.
14695         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14696         (__tanhl): Force underflow exception for arguments with small
14697         absolute value.
14698         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14699         (__tanhl): Force underflow exception for arguments with small
14700         absolute value.
14701         * math/auto-libm-test-in: Add more tests of tanh.
14702         * math/auto-libm-test-out: Regenerated.
14703         * sysdeps/i386/fpu/libm-test-ulps: Update.
14705 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14707         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14708         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14710 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14712         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14713         <cpuid.h>.
14715 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14717         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14718         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14720 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14722         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14723         Remove $(objpfx)init-arch.o.
14724         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14725         init-arch.
14726         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14727         (INIT_ARCH_EXT): Defined as empty.
14728         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14729         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14730         __init_cpu_features call.  Replace HAS_XXX with
14731         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14732         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14733         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14734         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14735         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14736         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14737         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14738         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14739         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14742         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14743         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14745         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14746         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14747         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14748         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14749         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14750         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14751         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14752         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14753         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14754         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14755         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14756         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14757         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14758         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14759         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14760         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14762         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14763         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14766         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14768 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14770         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14771         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14772         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14773         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14774         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14775         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14776         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14777         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14778         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14779         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14780         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14781         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14782         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14783         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14784         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14785         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14786         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14787         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14788         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14789         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14790         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14791         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14792         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14793         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14794         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14795         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14796         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14797         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14798         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14799         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14800         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14801         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14802         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14803         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14804         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14805         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14806         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14807         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14808         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14809         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14810         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14811         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14812         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14814 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14816         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14817         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14818         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14821         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14822         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14823         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14824         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14825         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14826         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14827         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14828         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14829         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14830         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14831         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14832         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14833         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14834         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14835         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14837         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14838         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14839         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14840         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14841         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14842         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14843         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14844         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14845         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14846         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14847         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14848         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14849         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14851         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14852         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14853         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14854         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14855         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14856         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14857         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14858         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14860 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14862         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14863         (dl_platform_init): Call init_cpu_features.
14864         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14865         * sysdeps/i386/i686/cacheinfo.c
14866         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14867         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14868         * sysdeps/i386/i686/multiarch/Versions: Removed.
14869         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14870         Removed.
14871         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14872         * sysdeps/unix/sysv/linux/x86/Makefile
14873         (libpthread-sysdep_routines): Remove init-arch.
14874         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14875         <sysdeps/x86_64/dl-procinfo.c> instead of
14876         sysdeps/generic/dl-procinfo.c>.
14877         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14878         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14879         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14880         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14881         [$(subdir) == elf] (tests-static): Add
14882         tst-get-cpu-features-static.
14883         * sysdeps/x86/Versions: New file.
14884         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14885         * sysdeps/x86/cpu-features.c: Likewise.
14886         * sysdeps/x86/cpu-features.h: Likewise.
14887         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14888         * sysdeps/x86/libc-start.c: Likewise.
14889         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14890         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14891         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14892         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14893         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14894         Assume USE_MULTIARCH is defined and don't check it.
14895         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14896         (is_amd): Likewise.
14897         (max_cpuid): Likewise.
14898         (intel_check_word): Likewise.
14899         (__cache_sysconf): Don't call __init_cpu_features.
14900         (__x86_preferred_memory_instruction): Removed.
14901         (init_cacheinfo): Don't call __init_cpu_features. Replace
14902         __cpu_features with GLRO(dl_x86_cpu_features).
14903         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14904         (dl_platform_init): Call init_cpu_features.
14905         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14906         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14907         * sysdeps/x86_64/multiarch/Versions: Removed.
14908         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14909         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14910         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14911         Removed.
14912         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14914 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14916         [BZ #18820]
14917         * libio/Makefile (test-fmemopen-mem): New test.
14918         * libio/test-fmemopen.c (do_bz18820): New test.
14919         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14920         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14922 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14924         [BZ #16734]
14925         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14926         (FREE_BUF): Delete.
14927         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14928         * libio/genops.c (_IO_setb): Use malloc and free directly.
14929         (_IO_default_doallocate, _IO_default_finish): Likewise.
14930         ( _IO_unbuffer_all): Likewise.
14931         ( libc_freeres_fn): Likewise.
14932         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14933         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14934         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14935         (_IO_wdefault_doallocate): Likewise.
14937 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14939         [BZ #18086]
14940         * sysdeps/posix/nice.c (nice): Restore old errno.
14941         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14943 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14945         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14947 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14949         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14950         __bcopy and add a weak_alias to bcopy.
14951         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14952         for static build.
14954         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14955         cleanup macro usage.
14956         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14959         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14960         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14961         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14962         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14963         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14964         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14965         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14967         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14969         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14971         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14972         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14974         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14976         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14977         libc_hidden_def.
14978         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14980         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14981         (sysdep_routines): Add strstr-ppc64.
14982         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14984 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14986         [BZ #18778]
14987         * elf/Makefile (tests): Add Add tst-nodelete2.
14988         (modules-names): Add tst-nodelete2mod.
14989         (tst-nodelete2mod.so-no-z-defs): New.
14990         ($(objpfx)tst-nodelete2): Likewise.
14991         ($(objpfx)tst-nodelete2.out): Likewise.
14992         (LDFLAGS-tst-nodelete2): Likewise.
14993         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14994         out of loop through all loaded libraries.
14995         * elf/tst-nodelete2.c: New file.
14996         * elf/tst-nodelete2mod.c: Likewise.
14997         * elf/tst-znodelete-zlib.cc: Delete.
14999 2015-08-11  Andreas Schwab  <schwab@suse.de>
15001         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15002         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15003         (__openat64_nocancel): Likewise.
15005 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15007         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15008         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15009         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15010         * math/auto-libm-test-out: Regenerated.
15011         * sysdeps/i386/fpu/libm-test-ulps: Update.
15012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15016         [BZ #18790]
15017         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15018         threshold for returning +/- 1.
15019         * math/auto-libm-test-in: Add more tests of tanh.
15020         * math/auto-libm-test-out: Regenerated.
15021         * sysdeps/i386/fpu/libm-test-ulps: Update.
15023 2015-08-10  Andreas Schwab  <schwab@suse.de>
15025         [BZ #18781]
15026         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15027         MORE_OFLAGS to oflag.
15028         * io/test-lfs.c (do_test): Test openat64.
15030 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15032         [BZ #18789]
15033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15034         smaller threshold for returning the argument.
15035         * math/auto-libm-test-in: Add more tests of sinh.
15036         * math/auto-libm-test-out: Regenerated.
15037         * sysdeps/i386/fpu/libm-test-ulps: Update.
15039 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15041         [BZ #18674]
15042         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15043         break.
15045 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15047         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15048         (generated): Don't add $(addprefix z.,$(tzfiles)).
15050 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15052         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15053         * scripts/sysd-rules.awk: Likewise.
15055 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15057         * iconvdata/tst-tables.sh: Change echo -n to printf.
15058         * nss/db-Makefile: Likewise.
15059         * posix/tst-getconf.sh: Likewise.
15060         * stdio-common/tst-unbputc.sh: Likewise.
15062 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15064         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15065         MADV_*_PAGES defines behind this feature check.
15067 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15069         [BZ #18480]
15070         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15071         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15072         Define.
15073         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15074         LOAD_REGS_5, LOAD_REGS_6): Update.
15075         (INTERNAL_SYSCALL): Update using new LOAD defines.
15076         (INTERNAL_SYSCALL_NCS): Likewise.
15077         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15079 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15081         [BZ #16734]
15082         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15084 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15086         [BZ #17905]
15087         * catgets/Makefile (tst-catgets-mem): New test.
15088         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15089         * catgets/open_catalog.c (__open_catalog): Likewise.
15090         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15092 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15094         [BZ #18787]
15095         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15096         clobber registers.
15097         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15098         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15099         Cast return to __typeof (oldval).
15101 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15103         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15104         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15105         and delete sys/syscall.h include.
15107 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #16517]
15110         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15111         (tan): Force underflow exception for arguments with small absolute
15112         value.
15113         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15114         (__kernel_tanf): Force underflow exception for arguments with
15115         small absolute value.
15116         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15117         (__kernel_tanl): Force underflow exception for arguments with
15118         small absolute value.
15119         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15120         (__kernel_tanl): Force underflow exception for arguments with
15121         small absolute value.
15122         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15123         (__kernel_tanl): Force underflow exception for arguments with
15124         small absolute value.
15125         * math/auto-libm-test-in: Add more tests of tan.
15126         * math/auto-libm-test-out: Regenerated.
15128 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15130         Fix sysdeps/i386/fpu/s_scalbn.S build
15132         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15134 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15136         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15138 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15140         Fix gcrt0.o compilation
15142         When static-start-installed-name is different from
15143         start-installed-name, we must not use the shared objects.
15145         * csu/Makefile
15146         (extra-objs): Add gmon-start.o when building shared library and
15147         $(static-start-installed-name) is different from
15148         $(start-installed-name).
15149         $(objpfx)g$(static-start-installed-name): When building shared
15150         library and $(static-start-installed-name) is different from
15151         $(static-start-installed-name), revert to non-shared rule,
15152         i.e. using $(objpfx)% and gmon-start.o.
15154 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15156         [BZ #16519]
15157         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15158         (__ieee754_sinh): Force underflow exception for arguments with
15159         small absolute value.
15160         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15161         (__ieee754_sinhf): Force underflow exception for arguments with
15162         small absolute value.
15163         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15164         (__ieee754_sinhl): Force underflow exception for arguments with
15165         small absolute value.
15166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15167         (__ieee754_sinhl): Force underflow exception for arguments with
15168         small absolute value.
15169         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15170         (__ieee754_sinhl): Force underflow exception for arguments with
15171         small absolute value.
15172         * math/auto-libm-test-in: Add more tests of sinh.
15173         * math/auto-libm-test-out: Regenerated.
15174         * sysdeps/i386/fpu/libm-test-ulps: Update.
15176 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15178         * libio/oldfileops.c: Include unistd.h.
15180 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15182         * stdlib/isomac.c: Include ctype.h.
15184 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15186         * dirent/tst-seekdir.c (main): Converted to ...
15187         (do_test): ... this.
15188         (TEST_FUNCTION): New macro.
15189         Include test-skeleton.c.
15190         * elf/tst-dlmodcount.c (main): Converted to ...
15191         (do_test): ... this.
15192         (TEST_FUNCTION): New macro.
15193         Include test-skeleton.c.
15194         * elf/tst-order-main.c (main): Converted to ...
15195         (do_test): ... this.
15196         (TEST_FUNCTION): New macro.
15197         Include test-skeleton.c.
15198         * elf/tst-pie2.c (main): Converted to ...
15199         (do_test): ... this.
15200         (TEST_FUNCTION): New macro.
15201         Include test-skeleton.c.
15202         * inet/tst-ether_aton.c (main): Converted to ...
15203         (do_test): ... this.
15204         (TEST_FUNCTION): New macro.
15205         Include test-skeleton.c.
15206         * misc/tst-mntent.c (main): Converted to ...
15207         (do_test): ... this.
15208         (TEST_FUNCTION): New macro.
15209         Include test-skeleton.c.
15210         * misc/tst-tsearch.c (main): Converted to ...
15211         (do_test): ... this.
15212         (TEST_FUNCTION): New macro.
15213         Include test-skeleton.c.
15214         * posix/tst-regexloc.c (main): Converted to ...
15215         (do_test): ... this.
15216         (TEST_FUNCTION): New macro.
15217         Include test-skeleton.c.
15218         * resolv/tst-aton.c (main): Converted to ...
15219         (do_test): ... this.
15220         (TEST_FUNCTION): New macro.
15221         Include test-skeleton.c.
15222         * stdio-common/test-fwrite.c (main): Converted to ...
15223         (do_test): ... this.
15224         (TEST_FUNCTION): New macro.
15225         Include test-skeleton.c.
15226         * stdio-common/tst-ferror.c (main): Converted to ...
15227         (do_test): ... this.
15228         (TEST_FUNCTION): New macro.
15229         Include test-skeleton.c.
15230         * stdio-common/tst-printf.c (main): Converted to ...
15231         (do_test): ... this.
15232         (TEST_FUNCTION): New macro.
15233         Include test-skeleton.c.
15234         * stdio-common/tst-printfsz.c (main): Converted to ...
15235         (do_test): ... this.
15236         (TEST_FUNCTION): New macro.
15237         Include test-skeleton.c.
15238         * stdlib/tst-strtod.c (main): Converted to ...
15239         (do_test): ... this.
15240         (TEST_FUNCTION): New macro.
15241         Include test-skeleton.c.
15242         * string/tst-strlen.c (main): Converted to ...
15243         (do_test): ... this.
15244         (TEST_FUNCTION): New macro.
15245         Include test-skeleton.c.
15246         * string/tst-svc.c (main): Converted to ...
15247         (do_test): ... this.
15248         (TEST_FUNCTION): New macro.
15249         Include test-skeleton.c.
15250         * time/tst-strptime.c (main): Converted to ...
15251         (do_test): ... this.
15252         (TEST_FUNCTION): New macro.
15253         Include test-skeleton.c.
15254         * timezone/tst-timezone.c (main): Converted to ...
15255         (do_test): ... this.
15256         (TEST_FUNCTION): New macro.
15257         Include test-skeleton.c.
15259 2015-08-05  Zack Weinberg  <zackw@panix.com>
15261         * misc/regexp.h: Update comments.
15263 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15265         [BZ #18635]
15266         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15267         before return label.
15269 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15271         [BZ #18661]
15272         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15273         when calling __errno_location.
15274         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15275         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15277 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15279         [BZ #18661]
15280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15281         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15282         __gettimeofday.
15284 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15286         [BZ #18661]
15287         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15288         (__start_context): Don't use pop to restore %rdi so that stack
15289         is aligned to 16 bytes when calling __setcontext.
15291 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15293         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15294         only for libc.
15295         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15297 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15299         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15300         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15301         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15303 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15305         * string/memccpy.c (memccpy):
15306         Improve performance by using memchr/memcpy/__mempcpy.
15308 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15310         * string/strncpy.c (strncpy):
15311         Improve performance by using __strnlen/memcpy.
15313 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15315         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15316         Optimize to avoid an unnecessary FPCR read.
15318 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15320         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15321         Optimize to reduce FPCR/FPSR accesses.
15323 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15325         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15326         dead->data[category] != NULL.
15328 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15330         [BZ #18647]
15331         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15332         and |x| close to 1, use absolute value of x when computing log.
15333         * math/auto-libm-test-in: Add more tests of pow.
15334         * math/auto-libm-test-out: Regenerated.
15336 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15338         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15339         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15340         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15342 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15344         [BZ #18525]
15345         * locales/km_KH: Remove timezone definition.
15346         * locales/lo_LA: Likewise.
15347         * locales/my_MM: Likewise.
15348         * locales/nan_TW@latin: Likewise.
15349         * locales/th_TH: Likewise.
15350         * locales/uk_UA: Likewise.
15352 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15354         [BZ #18265]
15355         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15356         (wcsncat): Likewise.
15357         (wcscmp): Likewise.
15358         (wcsncmp): Likewise.
15360 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15362         * test-skeleton.c (usage): New function.
15363         (main): Call usage when opt is '?'.
15365 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15367         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15368         before first use.
15370 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15372         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15373         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15374         in there too.
15376 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15378         * version.h (RELEASE): Set to "development".
15379         (VERSION): Set to "2.22.90"
15381         * version.h (RELEASE): Set to "stable".
15382         (VERSION): Set to "2.22"
15383         * include/features.h (__GLIBC_MINOR__): Set to 22.
15385 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15387         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15388         Restructure macro to avoid "value computed is not used" warning.
15389         (atomic_compare_and_exchange_val_acq): Likewise.
15391 2015-08-04  Andreas Schwab  <schwab@suse.de>
15393         [BZ #18635]
15394         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15395         ret.
15396         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15398 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15400         * po/pl.po: Updated translation.
15401         * po/uk.po: Likewise.
15402         * po/fi.po: Likewise.
15403         * po/ko.po: Likewise.
15404         * po/ru.po: Likewise.
15405         * po/vi.po: Likewise.
15407 2015-07-31  Zack Weinberg  <zackw@panix.com>
15409         [BZ #18681]
15410         * regexp.h: Add unconditional #warning stating that this header
15411         will be removed soon.  Revise banner comment to match.
15412         (compile): Consistently use ERROR instead of RETURN to report
15413         errors (partial fix for bz#18681).
15414         * regexp.c: Don't include regexp.h. Remove some unnecessary
15415         declarations.
15417 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15419         * po/libc.pot: Regenerated.
15421 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15423         [BZ #18740]
15424         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15425         float-vlen4-arch-ext-cflags): Removed.
15426         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15427         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15429 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15431         [BZ #14113]
15432         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15433         aligned to __aligned__.
15434         (pthread_cond_t, pthread_rwlock_t): Likewise.
15436 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15438         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15440 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15442         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15443         (struct sigaction): Change sa_flags from a long to an int, and add
15444         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15446 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15448         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15449         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15450         sysdeps/generic/sysdep.h include.
15451         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15452         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15453         sysdeps/hppa/sysdep.h.
15454         (ENTRY, PSEUDO): Undefine before defining.
15456 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15458         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15459         from scratch to use INTERNAL_SYSCALL.
15461 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15463         [BZ #18078]
15464         * scripts/check-localplt.awk: Support alternate relocations.
15465         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15466         sections.
15467         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15468         malloc entries with + REL R_386_GLOB_DAT.
15469         * sysdeps/x86_64/localplt.data: New file.
15471 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15473         [BZ #18731]
15474         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15475         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15476         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15478 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15480         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15482 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15484         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15485         directly in terms of __sync_fetch_and_add and delete (int) cast.
15487 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15489         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15490         the -D_ASM_IA64_CURRENT_H flag.
15492 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15494         [BZ #18641]
15495         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15497 2015-07-27  Andreas Schwab  <schwab@suse.de>
15499         * conform/conformtest.pl (checknamespace): Filter out string
15500         literals while tokenizing.
15502 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15504         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15505         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15506         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15508 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15510         * nptl/tst-join7mod.c: Add #include <string.h>.
15512 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15514         * sysdeps/nios2/libm-test-ulps: Update.
15516 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15518         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15519         Fix order of arguments to the rt_sigprocmask syscall.
15520         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15521         Likewise.
15523 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15525         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15527 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15529         [BZ #18457]
15530         * nptl/Makefile (tests): New test case tst-join7.
15531         (modules-names): New test case module tst-join7mod.
15532         * nptl/tst-join7.c: New file.
15533         * nptl/tst-join7mod.c: New file.
15534         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15535         all translation units in libc.so, libpthread.so and rtld.
15537 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15541 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15543         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15544         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15545         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15546         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15547         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15548         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15550         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15553         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15554         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15555         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15556         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15557         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15558         implementation.
15560 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15562         [BZ #17711]
15563         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15564         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15565         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15566         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15567         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15568         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15570 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15572         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15573         instead of just saying load lock in the comments.
15575 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15577         * sysdeps/unix/Subdirs: Moved ...
15578         * sysdeps/posix/Subdirs: ... here.
15579         * login/pty.h (struct termios, struct winsize): Add forward decls.
15580         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15581         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15582         * sysdeps/arm/nacl/libc.abilist: Updated.
15583         * sysdeps/nacl/libutil.abilist: New file.
15585         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15586         (SIGWINCH): New macro.
15588         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15589         * sysdeps/arm/nacl/libc.abilist: Add it.
15591 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15593         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15595 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15597         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15598         Swap __glibc_reserved0 and sa_flags order.
15600 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15602         [BZ #18657]
15603         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15604         are pending TLS destructor calls.
15605         * include/link.h (struct link_map): Add concurrency note for
15606         L_TLS_DTOR_COUNT.
15607         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15608         Don't touch the link map flag.  Atomically increment
15609         l_tls_dtor_count.
15610         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15611         Avoid taking the load lock and don't touch the link map flag.
15612         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15613         * stdlib/Makefile (tests): Use it.
15614         * stdlib/tst-tls-atexit.c (do_test): dlopen
15615         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15616         to allow tst-tls-atexit-nodelete test case to use it.
15618 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15620         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15621         to bits/types.h.
15622         (msgqnum_t): New typedef.
15623         (msglen_t): Likewise.
15624         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15625         and msg_qbytes type to msglen_t.
15627 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15629         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15630         pad0 to __glibc_reserved0.
15631         (struct stat64): Likewise.
15633 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15635         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15636         Change sa_flags from a long to an int and add __glibc_reserved0 before
15637         it for padding.
15639 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15641         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15642         anonymous by deleting "siginfo" name.
15644 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15646         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15647         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15648         rather than __nacl_irt_filename.
15649         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15651         * NEWS: New item for arm-nacl port.
15652         * sysdeps/arm/nacl/libc.abilist: New file.
15653         * sysdeps/nacl/ld.abilist: New file.
15654         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15655         * sysdeps/nacl/libanl.abilist: New file.
15656         * sysdeps/nacl/libcrypt.abilist: New file.
15657         * sysdeps/nacl/libdl.abilist: New file.
15658         * sysdeps/nacl/libm.abilist: New file.
15659         * sysdeps/nacl/libpthread.abilist: New file.
15660         * sysdeps/nacl/libresolv.abilist: New file.
15661         * sysdeps/nacl/librt.abilist: New file.
15663 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15665         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15666         __startcontext to initialize the new context.
15667         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15668         up CFI directive to forbid further backtracing.
15670 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15672         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15673         reference.
15674         * charmaps/ANSI_X3.4-1968: Likewise.
15675         * charmaps/BS_4730: Likewise.
15676         * charmaps/BS_VIEWDATA: Likewise.
15677         * charmaps/CP1250: Likewise.
15678         * charmaps/CP1251: Likewise.
15679         * charmaps/CP1252: Likewise.
15680         * charmaps/CP1253: Likewise.
15681         * charmaps/CP1254: Likewise.
15682         * charmaps/CP1255: Likewise.
15683         * charmaps/CP1256: Likewise.
15684         * charmaps/CSN_369103: Likewise.
15685         * charmaps/EBCDIC-DK-NO: Likewise.
15686         * charmaps/GB_1988-80: Likewise.
15687         * charmaps/GREEK-CCITT: Likewise.
15688         * charmaps/GREEK7: Likewise.
15689         * charmaps/INIS-8: Likewise.
15690         * charmaps/ISIRI-3342: Likewise.
15691         * charmaps/ISO_2033-1983: Likewise.
15692         * charmaps/ISO_5427-EXT: Likewise.
15693         * locales/POSIX: Likewise.
15694         * locales/ar_SA: Likewise.
15695         * locales/be_BY: Likewise.
15696         * locales/be_BY@latin: Likewise.
15697         * locales/ca_ES: Likewise.
15698         * locales/cs_CZ: Likewise.
15699         * locales/da_DK: Likewise.
15700         * locales/de_BE: Likewise.
15701         * locales/de_CH: Likewise.
15702         * locales/de_LU: Likewise.
15703         * locales/en_AU: Likewise.
15704         * locales/en_BW: Likewise.
15705         * locales/en_CA: Likewise.
15706         * locales/en_DK: Likewise.
15707         * locales/en_GB: Likewise.
15708         * locales/en_IE: Likewise.
15709         * locales/en_NZ: Likewise.
15710         * locales/en_ZA: Likewise.
15711         * locales/en_ZW: Likewise.
15712         * locales/es_AR: Likewise.
15713         * locales/es_BO: Likewise.
15714         * locales/es_CL: Likewise.
15715         * locales/es_CO: Likewise.
15716         * locales/es_DO: Likewise.
15717         * locales/es_EC: Likewise.
15718         * locales/es_ES: Likewise.
15719         * locales/es_HN: Likewise.
15720         * locales/es_MX: Likewise.
15721         * locales/es_PA: Likewise.
15722         * locales/es_PE: Likewise.
15723         * locales/es_PY: Likewise.
15724         * locales/es_SV: Likewise.
15725         * locales/es_US: Likewise.
15726         * locales/es_UY: Likewise.
15727         * locales/es_VE: Likewise.
15728         * locales/et_EE: Likewise.
15729         * locales/fa_IR: Likewise.
15730         * locales/fo_FO: Likewise.
15731         * locales/fr_CA: Likewise.
15732         * locales/fr_CH: Likewise.
15733         * locales/gv_GB: Likewise.
15734         * locales/he_IL: Likewise.
15735         * locales/hr_HR: Likewise.
15736         * locales/id_ID: Likewise.
15737         * locales/is_IS: Likewise.
15738         * locales/it_CH: Likewise.
15739         * locales/iw_IL: Likewise.
15740         * locales/kl_GL: Likewise.
15741         * locales/ko_KR: Likewise.
15742         * locales/kw_GB: Likewise.
15743         * locales/lg_UG: Likewise.
15744         * locales/lt_LT: Likewise.
15745         * locales/lv_LV: Likewise.
15746         * locales/mi_NZ: Likewise.
15747         * locales/nhn_MX: Likewise.
15748         * locales/nl_BE: Likewise.
15749         * locales/pl_PL: Likewise.
15750         * locales/sk_SK: Likewise.
15751         * locales/sl_SI: Likewise.
15752         * locales/sv_FI: Likewise.
15753         * locales/tl_PH: Likewise.
15754         * locales/tr_TR: Likewise.
15755         * locales/vi_VN: Likewise.
15757 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15759         [BZ #17475]
15760         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15761         of tu_IN and bh_IN.
15763 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15765         [BZ #18694]
15766         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15767         bits/wordsize.h.
15768         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15770 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15772         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15773         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15774         (spawn_thread): New function.
15775         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15776         (do_test): ... here.  Use IS_LOADED to test for its
15777         availability.
15779 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15781         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15783 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15785         [BZ #18696]
15786         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15787         si_addr_bnd.
15788         (si_lower): New.
15789         (si_upper): Likewise.
15791 2015-07-16  David S. Miller  <davem@davemloft.net>
15793         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15795 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15797         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15798         buffer.
15799         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15800         fail output information.
15802 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15804         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15805         and strstr-ppc64..
15806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15807         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15808         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15809         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15810         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15812 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15814         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15815         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15816         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15817         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15819 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15821         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15822         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15823         rtld_hidden_proto.
15824         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15826 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15828         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15829         the test can fail.
15831         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15833         [BZ #18676]
15834         * elf/tst-nodelete-opened.c: New test case.
15835         * elf/tst-nodelete-opened-lib.c: New test case module.
15836         * elf/Makefile (tests, modules-names): Use them.
15837         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15838         early.
15840 2015-07-15  David S. Miller  <davem@davemloft.net>
15842         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15843         futex-intenal.h
15844         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15845         * sysdeps/sparc/sparc64/Makefile: Likewise.
15846         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15847         Remove space from macro define.
15848         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15850 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15852         [BZ #17475]
15853         * locale/iso-639.def: Update Bhili and Tulu language codes as
15854         per iso639-3.
15856 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15858         * elf/tst-leaks1.c (main): Converted to ...
15859         (do_test): ... this.
15860         (TEST_FUNCTION): New macro.
15861         Include test-skeleton.c.
15862         * localedata/tst-langinfo.c (main): Converted to ...
15863         (do_test): ... this.
15864         (TEST_FUNCTION): New macro.
15865         Include test-skeleton.c.
15866         * math/test-fpucw.c (main): Converted to ...
15867         (do_test): ... this.
15868         (TEST_FUNCTION): New macro.
15869         Include test-skeleton.c.
15870         * math/test-tgmath.c (main): Converted to ...
15871         (do_test): ... this.
15872         (TEST_FUNCTION): New macro.
15873         Include test-skeleton.c.
15874         * math/test-tgmath2.c (main): Converted to ...
15875         (do_test): ... this.
15876         (TEST_FUNCTION): New macro.
15877         Include test-skeleton.c.
15878         * setjmp/tst-setjmp.c (main): Converted to ...
15879         (do_test): ... this.
15880         (TEST_FUNCTION): New macro.
15881         Include test-skeleton.c.
15882         * stdio-common/tst-sscanf.c (main): Converted to ...
15883         (do_test): ... this.
15884         (TEST_FUNCTION): New macro.
15885         Include test-skeleton.c.
15886         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15887         (do_test): ... this.
15888         (TEST_FUNCTION): New macro.
15889         Include test-skeleton.c.
15891         * elf/tst-audit9.c (main): Converted to ...
15892         (do_test): ... this.
15893         (TEST_FUNCTION): New macro.
15894         Include test-skeleton.c.
15896 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15898         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15900 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15902         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15903         New variable.
15905 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15907         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15909 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15911         * sysdeps/generic/dl-fileid.h: New file.
15912         * sysdeps/posix/dl-fileid.h: New file.
15913         * sysdeps/nacl/dl-fileid.h: New file.
15914         * include/link.h: Include <dl-fileid.h>.
15915         (struct link_map): Replace l_dev and l_ino with l_file_id.
15916         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15917         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15918         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15920 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15922         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15924 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15926         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15927         Add iff $CXX is set.
15928         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15929         Likewise.
15930         (tst-nodelete-zmodiff): Likewise.
15931         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15933 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15935         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15937 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15939         * sysdeps/aarch64/fpu/math_private.h
15940         (define math_opt_barrier): Add AArch64 version.
15941         (math_force_eval): Likewise.
15943 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15945         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15947 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15949         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15950         %ld with %jd and cast to intmax_t.
15951         (do_test_length_zero): Likewise.
15953 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15955         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15957 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15959         * sysdeps/tile/libm-test-ulps: Regenerated.
15961         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15962         Comment out the whole function, not just its body.
15964 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15966         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15967         locks.
15969         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15971 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15973         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15974         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15976 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15978         * sysdeps/nptl/futex-internal.h: New file.
15979         * sysdeps/nacl/futex-internal.h: New file.
15980         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15981         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15982         error checking.
15983         (setxid_unmark_thread): Likewise.
15984         (__nptl_setxid): Likewise.
15985         (__wait_lookup_done): Likewise.
15986         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15987         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15988         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15989         * nptl/pthread_once.c (clear_once_control): Likewise.
15990         (__pthread_once_slow): Likewise.
15991         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15992         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15993         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15994         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15995         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15996         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15997         Likewise.
15998         (__pthread_rwlock_rdlock): Likewise.
15999         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16000         Likewise.
16001         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16002         Likewise.
16003         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16004         Likewise.
16005         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16006         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16007         Likewise.
16008         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16009         __ASSUME_PRIVATE_FUTEX check.
16010         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16011         Check that shared futexes are supported.
16012         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16013         wrappers with error checking.
16014         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16015         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16016         * nptl/pthread_barrierattr_setpshared.c
16017         (pthread_barrierattr_setpshared): Check that shared futexes are
16018         supported.
16019         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16020         Likewise.
16021         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16022         Likewise.
16023         * nptl/sem_init.c (futex_private_if_supported): Remove.
16024         (__new_sem_init): Adapt and check that shared futexes are supported.
16025         * nptl/sem_open.c (sem_open): Likewise.
16026         * nptl/sem_post.c (futex_wake): Remove.
16027         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16028         (do_futex_wait): Use futex wrappers with error checking.
16029         * nptl/sem_wait.c: Include lowlevellock.h.
16030         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16031         Use futex_supports_pshared.
16032         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16033         Use futex wrappers with error checking.
16034         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16035         Likewise.
16036         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16037         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16038         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16039         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16040         (futex_wake): Likewise.
16041         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16042         (do_futex_wait): Use futex wrappers with error checking.
16043         (__new_sem_wait_slow): Update EINTR handling.
16044         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16046 2015-07-09  Martin Sebor  <msebor@redhat.com>
16048         [BZ #18435]
16049         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16050         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16051         * nptl/Makefile (test-xfail-tst-once5): Define.
16053 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16055         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16056         * elf/dl-minimal.c: For readability, reorder some definitions and
16057         introduce more page breaks.  Include <stdio.h>.
16058         (__libc_fatal): New function.
16060         * include/unistd.h: Add rtld_hidden_proto for _exit.
16061         * posix/_exit.c: Add rtld_hidden_def.
16062         * sysdeps/mach/hurd/_exit.c: Likewise.
16063         * sysdeps/nacl/_exit.c: Likewise.
16064         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16065         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16067 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16070         bndmov encoding with zero displacement.
16072 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16073             H.J. Lu  <hongjiu.lu@intel.com>
16075         [BZ #18134]
16076         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16077         * sysdeps/i386/configure: Regenerated.
16078         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16079         (_dl_runtime_profile): Save and restore Intel MPX return bound
16080         registers when calling _dl_call_pltexit.  Add
16081         PRESERVE_BND_REGS_PREFIX before return.
16082         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16083         (LRV_BND1_OFFSET): Likewise.
16084         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16085         lrv_bnd1.
16086         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16087         typo in bndmov encoding.
16088         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16089         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16090         branch instructions to preserve bounds.
16092 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16095         [GLIBC_2.22]: Add fmemopen.
16097 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16099         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16100         returns an error, also try to use host port from __mach_host_self for
16101         the __vm_wire call.
16102         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16104 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16106         [BZ #18400]
16107         [BZ #18648]
16108         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16109         Fix pr_uid and pr_gid members.
16110         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16111         definition to elf_greg_t.
16113 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16115         [BZ #18383]
16116         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16117         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16118         * sysdeps/arm/configure: Regenerated.
16119         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16120         (test-xfail-tst-tlsalign-static): Variable removed.
16122         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16123         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16124         rather than explicit 'ln -s'.
16126         * resolv/rpc/netdb.h: New file.
16127         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16129 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16131         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16132         length buffers.
16133         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16134         test-skeleton.c.
16136         [BZ #6544]
16137         [BZ #11216]
16138         [BZ #12836]
16139         [BZ #13151]
16140         [BZ #13152]
16141         [BZ #14292]
16142         * include/stdio.h (fmemopen): Remove hidden prototype.
16143         (__fmemopen): Add new hidden prototype.
16144         * libio/Makefile: Add oldfmemopen object.
16145         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16146         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16147         compliance.
16148         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16149         symbol compatibility.
16150         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16151         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16152         fmemopen.
16153         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16154         on append and read mode.
16155         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16156         fmemopen.
16157         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16158         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16159         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16160         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16161         Likewise.
16162         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16163         [GLIBC_2.22]: Likewise.
16164         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16165         Likewise.
16166         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16167         Likewise.
16168         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16169         [GLIBC_2.22]: Likewise.
16170         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16171         [GLIBC_2.22]: Likewise.
16172         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16173         [GLIBC_2.22]: Likewise.
16174         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16175         [GLIBC_2.22]: Likewise.
16176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16177         [GLIBC_2.22]: Likewise.
16178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16179         [GLIBC_2.22]: Likewise.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16181         [GLIBC_2.22]: Likewise.
16182         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16185         Likewise.
16186         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16187         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16188         [GLIBC_2.22]: Likewise.
16189         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16190         [GLIBC_2.22]: Likewise.
16191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16192         [GLIBC_2.22]: Likewise.
16193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16194         [GLIBC_2.22]: Likewise.
16195         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16196         Likewise.
16197         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16198         Likewise.
16199         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16200         Likewise.
16201         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16202         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16204 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16206         [BZ #18643]
16207         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16208         IPV6_PATHMTU, and IPV6_DONTFRAG.
16210 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16212         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16213         and _IO_UNBUFFERED.
16214         * libio/oldfileops.c: Likewise.
16215         * libio/wfileops.c: Likewise.
16217 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16219         * nscd/selinux.c: Delete selinux/flask.h include.
16221 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16223         [BZ #18641]
16224         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16225         (putpwent): Likewise.
16226         (getpwnam): Likewise.
16227         (getpwent_r): Likewise.
16228         (getpwuid_r): Likewise.
16229         (getpwnam_r): Likewise.
16230         (fgetpwent_r): Likewise.
16232 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16234         [BZ #18557]
16235         * inet/rcmd.c (__validuser2_sa): Check user first to
16236         short-circuit host check.
16238 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16239             Mikhail Ilin  <m.ilin@samsung.com>
16241         [BZ #17833]
16242         * elf/Makefile (tests): Add tst-nodelete.
16243         (modules-names): Add tst-nodelete-uniquemod.
16244         (tst-nodelete-uniquemod.so-no-z-defs): New.
16245         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16246         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16247         ($(objpfx)tst-nodelete): Likewise.
16248         ($(objpfx)tst-nodelete.out): Likewise.
16249         (LDFLAGS-tst-nodelete): Likewise.
16250         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16251         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16252         implement forced object deletion.
16253         (_dl_close): Pass false to _dl_close_worker.
16254         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16255         * elf/tst-nodelete.cc: New file.
16256         * elf/tst-nodeletelib.cc: Likewise.
16257         * elf/tst-znodeletelib.cc: Likewise.
16258         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16260 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16262         [BZ #18508]
16263         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16264         Depend on $(libdl).
16265         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16266         is not called infinitely times.
16267         (backtrace_helper): New function.
16268         (trace_arg): New struct.
16269         (st1): Enlarge stack size.
16270         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16271         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16272         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16273         Likewise.
16275 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16277         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16279 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16281         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16282         Include sys/types.h instead of bits/types.h.
16283         Remove inclusion of bits/wordsize.h.
16285 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16287         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16288         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16289         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16290         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16291         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16292         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16294 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16296         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16297         link-defines.sym.
16298         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16299         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16300         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16301         and LR_SIZE.
16302         * sysdeps/i386/link-defines.sym: New file.
16304 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16306         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16307         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16308         ($(objpfx)tst-audit3): New rule.
16309         ($(objpfx)tst-audit3.out): Likewise.
16310         * sysdeps/i386/tst-audit3.c: New file.
16311         * sysdeps/i386/tst-audit3.h: Likewise.
16312         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16313         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16315 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16317         [BZ #18633]
16318         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16319         pointer in C code.
16320         (__strcat_c): Likewise.
16321         (__strcat_g): Likewise.
16323 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16325         [BZ #18592]
16326         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16328 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16330         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16331         New function.  (__ieee754_sqrtf): New function.
16332         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16333         New function.
16334         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16335         New function.
16337 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16339         * sysdeps/ieee754/support.c: Remove unused file.
16341 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16343         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16344         registers instead of d ones so the layout is kernel abi compatible.
16345         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16346         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16347         Likewise.
16349 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16351         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16353 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16355         [BZ #18619]
16356         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16357         and return argument in case of subnormal argument.
16359 2015-07-01  Martin Sebor  <msebor@redhat.com>
16361         [BZ #18435]
16362         * nptl/Makefile: Add tst-once5.cc.
16363         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16364         Remove macro redefinitions.
16365         * nptl/tst-once5.cc: New test.
16367 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16369         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16371         * sysdeps/arm/libm-test-ulps: Regenerated.
16373         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16374         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16376 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16378         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16379         lll_lock_wait_private and lll_futex_wake probes.
16381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16382         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16383         Likewise.
16384         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16385         atomic_spin_nop.
16386         * sysdeps/x86_64/bits/atomic.h: Likewise.
16387         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16388         to atomic_spin_nop and move ...
16389         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16390         ... here and ...
16391         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16392         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16393         atomic_spin_nop instead of BUSY_WAIT_NOP.
16394         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16395         Likewise.
16396         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16397         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16398         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16399         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16400         instead of atomic_delay.
16402 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16404         [BZ #18613]
16405         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16406         X_ADJ not X when adjusting exponent.
16407         (__ieee754_gamma_r): Do intermediate computations in
16408         round-to-nearest then adjust overflowing and underflowing results
16409         as needed.
16410         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16411         of X_ADJ not X when adjusting exponent.
16412         (__ieee754_gammaf_r): Do intermediate computations in
16413         round-to-nearest then adjust overflowing and underflowing results
16414         as needed.
16415         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16416         log of X_ADJ not X when adjusting exponent.
16417         (__ieee754_gammal_r): Do intermediate computations in
16418         round-to-nearest then adjust overflowing and underflowing results
16419         as needed.  Use 1.0L not 1.0f as numerator of division.
16420         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16421         log of X_ADJ not X when adjusting exponent.
16422         (__ieee754_gammal_r): Do intermediate computations in
16423         round-to-nearest then adjust overflowing and underflowing results
16424         as needed.  Use 1.0L not 1.0f as numerator of division.
16425         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16426         of X_ADJ not X when adjusting exponent.
16427         (__ieee754_gammal_r): Do intermediate computations in
16428         round-to-nearest then adjust overflowing and underflowing results
16429         as needed.  Use 1.0L not 1.0f as numerator of division.
16430         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16431         to auto-libm-test-in.
16432         (tgamma_test): Use ALL_RM_TEST.
16433         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16434         tests of tgamma with spurious-overflow.
16435         * math/auto-libm-test-out: Regenerated.
16436         * math/gen-libm-have-vector-test.sh: Do not check for START.
16437         * sysdeps/i386/fpu/libm-test-ulps: Update.
16438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16440         [BZ #18612]
16441         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16442         arguments, just return 0.5 times the argument, with underflow
16443         forced as needed.
16444         * math/auto-libm-test-in: Add more tests of j1.
16445         * math/auto-libm-test-out: Regenerated.
16447         [BZ #16559]
16448         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16449         (__ieee754_j1): Force underflow exception for small results.
16450         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16451         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16452         (__ieee754_j1f): Force underflow exception for small results.
16453         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16454         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16456         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16457         (__ieee754_j1l): Force underflow exception for small results.
16458         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16459         * math/auto-libm-test-in: Add more tests of j1 and jn.
16460         * math/auto-libm-test-out: Regenerated.
16462         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16463         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16464         (PF_MPLS): Likewise.
16465         (AF_IB): Likewise.
16466         (AF_MPLS): Likewise.
16467         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16468         value and macro.
16469         (MS_RMT_MASK): Include MS_LAZYTIME.
16471 2015-06-26  Mel Gorman  <mgorman@suse.de>
16473         [BZ #18502]
16474         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16475         already minimal.
16477 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16479         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16480         (DT_MIPS_NUM): Update.
16481         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16482         DT_MIPS_RLD_MAP_REL.
16484 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16486         [BZ #16559]
16487         [BZ #18602]
16488         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16489         round-to-nearest internally then recompute results that
16490         underflowed to zero in the original rounding mode.
16491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16494         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16495         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16496         * sysdeps/i386/fpu/libm-test-ulps: Update.
16497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16499 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16501         * NEWS: Fixed description of link with vector math library.
16503 2015-06-25  Andreas Schwab  <schwab@suse.de>
16505         [BZ #18549]
16506         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16507         * libio/test-fmemopen.c (do_test): Add test for it.
16509 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16511         [BZ #17841]
16512         * Makeconfig (no-pie-ldflag): New.
16513         (+link): Set to $(+link-pie) if default to PIE.
16514         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16515         * config.make.in (build-pie-default): New.
16516         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16517         is default.  AC_SUBST.
16518         * configure: Regenerated.
16519         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16521 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16523         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16524         to 'unsigned int'.
16526         * resolv/gai_misc.h (struct waitlist): Change type of field
16527         counterp to 'volatile unsigned int *'.
16528         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16529         FUTEXADDR and OLDVAL.
16530         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16531         Give local variable TOTAL type 'volatile unsigned int'.
16532         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16533         * resolv/gai_suspend.c (gai_suspend):
16534         Give local variable CNTR type 'unsigned int'.
16536         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16537         counterp to 'volatile unsigned int *'.
16538         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16539         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16540         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16541         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16542         Give local variable TOTAL type 'volatile unsigned int'.
16543         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16545 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16547         [BZ #18383]
16548         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16549         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16550         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16551         comment for i386/x86-64.
16552         (test-xfail-tst-tlsalign-extern-static): Removed.
16554 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16556         * math/test-double.h: New file.
16557         * math/test-float.h: Likewise.
16558         * math/test-ldouble.h: Likewise.
16559         * math/test-math-inline.h: Likewise.
16560         * math/test-math-no-inline.h: Likewise.
16561         * math/test-math-scalar.h: Likewise.
16562         * math/test-math-vector.h: Likewise.
16563         * math/test-vec-loop.h: Remove file.  Contents moved into
16564         test-math-vector.h.
16565         * math/libm-test.inc (MATHCONST): Do not document macro.
16566         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16567         and test-math-scalar.h.
16568         (FUNC): Remove macro.
16569         (FUNC_TEST): Likewise.
16570         (FLOAT): Likewise.
16571         (MATHCONST): Likewise.
16572         (PRINTF_EXPR): Likewise.
16573         (PRINTF_XEXPR): Likewise.
16574         (PRINTF_NEXPR): Likewise.
16575         (TEST_DOUBLE): Likewise.
16576         (TEST_MATHVEC): Likewise.
16577         (__NO_MATH_INLINES): Likewise.
16578         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16579         and test-math-scalar.h.
16580         (FUNC): Remove macro.
16581         (FUNC_TEST): Likewise.
16582         (FLOAT): Likewise.
16583         (MATHCONST): Likewise.
16584         (PRINTF_EXPR): Likewise.
16585         (PRINTF_XEXPR): Likewise.
16586         (PRINTF_NEXPR): Likewise.
16587         (TEST_FLOAT): Likewise.
16588         (TEST_MATHVEC): Likewise.
16589         (__NO_MATH_INLINES): Likewise.
16590         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16591         and test-math-scalar.h.
16592         (FUNC): Remove macro.
16593         (FUNC_TEST): Likewise.
16594         (FLOAT): Likewise.
16595         (MATHCONST): Likewise.
16596         (PRINTF_EXPR): Likewise.
16597         (PRINTF_XEXPR): Likewise.
16598         (PRINTF_NEXPR): Likewise.
16599         (TEST_DOUBLE): Likewise.
16600         (TEST_MATHVEC): Likewise.
16601         (TEST_INLINE): Likewise.
16602         (__NO_MATH_INLINES): Likewise.
16603         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16604         test-math-scalar.h.
16605         (FUNC): Remove macro.
16606         (FUNC_TEST): Likewise.
16607         (FLOAT): Likewise.
16608         (MATHCONST): Likewise.
16609         (PRINTF_EXPR): Likewise.
16610         (PRINTF_XEXPR): Likewise.
16611         (PRINTF_NEXPR): Likewise.
16612         (TEST_FLOAT): Likewise.
16613         (TEST_MATHVEC): Likewise.
16614         (TEST_INLINE): Likewise.
16615         (__NO_MATH_INLINES): Likewise.
16616         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16617         and test-math-scalar.h.
16618         (FUNC): Remove macro.
16619         (FUNC_TEST): Likewise.
16620         (FLOAT): Likewise.
16621         (MATHCONST): Likewise.
16622         (PRINTF_EXPR): Likewise.
16623         (PRINTF_XEXPR): Likewise.
16624         (PRINTF_NEXPR): Likewise.
16625         (TEST_LDOUBLE): Likewise.
16626         (TEST_MATHVEC): Likewise.
16627         (TEST_INLINE): Likewise.
16628         (__NO_MATH_INLINES): Likewise.
16629         * math/test-ldouble.c: Include test-ldouble.h,
16630         test-math-no-inline.h and test-math-scalar.h.
16631         (FUNC): Remove macro.
16632         (FUNC_TEST): Likewise.
16633         (FLOAT): Likewise.
16634         (MATHCONST): Likewise.
16635         (PRINTF_EXPR): Likewise.
16636         (PRINTF_XEXPR): Likewise.
16637         (PRINTF_NEXPR): Likewise.
16638         (TEST_LDOUBLE): Likewise.
16639         (TEST_MATHVEC): Likewise.
16640         (__NO_MATH_INLINES): Likewise.
16641         * math/test-double-vlen2.h: Include test-double.h,
16642         test-math-no-inline.h and test-math-vector.h.
16643         (FLOAT): Remove macro.
16644         (FUNC): Likewise.
16645         (MATHCONST): Likewise.
16646         (PRINTF_EXPR): Likewise.
16647         (PRINTF_XEXPR): Likewise.
16648         (PRINTF_NEXPR): Likewise.
16649         (TEST_DOUBLE): Likewise.
16650         (TEST_MATHVEC): Likewise.
16651         (__NO_MATH_INLINES): Likewise.
16652         (CNCT): Likewise.
16653         (CONCAT): Likewise.
16654         (WRAPPER_NAME): Likewise.
16655         (WRAPPER_DECL): Likewise.
16656         (WRAPPER_DECL_ff): Likewise.
16657         (WRAPPER_DECL_fFF): Likewise.
16658         (VECTOR_WRAPPER): Likewise.
16659         (VECTOR_WRAPPER_ff): Likewise.
16660         (VECTOR_WRAPPER_fFF): Likewise.
16661         (VEC_LEN): New macro.
16662         * math/test-double-vlen4.h: Include test-double.h,
16663         test-math-no-inline.h and test-math-vector.h.
16664         (FLOAT): Remove macro.
16665         (FUNC): Likewise.
16666         (MATHCONST): Likewise.
16667         (PRINTF_EXPR): Likewise.
16668         (PRINTF_XEXPR): Likewise.
16669         (PRINTF_NEXPR): Likewise.
16670         (TEST_DOUBLE): Likewise.
16671         (TEST_MATHVEC): Likewise.
16672         (__NO_MATH_INLINES): Likewise.
16673         (CNCT): Likewise.
16674         (CONCAT): Likewise.
16675         (WRAPPER_NAME): Likewise.
16676         (WRAPPER_DECL): Likewise.
16677         (WRAPPER_DECL_ff): Likewise.
16678         (WRAPPER_DECL_fFF): Likewise.
16679         (VECTOR_WRAPPER): Likewise.
16680         (VECTOR_WRAPPER_ff): Likewise.
16681         (VECTOR_WRAPPER_fFF): Likewise.
16682         (VEC_LEN): New macro.
16683         * math/test-double-vlen8.h: Include test-double.h,
16684         test-math-no-inline.h and test-math-vector.h.
16685         (FLOAT): Remove macro.
16686         (FUNC): Likewise.
16687         (MATHCONST): Likewise.
16688         (PRINTF_EXPR): Likewise.
16689         (PRINTF_XEXPR): Likewise.
16690         (PRINTF_NEXPR): Likewise.
16691         (TEST_DOUBLE): Likewise.
16692         (TEST_MATHVEC): Likewise.
16693         (__NO_MATH_INLINES): Likewise.
16694         (CNCT): Likewise.
16695         (CONCAT): Likewise.
16696         (WRAPPER_NAME): Likewise.
16697         (WRAPPER_DECL): Likewise.
16698         (WRAPPER_DECL_ff): Likewise.
16699         (WRAPPER_DECL_fFF): Likewise.
16700         (VECTOR_WRAPPER): Likewise.
16701         (VECTOR_WRAPPER_ff): Likewise.
16702         (VECTOR_WRAPPER_fFF): Likewise.
16703         (VEC_LEN): New macro.
16704         * math/test-float-vlen4.h: Include test-float.h,
16705         test-math-no-inline.h and test-math-vector.h.
16706         (FLOAT): Remove macro.
16707         (FUNC): Likewise.
16708         (MATHCONST): Likewise.
16709         (PRINTF_EXPR): Likewise.
16710         (PRINTF_XEXPR): Likewise.
16711         (PRINTF_NEXPR): Likewise.
16712         (TEST_FLOAT): Likewise.
16713         (TEST_MATHVEC): Likewise.
16714         (__NO_MATH_INLINES): Likewise.
16715         (CNCT): Likewise.
16716         (CONCAT): Likewise.
16717         (WRAPPER_NAME): Likewise.
16718         (WRAPPER_DECL): Likewise.
16719         (WRAPPER_DECL_ff): Likewise.
16720         (WRAPPER_DECL_fFF): Likewise.
16721         (VECTOR_WRAPPER): Likewise.
16722         (VECTOR_WRAPPER_ff): Likewise.
16723         (VECTOR_WRAPPER_fFF): Likewise.
16724         (VEC_LEN): New macro.
16725         * math/test-float-vlen8.h: Include test-float.h,
16726         test-math-no-inline.h and test-math-vector.h.
16727         (FLOAT): Remove macro.
16728         (FUNC): Likewise.
16729         (MATHCONST): Likewise.
16730         (PRINTF_EXPR): Likewise.
16731         (PRINTF_XEXPR): Likewise.
16732         (PRINTF_NEXPR): Likewise.
16733         (TEST_FLOAT): Likewise.
16734         (TEST_MATHVEC): Likewise.
16735         (__NO_MATH_INLINES): Likewise.
16736         (CNCT): Likewise.
16737         (CONCAT): Likewise.
16738         (WRAPPER_NAME): Likewise.
16739         (WRAPPER_DECL): Likewise.
16740         (WRAPPER_DECL_ff): Likewise.
16741         (WRAPPER_DECL_fFF): Likewise.
16742         (VECTOR_WRAPPER): Likewise.
16743         (VECTOR_WRAPPER_ff): Likewise.
16744         (VECTOR_WRAPPER_fFF): Likewise.
16745         (VEC_LEN): New macro.
16746         * math/test-float-vlen16.h: Include test-float.h,
16747         test-math-no-inline.h and test-math-vector.h.
16748         (FLOAT): Remove macro.
16749         (FUNC): Likewise.
16750         (MATHCONST): Likewise.
16751         (PRINTF_EXPR): Likewise.
16752         (PRINTF_XEXPR): Likewise.
16753         (PRINTF_NEXPR): Likewise.
16754         (TEST_FLOAT): Likewise.
16755         (TEST_MATHVEC): Likewise.
16756         (__NO_MATH_INLINES): Likewise.
16757         (CNCT): Likewise.
16758         (CONCAT): Likewise.
16759         (WRAPPER_NAME): Likewise.
16760         (WRAPPER_DECL): Likewise.
16761         (WRAPPER_DECL_ff): Likewise.
16762         (WRAPPER_DECL_fFF): Likewise.
16763         (VECTOR_WRAPPER): Likewise.
16764         (VECTOR_WRAPPER_ff): Likewise.
16765         (VECTOR_WRAPPER_fFF): Likewise.
16766         (VEC_LEN): New macro.
16767         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16768         test-vec-loop.h.
16769         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16770         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16771         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16772         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16773         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16774         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16775         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16777 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16779         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16780         (__getlogin_r): ... this.
16782 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16784         [BZ #18594]
16785         * math/s_ccosh.c (__ccosh): Compare with least normal value
16786         instead of comparing class with FP_SUBNORMAL.
16787         * math/s_ccoshf.c (__ccoshf): Likewise.
16788         * math/s_ccoshl.c (__ccoshl): Likewise.
16789         * math/s_cexp.c (__cexp): Likewise.
16790         * math/s_cexpf.c (__cexpf): Likewise.
16791         * math/s_cexpl.c (__cexpl): Likewise.
16792         * math/s_csin.c (__csin): Likewise.
16793         * math/s_csinf.c (__csinf): Likewise.
16794         * math/s_csinh.c (__csinh): Likewise.
16795         * math/s_csinhf.c (__csinhf): Likewise.
16796         * math/s_csinhl.c (__csinhl): Likewise.
16797         * math/s_csinl.c (__csinl): Likewise.
16798         * math/s_ctan.c (__ctan): Likewise.
16799         * math/s_ctanf.c (__ctanf): Likewise.
16800         * math/s_ctanh.c (__ctanh): Likewise.
16801         * math/s_ctanhf.c (__ctanhf): Likewise.
16802         * math/s_ctanhl.c (__ctanhl): Likewise.
16803         * math/s_ctanl.c (__ctanl): Likewise.
16804         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16805         csin, csinh, ctan and ctanh.
16806         * math/auto-libm-test-out: Regenerated.
16807         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16808         * sysdeps/i386/fpu/libm-test-ulps: Update.
16809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16811 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16813         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16814         return value is wrong, print the expected value too.
16816 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16818         [BZ #18585]
16819         * elf/readlib.c (is_gdb_python_file): New.
16820         (process_file): Don't issue errors on filenames with -gdb.py
16821         suffix.
16823 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16825         * math/auto-libm-test-in: Add more tests of csin and csinh.
16826         * math/auto-libm-test-out: Regenerated.
16827         * math/libm-test.inc (csin_test_data): Remove tests moved to
16828         auto-libm-test-in.
16829         (csinh_test_data): Likewise.
16831         [BZ #18593]
16832         * math/s_csin.c (__csin): Negate before rather than after possibly
16833         overflowing multiplication.
16834         * math/s_csinf.c (__csinf): Likewise.
16835         * math/s_csinh.c (__csinh): Likewise.
16836         * math/s_csinhf.c (__csinhf): Likewise.
16837         * math/s_csinhl.c (__csinhl): Likewise.
16838         * math/s_csinl.c (__csinl): Likewise.
16839         * math/auto-libm-test-in: Add some tests of csin and csinh.
16840         * math/auto-libm-test-out: Regenerated.
16841         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16842         (csinh_test_data): Likewise.
16843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16845         [BZ #18586]
16846         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16847         underflow exception for small results.
16849 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16851         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16852         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16853         variable and included header.
16854         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16859         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16860         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16861         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16862         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16863         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16864         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16865         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16866         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16867         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16868         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16869         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16871 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16873         [BZ #16526]
16874         [BZ #16538]
16875         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16876         (__sin): Force underflow exception for arguments with small
16877         absolute value.
16878         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16879         (__kernel_sinf): Force underflow exception for arguments with
16880         small absolute value.
16881         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16882         (__kernel_sincosl): Force underflow exception for arguments with
16883         small absolute value.
16884         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16885         (__kernel_sinl): Force underflow exception for arguments with
16886         small absolute value.
16887         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16888         (__kernel_sincosl): Force underflow exception for arguments with
16889         small absolute value.
16890         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16891         (__kernel_sinl): Force underflow exception for arguments with
16892         small absolute value.
16893         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16894         (__kernel_sinl): Force underflow exception for arguments with
16895         small absolute value.
16896         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16897         (__kernel_sinf): Force underflow exception for arguments with
16898         small absolute value.
16899         * math/auto-libm-test-in: Add more tests of sin and sincos.
16900         * math/auto-libm-test-out: Regenerated.
16902         [BZ #18245]
16903         [BZ #18583]
16904         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16905         (__kernel_standard_l): Use feholdexcept and fesetenv around
16906         conversion to double instead of special-casing overflow and
16907         underflow.
16908         * math/libm-test.inc (fmod_test_data): Add more tests.
16909         (remainder_test_data): Likewise.
16910         (sqrt_test_data): Likewise.
16912 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16914         [BZ #17403]
16915         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16916         atomic_read_barrier, atomic_write_barrier): Define.
16917         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16918         atomic_read_barrier, atomic_write_barrier): Define.
16920 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16922         * math/Makefile [$(PERL) != no]
16923         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16924         dependency on libm-test.stmp below the inclusion of Rules.
16926 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16929         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16930         and included header.
16931         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16932         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16936         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16937         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16939         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16940         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16941         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16942         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16943         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16944         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16945         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16946         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16947         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16948         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16949         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16951 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16953         [BZ #18371]
16954         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16955         intermediate but not final result might underflow.
16956         * math/s_csqrtf.c (__csqrtf): Likewise.
16957         * math/s_csqrtl.c (__csqrtl): Likewise.
16958         * math/auto-libm-test-in: Add more tests of csqrt.
16959         * math/auto-libm-test-out: Regenerated.
16960         * sysdeps/i386/fpu/libm-test-ulps: Update.
16962         [BZ #18219]
16963         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16964         threshold on absolute value of exponent for which scaling is used.
16965         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16966         * math/auto-libm-test-in: Add more tests of exp2.
16967         * math/auto-libm-test-out: Regenerated.
16969 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16971         [BZ #17977]
16972         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16973         when initializing interface list, based on the bug analysis
16974         and the patch proposed by Eric Newton.
16975         * resolv/tst-res_hconf_reorder.c: New test.
16976         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16977         tst-res_hconf_reorder.
16978         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16979         and $(shared-thread-library).
16980         (tst-res_hconf_reorder-ENV): New variable.
16982         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16983         in comment.
16985 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #16353]
16988         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16989         (__expm1): Force underflow exception for arguments with small
16990         absolute value.
16991         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16992         (__expm1f): Force underflow exception for arguments with small
16993         absolute value.
16994         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16995         (__expm1): Force underflow exception for arguments with small
16996         absolute value.
16997         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16998         (__expm1f): Force underflow exception for arguments with small
16999         absolute value.
17000         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17001         Check for small arguments before calling __expm1.
17002         * math/auto-libm-test-in: Do not mark underflow exceptions as
17003         possibly missing for bug 16353.
17004         * math/auto-libm-test-out: Regenerated.
17006 2015-06-22  Andreas Schwab  <schwab@suse.de>
17008         [BZ #18513]
17009         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17010         PTR queries.
17012 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17014         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17016         * string/strcoll_l.c: Remove unused struct element idxnow.
17018 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17020         [BZ #18569]
17021         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17022         underflow and return argument in case of subnormal argument.
17023         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17024         Likewise.
17025         * math/auto-libm-test-in: Add more tests of expm1.
17026         * math/auto-libm-test-out: Regenerated.
17028         [BZ #16361]
17029         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17030         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17031         tiny results.
17032         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17033         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17034         tiny results.
17035         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17036         mark underflow exceptions as possibly missing for bug 16361.
17037         * math/auto-libm-test-out: Regenerated.
17039 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17041         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17042         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17043         Remove variable.
17044         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17045         (test-xfail-XOPEN2K8/utmpx.h/conform).
17047         * conform/conformtest.pl ($xerrors): New variable.
17048         (note_error): New function.
17049         (compiletest): New argument $xfail.  Use not_error.
17050         (runtest): Likewise.
17051         (top level): Handle xfail- lines.  Update calls to compiletest and
17052         runtest.  Handle xfail- and optional- in headers listed with
17053         allow-header.
17054         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17055         (O_EXEC): Likewise.
17056         (O_SEARCH): Likewise.
17057         * conform/data/stropts.h-data (ioctl): Likewise.
17058         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17059         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17060         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17061         (msghdr.msg_controllen): Likewise.
17062         (cmsghdr.cmsg_len): Likewise.
17063         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17064         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17065         variable.
17066         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17067         (test-xfail-XPG4/stropts.h/conform): Likewise.
17068         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17069         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17070         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17071         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17072         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17073         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17074         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17075         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17076         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17077         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17078         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17079         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17080         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17081         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17082         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17083         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17084         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17085         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17086         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17088 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17090         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17091         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17092         definitions for proper unfolding of __MATHDECL_VEC.
17094 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17096         * benchtests/bench-strcoll.c:
17097         Include string.h.
17098         (main): Remove unused variable res.
17100 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17102         * timezone/Makefile (%/UTC %/Universal):
17103         Generate test-result files for UTC and Universal.
17105 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17107         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17109 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17111         [BZ #16350]
17112         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17113         for arguments with small absolute value.
17114         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17115         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17116         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17117         (__asinh): Force underflow exception for arguments with small
17118         absolute value.
17119         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17120         (__asinhf): Force underflow exception for arguments with small
17121         absolute value.
17122         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17123         (__asinhl): Force underflow exception for arguments with small
17124         absolute value.
17125         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17126         (__asinhl): Force underflow exception for arguments with small
17127         absolute value.
17128         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17129         (__asinhl): Force underflow exception for arguments with small
17130         absolute value.
17131         * math/auto-libm-test-in: Do not mark underflow exceptions as
17132         possibly missing for bug 16350.
17133         * math/auto-libm-test-out: Regenerated.
17135         * include/bits/ipc.h: Remove file.
17136         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17137         variable.
17138         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17139         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17140         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17141         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17142         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17143         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17144         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17145         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17146         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17148         * math/auto-libm-test-in: Remove spurious underflow allowance for
17149         tests of cexp.
17150         * math/auto-libm-test-out: Regenerated.
17152         [BZ #18558]
17153         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17154         unconditional definition.
17155         (MCAST_BLOCK_SOURCE): Likewise.
17156         (MCAST_UNBLOCK_SOURCE): Likewise.
17157         (MCAST_LEAVE_GROUP): Likewise.
17158         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17159         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17160         (MCAST_MSFILTER): Likewise.
17161         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17162         Remove variable.
17163         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17164         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17165         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17166         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17167         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17169 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17171         * NEWS: Mention addition of x86_64 vector sincosf.
17172         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17173         * math/test-float-vlen4.h: Likewise.
17174         * math/test-float-vlen8.h: Likewise.
17175         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17176         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17177         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17178         * sysdeps/x86_64/fpu/Versions: New versions added.
17179         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17180         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17181         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17182         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17183         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17184         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17185         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17188         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17189         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17190         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17191         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17192         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17193         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17194         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17195         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17196         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17197         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17198         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17199         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17201         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17202         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17204         * NEWS: Mention addition of x86_64 vector sincos.
17205         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17206         * math/math.h (__MATHDECL_VEC): New macro.
17207         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17208         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17209         declaration under condition.
17210         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17211         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17212         TEST_VEC_LOOP change.
17213         * math/test-double-vlen4.h: Likewise.
17214         * math/test-double-vlen8.h: Likewise.
17215         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17216         * math/test-float-vlen4.h: Likewise.
17217         * math/test-float-vlen8.h: Likewise.
17218         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17219         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17221         * sysdeps/x86_64/fpu/Versions: New versions added.
17222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17223         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17224         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17225         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17226         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17227         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17228         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17229         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17230         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17231         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17232         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17233         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17234         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17235         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17236         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17237         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17238         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17239         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17241         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17242         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17243         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17244         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17245         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17247         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17248         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17249         redirections for powf.
17250         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17251         * sysdeps/x86_64/fpu/Versions: New versions added.
17252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17253         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17254         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17255         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17256         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17257         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17258         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17259         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17260         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17261         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17262         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17263         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17264         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17265         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17266         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17267         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17268         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17269         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17270         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17271         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17272         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17273         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17274         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17275         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17276         * math/test-float-vlen16.h: Fixed 2 argument macro.
17277         * math/test-float-vlen4.h: Likewise.
17278         * math/test-float-vlen8.h: Likewise.
17279         * NEWS: Mention addition of x86_64 vector powf.
17281 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17283         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17284         and redefine.
17285         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17286         and redefine.
17287         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17288         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17289         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17291         [BZ #18553]
17292         * resource/getpriority.c (getpriority): Rename to __getpriority
17293         and define as weak alias of __getpriority.
17294         * resource/setpriority.c (setpriority): Rename to __setpriority
17295         and define as weak alias of __setpriority.
17296         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17297         __getpriority and define as weak alias of __getpriority.
17298         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17299         __setpriority and define as weak alias of __setpriority.
17300         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17301         strong name.
17302         (setpriority): Use __setpriority as strong name.
17303         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17304         __getpriority and define as weak alias of __getpriority.
17305         * include/sys/resource.h (__getpriority): Declare.  Use
17306         libc_hidden_proto.
17307         (__setpriority): Likewise.
17308         (getpriority): Don't use libc_hidden_proto.
17309         (setpriority): Likewise.
17310         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17311         getpriority.  Call __setpriority instead of setpriority.
17312         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17313         Remove variable.
17315         [BZ #18547]
17316         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17317         as weak alias of __getttynam.  Use prototype function definition.
17318         Call __setttyent, __getttyent and __endttyent instead of
17319         setttyent, getttyent and endttyent.
17320         (getttyent): Rename to __getttyent and define as weak alias of
17321         __getttyent.  Call __setttyent instead of setttyent.  Call
17322         __fgets_unlocked instead of fgets_unlocked.
17323         (setttyent): Rename to __setttyent and define as weak alias of
17324         __setttyent.
17325         (endttyent): Rename to __endttyent and define as weak alias of
17326         __endttyent.
17327         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17328         (__setttyent): Likewise.
17329         (__endttyent): Likewise.
17330         (getttyent): Don't use libc_hidden_proto.
17331         (setttyent): Likewise.
17332         (endttyent): Likewise.
17333         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17334         __endttyent instead of setttyent, getttyent and endttyent.
17335         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17336         Remove variable.
17338         [BZ #18546]
17339         * socket/recv.c (__recv): Use libc_hidden_def.
17340         * socket/socket.c (__socket): Likewise.
17341         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17342         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17343         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17344         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17345         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17346         libc_hidden_def.
17347         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17348         libc_hidden_weak.
17349         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17350         Use libc_hidden_proto.
17351         (__recv): Likewise.
17352         * socket/Versions (libc): Export __recv and __socket at version
17353         GLIBC_PRIVATE.
17354         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17355         instead of recv.
17356         (init_mq_netlink): Call __socket instead of socket.
17357         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17358         Remove variable.
17360         [BZ #18545]
17361         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17362         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17363         hidden_weak.
17364         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17365         define as alias of __mq_timedsend.  Use hidden_weak.
17366         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17367         __mq_timedsend as strong name.
17368         (mq_timedreceive): Use __mq_timedreceive as strong name.
17369         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17370         (__mq_timedreceive): Likewise.
17371         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17372         __mq_timedreceive instead of mq_timedreceive.
17373         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17374         instead of mq_timedsend.
17375         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17376         Remove variable.
17378         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17379         hidden_def and hidden_weak instead of libc_hidden_def and
17380         libc_hidden_weak.
17381         (top level): Refer to hidden_def in comment.
17382         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17383         macro.  Use it instead of libc_hidden_def.
17384         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17385         specify __GI_* name explicitly.
17386         (mq_timedreceive): Likewise.
17387         (mq_setattr): Likewise.
17389         [BZ #18544]
17390         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17391         __pthread_barrier_init and define as weak alias of
17392         __pthread_barrier_init.
17393         * sysdeps/sparc/nptl/pthread_barrier_init.c
17394         (pthread_barrier_init): Likewise.
17395         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17396         __pthread_barrier_wait and define as weak alias of
17397         __pthread_barrier_wait.
17398         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17399         (pthread_barrier_wait): Likewise.
17400         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17401         (pthread_barrier_wait): Likewise.
17402         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17403         (pthread_barrier_wait): Likewise.
17404         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17405         (pthread_barrier_wait): Likewise.
17406         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17407         __pthread_barrier_wait at version GLIBC_PRIVATE.
17408         * include/pthread.h (__pthread_barrier_init): Declare.
17409         (__pthread_barrier_wait): Likewise.
17410         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17411         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17412         (helper_thread): Likewise.
17413         (init_mq_netlink): Call __pthread_barrier_init instead of
17414         pthread_barrier_init.
17416         [BZ #18542]
17417         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17418         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17419         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17420         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17421         vswscanf.
17422         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17423         Remove variable.
17425         [BZ #18540]
17426         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17427         strong alias of _IO_fflush.  Use libc_hidden_def.
17428         * libio/iofflush_u.c (fflush_unlocked): Rename to
17429         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17430         Use libc_hidden_weak.
17431         * include/stdio.h (__fflush_unlocked): Declare.  Use
17432         libc_hidden_proto.
17433         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17434         fflush_unlocked.
17435         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17436         Remove variable.
17438         [BZ #18539]
17439         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17440         define as weak alias of __addseverity.
17441         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17442         Remove variable.
17443         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17444         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17445         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17447         [BZ #18536]
17448         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17449         (__tfind): Likewise.
17450         (__tdelete): Likewise.
17451         (__twalk): Likewise.
17452         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17453         __twalk to GLIBC_PRIVATE.
17454         * include/search.h (__tsearch): Use libc_hidden_proto.
17455         (__tfind): Likewise.
17456         (__tdelete): Likewise.
17457         (__twalk): Likewise.
17458         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17459         Call __tdelete instead of tdelete.
17460         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17461         tfind.  Call __tsearch instead of tsearch.
17462         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17463         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17464         Remove variable.
17465         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17467         [BZ #18534]
17468         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17469         (dprintf): Define as a weak alias of __dprintf, not a strong
17470         alias.
17471         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17472         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17473         dprintf.
17474         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17475         Remove variable.
17476         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17477         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17479         [BZ #18533]
17480         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17481         not a strong alias.
17482         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17483         Remove variable.
17485         [BZ #18532]
17486         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17487         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17488         (in6addr_loopback): Rename to __in6addr_loopback and define as
17489         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17490         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17491         libc_hidden_proto.
17492         (__in6addr_any): Likewise.
17493         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17494         in6addr_any.
17495         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17496         variable.
17497         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17499 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17501         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17502         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17503         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17504         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17505         redirections for pow.
17506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17507         * sysdeps/x86_64/fpu/Versions: New versions added.
17508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17510         build of SSE, AVX2 and AVX512 IFUNC versions.
17511         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17512         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17513         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17514         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17515         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17516         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17517         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17518         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17519         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17520         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17521         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17522         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17523         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17524         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17525         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17526         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17528         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17529         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17530         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17531         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17532         * NEWS: Mention addition of x86_64 vector pow.
17534         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17535         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17536         redirections for expf.
17537         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17538         * sysdeps/x86_64/fpu/Versions: New versions added.
17539         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17540         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17541         build of SSE, AVX2 and AVX512 IFUNC versions.
17542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17544         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17548         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17549         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17550         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17551         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17552         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17553         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17554         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17555         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17557         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17559         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17560         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17561         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17562         * NEWS: Mention addition of x86_64 vector expf.
17564         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17565         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17566         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17567         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17568         redirections for exp.
17569         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17570         * sysdeps/x86_64/fpu/Versions: New versions added.
17571         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17572         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17573         build of SSE, AVX2 and AVX512 IFUNC versions.
17574         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17576         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17577         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17578         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17579         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17580         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17581         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17582         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17583         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17584         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17585         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17586         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17587         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17588         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17589         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17590         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17591         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17592         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17593         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17594         * NEWS: Mention addition of x86_64 vector exp.
17596         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17597         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17598         redirections for logf.
17599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17600         * sysdeps/x86_64/fpu/Versions: New versions added.
17601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17603         build of SSE, AVX2 and AVX512 IFUNC versions.
17604         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17605         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17606         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17607         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17608         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17609         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17610         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17611         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17612         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17613         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17614         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17615         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17616         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17617         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17618         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17619         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17622         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17624         * NEWS: Mention addition of x86_64 vector logf.
17626         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17627         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17628         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17629         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17630         redirections for log.
17631         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17632         * sysdeps/x86_64/fpu/Versions: New versions added.
17633         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17634         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17635         build of SSE, AVX2 and AVX512 IFUNC versions.
17636         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17637         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17638         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17639         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17640         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17641         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17642         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17643         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17644         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17645         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17646         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17647         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17648         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17649         test.
17650         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17651         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17652         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17653         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17654         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17655         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17656         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17657         * NEWS: Mention addition of x86_64 vector log.
17659 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17661         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17662         cfi_adjust_cfa_offset argument.
17663         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17664         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17666         [BZ #18034]
17667         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17668         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17669         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17670         ordering using ldar.
17671         (_dl_tlsdesc_dynamic): Likewise.
17672         (_dl_tlsdesc_return_lazy): Likewise.
17673         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17674         relaxed atomics instead of volatile and synchronize with release store.
17675         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17676         volatile.
17677         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17679 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17681         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17683         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17684         * sysdeps/x86_64/fpu/Versions: New versions added.
17685         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17686         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17687         build of SSE, AVX2 and AVX512 IFUNC versions.
17688         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17689         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17690         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17691         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17692         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17693         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17694         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17695         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17696         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17697         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17698         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17699         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17700         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17701         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17702         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17703         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17706         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17707         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17708         * NEWS: Mention addition of x86_64 vector sinf.
17710 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17712         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17713         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17714         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17715         Remove variable.
17716         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17717         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17719 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17721         [BZ #18530]
17722         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17723         strong alias of _IO_fputs.  Use libc_hidden_def.
17724         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17725         and define as weak alias of __fputs_unlocked.  Use
17726         libc_hidden_weak.
17727         * include/stdio.h (__fputs_unlocked): Declare.  Use
17728         libc_hidden_proto.
17729         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17730         fputs_unlocked.
17732         [BZ #18529]
17733         * resolv/netdb.h [__USE_POSIX]: Change condition to
17734         [__USE_XOPEN2K].
17735         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17736         not expect.
17737         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17738         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17739         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17740         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17741         [XPG4 || UNIX98] (AI_ALL): Likewise.
17742         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17743         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17744         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17745         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17746         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17747         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17748         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17749         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17750         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17751         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17752         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17753         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17754         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17755         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17756         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17757         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17758         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17759         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17760         [XPG4 || UNIX98] (gai_strerror): Likewise.
17761         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17762         [XPG4 || UNIX98] (getnameinfo): Likewise.
17764         [BZ #18528]
17765         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17766         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17767         __USE_XOPEN2K8].
17768         (getgrent): Likewise.
17769         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17770         expect.
17771         [XPG3 || POSIX2008] (endgrent): Likewise.
17772         [XPG3] (setgrent): Likewise.
17773         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17774         variable.
17775         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17777         [BZ #18527]
17778         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17779         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17780         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17781         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17782         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17783         * include/unistd.h (__getlogin_r): Declare.  Use
17784         libc_hidden_proto.
17785         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17786         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17787         variable.
17788         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17789         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17790         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17792 2015-06-12  Martin Sebor  <msebor@redhat.com>
17794         [BZ #18512]
17795         * Makerules (check-install-supported): New target.
17796         (install): Add check-install-supported as a dependency.
17797         * manual/install.texi (Installing the C Library): Document
17798         that overriding prefix and exec_prefix is not supported.
17799         Mention DESTDIR.
17800         * INSTALL: Regenerate from the above.
17802 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17804         [BZ #18519]
17805         * posix/Versions (libc): Export __libc_pread at version
17806         GLIBC_PRIVATE.
17807         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17808         instead of pread.
17809         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17810         variable.
17812         [BZ #18522]
17813         * misc/efgcvt_r.c
17814         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17815         (cvt_symbol): Use weak_alias instead of strong_alias.
17816         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17817         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17818         Remove variable.
17819         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17820         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17822         [BZ #18520]
17823         * inet/herrno.c (h_errno): Rename to __h_errno.
17824         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17825         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17826         to __h_errno instead of h_errno.
17827         * nptl/herrno.c (h_errno): Rename to __h_errno.
17828         (__h_errno_location): Refer to __h_errno not h_errno.
17829         * resolv/Versions (h_errno): Rename to __h_errno.
17830         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17831         Remove variable.
17832         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17834 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17836         * configure.ac: More strict check for AVX512 assembler support.
17837         * configure: Regenerated.
17839         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17840         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17841         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17842         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17843         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17844         * sysdeps/x86_64/fpu/Versions: New versions added.
17845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17846         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17847         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17848         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17853         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17854         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17855         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17856         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17857         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17858         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17859         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17860         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17861         test.
17862         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17863         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17864         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17865         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17866         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17867         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17868         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17869         * NEWS: Mention addition of x86_64 vector sin.
17871 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17873         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17874         comment.
17876 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17878         [BZ #18479]
17879         * nptl/pt-interp.c: New file.
17880         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17881         Add pt-interp.
17882         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17883         $(common-objpfx)runtime-linker.h.
17885 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17887         * Makeconfig (+interp): Remove unused variable.
17888         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17889         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17890         $(elf-objpfx)runtime-linker.h.
17891         ($(elf-objpfx)runtime-linker.h): Rename to
17892         $(common-objpfx)runtime-linker.h and move ...
17893         * Makerules [$(build-shared) = yes]: ... here.
17894         * elf/interp.c: Include <runtime-linker.h> instead of
17895         <elf/runtime-linker.h>.
17897 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17899         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17900         (__gettimeofday_syscall): Remove vsyscall fallback.
17901         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17902         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17903         Add syscall fallback function.
17904         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17905         if vDSO is not present.
17906         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17907         fallback function.
17908         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17909         present.
17910         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17911         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17913 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17915         [BZ #18497]
17916         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17917         of wcscmp.
17918         (wcscmp): Define as weak alias of WCSCMP.
17919         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17920         wcscoll.
17921         (USE_HIDDEN_DEF): Define.
17922         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17923         __wcscoll.  Don't use libc_hidden_weak.
17924         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17925         wcscmp.
17926         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17927         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17928         __GI_wcscmp.
17929         (weak_alias): Undefine and redefine.
17930         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17931         __wcscmp and define as weak alias of __wcscmp.
17932         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17933         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17934         (__wcscoll): Likewise.
17935         (wcscmp): Don't use libc_hidden_proto.
17936         (wcscoll): Likewise.
17937         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17938         wcscoll.
17939         * posix/regexec.c (check_node_accept_bytes): Likewise.
17940         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17941         variable.
17942         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17943         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17945         [BZ #18507]
17946         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17947         __fstatvfs and define as weak alias of __fstatvfs.  Use
17948         libc_hidden_weak.
17949         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17950         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17951         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17952         Define as alias of __fstatvfs, not fstatvfs.
17953         (fstatvfs64): Likewise.
17954         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17955         Define as alias of __statvfs, not statvfs.
17956         (statvfs64): Likewise.
17957         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17958         Remove variable.
17960 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17963         (HAVE_GETCPU_VSYSCALL): Define.
17964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17965         (HAVE_GETCPU_VSYSCALL): Likewise.
17966         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17967         * sysdeps/unix/sysv/linux/sched_getcpu.c
17968         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17969         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17970         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17971         prototype.
17972         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17973         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17974         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17976         Define.
17977         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17978         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17979         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17980         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17982 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17984         * sysdeps/x86_64/fpu/Makefile: New file.
17985         * sysdeps/x86_64/fpu/Versions: New file.
17986         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17987         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17988         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17989         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17990         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17991         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17992         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17993         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17994         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17995         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17996         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17997         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17998         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17999         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18000         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18001         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18002         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18003         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18004         * sysdeps/x86_64/configure: Regenerated.
18005         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18006         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18007         * manual/install.texi (Configuring and compiling): Document
18008         --disable-mathvec.
18009         * INSTALL: Regenerated.
18010         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18012         * math/Makefile: Added rules for vector tests.
18013         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18014         declaration under condition.
18015         * math/test-double-vlen2.h: New file.
18016         * math/test-double-vlen4.h: New file.
18017         * math/test-double-vlen8.h: New file.
18018         * math/test-vec-loop.h: Added initialization macro.
18019         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18020         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18021         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18022         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18023         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18024         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18025         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18026         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18027         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18028         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18029         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18031         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18032         * sysdeps/x86_64/fpu/Versions: New versions added.
18033         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18034         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18035         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18036         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18037         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18038         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18039         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18040         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18041         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18042         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18043         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18044         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18045         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18046         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18047         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18048         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18049         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18050         * NEWS: Mention addition of x86_64 vector cosf.
18052         * math/Makefile: Added CFLAGS for new tests.
18053         * math/test-float-vlen16.h: New file.
18054         * math/test-float-vlen4.h: New file.
18055         * math/test-float-vlen8.h: New file.
18056         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18057         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18058         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18059         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18060         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18061         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18062         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18064         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18065         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18066         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18068 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18070         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18071         * locale/programs/ld-ctype.c: Likewise.
18073 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18075         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18076         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18077         bit_ZMM16_31_state): New macro.
18078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18079         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18081 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18083         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18085 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18087         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18089 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18091         [BZ #18498]
18092         * libio/memstream.c (open_memstream): Rename to __open_memstream
18093         and define as weak alias of __open_memstream.
18094         * include/stdio.h (__open_memstream): Declare.  Use
18095         libc_hidden_proto.
18096         (open_memstream): Don't use libc_hidden_proto.
18097         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18098         open_memstream.
18099         * posix/getopt.c (_getopt_internal_r): Likewise.
18100         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18101         variable.
18102         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18103         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18104         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18106         [BZ #18496]
18107         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18108         instead of wcrtomb.
18110         [BZ #18483]
18111         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18112         [__USE_XOPEN2K8].  Remove redundant #endif.
18113         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18114         Remove redundant #if.
18115         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18116         Remove variable.
18117         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18118         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18120         [BZ #18495]
18121         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18122         (__iswlower): Likewise.
18123         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18124         (__iswlower): Likewise.
18125         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18126         instead of towlower.
18127         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18128         instead of iswlower.  Call __towupper instead of towupper.
18129         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18130         instead of iswalnum.
18132 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18134         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18135         errors to stderr.
18137 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18139         [BZ #15661]
18140         [BZ #17322]
18141         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18142         Check for overflow properly.  Check for O_APPEND.  Ignore large
18143         file system block sizes.  Add comments about problems.
18144         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18145         * manual/filesys.texi (Storage Allocation): New node.
18147 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18149         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18150         cancellable syscalls.
18151         (SYS_ify): Add guard to no redefine it.
18152         (INLINE_SYSCALL): Likewise.
18153         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18154         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18155         SYSCALL_CANCEL instead.
18156         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18157         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18158         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18159         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18160         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18161         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18162         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18163         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18164         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18165         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18166         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18167         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18168         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18169         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18170         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18174         (__libc_pread64): Likewise.
18175         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18176         (__libc_preadv): Likewise.
18177         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18178         (__libc_readv64): Likewise.
18179         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18180         (__libc_pwrite): Likewise.
18181         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18182         (__libc_pwrite64): Likewise.
18183         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18184         (__libc_pwritev): Likewise.
18185         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18186         (__libc_pwritev64): Likewise.
18187         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18188         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18189         (sync_file_range): Likewise.
18190         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18191         Likewise.
18192         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18193         Likewise.
18194         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18195         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18196         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18197         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18198         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18199         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18200         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18201         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18203         Likewise.
18204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18205         (__libc_read64): Likewise.
18206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18207         Likewise.
18208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18209         Likewise.
18210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18211         Likewise.
18212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18213         Likewise.
18214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18215         (__libc_pread64): Likewise.
18216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18217         Likewise.
18218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18219         (__libc_pwrite64): Likewise.
18220         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18221         (sync_file_range): Likewise.
18222         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18223         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18224         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18225         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18226         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18227         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18228         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18229         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18230         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18231         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18232         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18233         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18234         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18235         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18236         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18237         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18238         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18239         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18240         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18241         Likewise.
18242         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18243         Likewise.
18244         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18245         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18246         Likewise.
18247         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18248         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18249         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18250         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18251         Likewise.
18252         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18253         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18254         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18255         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18256         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18258 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18260         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18261         Include dl-vdso.
18262         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18263         Use VDSO routines for gettimeofday, clock_gettime if
18264         available.
18265         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18266         Declare VDSO symbols.
18267         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18268         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18269         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18270         * sysdeps/unix/sysv/linux/arm/Versions: Add
18271         __vdso_clock_gettime.
18273 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18275         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18276         be an inline implementation regardless of library is built within.
18277         (open_not_cancel_2): Likewise.
18278         (__read_nocancel): Likewise.
18279         (__write_nocancel): Likewise.
18280         (openat_not_cancel): Likewise.
18281         (openat_not_cancel_3): Likewise.
18282         (openat64_not_cancel): Likewise.
18283         (openat64_not_cancel_3): Likewise.
18284         (__close_nocancel): Likewise.
18285         (pause_not_cancel): Likewise.
18286         (nanosleep_not_cancel): Likewise.
18287         (sigsuspend_not_cancel): Likewise.
18289 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18291         [BZ #14958]
18292         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18293         wake-up.
18294         (__pthread_rwlock_rdlock_slow): Likewise.
18295         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18296         Likewise.
18297         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18298         Likewise.
18299         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18300         * nptl/tst-rwlock16.c: New file.
18301         * nptl/Makefile (tests): Add new test.
18303 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18305         [BZ #18324]
18306         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18307         missing wake-up of readers.
18308         * nptl/tst-rwlock15.c: New file.
18309         * nptl/Makefile (tests): Add new test.
18311 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18313         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18314         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18315         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18316         and __nacl_supply_interface_rtld.
18317         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18318         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18319         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18320         Add __nacl_supply_interface_rtld.
18321         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18323 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18325         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18326         isfinite.
18327         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18328         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18330 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18332         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18333         __signbit* with standard C99 macros.
18334         * math/e_exp10l.c: Likewise.
18335         * math/e_exp2l.c: Likewise.
18336         * math/e_scalb.c: Likewise.
18337         * math/e_scalbf.c: Likewise.
18338         * math/e_scalbl.c: Likewise.
18339         * math/s_ldexp.c: Likewise.
18340         * math/s_ldexpf.c: Likewise.
18341         * math/s_ldexpl.c: Likewise.
18342         * math/w_atan2.c: Likewise.
18343         * math/w_atan2f.c: Likewise.
18344         * math/w_atan2l.c: Likewise.
18345         * math/w_cosh.c: Likewise.
18346         * math/w_coshf.c: Likewise.
18347         * math/w_coshl.c: Likewise.
18348         * math/w_exp10.c: Likewise.
18349         * math/w_exp10f.c: Likewise.
18350         * math/w_exp10l.c: Likewise.
18351         * math/w_exp2.c: Likewise.
18352         * math/w_exp2f.c: Likewise.
18353         * math/w_exp2l.c: Likewise.
18354         * math/w_fmod.c: Likewise.
18355         * math/w_fmodf.c: Likewise.
18356         * math/w_fmodl.c: Likewise.
18357         * math/w_hypot.c: Likewise.
18358         * math/w_hypotf.c: Likewise.
18359         * math/w_hypotl.c: Likewise.
18360         * math/w_jnl.c: Likewise.
18361         * math/w_lgamma.c: Likewise.
18362         * math/w_lgamma_r.c: Likewise.
18363         * math/w_lgammaf.c: Likewise.
18364         * math/w_lgammaf_r.c: Likewise.
18365         * math/w_lgammal.c: Likewise.
18366         * math/w_lgammal_r.c: Likewise.
18367         * math/w_pow.c: Likewise.
18368         * math/w_powf.c: Likewise.
18369         * math/w_powl.c: Likewise.
18370         * math/w_remainder.c: Likewise.
18371         * math/w_remainderf.c: Likewise.
18372         * math/w_remainderl.c: Likewise.
18373         * math/w_scalb.c: Likewise.
18374         * math/w_scalbf.c: Likewise.
18375         * math/w_scalbl.c: Likewise.
18376         * math/w_scalbln.c: Likewise.
18377         * math/w_scalblnf.c: Likewise.
18378         * math/w_scalblnl.c: Likewise.
18379         * math/w_sinh.c: Likewise.
18380         * math/w_sinhf.c: Likewise.
18381         * math/w_sinhl.c: Likewise.
18382         * math/w_tgamma.c: Likewise.
18383         * math/w_tgammaf.c: Likewise.
18384         * math/w_tgammal.c: Likewise.
18385         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18386         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18387         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18388         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18389         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18390         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18391         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18392         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18395         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18396         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18397         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18398         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18411         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18412         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18413         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18414         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18415         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18416         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18417         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18418         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18419         * stdio-common/printf_fp.c: Likewise.
18420         * stdio-common/printf_fphex.c: Likewise.
18421         * stdio-common/printf_size.c: Likewise.
18423 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18425         [BZ #18470]
18426         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18427         strnlen.
18428         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18429         Remove variable.
18430         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18431         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18432         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18433         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18434         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18435         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18436         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18437         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18438         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18439         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18441         [BZ #18468]
18442         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18443         weak alias of __wmemchr.  Use libc_hidden_weak.
18444         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18445         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18446         instead of wmemchr.
18448 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18450         [BZ #18383]
18451         * elf/tst-tlsalign-extern.c: New file.
18452         * elf/tst-tlsalign-extern-static.c: New file.
18453         * elf/tst-tlsalign-vars.c: New file.
18454         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18455         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18456         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18457         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18458         (test-xfail-tst-tlsalign-extern-static): New variable.
18460 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18462         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18463         Use variable name _sc_err instead of err.
18464         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18465         instead of ret.
18466         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18467         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18468         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18469         (INLINE_SYSCALL): Likewise.
18471         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18472         * include/string.h (__strnlen): Use libc_hidden_proto.
18473         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18474         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18475         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18476         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18477         (libc_hidden_def): Undefine and redefine.
18478         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18479         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18480         __GI_strnlen.
18481         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18482         libc_hidden_def.
18483         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18485         [BZ #18469]
18486         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18487         weak alias of __towlower.  Use libc_hidden_weak.
18488         (towupper): Rename to __towupper and define as weak alias of
18489         __towupper.  Use libc_hidden_weak.
18490         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18491         (__towupper): Likewise.
18492         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18493         __towlower instead of towlower.
18495 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18497         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18498         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18500 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18502         * sysdeps/aarch64/libm-test-ulps: Update.
18504 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18506         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18507         Define.
18508         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18510         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18511         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18512         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18513         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18514         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18516 2015-06-01  Martin Sebor  <msebor@redhat.com>
18518         [BZ #18116]
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18520         (__setcontext): Use extended four-operand version of mtsf whenever
18521         possible.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18523         (__novec_swapcontext): Likewise.
18525 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18527         * benchtests/scripts/compare_bench.py: New file.
18528         * benchtests/scripts/import_bench.py (mean): New function.
18529         (split_list): Likewise.
18530         (do_for_all_timings): Likewise.
18531         (compress_timings): Likewise.
18533         * benchtests/scripts/import_bench.py: New file.
18534         * benchtests/scripts/validate_benchout.py: Import import_bench
18535         instead of jsonschema.
18536         (validate_bench): Remove function.
18537         (main): Use import_bench.
18539 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18541         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18542         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18544 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18548 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18550         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18551         set THREAD_SELF->tid to a magic value and futex-wake it.
18552         Pass its address to the thread_exit system call.
18553         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18554         bit is clear.
18555         * sysdeps/nacl/lowlevellock.h: New file.
18556         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18558         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18559         Add TIMEOUT to current time, don't subtract it.
18561 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18563         [BZ #2981]
18564         [BZ #18422]
18565         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18566         ($(objpfx)tst-audit2.out): Also depend on
18567         $(objpfx)tst-auditmod9b.so.
18568         * elf/tst-audit2.c: Include <dlfcn.h>.
18569         (calloc_called): New.
18570         (calloc): Allow to be called more than once.
18571         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18573 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18575         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18576         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18578 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18580         * stdlib/monetary.h: Fix comment.
18582 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18584         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18585         Avoid using variables in #defines that might cause shadowing.
18586         (INTERNAL_VSYSCALL_CALL): Likewise.
18588 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18590         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18592         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18593         * nptl/lll_timedlock_wait.c: ... to this new file.
18594         * nptl/Makefile (libpthread-routines): Add it.
18595         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18596         * nptl/lll_timedwait_tid.c: ... to this new file.
18597         * nptl/Makefile (libpthread-routines): Add it.
18598         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18599         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18600         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18601         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18602         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18603         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18604         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18605         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18606         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18607         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18609 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18611         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18612         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18613         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18615         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18617         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18619         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18620         * sysdeps/unix/sysv/linux/tile/sysdep.h
18621         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18622         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18623         using vDSO syscall macro.
18625 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18627         [BZ #17293]
18628         * uk_UA: Fix sorting order for Ukrainian locale
18630 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18632         * stdlib/monetary.h: Fix comment.
18634 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18636         [BZ #18234]
18637         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18638         st_mtim and st_ctim members.
18639         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18640         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18641         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18642         (struct stat64): Likewise.
18643         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18644         (struct stat64): Likewise.
18645         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18646         (struct stat64): Likewise.
18648 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18650         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18651         Define and include sysdep-vdso.h.
18652         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18653         Likewise.
18654         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18655         Likewise.
18656         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18657         Define with VDSO_SYMBOL and use PTR_MANGLE.
18658         (__vdso_clock_gettime): Likewise.
18659         (__vdso_clock_getres): Likewise.
18660         (_libc_vdso_platform_setup): Likewise.
18661         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18662         Likewise.
18663         (_libc_vdso_platform_setup): Likewise.
18664         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18665         Likewise.
18666         (__vdso_clock_gettime): Likewise.
18667         (__vdso_clock_getres): Likewise.
18668         (__vdso_get_tbfreq): Likewise.
18669         (__vdso_getcpu): Likewise.
18670         (__vdso_time): Likewise.
18671         (__vdso_sigtramp_rt64): Likewise.
18672         (__vdso_signtramp32): Likewise.
18673         (__vdso_sigtramp_rt32): Likewise.
18674         (_libc_vdso_platform_setup): Likewise.
18675         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18676         Likewise.
18677         (__vdso_clock_gettime): Likewise.
18678         (__vdso_clock_getres): Likewise.
18679         (_libc_vdso_platform_setup): Likewise.
18680         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18681         Likewise.
18682         (__vdso_clock_gettime): Likewise.
18683         (_libc_vdso_platform_setup): Likewise.
18684         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18685         Likewise.
18686         (__vdso_getcpu): Likewise.
18687         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18688         Use VDSO_SYMBOL macro to define.
18689         (__vdso_clock_gettime): Likewise.
18690         (__vdso_clock_getres): Likewise.
18691         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18692         Likewise.
18693         (__vdso_clock_gettime): Likewise.
18694         (__vdso_clock_getres): Likewise.
18695         (__vdso_get_tbfreq): Likewise.
18696         (__vdso_getcpu): Likewise.
18697         (__vdso_time): Likewise.
18698         (__vdso_sigtramp_rt64): Likewise.
18699         (__vdso_signtramp32): Likewise.
18700         (__vdso_sigtramp_rt32): Likewise.
18701         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18702         Likewise.
18703         (__vdso_clock_gettime): Likewise.
18704         (__vdso_clock_getres): Likewise.
18705         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18706         Likewise.
18707         (__vdso_clock_gettime): Likewise.
18708         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18709         Likewise.
18710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18711         macro.
18712         (INTERNAL_VSYSCALL): Likewise.
18713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18714         Remove macro.
18715         (INTERNAL_VSYSCALL): Likewise.
18716         (INTERNAL_VSYSCALL_NCS): Likewise.
18717         (INTERNAL_VSYSCALL_CALL): New macro.
18718         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18720         Likewise.
18721         (INTERNAL_VSYSCALL): Likewise.
18722         (INTERNAL_VSYSCALL_NCS): Likewise.
18723         (INTERNAL_VSYSCALL_CALL): New macro.
18724         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18726         (INLINE_VSYSCALL): Remove macro.
18727         (INTERNAL_VSYSCALL): Remove macro.
18728         (INTERNAL_VSYSCALL_NCS): Remove macro.
18729         (INTERNAL_VSYSCALL_CALL): New macro.
18730         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18731         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18732         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18733         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18734         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18736         (INLINE_VSYSCALL): Remove macro.
18737         (INTERNAL_VSYSCALL): Likewise.
18738         (INTERNAL_VSYSCALL_NCS): Likewise.
18739         (INTERNAL_VSYSCALL_CALL): New macro.
18740         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18741         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18742         PTR_DEMANGLE on vDSO pointer.
18743         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18744         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18745         macro.
18746         (INTERNAL_SYSCALL): Likewise.
18747         (INTERNAL_VSYSCALL_NCS): Remove macro.
18748         (INTERNAL_VSYSCALL_CALL): New macro.
18749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18750         Remove macro.
18751         (INTERNAL_VSYSCALL): Likewise.
18752         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18753         sysdep-vdso.h instead of libc-vdso.h.
18754         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18755         definition.
18756         (INLINE_VSYSCALL): Likewise.
18757         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18758         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18759         definition.
18760         (INLINE_VSYSCALL): Likewise.
18761         (INTERNAL_VSYSCALL): Likewise.
18762         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18763         * sysdeps/unix/sysv/linux/timespec_get.c
18764         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18765         (timespec_get): Use ANSI prototype.
18766         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18767         and definition for Linux.
18769 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18771         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18772         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18774 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18776         [BZ #2981]
18777         [BZ #18410]
18778         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18779         for missing DT_PLTRELSZ.
18781 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18783         Remove obsolete aliases that broke 'locale -a'
18784         [BZ #18412]
18785         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18786         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18787         breaking some applications that use 'locale -a' output.
18788         Change the encoding of this file from Latin-1 to ASCII to avoid
18789         other potential problems with people grepping this file.
18791 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18793         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18794         -fasynchronous-unwind-tables.
18795         (CFLAGS-sendto.c): Likewise.
18796         (CFLAGS-sendmsg.c): Likewise.
18797         (CFLAGS-connect.c): Likewise.
18798         (CFLAGS-recvmsg.c): Likewise.
18799         (CFLAGS-recvfrom.c): Likewise.
18800         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18801         (SOCKETCALL): New macro: non-cancellable socketcall.
18802         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18803         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18804         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18805         * sysdeps/unix/sysv/linux/accept.c: New file.
18806         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18807         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18808         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18809         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18810         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18811         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18812         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18813         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18814         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18815         * sysdeps/unix/sysv/linux/send.c: Likewise.
18816         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18817         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18818         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18819         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18820         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18821         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18822         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18823         prototype.
18824         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18825         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18826         instead of __internal_xxx function.
18827         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18828         prototype.
18829         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18830         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18831         instead of __internal_xxx function.
18832         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18833         prototype.
18834         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18835         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18836         instead of __internal_xxx function.
18837         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18838         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18839         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18840         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18841         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18842         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18843         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18844         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18845         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18846         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18847         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18848         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18849         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18850         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18851         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18852         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18853         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18854         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18855         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18856         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18859         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18860         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18861         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18862         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18863         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18864         * sysdeps/unix/sysv/linux/send.S: Likewise.
18865         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18866         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18867         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18868         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18869         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18870         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18871         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18872         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18873         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18874         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18875         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18876         socketcall is implemented in GLIBC.
18878 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18880         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18881         (__fma): Ignore uninitialized warnings around packing.
18882         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18883         (__fmaf): Ignore uninitialized warnings around packing.
18884         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18885         (__fmal): Ignore uninitialized warnings around packing.
18887         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18888         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18890         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18892         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18893         switch statement into default case.
18894         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18896         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18897         a conditional in forcing "inexact".
18898         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18899         Likewise.
18901 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18903         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18904         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18905         for each INTERNAL_SYSCALL use.
18907 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18909         [BZ #438]
18910         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18911         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18912         variable.
18914         [BZ #18444]
18915         * string/basename.c (basename): Rename to __basename and define as
18916         weak alias of __basename.  Use libc_hidden_weak.
18917         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18918         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18919         __basename instead of basename.
18920         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18921         Remove variable.
18922         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18924 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18926         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18927         (_IO_JUMPS_FILE_plus): New.
18928         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18929         _IO_CAST_FIELD_ACCESS.
18930         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18931         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18932         * libio/freopen.c (freopen): Likewise.
18933         * libio/freopen64.c (freopen64): Likewise.
18934         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18935         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18936         * libio/iofwide.c (_IO_fwide): Likewise.
18937         * libio/memstream.c (open_memstream): Likewise.
18938         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18939         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18940         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18942 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18944         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18945         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18946         NADJ.
18947         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18948         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18949         NADJ.
18950         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18951         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18952         NADJ.
18954         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18955         (p == 4) case.
18957         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18958         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18959         Remove variable.
18960         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18961         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18962         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18964 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18966         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18967         Adjust jump table label generation macros.
18969 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18971         * stdio-common/vfprintf.c (vfprintf): Move local variables
18972         args_malloced, specs, specs_malloced, and the code after
18973         do_positional to the printf_positional function.
18974         (printf_positional): New function.
18976 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18978         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18979         function.
18980         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18981         STEP4_TABLE, process_arg): Move macro definitions
18982         out of the vfprintf function.  (Cosmetic change only.)
18984 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18986         * benchtests/Makefile (stdio-common-bench): Define.
18987         (benchset): Add stdio-common-bench.
18988         * sprintf-inputs: New file.
18989         * sprintf-source.c: New file.
18991 2015-05-21  Andreas Schwab  <schwab@suse.de>
18993         [BZ #13028]
18994         [BZ #17053]
18995         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18996         of struct __res_state.
18997         * resolv/res_send.c (__libc_res_nsend): Likewise.
18998         (get_nsaddr): New function.
18999         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19000         statp directly.
19002 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19004         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19005         -D_POSIX_C_SOURCE=199506L.
19007         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19009         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19010         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19011         Do not mention otherwise.
19012         [POSIX] (_XOPEN_VERSION): Do not expect.
19013         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19014         [POSIX] (_POSIX2_C_BIND): Likewise.
19015         [POSIX] (_POSIX2_VERSION): Likewise.
19016         [POSIX] (_XOPEN_XPG2): Likewise.
19017         [POSIX] (_XOPEN_XPG3): Likewise.
19018         [POSIX] (_XOPEN_XPG4): Likewise.
19019         [POSIX] (_XOPEN_UNIX): Likewise.
19020         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19021         [POSIX] (_POSIX_BARRIERS): Likewise.
19022         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19023         [POSIX] (_POSIX_CPUTIME): Likewise.
19024         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19025         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19026         [POSIX] (_POSIX_SHELL): Likewise.
19027         [POSIX] (_POSIX_SPAWN): Likewise.
19028         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19029         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19030         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19031         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19032         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19033         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19034         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19035         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19036         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19037         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19038         [POSIX] (_POSIX2_PBS): Likewise.
19039         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19040         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19041         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19042         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19043         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19044         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19045         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19046         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19047         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19048         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19049         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19050         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19051         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19052         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19053         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19054         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19055         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19056         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19057         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19058         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19059         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19060         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19061         [POSIX] (_SC_2_C_BIND): Likewise.
19062         [POSIX] (_SC_2_C_VERSION): Likewise.
19063         [POSIX] (_SC_2_PBS): Likewise.
19064         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19065         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19066         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19067         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19068         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19069         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19070         [POSIX] (_SC_BARRIERS): Likewise.
19071         [POSIX] (_SC_BASE): Likewise.
19072         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19073         [POSIX] (_SC_DEVICE_IO): Likewise.
19074         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19075         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19076         [POSIX] (_SC_FD_MGMT): Likewise.
19077         [POSIX] (_SC_FIFO): Likewise.
19078         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19079         [POSIX] (_SC_FILE_LOCKING): Likewise.
19080         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19081         [POSIX] (_SC_IOV_MAX): Likewise.
19082         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19083         [POSIX] (_SC_NETWORKING): Likewise.
19084         [POSIX] (_SC_PAGE_SIZE): Likewise.
19085         [POSIX] (_SC_PASS_MAX): Likewise.
19086         [POSIX] (_SC_PIPE): Likewise.
19087         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19088         [POSIX] (_SC_REGEXP): Likewise.
19089         [POSIX] (_SC_SHELL): Likewise.
19090         [POSIX] (_SC_SIGNALS): Likewise.
19091         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19092         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19093         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19094         [POSIX] (_SC_USER_GROUPS): Likewise.
19095         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19096         [POSIX] (_SC_STREAMS): Likewise.
19097         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19098         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19099         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19100         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19101         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19102         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19103         [POSIX] (_PC_FILESIZEBITS): Likewise.
19104         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19105         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19106         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19107         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19108         [POSIX] (uid_t): Likewise.
19109         [POSIX] (gid_t): Likewise.
19110         [POSIX] (off_t): Likewise.
19111         [POSIX] (pid_t): Likewise.
19112         [POSIX] (cuserid): Allow.
19113         (_SC_2_CHAR_TERM): Require constant.
19114         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19115         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19116         variable.
19118 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19120         * sysdeps/nacl/pthread-pids.h: New file.
19121         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19122         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19124         * nptl/pthread-pids.h: New file.
19125         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19126         * nptl/nptl-init.c: Include <pthread-pids.h>.
19127         (__pthread_initialize_minimal_internal):
19128         Call __pthread_initialize_pids instead of set_tid_address syscall.
19130         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19131         * sysdeps/posix/usleep.c: ... here.
19133 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19135         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19136         call_pselect6 object.
19137         [$(subdir) = io]: Remove call_sync_file_range object.
19138         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19139         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19140         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19141         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19143 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19145         * math/s_cproj.c: Add include "math_private.h".
19146         * math/s_cprojf.c: Likewise.
19147         * math/s_cprojl.c: Likewise.
19149 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19151         [BZ #18244]
19152         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19153         high mantissa bit when testing whether P is a NaN.
19154         * math/libm-test.inc (remainder_test_data): Add more tests.
19155         (remquo_test_data): Likewise.
19157         [BZ #18049]
19158         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19159         below -32, return the argument, with underflow if subnormal.
19160         * math/auto-libm-test-in: Add more tests of atanh.
19161         * math/auto-libm-test-out: Regenerated.
19163 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19165         [BZ #18434]
19166         * nptl/tst-sem15.c: New file.
19167         * nptl/Makefile (tests): Add it.
19168         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19169         s/<</>>/ to fix typo in EOVERFLOW check.
19170         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19172 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19174         * manual/strings.texi (envz_remove): Fix typo in safety
19175         annotations.
19177 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19178             Steve Ellcey  <sellcey@imgtec.com>
19180         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19181         in order to avoid strict alias warnings.
19182         (iruserok_af): Ditto for ra.
19184 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19186         [BZ #17581]
19187         * malloc/hooks.c
19188         (magicbyte): Convert to a function and avoid returning 0x01.
19189         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19190         (mem2chunk_check): Fix unsigned comparisons to zero.
19191         Hoist defs of sz and magic.
19193 2015-05-19  Richard Henderson  <rth@redhat.com>
19195         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19197         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19199 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19201         [BZ #16159]
19202         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19203         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19204         (reused_arena): Find a non-corrupt arena.
19205         (heap_trim): Pass arena to unlink.
19206         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19207         malloc_printerr.
19208         (top_check): Likewise.
19209         (free_check): Likewise.
19210         (realloc_check): Likewise.
19211         * malloc/malloc.c (malloc_printerr): Add arena argument.
19212         (unlink): Likewise.
19213         (munmap_chunk): Adjust.
19214         (ARENA_CORRUPTION_BIT): New macro.
19215         (arena_is_corrupt): Likewise.
19216         (set_arena_corrupt): Likewise.
19217         (sysmalloc): Use mmap if there are no usable arenas.
19218         (_int_malloc): Likewise.
19219         (__libc_malloc): Don't fail if arena_get returns NULL.
19220         (_mid_memalign): Likewise.
19221         (__libc_calloc): Likewise.
19222         (__libc_realloc): Adjust for additional argument to
19223         malloc_printerr.
19224         (_int_free): Likewise.
19225         (malloc_consolidate): Likewise.
19226         (_int_realloc): Likewise.
19227         (_int_memalign): Don't touch corrupt arenas.
19228         * malloc/tst-malloc-backtrace.c: New test case.
19230         * Makefile (summarize-tests): Fix return value on success.
19232         * manual/string.texi (Envz Functions): Add envz_remove.
19234 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19236         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19237         (invalid_name): New function, broken out of ...
19238         (__opendirat): ... here.  Call it.
19239         (need_isdir_precheck): New function, broken out of ...
19240         (__opendirat): ... here.  Call it.
19241         Use __fxstatat64, not __xstatat64.
19242         (opendir_oflags): New function, broken out of ...
19243         (__opendirat): ... here.  Call it.
19244         (opendir_tail): New function, broken out of ...
19245         (__opendirat): ... here.  Call it.
19246         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19247         opendir_tail, rather than punting to __opendirat.
19248         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19250 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19252         * .gitignore: Ignore generated *.pyc.
19254 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19256         * include/stdio.h: Define __need_wint_t.
19257         * test-skeleton.c: Avoid `for' loop initial declaration.
19258         * nptl/tst-initializers1.c: Use test-skeleton.c.
19260 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19262         [BZ #18418]
19263         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19265 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19267         [BZ #16352]
19268         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19269         (__ieee754_atanh): Force underflow exception for results with
19270         small absolute value.
19271         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19272         (__ieee754_atanhf): Force underflow exception for results with
19273         small absolute value.
19274         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19275         (__ieee754_atanh): Force underflow exception for results with
19276         small absolute value.
19277         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19278         (__ieee754_atanhf): Force underflow exception for results with
19279         small absolute value.
19280         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19281         (__ieee754_atanhl): Force underflow exception for results with
19282         small absolute value.
19283         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19284         (__ieee754_atanhl): Force underflow exception for results with
19285         small absolute value.
19286         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19287         (__ieee754_atanhl): Force underflow exception for results with
19288         small absolute value.
19289         * math/auto-libm-test-in: Do not allow missing underflow
19290         exceptions from atanh.
19291         * math/auto-libm-test-out: Regenerated.
19293         [BZ #18221]
19294         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19295         2**-28 as threshold for returning x or +/- 1/x.
19296         * math/auto-libm-test-in: Add more tests of tan.
19297         * math/auto-libm-test-out: Regenerated.
19299         [BZ #18220]
19300         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19301         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19302         * math/auto-libm-test-in: Add another test of lgamma.
19303         * math/auto-libm-test-out: Regenerated.
19305 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19307         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19308         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19309         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19310         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19311         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19312         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19313         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19316         (log1): Use fabs.  (my_log2): Use fabs.
19317         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19318         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19319         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19320         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19321         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19322         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19323         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19324         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19325         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19326         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19327         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19329 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19331         [BZ #18217]
19332         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19333         as threshold for returning 1 - x.
19334         * math/auto-libm-test-in: Add more tests of erfc.
19335         * math/auto-libm-test-out: Regenerated.
19337 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19339         [BZ #18196]
19340         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19341         threshold for large arguments.
19342         * math/auto-libm-test-in: Add another test of atan.
19343         * math/auto-libm-test-out: Regenerated.
19345         [BZ #16339]
19346         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19347         (__log1p): Force underflow exception for results with small
19348         absolute value.
19349         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19350         (__log1pf): Force underflow exception for results with small
19351         absolute value.
19352         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19353         (__log1p): Force underflow exception for results with small
19354         absolute value.
19355         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19356         (__log1pf): Force underflow exception for results with small
19357         absolute value.
19358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19359         (__log1pl): Force underflow exception for results with small
19360         absolute value.
19361         * math/auto-libm-test-in: Do not allow missing underflow
19362         exceptions from log1p.
19363         * math/auto-libm-test-out: Regenerated.
19365 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19366             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19368         [BZ #16704]
19369         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19371 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19373         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19374         (libmvec): New variable.
19375         * configure.ac: Added option for mathvec build.
19376         * configure: Regenerated.
19377         * mathvec/Depend: New file.
19378         * mathvec/Makefile: New file.
19379         * shlib-versions: Added libmvec.
19380         * math/Makefile: Added rule for libm.so installation.
19382         * bits/math-vector.h: New file.
19383         * bits/libm-simd-decl-stubs.h: New header.
19384         * math/Makefile (headers): Added new header
19385         libm-simd-decl-stubs.h.
19386         * math/math.h (__MATHCALL_VEC): New macro.
19388         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19389         for conditions in testing functions.
19390         * math/Makefile: Added call of libm-have-vector-test.sh.
19391         * math/libm-test.inc (HAVE_VECTOR): New macros.
19393         * math/libm-test.inc: START refactored.
19394         * math/test-double.c (TEST_MATHVEC): Add define.
19395         * math/test-float.c: Likewise.
19396         * math/test-idouble.c: Likewise.
19397         * math/test-ifloat.c: Likewise.
19398         * math/test-ildoubl.c: Likewise.
19399         * math/test-ldouble.c: Likewise.
19400         * sysdeps/generic/math-tests-arch.h
19401         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19402         architecture check.
19404         * math/test-double.c (FUNC_TEST): New macro.
19405         * math/test-float.c: Likewise.
19406         * math/test-idouble.c: Likewise.
19407         * math/test-ifloat.c: Likewise.
19408         * math/test-ildoubl.c: Likewise.
19409         * math/test-ldouble.c: Likewise.
19410         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19412 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19414         * sysdeps/nacl/fdopendir.c: New file.
19416         * dirent/scandir-tail.c: New file.
19417         * dirent/scandir64-tail.c: New file.
19418         * dirent/Makefile (routines): Add them.
19419         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19420         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19421         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19422         [!SCANDIR] (SCANDIR_TAIL): New macro.
19423         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19424         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19425         (SCANDIRAT): Macro removed.
19426         (SCANDIR_TAIL): New macro.
19427         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19428         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19429         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19430         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19431         (READDIR): Macro removed.
19432         (SCANDIR_TAIL): New macro.
19433         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19434         (SCANDIR_TAIL): New macro.
19436         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19437         * dirent/scandir-cancel.c: ... to this new file.
19438         * dirent/Makefile (routines): Add it.
19439         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19440         * sysdeps/unix/sysv/linux/i386/scandir64.c
19441         (SKIP_SCANDIR_CANCEL): Macro removed.
19442         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19444         * dirent/tst-scandir.c: New file.
19445         * dirent/tst-scandir64.c: New file.
19446         * dirent/Makefile (tests): Add them.
19448 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19450         [BZ #18409]
19451         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19453 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19455         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19456         list.
19458 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19460         * benchtests/bench-strcoll.c: New benchmark.
19461         * benchtests/Makefile: Generate locales and run benchmark.
19462         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19463         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19464         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19465         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19466         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19467         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19468         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19469         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19470         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19471         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19472         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19473         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19474         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19475         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19476         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19477         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19478         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19479         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19480         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19481         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19482         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19483         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19484         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19485         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19487 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19489         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19490         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19492 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19494         * posix/uname-values.h: New file.
19495         * posix/uname.c: Include that instead of <config-name.h>.
19496         * sysdeps/nacl/uname-values.h: New file.
19497         * sysdeps/arm/nacl/uname-values.h: New file.
19499 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19501         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19502         splitting into fields.
19504 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19506         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19507         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19508         * locale/localeinfo.h: Add enum collation_encoding_type.
19509         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19510         * programs/ld-collate.c (collate_output): Add encoding type info.
19511         * string/strcoll_l.c (STRDIFF): New function.
19512         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19513         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19515 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19517         [BZ #18397]
19518         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19519         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19520         <fpu_control.h> instead of <math/fpu_control.c>.
19521         * sysdeps/mips/mips32/fpu/Makefile: New file.
19523 2015-05-11  Andreas Schwab  <schwab@suse.de>
19525         [BZ #18007]
19526         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19527         nss_endgrent.
19528         (_nss_compat_endgrent): Call nss_endgrent.
19529         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19530         nss_endpwent.
19531         (_nss_compat_endpwent): Call nss_endpwent.
19532         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19533         needent, call nss_setspent only if non-zero.
19534         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19535         (internal_endspent): Don't call nss_endspent.
19536         (_nss_compat_endspent): Call nss_endspent.
19537         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19538         Remove.  All uses removed.
19539         (internal_setent): Remove parameter stayopen, add parameter
19540         stream.  Use it instead of global variable.
19541         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19542         (internal_endent, internal_getent): Add parameter stream.  Use it
19543         instead of global variable.
19544         (CONCAT(_nss_files_end,ENTNAME))
19545         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19546         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19547         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19548         uses removed.
19549         (internal_setent, internal_endent): Add parameter stream.  Use it
19550         instead of global variable.
19551         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19552         stream.
19553         (get_next_alias): Add parameter stream.
19554         (_nss_files_getaliasent_r): Pass global stream.
19555         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19556         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19557         (_nss_files_gethostbyname4_r): Pass local stream to
19558         internal_setent, internal_getent and internal_endent.  Remove
19559         locking.
19561 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19563         * tst-strfmon1.c (tests): Update expected currency symbol.
19565 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19567         * sysdeps/nacl/gethostname.c: New file.
19569 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19571         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19572         and sinh.
19573         * math/auto-libm-test-out: Regenerated.
19574         * sysdeps/i386/fpu/libm-test-ulps: Update.
19575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19577 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19579         [BZ #18125]
19580         * stdlib/tst-setcontext3.c: New file.
19581         * stdlib/tst-setcontext3.sh: New file.
19582         * stdlib/Makefile (tests): Add tst-setcontext3.
19583         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19584         to verify test program created output file.
19585         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19586         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19587         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19588         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19590 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19592         [BZ #18383]
19593         * elf/tst-tlsalign.c: New file.
19594         * elf/tst-tlsalign-static.c: New file.
19595         * elf/tst-tlsalign-lib.c: New file.
19596         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19597         (tests-static): Add tst-tlsalign-static.
19598         (modules-names): Add tst-tlsalign-lib.
19599         (test-xfail-tst-tlsalign): New variable.
19600         (test-xfail-tst-tlsalign-static): New variable.
19602         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19603         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19605 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19607         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19608         csqrt, erfc, sin and sincos.
19609         * math/auto-libm-test-out: Regenerated.
19610         * sysdeps/i386/fpu/libm-test-ulps: Update.
19611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19613 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19615         * sysdeps/aarch64/libm-test-ulps: Update.
19617 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19619         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19620         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19621         * math/auto-libm-test-out: Regenerated.
19622         * sysdeps/i386/fpu/libm-test-ulps: Update.
19623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19625 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19627         [BZ #18265]
19628         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19629         (wcsncpy): Likewise.
19631 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19633         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19634         Assume __ASSUME_FALLOCATE is always true.
19635         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19636         (__posix_fallocate64_l64): Likweise.
19637         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19638         (posix_fallocate): Likewise.
19639         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19640         (__posix_fallocate64_l64): Likewise.
19641         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19642         [!__ASSUME_FALLOCATE]: Add comment.
19644 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19646         * sysdeps/unix/sysv/linux/i386/Makefile
19647         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19648         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19649         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19650         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19651         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19652         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19653         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19655 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19657         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19658         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19659         tgamma.
19660         * math/auto-libm-test-out: Regenerated.
19661         * sysdeps/i386/fpu/libm-test-ulps: Update.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19666         * math/auto-libm-test-in: Add more tests of tgamma.
19667         * math/auto-libm-test-out: Regenerated.
19668         * sysdeps/i386/fpu/libm-test-ulps: Update.
19669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19671         * math/auto-libm-test-in: Add more tests of tanh.
19672         * math/auto-libm-test-out: Regenerated.
19673         * sysdeps/i386/fpu/libm-test-ulps: Update.
19674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19676         * math/auto-libm-test-in: Add more tests of tan.
19677         * math/auto-libm-test-out: Regenerated.
19678         * sysdeps/i386/fpu/libm-test-ulps: Update.
19679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19681         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19682         * math/auto-libm-test-out: Regenerated.
19683         * sysdeps/i386/fpu/libm-test-ulps: Update.
19684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19686         * math/auto-libm-test-in: Add another test of pow.
19687         * math/auto-libm-test-out: Regenerated.
19688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19690         * math/auto-libm-test-in: Add more tests of lgamma.
19691         * math/auto-libm-test-out: Regenerated.
19692         * sysdeps/i386/fpu/libm-test-ulps: Update.
19693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19695         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19696         log1p.
19697         * math/auto-libm-test-out: Regenerated.
19698         * sysdeps/i386/fpu/libm-test-ulps: Update.
19699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19701 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19703         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19704         Elf64_Chdr structs and ELFCOMPRESS constants.
19706 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19708         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19709         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
19715         * math/auto-libm-test-out: Regenerated.
19716         * sysdeps/i386/fpu/libm-test-ulps: Update.
19717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19719 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19721         * config.h.in (HAVE_AARCH64_BE): Add.
19723 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19725         * math/auto-libm-test-in: Add more tests of csqrt.
19726         * math/auto-libm-test-out: Regenerated.
19727         * sysdeps/i386/fpu/libm-test-ulps: Update.
19728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19730         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19731         * math/auto-libm-test-out: Regenerated.
19732         * sysdeps/i386/fpu/libm-test-ulps: Update.
19733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19737 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19740         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19742         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19743         (euidaccess, eaccess): Define as weak aliases.
19745         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19746         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19747         but __suseconds_t is often 'long int' so some sources assume that
19748         type is being used (e.g. they use %ld to print tv_usec).
19750 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19752         [BZ #18007]
19753         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19754         (CVE-2014-8121)
19755         * nss/tst-nss-getpwent.c: New file.
19756         * nss/Makefile (tests): Add new test.
19758 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19760         [BZ #18346]
19761         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19762         exponents less than 48 as cases where high part of mantissa needs
19763         examining to determine whether argument is integral.
19764         * math/libm-test.inc (round_test_data): Add more tests.
19766 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19768         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19770 2015-04-27  David S. Miller  <davem@davemloft.net>
19772         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19773         __tls_get_addr.
19774         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19776 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ#18333]
19779         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19781 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19783         [BZ#18333]
19784         * time/tzset.c (parse_tzname): Return error on memory allocation
19785         failure.
19786         * test-skeleton.c (struct temp_name_list): Change type of name
19787         member to non-const.
19788         (add_temp_file): Create a copy of the file name.
19789         (delete_temp_files): Deallocate memory.
19790         (create_temp_file): Add comment.
19792 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19794         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19795         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19797 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19799         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19800         * sysdeps/arm/configure: Regenerated.
19802 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19804         [BZ #17715]
19805         * time/tzfile.c (__tzfile_read): Check for large values of
19806         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19807         * time/tzset.c (__tzstring_len): New function, based on the old
19808         __tzstring function.
19809         (__tzstring): Call __tzstring_len.
19810         (parse_tzname): New helper function extracted from
19811         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19812         the input string.
19813         (parse_offset): New helper function extracted from
19814         __tzset_parse_tz.  Replace switch with fallthrough with
19815         initialization before sscanf.
19816         (parse_rule): Likewise.
19817         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19818         new-style function definition.
19819         * timezone/Makefile (tests): Add tst-tzset.
19820         (tst-tzset.out): Dependencies on time zone files.
19821         (tst-tzset-ENV): Set TZDIR.
19822         (testdata/XT%): Copy crafted time zone files.
19823         * timezone/README: Mention crafted time zone files.
19824         * timezone/testdata/XT1, timezone/testdata/XT2,
19825         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19826         files.
19827         * timezone/tst-tzset.c: New test.
19829 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19831         * Makeconfig (+gccwarn): Remove -Winline.
19833 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19835         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19837 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19839         * NEWS: Mention sysconf() cache information support for s390.
19840         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19842 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19844         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19845         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19846         (__nearbyint): Likewise.
19847         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19848         (copysignl): Likewise.
19850 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19852         [BZ #18287]
19853         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19854         based on padding.  (CVE-2015-1781)
19856 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19858         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19859         libc-vdso.h.
19860         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19861         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19862         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19863         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19864         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19865         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19866         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19867         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19868         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19869         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19870         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19871         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19872         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19873         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19874         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19875         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19876         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19877         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19878         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19879         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19880         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19881         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19882         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19884 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19886         * stdlib/setenv.c (__add_to_environ):
19887         Dump core quickly if setenv (..., NULL, ...) is called.
19888         This time, do it the right way, and pacify GCC with a pragma.
19890 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19892         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19893         IMAP->l_prev cannot be null, and #if out the code for the contrary
19894         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19895         believe that NS (&_dl_ns[NSID]) could point outside the array.
19897         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19898         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19899         before using NSID as an index.
19901 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19903         [BZ #17825]
19904         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19905         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19906         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19908 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19910         Add preliminary port to Google Native Client on ARM.
19911         * abi-tags (.*-.*-nacl.*): New entry.
19912         * sysdeps/arm/nacl: New directory.
19913         * sysdeps/nacl: New directory.
19915 2015-04-16  David S. Miller  <davem@davemloft.net>
19917         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19918         lowlevellock-futex.h
19920 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19922         * sysdeps/tile/configure.ac: New file.
19923         * sysdeps/tile/configure: Regenerated.
19925 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19927         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19928         conditionals for weak_alias and libc_hidden_weak.
19929         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19930         libc_hidden_weak and weak_alias.
19931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19932         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19933         and weak_alias for static one.
19935 2015-04-15  David S. Miller  <davem@davemloft.net>
19937         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19939 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19941         [BZ #18206]
19942         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19943           Use signed comparision instead of substraction to avoid
19944           overflow bug.
19945         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19946           Take the sign of ret.
19947         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19948           Do not expect precise return values. Only the sign matters.
19949         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19950         * wcsmbs/test-wcsncmp.c: New File.
19951         * string/test-strncmp.c: Add wcsncmp support.
19953 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19955         [BZ #6792]
19956         * math/w_log1p.c: New file.
19957         * math/w_log1pf.c: Likewise.
19958         * math/w_log1pl.c: Likewise.
19959         * math/Makefile (libm-calls): Add w_log1p.
19960         * math/s_log1pl.c (log1pl): Remove weak_alias.
19961         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19962         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19963         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19964         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19965         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19966         [NO_LONG_DOUBLE] (log1pl): Likewise.
19967         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19968         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19969         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19970         (log1p): Remove long_double_symbol.
19971         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19972         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19973         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19974         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19975         remove weak_alias for corresponding log1p function.
19976         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19977         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19978         * sysdeps/ia64/fpu/w_log1p.c: New file.
19979         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19980         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19981         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19983 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19985         [BZ #18247]
19986         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19987         decimal exponent by 1.
19988         * stdlib/tst-strtod-round-data: Add more tests.
19989         * stdlib/tst-strtod-round.c (tests): Regenerated.
19991 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19993         * math/auto-libm-test-in: Add more tests of clog and clog10.
19994         * math/auto-libm-test-out: Regenerated.
19995         * sysdeps/i386/fpu/libm-test-ulps: Update.
19996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19998 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20000         * Makeconfig (module-cppflags): Exclude all .v.i files.
20001         (skip-module-cppflags): Variable removed.
20003         * configure.ac (libc_config_ok): Initialize before reading
20004         preconfigure scripts, not after.
20005         * configure: Regenerated.
20007         * test-skeleton.c (TIMEOUT): Move #define to top level.
20008         (main): Grok environment variable TEST_DIRECT.  If set, print
20009         test expectation details into that file and then behave as if
20010         given --direct.
20012 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20014         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20015         warning on 32-bit.
20017 2015-04-08  David S. Miller  <davem@davemloft.net>
20019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20021 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20023         * math/auto-libm-test-in: Add more tests of atanh.
20024         * math/auto-libm-test-out: Regenerated.
20025         * sysdeps/i386/fpu/libm-test-ulps: Update.
20026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20028         * math/auto-libm-test-in: Add more tests of atan.
20029         * math/auto-libm-test-out: Regenerated.
20030         * sysdeps/i386/fpu/libm-test-ulps: Update.
20031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20033 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20035         * elf/pldd.c (main): Rewrite to use struct
20036         scratch_buffer instead of extend_alloca.
20037         * elf/pldd-xx.c (find_maps): Likewise.
20038         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20039         <alloca.h>.
20040         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20041         scratch_buffer instead of extend_alloca.
20042         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20043         grp/compat-initgroups.c.
20044         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20045         Rewrite to use struct scratch_buffer instead of extend_alloca.
20046         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20047         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20049 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20051         * math/auto-libm-test-in: Add more tests of cbrt.
20052         * math/auto-libm-test-out: Regenerated.
20053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20055         * math/auto-libm-test-in: Add more tests of cabs.
20056         * math/auto-libm-test-out: Regenerated.
20057         * sysdeps/i386/fpu/libm-test-ulps: Update.
20058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20060         [BZ #18210]
20061         [BZ #18211]
20062         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20063         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20064         computations.
20065         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20066         clog10.
20067         * math/auto-libm-test-out: Regenerated.
20068         * sysdeps/i386/fpu/libm-test-ulps: Update.
20069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20071         [BZ #18197]
20072         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20073         (atan): Set FE_TONEAREST mode for internal computations.
20074         * math/auto-libm-test-in: Add more tests of atan.
20075         * math/auto-libm-test-out: Regenerated.
20077 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20079         [BZ #17930]
20080         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20082 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20084         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20086 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20088         * include/scratch_buffer.h: New file.
20089         * malloc/scratch_buffer_grow.c: Likewise.
20090         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20091         * malloc/scratch_buffer_set_array_size.c: Likewise.
20092         * malloc/tst-scratch_buffer.c: Likewise.
20093         * malloc/Makefile (routines): Add scratch_buffer_grow.
20094         (tests): Add test case.
20095         * malloc/Versions (GLIBC_PRIVATE): Export
20096         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20097         __libc_scratch_buffer_set_array_size.
20099 2015-04-06  Richard Henderson  <rth@redhat.com>
20101         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20102         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20104         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20105         unsigned int before printing.
20107 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20109         [BZ #17596]
20110         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20111         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20113 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20115         * include/libc-internal.h (libc_max_align_t): Define.
20117 2015-04-02  Andreas Schwab  <schwab@suse.de>
20119         [BZ #16850]
20120         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20122 2015-04-02  Mel Gorman  <mgorman@suse.de>
20124         [BZ #17195]
20125         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20126         as well as the main arena.
20128 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20130         [BZ #18185]
20131         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20132         sharing L2 cache to 2 for Silvermont/Knights Landing.
20134 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20136         [BZ #17711]
20137         * config.make.in (have-protected-data): New.
20138         * configure.ac: Check linker support for protected data symbol.
20139         * configure: Regenerated.
20140         * elf/Makefile (modules-names): Add tst-protected1moda and
20141         tst-protected1modb if $(have-protected-data) is yes.
20142         (tests): Add tst-protected1a and tst-protected1b if
20143         $(have-protected-data) is yes.
20144         ($(objpfx)tst-protected1a): New.
20145         ($(objpfx)tst-protected1b): Likewise.
20146         (tst-protected1modb.so-no-z-defs): Likewise.
20147         * elf/tst-protected1a.c: New file.
20148         * elf/tst-protected1b.c: Likewise.
20149         * elf/tst-protected1mod.h: Likewise.
20150         * elf/tst-protected1moda.c: Likewise.
20151         * elf/tst-protected1modb.c: Likewise.
20153 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20155         [BZ #17711]
20156         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20157         indicates it is called from do_lookup_x on relocation against
20158         protected data, skip the data definion in the executable from
20159         copy reloc.
20160         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20161         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20162         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20163         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20164         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20165         otherwise to 0.
20166         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20167         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20168         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20169         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20170         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20171         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20173 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20175         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20176         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20178 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20180         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20181         THREAD_SETMEM_NC.
20182         * sysdeps/x86_64/nptl/tls.h: Ditto.
20184 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20186         * dlfcn/tststatic.c (main): Converted to ...
20187         (do_test): ... this.
20188         (TEST_FUNCTION): New macro.
20189         Include test-skeleton.c.
20191 2015-03-26  Alan Modra  <amodra@gmail.com>
20193         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20194         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20195         zero for undefined weak.
20196         (elf_machine_plt_conflict): Similarly.
20198 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20200         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20201         atanh.
20202         * math/auto-libm-test-out: Regenerated.
20203         * sysdeps/i386/fpu/libm-test-ulps: Update.
20204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20206         * math/auto-libm-test-in: Add another test of asin.
20207         * math/auto-libm-test-out: Regenerated.
20208         * sysdeps/i386/fpu/libm-test-ulps: Update.
20209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20211         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20212         Remove macro.
20213         (LLL_EBX_REG): Likewise.
20214         (LLL_ENTER_KERNEL): Likewise.
20216         * math/auto-libm-test-in: Add more tests of asin.
20217         * math/auto-libm-test-out: Regenerated.
20218         * sysdeps/i386/fpu/libm-test-ulps: Update.
20219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20221         [BZ #18138]
20222         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20223         libc_do_syscall_args): New structure.
20224         (INTERNAL_SYSCALL_MAIN_0): New macro.
20225         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20226         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20227         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20228         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20229         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20230         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20231         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20232         Replace conditional definitions by conditional definitions of ....
20233         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20234         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20235         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20236         (libpthread-sysdep_routines): Add libc-do-syscall.
20237         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20239         to __NR_futex not 240.
20241 2015-03-25  Alan Modra  <amodra@gmail.com>
20243         * NEWS: Advertise TLS optimization.
20244         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20245         (DT_PPC_NUM): Increment.
20246         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20247         (CHECK_STATIC_TLS): Use here.
20248         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20249         TLS descriptors.
20250         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20251         * sysdeps/powerpc/dl-tls.c: New file.
20252         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20253         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20254         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20255         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20260 2015-03-25  Alan Modra  <amodra@gmail.com>
20262         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20263         for overlapping .opd entries" to "support...".
20264         * sysdeps/powerpc/powerpc64/configure: Regenerate
20266 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20268         * math/auto-libm-test-in: Add more tests of acos.
20269         * math/auto-libm-test-out: Regenerated.
20270         * sysdeps/i386/fpu/libm-test-ulps: Update.
20271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20273         * math/auto-libm-test-in: Add more tests of expm1.
20274         * math/auto-libm-test-out: Regenerated.
20275         * sysdeps/i386/fpu/libm-test-ulps: Update.
20276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20280         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20281         * math/auto-libm-test-out: Regenerated.
20282         * sysdeps/i386/fpu/libm-test-ulps: Update.
20283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20285         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20288         * math/auto-libm-test-in: Add more tests of log2.
20289         * math/auto-libm-test-out: Regenerated.
20290         * sysdeps/i386/fpu/libm-test-ulps: Update.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20293 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20295         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20296         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20297         _IO_IS_APPENDING bit in READ_WRITE instead.
20299 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20301         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20302         (__determine_cpumask_size): Replace extend_alloca with a
20303         variable-length array.  Do not treat res == 0 as an error.
20305 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20307         [BZ #18100]
20308         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20309         and integer overflow.
20310         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20311         (main): Add integer overflow tests.
20312         * manual/pattern.texi (Calling Wordexp): Document additional use
20313         for WRDE_SYNTAX.
20315 2015-03-23  Alan Modra  <amodra@gmail.com>
20317         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20318         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20319         and false branch of conditional.
20320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20321         Likewise.
20323 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20325         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20326         libc-modules.h
20327         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20328         unused declaration of _hurd_intr_rpc_msg_in_trap.
20329         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20330         defined instead of whether it is non-zero.
20331         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20332         input constraint instead of both input and output constraint.  Use ecx
20333         clobber instead of %ecx.
20334         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20335         mutex_unlock): Use a statement expression instead of an expression list.
20336         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20337         type to vm_size_t instead of vm_address_t.
20338         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20339         defined instead of whether it is non-zero.
20340         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20341         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20342         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20343         comparisons with mapaddr.
20344         * nscd/nscd-client.h: Include <time.h>.
20345         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20346         9th parameter to __vm_region instead of int.
20347         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20348         * scripts/check-local-headers.sh (exclude): Add device/,
20349         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20350         cthreads.h.
20352 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20354         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20355         to account for alignment padding.
20356         * sysdeps/arm/memmove.S: Likewise.
20358 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20360         * sysdeps/unix/sysv/linux/generic/README: New file.
20362 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20364         [BZ #18138]
20365         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20366         (futex_abstimed_wait)
20367         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20368         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20369         of lll_futex_timed_wait.
20371 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20373         [BZ #17542]
20374         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20376 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20378         [BZ #17090]
20379         [BZ #17620]
20380         [BZ #17621]
20381         [BZ #17628]
20382         * NEWS: Update.
20383         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20384         entries with Static TLS too.  Skip entries past the end of the
20385         allocated DTV, from Alan Modra.
20386         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20387         Static TLS DTV entry set up from...
20388         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20389         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20390         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20391         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20392         for Static TLS.
20393         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20394         that the slot we find is associated with the given map before
20395         using its generation count.
20396         * nptl_db/db_info.c: Include ldsodefs.h.
20397         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20398         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20399         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20400         (link_map::l_tls_offset): New struct field.
20401         (dtv_t::counter): Likewise.
20402         (rtld_global): New struct.
20403         (_rtld_global): New rtld variable.
20404         (dl_tls_dtv_slotinfo_list): New rtld global field.
20405         (dtv_slotinfo_list): New struct.
20406         (dtv_slotinfo): Likewise.
20407         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20408         (td_lookup): Rename to...
20409         (td_mod_lookup): ... this.  Use new mod parameter instead of
20410         LIBPTHREAD_SO.
20411         * nptl_db/td_thr_tlsbase.c: Include link.h.
20412         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20413         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20414         addresses even if the DTV is out of date or missing them.
20415         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20416         index zero-length arrays.
20417         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20418         (td_lookup): Make it a macro implemented in terms of...
20419         (td_mod_lookup): ... this declaration.
20420         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20421         (DB_MAIN_VARIABLE): Likewise.
20423 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20425         [BZ #18134]
20426         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20428 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20430         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20432 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20434         [BZ #18128]
20435         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20436         (atomic_add, atomic_increment_and_test)
20437         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20439 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20441         * stdlib/setenv.c (__add_to_environ):
20442         Dump core quickly if setenv (..., NULL, ...) is called.
20444 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20446         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20447         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20448         all the necessary asm magic in one place.
20449         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20450         using those.
20452 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20454         [BZ #14906]
20455         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20456         traced file mtime. Use consistent log message.
20457         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20458         (register_traced_file): Call install_watches. Always set mtime.
20459         (invalidate_cache): Iterate over all trace files. Call install_watches.
20460         (inotify_check_files): Don't inline. Handle watching parent
20461         directories and configuration file movement in and out.
20462         (handle_inotify_events): New function.
20463         (main_loop_poll): Call handle_inotify_events.
20464         (main_loop_epoll): Likewise.
20465         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20466         (struct traced_file): Use array of inotify fds. Add parent directory,
20467         and basename.
20468         (struct database_dyn): Remove unused file_mtime.
20469         (init_traced_file): New inline function.
20470         (define_traced_file): New macro.
20471         * nss/nss_db/db-init.c: Use define_traced_file.
20472         (_nss_db_init): Use init_traced_file.
20473         * nss/nss_files/files-init.c: Use define_traced_file.
20474         (_nss_files_init): Use init_traced_file.
20476 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20478         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20479         [_LIBC]: Do not include <stdlib.h>.
20480         [!_LIBC] (abort): Remove declaration.
20481         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20482         _FP_STATIC_ASSERT instead of conditionally calling abort.
20483         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20484         (_FP_EXTEND_CNAN): Likewise.
20485         (FP_TRUNC): Likewise.
20486         (__FP_CLZ): Likewise.
20487         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20489 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20491         * manual/string.texi (XPG basename): Fix prototype.
20493 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20495         [BZ #18080]
20496         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20497         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20498         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20499         (__setcontext): Likewise.
20500         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20501         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20502         Call rt_sigprocmask syscall one time to set new signal mask
20503         and retrieve the current signal mask instead of two calls.
20504         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20505         (__swapcontext): Likewise.
20506         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20507         * stdlib/tst-setcontext2.c: New file.
20509 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20511         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20513 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20515         [BZ #18093]
20516         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20517         the wrong size.
20519 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20521         [BZ #18043]
20522         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20524 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20526         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20527         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20528         Remove define.
20529         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20530         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20531         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20532         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20533         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20534         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20535         define.
20536         * nptl_db/td_symbol_list.c (td_lookup): Remove
20537         HAVE_ASM_GLOBAL_DOT_NAME code.
20538         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20539         HAVE_ASM_GLOBAL_DOT_NAME check.
20540         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20541         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20542         (DOT_LABEL): Remove define.
20543         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20544         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20545         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20546         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20547         (__TLS_GET_ADDR): Likewise.
20548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20549         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20551 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20553         [BZ #18111]
20554         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20555         (_FPU_SETCW): Initialize cw from fpsr before storing.
20556         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20557         (fesetexceptflag): Rewrite using fpu_control.h.
20558         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20560 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20562         [BZ #18110]
20563         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20564         asms.
20565         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20567 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20569         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20570         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20571         abort.
20572         (_FP_FMA): Likewise.
20573         (_FP_DIV): Likewise.
20575 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20577         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20578         with 0 in that case.
20579         * Makefile (summarize-tests): New canned sequence, factored out of
20580         commands for targets tests and xtests.  Display summary lines that
20581         don't start with PASS: or XFAIL: rather than ones that do start with
20582         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20583         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20584         do start with ERROR: or FAIL:.
20585         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20586         (except for [$(build-shared) = yes]).
20587         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20588         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20589         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20590         * nptl/Makefile: Revert 2015-03-04 changes.
20591         [$(CXX) empty] (tests-unsupported): New variable.
20592         * debug/Makefile: Likewise.
20594         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20595         gnulib file.  Replace __attribute with __attribute__ throughout.
20597 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20599         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20601 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #18104]
20604         * math/auto-libm-test-in: Add another test of pow.
20605         * math/auto-libm-test-out: Regenerated.
20607 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20609         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20610         $(config-cflags-nofma).
20612 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20614         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20615         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20616         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20617         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20618         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20619         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20620         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20621         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20622         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20623         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20624         Add comment on closing #endif.
20626 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20628         * posix/wordexp.c (CHAR_IN_SET): New macro.
20629         (parse_param): Use it.
20631 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20633         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20635 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20637         [BZ #18043]
20638         * posix/wordexp.c (parse_param): Fix buffer overflow.
20639         * posix/wordexp-test.c (test_case): Add test case.
20641 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20643         [BZ #18042]
20644         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20645         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20647 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20649         [BZ #18043]
20650         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20651         (do_bz18043): Delete.
20652         (at_page_end): New.
20653         (testit): Refactor to have words at the edge of unreadable page.
20655 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20657         [BZ #16734]
20658         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20659         Cleanup read-only streams as well.
20660         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20662 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20664         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20665         <bits/libc-lockP.h>
20667 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20669         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20670         on [__KERNEL__].
20671         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20672         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20673         * soft-fp/op-common.h (_FP_DECL): Likewise.
20675 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20677         * elf/ifuncdep2.c (global): Replace
20678         __attribute__((visibility("protected"))) with
20679         asm (".protected global").
20680         * elf/ifuncmod1.c (global): Likewise.
20681         * elf/ifuncmod5.c (global): Likewise.
20683 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20685         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20686         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20688 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20690         * manual/install.texi (Configuring and compiling):
20691         Document test-wrapper-env-only.
20692         * INSTALL: Regenerated.
20694 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20696         [BZ #18043]
20697         * posix/wordexp.c (parse_param): Fix buffer overflow.
20698         * posix/wordexp-test.c (do_bz18043): Add test case.
20700 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20702         * time/tst-strptime2.c (do_test): Ensure failing tests are
20703         reported correctly.
20704         * time/tst-strptime3.c (do_test): Likewise.
20706 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20708         Fix aio_error thread-safety.
20709         * sysdeps/pthread/aio_error.c: New file
20710         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20711         synchronization.
20713 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20715         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20716         (group_number, vfprintf): Use it.
20717         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20718         (JUMP, REF): Use it.
20719         (WORK_BUFFER_SIZE): New enum constant.
20720         (process_arg, vfprintf): Use it.
20722 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20724         * manual/errno.texi (Error Messages): Complete example function
20725         by adding missing #define.
20726         (program_invocation_name): Add statement indicating GNU
20727         extension and reference which header file declares the variable.
20728         (program_invocation_short_name): Likewise.
20730 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20732         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20733         compatibility note.
20735 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20737         * Makeconfig (test-wrapper-env-only): New variable.
20738         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20739         then use that with $(test-wrapper-env-only) rather than using
20740         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20742 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20744         [BZ #18082]
20745         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20746         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20747         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20748         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20749         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20750         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20751         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20752         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20753         Likewise.
20754         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20755         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20756         Likewise.
20757         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20758         Likewise.
20759         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20760         Likewise.
20761         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20762         Likewise.
20763         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20764         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20765         Likewise.
20766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20767         Likewise.
20768         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20769         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20771 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20773         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20774         (ETH_ALEN): New macro.
20775         (struct ether_addr): Use it for length of ether_addr_octet.
20777         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20778         (setdb): Don't call __nss_configure_lookup for "rpc".
20779         (do_test): Don't call test_rpc.
20780         (output_rpcent, test_rpc): Functions moved ...
20781         * sunrpc/test-rpcent.c: ... to this new file.
20782         * sunrpc/Makefile (tests): Add it.
20784         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20785         __xpg_sigpause.
20786         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20787         * nptl/tst-signal6.c: Likewise.
20788         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20789         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20791         * configure.ac (libc_cv_cxx_link_ok): New check.
20792         Reset CXX to empty if it fails to link.
20793         * configure: Regenerated.
20794         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20795         bug-atexit3-lib only if $(CXX) is nonempty.
20796         * nptl/Makefile (tests): Likewise for tst-cancel24.
20797         (tests, tests-static): Likewise for tst-cancel24-static.
20798         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20799         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20800         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20801         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20803 2015-03-04  Andreas Schwab  <schwab@suse.de>
20805         [BZ #17631]
20806         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20807         for non-GCC compilers.
20808         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20809         Likewise.
20811 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20813         [BZ #17776]
20814         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20815         integer before bitwise and assembly operations.
20816         (feclearexcept): Likewise.
20817         * math/test-fenvinline.c: New file.
20818         * math/Makefile: Add test-fenvinline test.
20820 2015-03-03  Alan Modra  <amodra@gmail.com>
20822         [BZ #16512]
20823         * scripts/localplt.awk: Strip off symbol version.
20824         * NEWS: Mention bug fix.
20826 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20828         * sysdeps/pthread/timer_routines.c
20829         (timer_free_list, thread_free_list, thread_active_list): Make static.
20831 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20833         [BZ #17779]
20834         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20835         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20836         Undefine.
20837         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20838         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20839         Likewise.
20840         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20841         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20842         Likewise.
20844 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20846         [BZ #18036]
20847         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20848         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20850 2015-03-02  Andreas Schwab  <schwab@suse.de>
20852         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20853         variable name.
20855 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20857         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20858         Return error status.
20860 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20862         [BZ #15969]
20863         * locale/findlocale.c (_nl_find_locale): Introduce const
20864         version of loc_name and drop unsafe type casts.
20866 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20868         * dlfcn/tststatic2.c (main): Converted to ...
20869         (do_test): ... this.
20870         (TEST_FUNCTION): New macro.
20871         Include test-skeleton.c.
20873 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20875         [BZ #17711]
20876         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20877         (tests-pie): Add vismain.
20878         (CFLAGS-vismain.c): New.
20879         * elf/vismain.c: Add comments for PIE requirement.
20881 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20883         [BZ #18046]
20884         [BZ #18047]
20885         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20886         0x1p-56L as threshold for just returning the argument.
20887         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20888         0x1p-32L as threshold for just returning the argument.
20889         * math/auto-libm-test-in: Add more tests of atanh.
20890         * math/auto-libm-test-out: Regenerated.
20891         * sysdeps/i386/fpu/libm-test-ulps: Update.
20892         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20894 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20896         * string/bcopy.c (bcopy): Call memmove for performance.
20898 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20900         * string/bzero.c (__bzero): Call memset for performance.
20902 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20904         [BZ #18068]
20905         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20906         to 00100000.
20908 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20910         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20912 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20914         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20915         (__kernel_standard): Use CSTR macro when setting exc.name.
20916         * sysdeps/ieee754/Makefile [$(subdir) = math]
20917         (CFLAGS-k_standard.c): Remove variable.
20919         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20920         setting p and q from "else if" to "else".
20921         (qzero): Likewise.
20922         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20923         (qone): Likewise.
20924         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20925         (qzerof): Likewise.
20926         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20927         (qonef): Likewise.
20928         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20929         (qzero): Likewise.
20930         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20931         (qone): Likewise.
20933         [BZ #18038]
20934         [BZ #18039]
20935         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20936         return pi/2 for arguments below 0x1p-113L.
20937         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20938         return pi/2 for arguments below 0x1p-106L.
20939         * math/auto-libm-test-in: Add more tests of acos.
20940         * math/auto-libm-test-out: Regenerated.
20942         [BZ #16351]
20943         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20944         (MO): New macro.
20945         (__ieee754_asin): Force underflow exception for results with small
20946         absolute value.
20947         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20948         (MO): New macro.
20949         (__ieee754_asinf): Force underflow exception for results with
20950         small absolute value.
20951         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20952         (__ieee754_asin): Force underflow exception for results with small
20953         absolute value.
20954         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20955         (__ieee754_asinf): Force underflow exception for results with
20956         small absolute value.
20957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20958         (__ieee754_asinl): Force underflow exception for results with
20959         small absolute value.
20960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20961         (__ieee754_asinl): Force underflow exception for results with
20962         small absolute value.
20963         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20964         (__ieee754_asinl): Force underflow exception for results with
20965         small absolute value.
20966         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20967         Include <math.h>.
20968         * math/auto-libm-test-in: Do not mark underflow exceptions as
20969         possibly missing for bug 16351.
20970         * math/auto-libm-test-out: Regenerated.
20972         [BZ #18030]
20973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20974         of power of 2 down when low part has opposite sign.
20975         * math/libm-test.inc (logb_test_data): Add more tests.
20977 2015-02-26  Andreas Schwab  <schwab@suse.de>
20979         [BZ #18032]
20980         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20981         over collating symbol inside a bracket expression.  Minor cleanup.
20982         * posix/tst-fnmatch3.c (do_test): Add test case.
20984 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20986         [BZ #18029]
20987         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20988         Adjust exponent of power of 2 down when low part has opposite
20989         sign.
20990         * math/libm-test.inc (ilogb_test_data): Add more tests.
20992 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20994         [BZ #15969]
20995         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20996         the previous change.
20998         [BZ #15969]
20999         * locale/findlocale.c (_nl_find_locale): Retry archive search
21000         after alias expansion.
21002 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21004         * iconv/tst-iconv3.c (main): Converted to ...
21005         (do_test): ... this.
21006         (TEST_FUNCTION): New macro.
21007         Include test-skeleton.c.
21009         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21010         (convert): Make function static.
21011         (test_unalign): Likewise.  Add const to argument pointee types.
21012         (main): Replace with static function do_test.
21013         Print "Succeeded." only if RET is zero.
21014         (TEST_FUNCTION): New macro.
21015         Include test-skeleton.c.
21017         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21018         returns a null pointer.
21020 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21022         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21023         to __memcpy_ppc only for static builds.
21025 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21027         [BZ #18020]
21028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21029         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21030         * math/auto-libm-test-in: Add more tests of asinh.
21031         * math/auto-libm-test-out: Regenerated.
21032         * sysdeps/i386/fpu/libm-test-ulps: Update.
21033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21035 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21037         [BZ #15850]
21038         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21039         and ip6_mtuinfo definitions here.
21040         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21041         in this define too.  Update comment.
21043 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21045         * elf/sprof.c (load_shobj): Tweak error message to match others.
21047 2015-02-24  Kevin Easton  <kevin@guarana.org>
21049         [BZ #16145] (partial fix)
21050         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21051         to reduce lock contention.
21053 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21055         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21056         (struct timex): Update time comment.
21057         (ADJ_SETOFFSET): Define.
21059 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21061         [BZ #18019]
21062         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21063         2**56 not 2**28 as threshold for log (2x) formula.
21064         * math/auto-libm-test-in: Add more tests of acosh.
21065         * math/auto-libm-test-out: Regenerated.
21066         * sysdeps/i386/fpu/libm-test-ulps: Update.
21067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21069 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21071         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21072         parenthesis around the buf assignment.
21073         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21075 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21077         [BZ #16783]
21078         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21079         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21080         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21081         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21082         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21083         * math/libm-test.inc (scalb_test_data): Add more tests.
21085 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21087         [BZ #17916]
21088         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21089         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21091 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21093         [BZ #17523]
21094         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21095         * io/bits/fcntl2.h (open): Use it.
21096         (openat): Likewise.
21097         * io/open.c (__libc_open): Likewise.
21098         * io/open64.c (__libc_open64): Likewise.
21099         * io/open64_2.c (__open64_2): Likewise.
21100         * io/open_2.c (__open_2): Likewise.
21101         * io/openat.c (__openat): Likewise.
21102         * io/openat64.c (__openat64): Likewise.
21103         * io/openat64_2.c (__openat64_2): Likewise.
21104         * io/openat_2.c (__openat_2): Likewise.
21105         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21106         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21107         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21108         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21109         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21110         (__open_nocancel): Likewise.
21111         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21112         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21113         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21115 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21117         [BZ #14841]
21118         * resolv/gethnamaddr.c (getanswer): Skip logging if
21119         RES_USE_DNSSEC is set.
21120         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21122 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21124         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21126 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21128         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21129         201304L, for Unicode 7.
21131 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21133         [BZ #17836]
21134         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21135         shared library.  Add gmon-start.os otherwise.
21136         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21137         $(objpfx)gmon-start.os if builing shared library.
21138         ($(objpfx)g$(static-start-installed-name)): Likewise.
21140 2015-02-23  Andreas Schwab  <schwab@suse.de>
21142         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21144 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21146         [BZ #17269]
21147         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21148         (enlarge_userbuf): Likewise.
21150 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21152         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21153         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21154         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21155         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21157 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21159         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21160         expression inside statement expression.
21162 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21165         <sysdeps/nptl/lowlevellock.h> and remove macros and
21166         functions that are now defined there.
21167         (SYS_futex): Remove.
21168         (lll_compare_and_swap): Remove.
21169         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21171 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21173         [BZ #17999]
21174         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21175         instead of scandirat.
21176         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21177         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21178         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21179         __scandirat.
21180         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21181         (__scandirat): Declare.  Use libc_hidden_proto.
21182         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21183         Remove variable.
21184         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21186 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21188         [BZ #15319]
21189         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21190         (MO): New macro.
21191         (__ieee754_atan2): For results with small absolute value, force
21192         underflow exception and remove excess range and precision from
21193         return value.
21194         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21195         (MO): New macro.
21196         (__ieee754_atan2f): For results with small absolute value, force
21197         underflow exception and remove excess range and precision from
21198         return value.
21199         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21200         (MO): New macro.
21201         (__atan): For results with small absolute value, force underflow
21202         exception and remove excess range and precision from return value.
21203         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21204         (MO): New macro.
21205         (__atanf): For results with small absolute value, force underflow
21206         exception and remove excess range and precision from return value.
21207         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21208         <math.h>.
21209         (__ieee754_atan2): Force underflow exception for results with
21210         small absolute value.
21211         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21212         <math_private.h>.
21213         (atan): Force underflow exception for results with small absolute
21214         value.
21215         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21216         (__atanf): Force underflow exception for results with small
21217         absolute value.
21218         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21219         <math.h>.
21220         (__atanl): Force underflow exception for results with small
21221         absolute value.
21222         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21223         (__atanl): Force underflow exception for results with small
21224         absolute value.
21225         * sysdeps/x86/fpu/bits/mathinline.h
21226         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21227         (__ieee754_atan2): Only define inline for long double.
21228         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21229         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21230         * math/auto-libm-test-in: Do not mark underflow exceptions as
21231         possibly missing for bug 15319.  Add more tests of atan2.
21232         * math/auto-libm-test-out: Regenerated.
21233         * math/libm-test.inc (casin_test_data): Do not mark underflow
21234         exceptions as possibly missing for bug 15319.
21235         (casinh_test_data): Likewise.
21236         * sysdeps/i386/fpu/libm-test-ulps: Update.
21238 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21240         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21241         * sysdeps/mips/bits/endian.h: Fix comments.
21243 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21245         [BZ #17996]
21246         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21247         (hdestroy_r): Likewise.
21248         (hsearch_r): Likewise.
21249         (__hcreate_r): Declare and use libc_hidden_proto.
21250         (__hdestroy_r): Likewise.
21251         (__hsearch_r): Likewise.
21252         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21253         (hcreate): Call __hcreate_r instead of hcreate_r.
21254         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21255         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21256         as weak alias of __hcreate_r.
21257         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21258         __hdestroy_r.
21259         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21260         __hsearch_r.
21261         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21262         Remove variable.
21263         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21264         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21265         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21266         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21268 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21271         arena_lock into a single arena_get.
21273 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21275         * dl-reloc.c: Inlucde libc-internal.h.
21276         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21277         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21278         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21279         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21280         (grow_heap): Likewise.
21281         * malloc/malloc.c: Include libc-internal.h.
21282         (do_check_malloc): Call powerof2.
21283         (sysmalloc): Use pagesize. Call ALIGN_UP.
21284         (systrim): Use pagesize.
21285         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21286         (__libc_valloc): Use pagesize.
21287         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21289 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21291         [BZ #17991]
21292         * include/sys/resource.h (__getrlimit64): Declare.  Use
21293         libc_hidden_proto.
21294         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21295         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21296         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21297         getrlimit64.
21298         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21299         __getrlimit64.
21300         [!getrlimit64] (getrlimit64): Define as weak alias of
21301         __getrlimit64.  Use libc_hidden_weak.
21302         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21303         using __getrlimit64 not __new_getrlimit64.
21304         (__GI_getrlimit64): Likewise.
21305         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21306         Likewise.
21307         (__GI_getrlimit64): Likewise.
21308         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21310         (getrlimit): Add __getrlimit64 alias.
21311         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21312         Likewise.
21313         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21314         Remove variable.
21315         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21316         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21318 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21320         * libio/fileops.c: Add missing sys/mman.h
21321         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21323 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21325         * manual/math.texi (Errors in Math Functions): Clarify goals
21326         regarding inexact and underflow exceptions.
21328 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21330         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21331         * sysdeps/mips/memset.S: Ditto.
21333 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21335         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21337 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21339         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21340         (__v1longjmp): Remove versioned symbol.
21341         (__v1siglongjmp): Remove alias and versioned symbol.
21342         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21343         (__v2siglongjmp): Likewise.
21345 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21347         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21349 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21351         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21353 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21355         [BZ #17987]
21356         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21357         zero result does not depend on the sign resulting from
21358         subtraction.
21359         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21360         Likewise.
21361         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21362         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21363         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21364         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21365         * math/libm-test.inc (remquo_test_data): Add more tests.
21367 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21369         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21370         Problem reported by J William Piggott.
21372 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21374         [BZ #17978]
21375         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21376         products 4 * y and 2 * y where those would overflow.
21377         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21378         Likewise.
21379         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21380         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21381         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21382         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21383         * math/libm-test.inc (remquo_test_data): Add more tests.
21385         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21387         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21388         [defined _COMPILING_NEWLIB].
21389         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21390         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21392         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21393         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21395 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21397         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21398         acquired.
21400 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21402         [BZ #17792]
21403         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21404         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21405         HOST_STACK_END_ADDR): Likewise.
21407 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21409         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21410         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21411         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21413 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21415         * sysdeps/generic/c++-types.data: New file.
21416         * sysdeps/generic/ld.abilist: New file.
21417         * sysdeps/generic/libBrokenLocale.abilist: New file.
21418         * sysdeps/generic/libanl.abilist: New file.
21419         * sysdeps/generic/libc.abilist: New file.
21420         * sysdeps/generic/libcrypt.abilist: New file.
21421         * sysdeps/generic/libdl.abilist: New file.
21422         * sysdeps/generic/libm.abilist: New file.
21423         * sysdeps/generic/libpthread.abilist: New file.
21424         * sysdeps/generic/libresolv.abilist: New file.
21425         * sysdeps/generic/librt.abilist: New file.
21427 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21429         [BZ #17569]
21430         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21431         Compute absolute value of x as modified by fmod, not original
21432         value of x.
21433         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21434         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21435         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21436         RUN_TEST_ffI_f1_mod8.
21437         (remquo_test_data): Add more tests.
21439 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21441         * sysdeps/init_array/pt-crti.S: New file.
21443 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21445         [BZ #17967]
21446         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21447         __builtin_fmaf instead of relying on contraction of a * b + c.
21449 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21451         [BZ #17969]
21452         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21453         node.
21455 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21457         [BZ #17964]
21458         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21459         __builtin_fma instead of relying on contraction of a * b + c.
21461 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21463         * Makeconfig (ASFLAGS): Add -Werror=undef.
21464         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21465         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21466         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21468         * Makeconfig (after-link): New variable.
21469         (+link-pie, +link-pie-tests): Use it.
21470         (+link-static, +link-static-tests): Likewise.
21471         (+link, +link-tests): Likewise.
21472         * Makerules (build-module, build-module-asneeded): Likewise.
21473         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21474         Likewise.
21475         * elf/Makefile ($(objpfx)ld.so): Likewise.
21477 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21479         [BZ #17965]
21480         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21481         both struct timeval and struct timespec.
21483 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21485         [BZ #16560]
21486         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21487         and redefine.
21488         (__ieee754_exp2l): Do not multiply small fractional parts by
21489         M_LN2l.
21490         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21491         small argument.
21492         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21493         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21494         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21495         * math/auto-libm-test-in: Add more tests of exp2.
21496         * math/auto-libm-test-out: Regenerated.
21498 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21500         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21501         unaligned path.
21503 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21505         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21506         little endian.
21508 2015-02-12  Andreas Schwab  <schwab@suse.de>
21510         [BZ #15790]
21511         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21512         Filter out elision flags from value returned in kind.
21513         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21514         * nptl/tst-pthread-mutexattr.c: New file.
21516 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21518         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21519         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21520         into gnu-gnu, and update comment to refer to abi-tags.
21522 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21524         [BZ #15467]
21525         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21526         (__sincos): Set errno to EDOM for infinite argument.
21527         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21528         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21529         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21530         (__sincosl): Set errno to EDOM for infinite argument.
21531         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21532         (__sincosl): Set errno to EDOM for infinite argument.
21533         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21534         (__sincosl): Set errno to EDOM for infinite argument.
21535         * math/libm-test.inc (sincos_test_data): Test errno setting.
21537 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21539         * string/strxfrm_l.c: Remove #define STRCMP.
21540         * string/strcoll_l.c: Remove #define STRLEN.
21541         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21542         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21544 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21546         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21547         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21548         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21549         * sysdeps/mips/mips64/Makefile: ... here.
21550         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21551         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21552         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21553         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21554         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21555         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21556         * sysdeps/mips/mips64/n64/Implies: Likewise.
21558 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21560         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21561         <sys/time.h>, <string.h>, and <errno.h>.
21562         (dest_offset, dest_address, value, zero): Remove unused variables.
21563         (ldouble): Remove typedef.
21564         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21565         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21566         1).  Fix code style.
21567         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21568         (check): Function removed.
21569         (CHECK): New macro.
21570         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21571         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21572         Don't call set_sigaction_FP and remove_sigaction_FP here.
21573         (ldouble_test): Just use 'long double' as macro argument, no need for
21574         the 'ldouble' typedef.
21575         (do_test): Set up SIGFPE handler at start, using plain signal rather
21576         than sigaction.  Fix code style.
21578 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21580         [BZ #17949]
21581         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21582         jump label.
21584 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21586         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21587         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21589         * sysdeps/powerpc/configure.ac: Remove file.
21590         * sysdeps/powerpc/configure: Likewise.
21592         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21593         [sysdep_routines]: Remove wordcopy-power6 object.
21594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21595         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21596         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21597         (__memmove_ppc32): Likewise.
21598         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21599         file.
21600         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21601         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21602         Remove preprocessor.
21604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21605         [sysdep_routines]: Remove wide chars objects.
21606         [wcsmbs]: New rule for wide char objects.
21608         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21609         Remove wordcopy-power6 obejct.
21610         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21611         Use local call for wordcopy and memcpy symbols.
21612         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21614         implementation for loader.
21615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21617         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21618         Remove wordcopy-power7 object.
21619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21620         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21621         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21622         (_wordcopy_fwd_dest_aligned): Likewise.
21623         (_wordcopy_bwd_aligned): Likewise.
21624         (_wordcopy_bwd_dest_aligned): Likewise.
21626         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21627         Rewrite to call __memmove_ppc instead of include default
21628         implementation.
21630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21631         Remove wide chars objects.
21632         [wcsmbs]: New rule for wide char objects.
21634 2015-02-09  Andreas Schwab  <schwab@suse.de>
21636         [BZ #17912]
21637         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21638         in terms of __O_DIRECTORY.
21640 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21642         * time/getdate.c: Include <stdbool.h>.
21643         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21644         call PTR_MANGLE.
21645         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21646         PTR_DEMANGLE.
21648 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21650         Add ersatz _Static_assert on older C hosts
21651         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21652         pre-C11 C platform that is not known to support _Static_assert.
21654 2015-02-07  Richard Braun  <rbraun@sceen.net>
21656         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21657         sigstate.
21658         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21660 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21662         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21663         priority against unexistent AIO_PRIO_DELTA_MAX.
21664         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21665         instead of int.
21666         * misc/fchflags.c (fchflags): Likewise.
21667         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21668         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21669         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21670         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21671         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21672         Declare macros.
21673         [__USE_MISC] (chflags, fchflags): Declare functions.
21674         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21675         EINVAL when nfds is greater than FD_SETSIZE.
21676         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21677         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21678         45.
21679         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21680         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21681         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21682         MACH_RCV_TIMED_OUT.
21683         * hurd/hurd/signal.h (_hurd_self_sigstate,
21684         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21685         Explicit casts from void *.
21686         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21687         * abi-tags: Rename gnu-gnu os into gnu.
21689         [BZ #4719]
21690         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21691         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21692         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21693         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21694         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21695         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21697         [BZ #17944]
21698         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21699         duplicates ADDR->sun_path with sockaddr LEN limitation.
21700         * sysdeps/mach/hurd/connect.c: Include <string.h>
21701         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21702         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21703         * sysdeps/mach/hurd/sendto.c: Likewise.
21704         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21705         implementing it by hand.
21707 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21709         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21710         Use sfi_breg on ldr.
21711         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21712         Likewise.
21714         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21715         it's defined.
21716         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21717         Test SIGSETXID only if it's defined.
21719         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21721         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21722         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21724         * nptl/tst-align2.c: Moved ...
21725         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21726         * nptl/Makefile (tests): Remove tst-align2.
21727         * sysdeps/unix/sysv/linux/Makefile
21728         [$(subdir) = nptl] (tests): Add tst-align-clone.
21729         * nptl/tst-getpid1.c: Moved ...
21730         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21731         * nptl/tst-getpid2.c: Moved ...
21732         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21733         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21734         * sysdeps/unix/sysv/linux/Makefile
21735         [$(subdir) = nptl] (tests): ... here.
21736         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21737         * sysdeps/unix/sysv/linux/Makefile
21738         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21740         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21741         Drop trailing \n from perror argument.  Use return rather than exit.
21743         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21744         on [SA_SIGINFO].
21745         * nptl/tst-cancel21.c (do_test): Likewise.
21746         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21747         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21748         [!SA_SIGINFO]: Make it a stub test.
21750         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21751         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21753         * posix/tst-getlogin.c: Move to ...
21754         * login/tst-getlogin.c: ... here.
21755         * posix/Makefile (tests): Move tst-getlogin to ...
21756         * login/Makefile (tests): ... here.
21758         * libio/tst-atime.c (do_test): Move local variables SV and E
21759         inside [ST_NOATIME] conditional.
21761         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21763         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21765         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21766         (wait_code): New function replaces macro.
21767         Call nanosleep rather than syscall.
21769         * nptl/pt-system.c: Rewritten.  Put everything under
21770         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21771         Use IFUNC to redirect when possible.
21773         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21774         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21775         Use IFUNC to redirect when possible.
21777         * nptl/pt-fork.c: Rewritten.  Put everything under
21778         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21779         Use IFUNC to redirect when possible.
21780         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21782         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21783         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21784         unconditionally nowadays.  This included the only reference to
21785         __vdso_clock_gettime that appears outside libc proper.
21786         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21787         Remove version set (containing only __vdso_clock_gettime).
21788         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21789         Add attribute_hidden.
21790         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21791         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21792         libc_hidden_data_def.
21793         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21794         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21796         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21797         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21798         setrpcent, and getrpcport to ...
21799         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21800         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21801         getrpcbynumber_r, and getrpcent_r to ...
21802         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21803         * inet/getrpcbyname.c: Moved ...
21804         * sunrpc/getrpcbyname.c: ... here.
21805         * inet/getrpcbyname_r.c: Moved ...
21806         * sunrpc/getrpcbyname_r.c: ... here.
21807         * inet/getrpcbynumber.c: Moved ...
21808         * sunrpc/getrpcbynumber.c: ... here.
21809         * inet/getrpcbynumber_r.c: Moved ...
21810         * sunrpc/getrpcbynumber_r.c: ... here.
21811         * inet/getrpcent.c: Moved ...
21812         * sunrpc/getrpcent.c: ... here.
21813         * inet/getrpcent_r.c: Moved ...
21814         * sunrpc/getrpcent_r.c: ... here.
21815         * inet/Makefile (routines): Move those to ...
21816         * sunrpc/Makefile (routines): ... here.
21817         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21818         the $(subdirs) list.
21819         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21820         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21821         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21822         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21824         * elf/Makefile (routines): Include $(all-dl-routines), not just
21825         $(dl-routines).
21826         (rtld-routines): Likewise.  Use = rather than :=.
21827         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21828         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21829         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21830         * sysdeps/arm/Makefile: Likewise.
21831         * sysdeps/i386/Makefile: Likewise.
21832         * sysdeps/x86_64/Makefile: Likewise.
21833         * sysdeps/hppa/Makefile [$(subdir) = elf]
21834         (sysdep_routines, sysdep-rtld-routines): Don't add
21835         $(sysdep-dl-routines) to these.
21836         * sysdeps/ia64/Makefile: Likewise.
21837         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21838         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21839         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21840         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21841         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21842         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21843         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21844         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21845         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21846         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21847         these; sysdep-dl-routines alone is enough.
21849 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21851         [BZ #17932]
21852         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21853         where multiplication results in zero and third argument is finite
21854         and nonzero.
21855         * math/auto-libm-test-in: Add more tests of fma.
21856         * math/auto-libm-test-out: Regenerated.
21858         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21859         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21860         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21861         (_FP_CMP_EQ): Likewise.
21862         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21864         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21865         extra argument CHECK_NAN.  Redefine as wrapper around
21866         _FP_EXTEND_CNAN.
21868 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21870         * version.h (RELEASE): Set to "stable".
21871         (VERSION): Set to "2.21"
21872         * include/features.h (__GLIBC_MINOR__): Set to 21.
21874         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21876 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21877             Paul Eggert  <eggert@cs.ucla.edu>
21879         [BZ #16618]
21880         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21881         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21882         size in bytes. Store needed elements in wpmax. Use needed size
21883         in bytes for extend_alloca.
21885 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21887         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21888         binutls 2.25, and texinfo 5.2.
21889         * INSTALL: Regenerate.
21890         * sysdeps/nios2/configure: Regenerate.
21891         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21892         * manual/contrib.texi: Update.
21893         * po/be.po: Update.
21894         * po/bg.po: Update.
21895         * po/ca.po: Update.
21896         * po/cs.po: Update.
21897         * po/da.po: Update.
21898         * po/de.po: Update.
21899         * po/el.po: Update.
21900         * po/eo.po: Update.
21901         * po/es.po: Update.
21902         * po/fi.po: Update.
21903         * po/fr.po: Update.
21904         * po/gl.po: Update.
21905         * po/hr.po: Update.
21906         * po/hu.po: Update.
21907         * po/ia.po: Update.
21908         * po/id.po: Update.
21909         * po/it.po: Update.
21910         * po/ja.po: Update.
21911         * po/ko.po: Update.
21912         * po/lt.po: Update.
21913         * po/nb.po: Update.
21914         * po/nl.po: Update.
21915         * po/pl.po: Update.
21916         * po/pt_BR.po: Update.
21917         * po/ru.po: Update.
21918         * po/rw.po: Update.
21919         * po/sk.po: Update.
21920         * po/sl.po: Update.
21921         * po/sv.po: Update.
21922         * po/tr.po: Update.
21923         * po/uk.po: Update.
21924         * po/vi.po: Update.
21925         * po/zh_CN.po: Update.
21926         * po/zh_TW.po: Update.
21928         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21929         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21930         * sysdeps/hppa/dl-irel.h: Remove #warning.
21931         * sysdeps/hppa/entry.h: Provide prototype for
21932         __canonicalize_funcptr_for_compare and cast argument.
21933         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21934         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21935         * sysdeps/hppa/sotruss-lib.c: New file.
21936         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21937         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21938         (atomic_compare_and_exchange_bool_acq): Likewise.
21939         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21940         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21942         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21943         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21944         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21946 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21948         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21949         called function in non-PIC case.
21951 2015-01-31  David S. Miller  <davem@davemloft.net>
21953         * sysdeps/sparc/sparc32/bits/atomic.h
21954         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21955         unlock not after it.
21956         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21957         volatile register usage warnings from the compiler.
21959         * sysdeps/sparc/nptl/sem_init.c: Delete.
21960         * sysdeps/sparc/nptl/sem_post.c: Delete.
21961         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21962         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21963         * sysdeps/sparc/sparc32/sem_init.c: New file.
21964         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21965         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21966         padding explicitly initialized.
21967         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21968         padding for in-semaphore spinlock.
21969         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21970         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21971         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21972         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21973         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21974         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21975         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21976         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21977         version.
21978         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21979         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21981 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21983         [BZ #17801]
21984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21985         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21986         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21987         New.
21988         (index_AVX_Fast_Unaligned_Load): Likewise.
21989         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21990         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21991         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21992         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21993         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21994         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21995         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21996         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21997         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21999 2015-01-29  Andreas Schwab  <schwab@suse.de>
22001         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22003 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22005         [BZ #17892]
22006         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22008 2015-01-28  Martin Sebor  <msebor@redhat.com>
22010         * math/README.libm-test: Clarify. Add "How to read the test output."
22012 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22014         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22015         Define to 0.
22017 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22019         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22020         (__HAVE_64B_ATOMICS): Define to 0.
22022 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22024         [BZ #17885]
22025         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22026         value to set as new flag.
22028         [BZ #16576]
22029         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22030         and use _ARCH_PPCSQ instead.
22031         (__ieee754_sqrt): Likewise.
22032         (__ieee754_sqrtf): Likewise.
22033         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22034         _ARCH_PPCSQ is defined.
22035         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22036         fsqrt instruction.
22037         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22038         _ARCH_PPCSQ is defined.
22039         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22040         fsqrts instruction.
22041         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22043 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22045         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22046         bug (GCC BZ #64739).
22048 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22050         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22051         Mark _retval as used.
22052         (lll_futex_wake_unlock): Likewise.
22053         (lll_futex_timed_wait_requeue_pi): Likewise.
22055         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22056         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22057         register variables.
22059         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22060         libm_hidden_def.
22062         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22063         (__bswap_64): Mark as __always_inline.
22065 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22067         [BZ #15378]
22068         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22069         when none of the search directories exist.
22071 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22073         [BZ #17869]
22074         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22075         power8 in .machine directive.
22077         [BZ #17868]
22078         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22079         set dependency from opd value.
22081 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22084         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22085         architecture.
22087 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22089         [BZ #17870]
22090         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22091         with uint64_t.
22092         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22093         (uint64_t) 1.
22094         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22095         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22096         Replace 1UL with (uint64_t) 1.
22097         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22098         int with uint64_t.
22100 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22102         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22103         (if_freenameindex): Likewise.
22105         * resource/getrlimit64.c: Add missing libc_hidden_def.
22107 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22109         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22110         __label__.
22111         (_FP_FMA): Likewise.
22112         (_FP_TO_INT_ROUND): Likewise.
22113         (_FP_FROM_INT): Likewise.
22115 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22117         [BZ #16418]
22118         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22119         Make code racy and cancel safe.
22121 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22123         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22124         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22125         attribution.
22127         * pwd/tst-getpw.c: Rewrite.
22129         [BZ #17702]
22130         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22131         (modules-names): Add moddummy1 and moddummy2.
22132         ($(objpfx)tst-rec-dlopen): Define.
22133         * dlfcn/moddummy1.c: New file.
22134         * dlfcn/moddummy2.c: New file.
22135         * dlfcn/tst-rec-dlopen.c: New file.
22136         * elf/dl-cache.c (_dl_load_cache_lookup):
22137         Return char*. Copy result with alloca/strcpy/strdup.
22138         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22139         returns char*. Free cached. If not saving realname
22140         free cached.
22141         * elf/dl-open.c (dl_open_worker): Do not assert that
22142         _r_debug->r_state is RT_CONSISTENT.
22143         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22144         returns char*.
22146 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22147             Carlos O'Donell  <carlos@redhat.com>
22149         [BZ #12674]
22150         * nptl/sem_waitcommon.c: New file.
22151         * nptl/sem_wait.c: Include sem_waitcommon.c.
22152         (__sem_wait_cleanup, do_futex_wait): Remove.
22153         (__new_sem_wait): Adapt.
22154         (__new_sem_trywait): New function.
22155         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22156         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22157         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22158         (sem_timedwait): Adapt.
22159         * nptl/sem_post.c (__new_sem_post): Adapt.
22160         (futex_wake): New function.
22161         (__old_sem_post): Add release MO fence.
22162         * nptl/sem_open.c (sem_open): Adapt.
22163         * nptl/sem_init.c (__new_sem_init): Adapt.
22164         (futex_private_if_supported): New function.
22165         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22166         (__old_sem_getvalue): Add using previous code.
22167         * sysdeps/nptl/internaltypes.h: Adapt.
22168         * nptl/tst-sem13.c (do_test): Adapt.
22169         * nptl/tst-sem11.c (main): Adapt.
22170         * nptl/sem_trywait.c: Remove.
22171         * nptl/DESIGN-sem.txt: Remove.
22172         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22173         (gen-as-const-headers): Remove structsem.sym.
22174         * nptl/structsem.sym: Remove.
22175         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22176         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22177         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22178         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22179         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22180         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22181         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22182         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22183         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22184         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22185         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22186         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22187         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22188         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22189         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22190         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22191         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22192         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22193         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22194         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22195         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22196         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22198 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22200         * INSTALL: Regenerated.
22202         * po/libc.pot: Regenerated.
22204 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22205             Sandra Loosemore  <sandra@codesourcery.com>
22206             Andrew Jenner  <andrew@codesourcery.com>
22207             Joseph Myers  <joseph@codesourcery.com>
22208             Nathan Sidwell  <nathan@codesourcery.com>
22210         * NEWS: Mention new Nios II port.
22211         * sysdeps/nios2/Implies: New file.
22212         * sysdeps/nios2/Makefile: New file.
22213         * sysdeps/nios2/Subdirs: New file.
22214         * sysdeps/nios2/Versions: New file.
22215         * sysdeps/nios2/__longjmp.S: New file.
22216         * sysdeps/nios2/abort-instr.h: New file.
22217         * sysdeps/nios2/backtrace.c: New file.
22218         * sysdeps/nios2/bits/endian.h: New file.
22219         * sysdeps/nios2/bits/fenv.h: New file.
22220         * sysdeps/nios2/bits/link.h: New file.
22221         * sysdeps/nios2/bits/setjmp.h: New file.
22222         * sysdeps/nios2/bsd-_setjmp.S: New file.
22223         * sysdeps/nios2/bsd-setjmp.S: New file.
22224         * sysdeps/nios2/configure: New generated file.
22225         * sysdeps/nios2/configure.ac: New file.
22226         * sysdeps/nios2/crti.S: New file.
22227         * sysdeps/nios2/crtn.S: New file.
22228         * sysdeps/nios2/dl-init.c: New file.
22229         * sysdeps/nios2/dl-machine.h: New file.
22230         * sysdeps/nios2/dl-sysdep.h: New file.
22231         * sysdeps/nios2/dl-tls.h: New file.
22232         * sysdeps/nios2/dl-trampoline.S: New file.
22233         * sysdeps/nios2/gccframe.h: New file.
22234         * sysdeps/nios2/gmp-mparam.h: New file.
22235         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22236         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22237         * sysdeps/nios2/ldsodefs.h: New file.
22238         * sysdeps/nios2/libc-tls.c: New file.
22239         * sysdeps/nios2/libm-test-ulps: New file.
22240         * sysdeps/nios2/machine-gmon.h: New file.
22241         * sysdeps/nios2/math-tests.h: New file.
22242         * sysdeps/nios2/math_private.h: New file.
22243         * sysdeps/nios2/memusage.h: New file.
22244         * sysdeps/nios2/nptl/Makefile: New file.
22245         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22246         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22247         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22248         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22249         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22250         * sysdeps/nios2/nptl/tls.h: New file.
22251         * sysdeps/nios2/preconfigure: New file.
22252         * sysdeps/nios2/s_fma.c: New file.
22253         * sysdeps/nios2/s_fmaf.c: New file.
22254         * sysdeps/nios2/setjmp.S: New file.
22255         * sysdeps/nios2/sfp-machine.h: New file.
22256         * sysdeps/nios2/sotruss-lib.c: New file.
22257         * sysdeps/nios2/stackguard-macros.h: New file.
22258         * sysdeps/nios2/stackinfo.h: New file.
22259         * sysdeps/nios2/start.S: New file.
22260         * sysdeps/nios2/sysdep.h: New file.
22261         * sysdeps/nios2/tls-macros.h: New file.
22262         * sysdeps/nios2/tst-audit.h: New file.
22263         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22264         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22265         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22266         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22267         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22268         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22269         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22270         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22271         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22272         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22273         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22274         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22275         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22276         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22277         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22278         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22279         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22280         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22281         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22282         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22283         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22284         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22285         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22286         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22287         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22288         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22289         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22290         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22291         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22292         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22293         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22294         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22295         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22296         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22297         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22298         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22299         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22300         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22301         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22302         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22303         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22304         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22305         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22306         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22308 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22310         [BZ #17844]
22311         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22312         (getutent): Use weak_alias in non SHARED case
22313         and default_symbol_version in SHARED case.
22314         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22315         (getutent_r, pututline): Likewise.
22316         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22317         (getutid): Likewise.
22318         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22319         (getutid_r): Likewise.
22320         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22321         (getutline): Likewise.
22322         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22323         (getutline_r): Likewise.
22324         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22325         (updwtmp): Likewise.
22327 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22329         [BZ #17848]
22330         * sysdeps/s390/s390-32/memcmp.S
22331         (memcmp_g5): Rename to __memcmp_g5.
22332         * sysdeps/s390/s390-32/memcpy.S
22333         (memcpy_g5): Rename to __memcpy_g5.
22334         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22335         (memcpy_mvcle) Rename to __memcpy_mvcle.
22336         * sysdeps/s390/s390-32/memset.S
22337         (memset_g5): Rename to __memset_g5.
22338         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22339         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22340         and use prefixed functions.
22341         * sysdeps/s390/s390-32/multiarch/memcmp.S
22342         (memcmp_z196): Rename to __memcmp_z196.
22343         (memcmp_z10): Rename to __memcmp_z10.
22344         (memcmp): Set alias to __memcmp_g5.
22345         (bcmp): Set alias to __memcmp_g5.
22346         * sysdeps/s390/s390-32/multiarch/memcpy.S
22347         (memcpy_z196): Rename to __memcpy_z196.
22348         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22349         (memcpy_z10): Rename to __memcpy_z10.
22350         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22351         (memcpy): Set alias to __memcpy_g5.
22352         * sysdeps/s390/s390-32/multiarch/memset.S
22353         (memset_z196): Rename to __memset_z196.
22354         Jump to __memset_mvcle instead of memset_mvcle.
22355         (memset_z10): Rename to __memset_z10.
22356         Jump to __memset_mvcle instead of memset_mvcle.
22357         (memset_mvcle) Rename to __memset_mvcle.
22358         (memset): Set alias to __memset_g5.
22359         * sysdeps/s390/s390-64/memcmp.S
22360         (memcmp_z900): Rename to __memcmp_z900.
22361         * sysdeps/s390/s390-64/memcpy.S
22362         (memcpy_z900): Rename to __memcpy_z900.
22363         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22364         (memcpy_mvcle) Rename to __memcpy_mvcle.
22365         * sysdeps/s390/s390-64/memset.S
22366         (memset_z900): Rename to __memset_z900.
22367         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22368         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22369         and use prefixed functions.
22370         * sysdeps/s390/s390-64/multiarch/memcmp.S
22371         (memcmp_z196): Rename to __memcmp_z196.
22372         (memcmp_z10): Rename to __memcmp_z10.
22373         (memcmp): Set alias to __memcmp_z900.
22374         (bcmp): Set alias to __memcmp_z900.
22375         * sysdeps/s390/s390-64/multiarch/memcpy.S
22376         (memcpy_z196): Rename to __memcpy_z196.
22377         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22378         (memcpy_z10): Rename to __memcpy_z10.
22379         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22380         (memcpy): Set alias to __memcpy_z900.
22381         * sysdeps/s390/s390-64/multiarch/memset.S
22382         (memset_z196): Rename to __memset_z196.
22383         Jump to __memset_mvcle instead of memset_mvcle.
22384         (memset_z10): Rename to __memset_z10.
22385         Jump to __memset_mvcle instead of memset_mvcle.
22386         (memset_mvcle) Rename to __memset_mvcle.
22387         (memset): Set alias to __memset_z900.
22389 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22391         [BZ #17748]
22392         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22393         __fesetenv instead of fesetenv.
22395 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22397         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22398         macro.
22400 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22402         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22403         regression on LE.
22405         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22406         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22407         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22408         strncmp-power8 object.
22409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22410         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22411         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22412         * NEWS: Update.
22414 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22415             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22417         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22418         trailing byte check.
22420 2015-01-13  David S. Miller  <davem@davemloft.net>
22422         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22424 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22426         * login/logout.c (logout): Use memset rather than bzero.
22427         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22428         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22429         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22430         (_gethtbyaddr): Likewise.
22431         * locale/programs/simple-hash.c (bcopy): Macro removed.
22433 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22435         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22436         Add strcmp-power8 object.
22437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22438         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22439         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22440         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22441         __strcmp_power8 implementation.
22442         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22443         * NEWS: Update.
22445         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22446         Add strncpy-power8 and stpncpy-power8 objects.
22447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22448         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22449         implementations.
22450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22451         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22452         __stpncpy_power8 implementation.
22453         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22454         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22455         __strncpy_power8 implementation.
22456         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22457         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22458         * NEWS: Update.
22460         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22461         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22462         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22465         strncat-power8 object.
22466         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22467         __strcat_power8 implementation.
22468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22469         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22470         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22471         optimized strcat for power8.
22473         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22474         strcpy-power8 and stpcpy-power8 objects.
22475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22476         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22477         implementations.
22478         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22479         multiarch stpcpy implementation for POWER8.
22480         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22481         multiarch strcpy implementation for POWER8.
22482         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22483         __strcpy_power8 function.
22484         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22485         stpcpy for POWER8.
22486         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22487         strcpy for POWER8.
22488         * NEWS: Update.
22490 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22492         [BZ #16009]
22493         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22494         weights and rules. Use do_xfrm_cached if data fits in cache,
22495         do_xfrm otherwise.  Moved former main loop to...
22496         * (do_xfrm_cached): New function.
22497         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22498         find_idx, find_position and stack_push.
22499         * (find_idx): New function.
22500         * (find_position): Likewise.
22501         * localedata/sort-test.sh: Added test run for do_xfrm.
22502         * localedata/xfrm-test.c (main): Added command line option
22503         -nocache to run the test with strings that are too large for
22504         the STRXFRM cache.
22506 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22508         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22509         variable to lll_futex_wake call, not the value itself.
22511 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22513         [BZ #17803]
22514         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22515         twom64.  Adjust value to 0x1p-64L.
22516         (__scalblnl): Only return standard underflowing result for K <=
22517         -64 not K <= -63; adjust exponent for underflowing result by 64
22518         not 63.
22519         * math/libm-test.inc (scalbn_test_data): Add more tests.
22520         (scalbln_test_data): Likewise.
22522         [BZ #17834]
22523         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22524         0x1p63L.
22525         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22526         not HX.
22527         * math/libm-test.inc (scalbn_test_data): Add more tests.
22528         (scalbln_test_data): Likewise.
22530 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22531             Stefani Seibold  <stefani@seibold.net>
22533         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22534         (sysdep_routines): Add dl-vdso here, ...
22535         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22536         (sysdep_routines): ... not here.
22537         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22538         fallback when vDSO is not presented.
22539         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22540         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22541         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22542         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22543         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22544         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22545         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22546         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22547         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22548         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22549         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22550         fallback configurable symbol when vDSO is not available.
22551         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22552         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22553         be able to redefine fallback symbol when vDSO is not available.
22554         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22555         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22557 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22559         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22560         (TLS_INIT_TP): Add tm_capable initialization.
22561         (TLS_DEFINE_INIT_TP): Likewise.
22562         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22563         TCB.
22564         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22565         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22566         calculation.
22567         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22568         transactoion is lock elision is built and TCB tm_capable is set.
22569         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22571         (INTERNAL_SYSCALL_NCS): Likewise.
22572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22573         (INTERNAL_SYSCALL_NCS): Likewise.
22574         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22576         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22577         for powerpc.
22578         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22579         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22580         and remove it for 32 bits case.
22581         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22583         initialization.
22584         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22585         Disable lock elision with rdlocks if elision is not available.
22587         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22588         (sysdep_routines): Add lock elision objects.
22589         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22590         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22591         [pthread_mutex_t] (__elision): Add field.
22592         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22593         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22594         elision definitions for powerpc.
22595         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22596         implementation of lock elision for powerpc.
22597         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22598         implementation of timed lock elision for powerpc.
22599         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22600         implementation of trylock with lock elision for powerpc.
22601         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22602         implementaion of unlock for lock elision for powerpc.
22603         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22604         automatic enable lock elision for mutexes.
22605         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22606         transaction execution definitions for powerpc.
22607         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22608         definitions.
22609         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22610         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22611         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22612         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22613         * NEWS: Update.
22615 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22617         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22618         for #include of <shm-directory.h>.
22620 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22622         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22623         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22625 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22627         [BZ #17791]
22628         * NEWS: Mention bug fix.
22629         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22630         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22631         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22633 2015-01-09  Torvald Riegel <triegel@redhat.com>
22635         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22637 2015-01-09  Torvald Riegel <triegel@redhat.com>
22639         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22641 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22643         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22644         pointer and cast to uintptr_t.
22646 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22648         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22649         removed.
22650         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22652 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22654         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22655         of 0.
22657 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22659         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22660         <nptl/pthreadP.h> instead.
22661         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22663         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22664         already defined.
22665         [__SIGRTMIN] (init): Function removed.
22666         [__SIGRTMIN] (initialized): Variable removed.
22667         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22668         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22669         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22670         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22671         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22672         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22673         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22674         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22675         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22676         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22677         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22678         * sysdeps/nptl/allocrtsig.c: New file.
22679         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22680         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22681         * sysdeps/generic/testrtsig.h: File removed.
22683         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22684         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22686         * nptl/nptl-init.c (pthread_functions): Conditionalize
22687         .ptr__nptl_setxid initialization on [SIGSETXID].
22689         * sysdeps/nptl/sys/procfs.h: New file.
22690         * nptl_db/Makefile (headers): Add it.
22691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22693         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22694         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22695         * nptl/pthread_attr_setaffinity.c: Include it.
22696         * nptl/pthread_setattr_default_np.c: Likewise.
22697         * nptl/check-cpuset.h: New file.
22699 2015-01-08  Richard Henderson  <rth@redhat.com>
22701         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22702         (CFLAGS-tst-execstack-prog.c): Likewise.
22703         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22705 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22706             Sandra Loosemore  <sandra@codesourcery.com>
22707             Andrew Jenner  <andrew@codesourcery.com>
22708             Joseph Myers  <joseph@codesourcery.com>
22709             Nathan Sidwell  <nathan@codesourcery.com>
22711         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22712         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22713         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22714         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22715         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22716         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22717         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22718         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22719         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22720         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22721         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22722         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22723         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22724         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22725         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22726         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22727         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22729 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22731         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22732         timespec struct member in syscall macro.
22733         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22734         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22735         first timeval struct member in syscall macro.
22736         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22738 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22740         [BZ #17748]
22741         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22742         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22743         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22744         __feupdateenv and define as weak alias of __feupdateenv.  Use
22745         libm_hidden_weak.
22746         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22747         libm_hidden_def.
22748         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22749         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22750         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22751         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22752         libm_hidden_def.
22753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22754         __feupdateenv and define as weak alias of __feupdateenv.  Use
22755         libm_hidden_weak.
22756         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22757         libm_hidden_def.
22758         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22759         __feupdateenv and define as weak alias of __feupdateenv.  Use
22760         libm_hidden_weak.
22761         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22762         libm_hidden_def.
22763         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22764         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22765         (__feupdateenv): Likewise.
22766         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22767         __feupdateenv and define as weak alias of __feupdateenv.  Use
22768         libm_hidden_weak.
22769         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22770         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22771         libm_hidden_def.
22772         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22773         function.
22774         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22775         libm_hidden_def.
22776         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22777         __feupdateenv instead of feupdateenv.
22778         (default_libc_feupdateenv_test): Likewise.
22779         (libc_feresetround_ctx): Likewise.
22781 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22783         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22784         prototype.
22786 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22788         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22789         COLL_SYM in a couple of places to avoid uninitialized variable
22790         wanings on tilegx gcc 4.8.2.
22792 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22794         * sysdeps/aarch64/strcpy.S: New file.
22795         * sysdeps/aarch64/stpcpy.S: New file.
22796         * NEWS: Updated.
22798 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22800         * sysdeps/aarch64/strrchr.S: New file.
22801         * NEWS: Updated.
22803 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22805         [BZ #17658]
22806         * stdlib/setenv.c: Fix memory leak when setting large,
22807         duplicate string.
22809 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22811         [BZ #17273]
22812         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22813         and tabs from buffer before parsing fstab entry.
22814         * misc/tst-mntent.c (main): Add test for mount entry with
22815         trailing spaces and tabs.
22817 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #17748]
22820         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22821         * math/fesetround.c (fesetround): Rename to __fesetround and
22822         define as weak alias of __fesetround.  Use libm_hidden_weak.
22823         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22824         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22825         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22826         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22827         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22828         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22829         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22830         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22831         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22832         __fesetround_inline.
22833         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22834         __fesetround_inline instead of __fesetround.
22835         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22836         __fesetround and define as weak alias of __fesetround.  Use
22837         libm_hidden_weak.  Call __fesetround_inline instead of
22838         __fesetround.
22839         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22840         __fesetround and define as weak alias of __fesetround.  Use
22841         libm_hidden_weak.
22842         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22843         Likewise.
22844         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22845         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22846         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22847         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22848         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22849         __fesetround and define as weak alias of __fesetround.  Use
22850         libm_hidden_weak.
22851         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22852         __fesetround instead of fesetround.
22853         (default_libc_feholdexcept_setround): Likewise.
22854         (libc_feholdsetround_ctx): Likewise.
22855         (libc_feholdsetround_noex_ctx): Likewise.
22857         [BZ #17748]
22858         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22859         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22860         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22861         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22862         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22863         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22864         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22865         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22866         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22867         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22868         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22869         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22870         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22871         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22872         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22873         libm_hidden_def.
22874         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22875         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22876         Likewise.
22877         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22878         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22879         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22880         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22881         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22882         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22883         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22884         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22885         __fesetenv instead of fesetenv.
22886         (libc_feresetround_noex_ctx): Likewise.
22887         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22888         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22889         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22890         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22891         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22892         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22893         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22894         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22895         (__feupdateenv): Likewise.
22896         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22897         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22898         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22899         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22901 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22903         [BZ #17806]
22904         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22905         addresses have been freed.
22907 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22909         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22910         and nservall.
22912 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22914         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22915         Clean up check_pf allocation pattern. addresses
22917 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22919         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22920         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22921         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22922         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22923         * nptl/pthread_join.c (pthread_join): Likewise.
22924         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22925         * sysdeps/posix/waitid.c (__waitid): Likewise.
22926         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22927         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22928         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22929         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22931         Likewise.
22932         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22933         (__libc_pread64): Likewise.
22934         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22935         (__libc_pwrite): Likewise.
22936         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22937         (__libc_pwrite64): Likewsie.
22938         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22939         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22940         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22941         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22942         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22943         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22944         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22946         Likewise.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22948         (__libc_pread64): Likewise.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22950         Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22952         (__libc_pwrite64): Likewise.
22953         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22954         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22955         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22956         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22957         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22958         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22959         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22960         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22961         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22962         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22963         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22964         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22965         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22966         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22967         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22968         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22969         Likewise.
22971 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22973         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22974         (CFLAGS-test-double.c): Likewise.
22975         (CFLAGS-test-ldouble.c): Likewise.
22976         (CPPFLAGS-test-ifloat.c): Likewise.
22977         (CPPFLAGS-test-idouble.c): Likewise.
22978         (CPPFLAGS-test-ildoubl.c): Likewise.
22979         (CFLAGS-test-test-fenv.c): Remove variable.
22980         (CFLAGS-test-misc.c): Likewise.
22982 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22984         [BZ #17797]
22985         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22986         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22987         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22988         CLOCKS_PER_SEC == 1000000.
22989         * time/clocktest.c (main): Replace %ld with %jd and cast to
22990         intmax_t.
22992 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22994         * sysdeps/generic/unwind-resume.h: New file.
22995         * sysdeps/gnu/unwind-resume.c: Include it.
22996         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22997         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22998         argument list.
22999         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23000         global rather than static.
23001         (_Unwind_Resume): Update user.
23002         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23003         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23004         rather than static.  Add __attribute__ ((cold)).
23005         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23006         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23007         * sysdeps/arm/arm-unwind-resume.S: New file.
23008         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23009         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23010         * sysdeps/arm/Makefile [$(subdir) = csu]
23011         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23012         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23013         Add rt-arm-unwind-resume.
23014         [$(subdir) = nptl]
23015         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23016         Add pt-arm-unwind-resume.
23017         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23018         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23020 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #17748]
23023         * include/fenv.h (__feholdexcept): Declare.  Use
23024         libm_hidden_proto.
23025         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23026         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23027         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23028         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23029         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23030         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23031         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23032         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23033         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23034         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23035         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23036         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23037         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23038         (feholdexcept): Likewise.
23039         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23040         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23041         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23042         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23043         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23044         __feholdexcept instead of feholdexcept.
23045         (default_libc_feholdexcept_setround): Likewise.
23047 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23049         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23050         to avoid using stl/str to align destination.
23052 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23054         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23056 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23058         [BZ #17796]
23059         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23060         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23061         Define as weak alias not strong alias.
23063 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23065         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23066         bltzal with addiupc.
23067         (RTLD_START): Ditto.
23069 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23071         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23072         for __vdso_* functions in declarations.
23073         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23074         definitions.
23075         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23076         INTERNAL_VSYSCALL): Use struct return types to check for error.
23078         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23079         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23080         function with cast from llround().
23081         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23082         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23083         Define.
23085 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23087         [BZ #17793]
23088         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23089         Define as weak alias not strong alias.
23091         [BZ #17635]
23092         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23093         ...
23094         * ctype/ctype-extn.c: ... here.
23095         (__isblank_l): Move to ...
23096         * ctype/ctype-c99_l.c: ... here.  New file.
23097         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23098         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23099         Remove variable.
23100         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23101         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23102         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23103         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23104         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23106         [BZ #17777]
23107         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23108         (posix_fadvise64): Define as weak alias not strong alias.
23109         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23110         (posix_fallocate64): Likewise.
23111         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23112         Remove variable.
23113         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23114         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23115         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23116         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23117         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23119 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23121         [BZ #16191]
23122         * NEWS: Mention bug fix.
23123         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23124         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23125         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23126         (HOST_STACK_END_ADDR): Likewise.
23128 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23130         [BZ #17748]
23131         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23132         * math/fegetround.c (fegetround): Rename to __fegetround and
23133         define as weak alias of __fegetround.  Use libm_hidden_weak.
23134         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23135         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23136         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23137         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23138         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23139         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23140         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23141         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23142         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23143         Undefine after rather than before function definition; use
23144         parentheses around function name in definition.
23145         (__fegetround): Also undefine macro after function definition.
23146         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23147         __fegetround and define as weak alias of __fegetround.  Use
23148         libm_hidden_weak.  Do not undefine as macro.
23149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23150         Likewise.
23151         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23152         __fegetround and define as weak alias of __fegetround.  Use
23153         libm_hidden_weak.
23154         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23155         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23156         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23157         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23158         __fegetround and define as weak alias of __fegetround.  Use
23159         libm_hidden_weak.
23160         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23161         __fegetround instead of fegetround.
23163         [BZ #17782]
23164         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23165         Condition macro definition on [__USE_MISC].
23167         [BZ #17781]
23168         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23169         (struct sigaction): Change type of sa_flags field to int.
23171         [BZ #17780]
23172         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23173         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23174         __glibc_reserved0.
23176         * nptl/version.c (banner): Use single year in copyright notice.
23178         * NEWS: Update copyright dates.
23179         * catgets/gencat.c (print_version): Likewise.
23180         * csu/version.c (banner): Likewise.
23181         * debug/catchsegv.sh: Likewise.
23182         * debug/pcprofiledump.c (print_version): Likewise.
23183         * debug/xtrace.sh (do_version): Likewise.
23184         * elf/ldconfig.c (print_version): Likewise.
23185         * elf/ldd.bash.in: Likewise.
23186         * elf/pldd.c (print_version): Likewise.
23187         * elf/sotruss.sh: Likewise.
23188         * elf/sprof.c (print_version): Likewise.
23189         * iconv/iconv_prog.c (print_version): Likewise.
23190         * iconv/iconvconfig.c (print_version): Likewise.
23191         * locale/programs/locale.c (print_version): Likewise.
23192         * locale/programs/localedef.c (print_version): Likewise.
23193         * login/programs/pt_chown.c (print_version): Likewise.
23194         * malloc/memusage.sh (do_version): Likewise.
23195         * malloc/memusagestat.c (print_version): Likewise.
23196         * malloc/mtrace.pl: Likewise.
23197         * manual/libc.texinfo: Likewise.
23198         * nptl/version.c (banner): Likewise.
23199         * nscd/nscd.c (print_version): Likewise.
23200         * nss/getent.c (print_version): Likewise.
23201         * nss/makedb.c (print_version): Likewise.
23202         * posix/getconf.c (main): Likewise.
23203         * scripts/test-installation.pl: Likewise.
23204         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23206 2015-01-02  Will Newton  <will.newton@linaro.org>
23208         * sysdeps/arm/armv7/configure: Removed.
23209         * sysdeps/arm/armv7/configure.ac: Likewise.
23211 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23213         * All files with FSF copyright notices: Update copyright dates
23214         using scripts/update-copyrights.
23215         * intl/plural.c: Regenerated.
23216         * locale/programs/charmap-kw.h: Likewise.
23217         * locale/programs/locfile-kw.h: Likewise.
23219 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23221         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23223 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23225         [BZ #17748]
23226         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23227         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23228         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23229         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23230         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23231         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23232         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23233         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23234         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23235         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23236         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23237         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23238         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23239         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23240         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23241         libm_hidden_def.
23242         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23243         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23244         Likewise.
23245         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23246         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23247         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23248         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23249         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23250         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23251         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23252         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23253         __fegetenv instead of fegetenv.
23254         (libc_feholdsetround_noex_ctx): Likewise.
23256 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23258         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23259         (Elf_MIPS_ABIFlags_v0): New structure.
23260         (EF_MIPS_FP64): Define.
23261         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23262         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23263         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23264         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23265         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23266         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23267         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23268         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23269         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23270         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23271         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23272         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23273         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23274         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23275         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23276         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23277         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23278         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23279         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23280         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23281         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23282         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23283         field.
23284         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23285         EF_MIPS_FP64.
23286         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23287         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23288         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23289         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23290         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23291         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23292         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23293         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23294         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23295         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23296         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23297         record the current FP ABI extension.
23298         (mips-mode-switch): Define to show if kernel headers support mode
23299         switching.
23300         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23301         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23302         supported SYSV ABI version to 3.
23303         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23304         feature.
23306 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23307             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23309         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23310         path.
23311         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23313 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23315         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23316         __fegetround and redefine to call __fegetround.  Remove condition
23317         on [!__NO_MATH_INLINES].
23318         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23319         function.
23320         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23321         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23322         Remove macro.
23323         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23324         instead of <fenv_libc.h>.
23325         (__llrintl): Call fegetround instead of __fegetround.
23326         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23327         instead of <fenv_libc.h>.
23328         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23329         (__lrintl): Call fegetround instead of __fegetround.
23330         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23331         instead of <fenv_libc.h>.
23332         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23333         (__rintl): Call fegetround instead of __fegetround.
23335 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23337         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23338         arrays.
23340 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23342         [BZ #17775]
23343         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23344         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23345         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23347 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23349         * sysdeps/i386/tls-macros.h: Include <features.h>.
23350         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23351         (TLS_IE): Likewise.
23352         (TLS_LD): Likewise.
23353         (TLS_GD): Likewise.
23354         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23355         define for GCC >= 5.0.
23357 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23359         * math/test-fenv.c (test_single_exception, set_single_exc,
23360         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23361         feexcp_mask_test, feenable_test, fe_single_test): Add
23362         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23363         case where they are not used.
23364         * math/libm-test.inc: Likewise.
23365         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23366         unused in the absence of FP rounding/exception support.
23367         * stdio-common/tst-printf-round.c: Likewise.
23368         * stdlib/tst-strtod-round.c: Likewise.
23369         * stdlib/tst-strtod-underflow.c: Likewise.
23371 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23373         [BZ #17723]
23374         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23375         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23376         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23377         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23378         libm_hidden_weak.
23379         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23380         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23381         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23382         libm_hidden_def.
23383         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23384         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23385         libm_hidden_weak.
23386         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23387         Likewise.
23388         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23389         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23390         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23391         libm_hidden_weak.
23392         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23393         libm_hidden_def.
23394         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23395         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23396         (__feraiseexcept): Likewise.
23397         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23398         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23399         libm_hidden_weak.
23400         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23401         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23402         libm_hidden_def.
23403         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23404         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23405         Use libm_hidden_def.
23406         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23407         libm_hidden_def.
23408         (feraiseexcept): Define as weak not strong alias.  Use
23409         libm_hidden_weak.
23410         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23411         New inline function.  Factored out of ...
23412         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23413         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23414         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23415         feraiseexcept.
23416         * math/w_acos.c (__acos): Likewise.
23417         * math/w_asin.c (__asin): Likewise.
23418         * math/w_ilogb.c (__ilogb): Likewise.
23419         * math/w_j0.c (y0): Likewise.
23420         * math/w_j1.c (y1): Likewise.
23421         * math/w_jn.c (yn): Likewise.
23422         * math/w_log.c (__log): Likewise.
23423         * math/w_log10.c (__log10): Likewise.
23424         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23425         * sysdeps/aarch64/fpu/math_private.h
23426         (libc_feupdateenv_test_aarch64): Likewise.
23427         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23428         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23429         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23430         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23431         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23432         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23433         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23434         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23435         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23436         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23438 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23440         [BZ #17732]
23441         * io/test-utime.c (main): Replace %ld with %jd and cast to
23442         intmax_t.
23443         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23444         * nptl/tst-mutex5.c: Include <stdint.h>.
23445         (do_test): Replace %ld with %jd and cast to intmax_t.
23446         * posix/tst-regex.c (run_test): Likewise.
23447         (run_test_backwards): Likewise.
23448         * rt/tst-clock.c: Include <stdint.h>.
23449         (clock_test): Replace %ld with %jd and cast to intmax_t.
23450         * rt/tst-cpuclock1.c: Include <stdint.h>.
23451         (do_test): Replace %lu with %ju and cast to uintmax_t.
23452         * rt/tst-cpuclock2.c: Include <stdint.h>.
23453         (do_test): Replace %lu with %ju and cast to uintmax_t.
23454         * rt/tst-mqueue1.c: Include <stdint.h>.
23455         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23456         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23457         intmax_t.
23458         * rt/tst-mqueue4.c (do_test): Likewise.
23459         * rt/tst-timer4.c: Include <stdint.h>.
23460         (check_ts): Replace %ld with %jd and cast to intmax_t.
23461         (do_test): Likewise.
23462         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23463         and cast to intmax_t.
23464         * sysdeps/pthread/tst-timer.c (main): Likewise.
23465         * time/clocktest.c (main): Likewise.
23466         * time/tst-posixtz.c (do_test): Likewise.
23467         * timezone/tst-timezone.c (main): Likewise.
23469 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23470             H.J. Lu  <hongjiu.lu@intel.com>
23472         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23473         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23474         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23475         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23476         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23477         version if bit_Fast_Unaligned_Load is set.
23478         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23479         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23480         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23481         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23482         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23483         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23485         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23486         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23487         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23488         to 4.
23489         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23490         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23491         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23492         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23494 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23496         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23497         instead of #if to avoid a Wundef warning.
23498         * stdlib/tst-limits.c (do_test): Likewise.
23500         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23501         parallel other exception macros.
23502         (fegetenv): Convert from macro to extern inline so that it applies
23503         retroactively to inline functions already seen by the compiler.
23504         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23506         * posix/Makefile (before-compile): Use $(objpfx) for
23507         posix-conf-vars-def.h.
23509 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23511         * posix/getconf.c (main): Use size_t for type of I.
23512         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23513         NSPEC.
23515         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23516         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23517         * posix/posix-envs.def: Likewise.
23518         * sysdeps/posix/sysconf.c: Likewise.
23519         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23520         (specs): Remove array.
23521         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23522         array.
23524         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23525         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23526         (__sysconf): Use CONF_IS_* macros.
23528         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23529         ($(objpfx)posix-conf-vars-def.h): New target.
23530         * posix/posix-conf-vars.list: New file.
23531         * posix/posix-conf-vars.h: New file.
23532         * posix/confstr.c: Include posix-conf-vars.h.
23533         (confstr): Use CONF_IS_* macros.
23534         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23535         CONF_IS_* macros.
23536         * scripts/gen-posix-conf-vars.awk: New file.
23538 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23540         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23541         fegetround): Add no-op macros to avoid linknamespace issues.
23543         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23544         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23546         * sysdeps/unix/sysv/linux/tile/sysdep.h
23547         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23548         assembly-specific section to avoid a redefinition warning.
23550         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23551         long before casting to pointer to avoid a cast warning.
23553 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23555         * sysdeps/tile/tilegx/Implies: New file.
23557 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23559         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23561 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23563         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23565 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23568         not define.
23569         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23570         <kernel-features.h>.
23571         (__utimes) [__NR_utimes]: Make code unconditional.
23572         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23573         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23574         (__ASSUME_UTIMES): Do not undefine.
23575         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23576         (__ASSUME_UTIMES): Likewise.
23577         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23578         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23579         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23580         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23582 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23584         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23586 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23588         [BZ #17747]
23589         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23590         alias to weak alias for j0l, y0l.
23591         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23592         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23594         [BZ #17746]
23595         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23596         conversion.
23598 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23600         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23601         to zero if not already defined.
23603 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23605         [BZ #17724]
23606         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23607         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23608         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23609         (char *) casts added.
23610         * sysdeps/ieee754/k_standardf.c: New file.
23611         * sysdeps/ieee754/k_standardl.c: Likewise.
23612         * math/Makefile (libm-support): Remove k_standard.
23613         (libm-calls): Add k_standard.
23615 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23617         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23618         Optimize to avoid an unnecessary FPCR read.
23620 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23622         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23623         Optimize to reduce FPCR/FPSR accesses.
23625 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23627         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23628         Call libc_fetestexcept_aarch64.
23630 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23632         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23633         Call libc_fesetround_aarch64.
23635 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23637         [BZ #17733]
23638         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23639         (__bind): Do not define as weak alias.
23640         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23641         define.
23642         (__getsockname): Do not define as weak alias.
23644 2014-12-22  Will Newton  <will.newton@linaro.org>
23646         * manual/install.texi: Document that we require bison 2.7
23647         or above.
23648         * INSTALL: Regenerate.
23649         * configure.ac: Use AC_CHECK_PROG_VER instead of
23650         AC_PATH_PROG when checking for bison and check for
23651         version 2.7 or above.
23652         * configure: Regenerate.
23654 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23656         [BZ #17745]
23657         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23658         * sysdeps/tile/ffsll.c (ffsll): To here.
23660         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23662 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23664         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23665         if not defined.
23666         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23667         definition.
23668         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23669         hidden ___tls_get_addr.
23670         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23671         hidden __tls_get_addr.
23672         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23673         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23674         Likewise.
23676 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23678         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23679         _dl_init call.
23681 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23683         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23684         from "call _dl_init@PLT".
23685         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23687 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23689         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23690         guarantees.
23692 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23694         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23696 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23698         [BZ #17744]
23699         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23700         strnlen.
23702 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23704         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23705         of multu on MIPSr6.
23706         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23707         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23708         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23709         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23710         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23712 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23714         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23715         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23716         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23717         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23718         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23719         mips32r6/mips64r6.
23720         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23722 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23724         * string/strncat.c (STRNCAT): Simplify implementation.
23726 2014-12-19  David S. Miller  <davem@davemloft.net>
23728         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23729         access the quad as both a long double and as a series of 4 words.
23731         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23732         link_map->l_info array access.
23734 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23736         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23738         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23739         * math/atest-exp2.c (TIMEOUT): Likewise.
23740         * math/atest-sincos.c (TIMEOUT): Likewise.
23742 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23744         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23745         -Wno-error with -fno-builtin-lround.
23747 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23749         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23750         Contains futex constants and functions moved over from ...
23751         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23752         <lowlevellock-futex.h>.
23753         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23754         (lll_timedwait_tid): Add comments and parentheses around macro
23755         arguments.
23757 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23760         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23761         (__lll_private_flag): Remove.
23762         (lll_futex_wait): Likewise.
23763         (lll_futex_timed_wait): Likewise.
23764         (lll_futex_wake): Likewise.
23765         (lll_futex_requeue): Likewise.
23766         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23767         (__lll_timedwait_tid): Spell out argument names.
23768         (lll_timedwait_tid): Add comments and parentheses around macro
23769         arguments.
23770         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23771         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23773 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23775         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23776         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23777         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23778         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23779         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23780         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23781         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23782         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23783         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23785         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23786         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23788         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23789         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23790         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23791         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23792         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23793         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23795 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23797         * sysdeps/x86_64/x32/Makefile: New file.
23799 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23801         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23802         1L with (mp_limb_t) 1.
23804 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23806         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23807         * nptl/libc_pthread_init.c: ... here.
23808         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23809         * nptl/register-atfork.c: ... here.
23811         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23812         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23813         Use assert_perror to check its return value.
23814         (__gai_create_helper_thread): Likewise.
23816         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23818         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23820 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23822         [BZ #17725]
23823         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23824         __profil_counter.
23825         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23826         Likewise.
23827         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23828         Likewise.
23829         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23830         Likewise.
23831         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23832         (profil_counter): Likewise.
23833         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23834         (profil_counter): Likewise.
23835         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23836         Likewise.
23837         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23838         Likewise.
23839         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23840         (profil_counter): Likewise.
23841         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23842         Likewise.
23843         [!__profil_counter] (profil_counter): Define as weak alias of
23844         __profil_counter.
23845         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23846         (profil_counter): Rename to __profil_counter.
23847         [!__profil_counter] (profil_counter): Define as weak alias of
23848         __profil_counter.
23849         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23850         (profil_counter): Rename to __profil_counter.
23851         [!__profil_counter] (profil_counter): Define as weak alias of
23852         __profil_counter.
23853         * sysdeps/posix/profil.c: Update comment referring to
23854         profil_counter.
23855         (__profil): Use __profil_counter instead of profil_counter.
23856         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23857         __profil_counter.  Use __profil_counter_ushort and
23858         __profil_counter_uint in definitions.
23859         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23860         instead of profil_counter_uint and profil_counter_ushort.
23862         [BZ #17722]
23863         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23864         define as weak alias of __inet_makeaddr.
23865         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23866         as weak alias of __inet_addr.
23867         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23868         as weak alias of __inet_pton.  Use libc_hidden_weak.
23869         * include/arpa/inet.h (__inet_pton): Declare.  Use
23870         libc_hidden_proto.
23871         (inet_makeaddr): Don't use libc_hidden_proto.
23872         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23873         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23874         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23875         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23876         Remove variable.
23877         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23878         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23880 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23882         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23884 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23886         * stdio-common/bug-vfprintf-nargs.c (do_test):
23887         Cast value to intptr_t to avoid format warning
23888         for usage with PRIdPTR printing macro.
23890 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23892         * libio/tst-widetext.c (do_test):
23893         Use format type %td instead of %Zd for ptrdiff_t
23894         in order to avoid format warning.
23896 2014-12-17  Andreas Schwab  <schwab@suse.de>
23898         * nscd/mem.c (gc): Add size_t cast to match printf format.
23900 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23902         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23903         (init): Apply PTR_MANGLE to pointers before storing them.
23904         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23905         before using them.
23907 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23909         [BZ #17719]
23910         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23911         define as weak alias of __memrchr.
23912         (__memrchr): Do not define as strong alias of memrchr.
23913         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23914         Remove variable.
23915         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23916         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23917         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23919         [BZ #17717]
23920         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23921         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23922         (if_indextoname): Rename to __if_indextoname and define as weak
23923         alias of __if_indextoname.  Use libc_hidden_weak.
23924         (if_freenameindex): Rename to __if_freenameindex and define as
23925         weak alias of __if_freenameindex.
23926         (if_nameindex): Rename to __if_nameindex and define as weak alias
23927         of __if_nameindex.
23928         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23929         __if_nametoindex and define as weak alias of __if_nametoindex.
23930         Use libc_hidden_weak.
23931         (if_freenameindex): Rename to __if_freenameindex and define as
23932         weak alias of __if_freenameindex.
23933         (if_nameindex): Rename to __if_nameindex and define as weak alias
23934         of __if_nameindex.
23935         (if_indextoname): Rename to __if_indextoname and define as weak
23936         alias of __if_indextoname.  Use libc_hidden_weak.
23937         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23938         __if_nametoindex and define as weak alias of __if_nametoindex.
23939         Use libc_hidden_weak.
23940         (if_freenameindex): Rename to __if_freenameindex and define as
23941         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23942         (if_nameindex_netlink): Use __if_freenameindex instead of
23943         if_freenameindex.
23944         (if_nameindex): Rename to __if_nameindex and define as weak alias
23945         of __if_nameindex.  Use libc_hidden_weak.
23946         (if_indextoname): Rename to __if_indextoname and define as weak
23947         alias of __if_indextoname.  Use libc_hidden_weak.
23948         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23949         libc_hidden_proto.
23950         [!_ISOMAC] (__if_freenameindex): Likewise.
23951         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23952         if_nametoindex.
23953         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23954         variable.
23955         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23956         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23957         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23958         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23959         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23960         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23961         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23963         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23964         Remove variable.
23965         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23966         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23968 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23970         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23971         subscript above bounds'
23973         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23974         bounds.
23976 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23978         * libio/tst-fopenloc.c: Use test-skeleton.c.
23980         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23981         (entry): Rename to ITEM.
23982         (do_test, comp): Adjust.
23984         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23986 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23988         * string/tester.c: Include <libc-internal.h>.
23989         (test_memset): Ignore -Wmemset-transposed-args.
23991 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23993         * misc/tst-mntent2.c (do_test): Fix warning.
23995 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23997         * elf/tst-unique4lib.cc(a): Mark as used.
23999 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24001         [BZ #17630]
24002         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24003         names.
24005 2014-12-16  Allan McRae  <allan@archlinux.org>
24007         * stdio-common/Makefile (tests): Re-add bug26.
24009 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24011         [BZ #17657]
24012         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24013         static array.
24015 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24017         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24018         (__lll_lock_wait): Likewise.
24019         (__lll_timedlock_wait): Likewise.
24020         (__lll_timedwait_tid): Likewise.
24021         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24022         (__lll_robust_timedlock_wait): Likewise.
24023         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24024         (lll_cond_trylock): Likewise.
24025         (__lll_lock): Likewise.
24026         (__lll_robust_lock): Likewise.
24027         (__lll_cond_lock): Likewise.
24028         (lll_robust_cond_lock): Likewise.
24029         (__lll_timedlock): Likewise.
24030         (__lll_robust_timedlock): Likewise.
24031         (__lll_unlock): Likewise.
24032         (__lll_robust_unlock): Likewise.
24033         (lll_wait_tid): Likewise.
24034         (lll_timedwait_tid): Likewise.
24036 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24038         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24040 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24042         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24044 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24046         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24047         * stdio-common/tst-sprintf.c: Likewise.
24049 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24051         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24053 2014-12-15  Jeff Law  <law@redhat.com>
24055         [BZ #16617]
24056         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24057         on the heap.  (CVE-2012-3406)
24058         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24059         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24060         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24062 2014-12-15  Will Newton  <will.newton@linaro.org>
24064         * manual/install.texi: Bump required version of texinfo
24065         to 4.7 from 4.5.
24066         * INSTALL: Regenerated.
24067         * configure.ac: Check for makeinfo version 4.7 and above.
24068         * configure: Regenerated.
24070 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24072         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24073         PREFIX, string constant to insert between directory and name.
24074         * sysdeps/posix/shm_open.c: Update caller.
24075         * sysdeps/posix/shm_unlink.c: Likewise.
24076         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24077         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24078         (SEM_SHM_PREFIX): New macro.
24079         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24080         [$(have-thread-library) = no].
24081         * nptl/Makefile (libpthread-routines): Add shm-directory.
24082         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24083         * sysdeps/nptl/shm-directory.h: New file.
24084         * sysdeps/posix/shm-directory.c
24085         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24086         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24087         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24088         INTERNAL_SYSCALL.
24089         (__where_is_shmfs): Function removed.
24090         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24091         Variables removed.
24092         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24093         Use SHM_GET_NAME.
24094         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24096         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24097         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24098         unconditional for use inside libpthread.
24099         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24101 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24103         * nptl/pthread_getaffinity.c: New file.
24104         * nptl/pthread_setaffinity.c: New file.
24105         * nptl/pthread_getname.c: New file.
24106         * nptl/pthread_setname.c: New file.
24108         * nptl/pthread_create.c (START_THREAD_DEFN)
24109         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24111 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24112             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24114         * resolv/res_send.c (send_vc): Disable warning resplen may
24115         be used uninitialized.
24117 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24119         * nptl/tst-mutex6.c
24120         (ATTR_NULL): New define checks ATTR against NULL.
24121         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24122         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24124 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24126         [BZ #17581]
24127         * malloc/hooks.c
24128         (mem2mem_check): Revert my previous change.
24129         (malloc_check_get_size): Revert my previous change.
24130         (mem2chunk_check): Revert my previous change.
24132 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24134         * sysdeps/posix/shm-directory.c: New file.
24135         * sysdeps/posix/shm-directory.h: New file.
24136         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24137         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24138         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24139         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24140         Transmute EPERM to EACCES.
24141         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24142         from ...
24143         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24144         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24146 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24148         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24149         pointer and cast to uintptr_t.
24150         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24151         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24152         Add cast to avoid warning.
24153         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24155 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24157         * nptl/semaphore.h: Move to ...
24158         * sysdeps/pthread/semaphore.h: ... here.
24159         * Makefile (installed-headers): Change nptl/semaphore.h to
24160         sysdeps/pthread/semaphore.h.
24162 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24164         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24165         generated error format strings.
24167         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24168         -Wformat-extra-args warnings for scanf formats.
24169         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24170         test of zero-length format (duh).
24171         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24172         corner-case scanf format test.
24173         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24174         generated fprintf format string.
24175         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24176         corner-case sprintf format tests.
24177         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24178         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24179         -Wformat-extra-args warnings throughout.
24180         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24181         (CFLAGS-scanf4.c): Likewise.
24182         (CFLAGS-scanf7.c): Likewise.
24183         (CFLAGS-tst-sprintf.c): Likewise.
24184         (CFLAGS-tst-printf.c): Likewise.
24185         (CFLAGS-tst-printfsz.c): Likewise.
24187 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24189         * include/cpio.h: New file.
24190         * include/fmtmsg.h: Likewise.
24192         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24193         corresponding format argument to size_t.
24194         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24195         arguments.
24196         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24197         corresponding format argument to size_t.
24198         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24199         arguments.
24200         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24201         corresponding format argument to size_t.
24202         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24203         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24204         (CFLAGS-tst-mbswcs2.c): Likewise.
24205         (CFLAGS-tst-mbswcs3.c): Likewise.
24206         (CFLAGS-tst-mbswcs4.c): Likewise.
24207         (CFLAGS-tst-mbswcs5.c): Likewise.
24208         (CFLAGS-tst-trans.c): Likewise.
24210 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24212         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24213         rather than assuming they won't contain any '%'s.
24215 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24217         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24218         inhibit_loop_to_libcall to avoid recursive calls.
24219         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24220         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24222 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24224         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24225         prototype.
24227 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24229         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24230         integer value instead of boolean.
24232 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24234         * malloc/malloc.c: Fix powerof2 check.
24236 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24238         * locale/programs/locfile.h (maybe_swap_uint32):
24239         Remove inline and add unused attribute.
24241 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24243         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24244         Truncating assembler expression to a .long expression.
24246 2014-12-11  Andreas Schwab  <schwab@suse.de>
24248         * elf/rtld.c (struct map_args): Constify str member.
24249         (do_preload): Constify fname argument.
24251 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24254         constants definition.
24256 2014-12-11  Andreas Schwab  <schwab@suse.de>
24258         [BZ #16657]
24259         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24260         FORCE_ELISION instead of DO_ELISION.
24261         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24262         Remove.
24263         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24264         Likewise.
24266         * iconvdata/gconv-modules: Remove duplicate entry.
24268 2014-12-11  Will Newton  <will.newton@linaro.org>
24270         Merge gettext 0.19.3 into intl/.
24272         This involves a number of cosmetic changes to comments
24273         and ANSI function definitions and prototypes throughout
24274         all the files. The gettext copyright header is used but
24275         with the date ranges taken from the glibc copy.
24277         * NEWS: Add gettext merge to 2.21.
24278         * intl/bindtextdom.c: Switch to gettext copyright.
24279         Use ANSI definitions and prototypes.
24280         Use gl_* locking primitives rather than __libc_* ones.
24281         Use __builtin_expect rather than __glibc_likely/unlikely.
24282         * intl/dcgettext.c: Switch to gettext copyright.
24283         Use ANSI definitions and prototypes.
24284         * intl/dcigettext.c: Switch to gettext copyright.
24285         Use ANSI definitions and prototypes.
24286         (INTDIV0_RAISES_SIGFPE): New define.
24287         Use gl_* locking primitives rather than __libc_* ones.
24288         Include eval-plural.h instead of plural-eval.c.
24289         Use __builtin_expect rather than __glibc_likely/unlikely.
24290         * intl/dcngettext.c: Switch to gettext copyright.
24291         Use ANSI definitions and prototypes.
24292         * intl/dgettext.c: Likewise.
24293         * intl/dngettext.c: Likewise.
24294         * intl/plural-eval.c: Renamed to...
24295         * intl/eval-plural.h: ...this.
24296         * intl/explodename.c: Switch to gettext copyright.
24297         Use ANSI definitions and prototypes.
24298         (_nl_explode_name): Use strchr instead of __rawmemchr.
24299         * intl/finddomain.c: Switch to gettext copyright.
24300         Use ANSI definitions and prototypes.
24301         Use gl_* locking primitives rather than __libc_* ones.
24302         (_nl_find_domain): Use malloc rather than alloca for
24303         allocation of temporary locale name.
24304         * intl/gettext.c: Switch to gettext copyright.
24305         Use ANSI definitions and prototypes.
24306         * intl/gettextP.h: Switch to gettext copyright.
24307         Use ANSI definitions and prototypes.
24308         Use gl_* locking primitives rather than __libc_* ones.
24309         * intl/gmo.h: Switch to gettext copyright.
24310         (struct sysdep_string): Move struct segment_pair outside of
24311         struct definition.
24312         * intl/hash-string.c: Use ANSI definitions and prototypes.
24313         * intl/hash-string.h: Switch to gettext copyright.
24314         Use ANSI definitions and prototypes.
24315         * intl/l10nflist.c: Switch to gettext copyright.
24316         Use ANSI definitions and prototypes.
24317         (_nl_normalize_codeset): Avoid integer overflow.
24318         * intl/loadinfo.h: Switch to gettext copyright.
24319         Use ANSI definitions and prototypes.
24320         (LIBINTL_DLL_EXPORTED): New define.
24321         (PATH_SEPARATOR): New define.
24322         * intl/loadmsgcat.c: Switch to gettext copyright.
24323         * intl/localealias.c: Switch to gettext copyright.
24324         Use ANSI definitions and prototypes.
24325         (_nl_expand_alias): Use PATH_SEPARATOR.
24326         * intl/ngettext.c: Switch to gettext copyright.
24327         Use ANSI definitions and prototypes.
24328         * intl/plural-exp.c: Likewise.
24329         * intl/plural-exp.h: Switch to gettext copyright.
24330         Use ANSI definitions and prototypes.
24331         (struct expression): Move definition of enum operator outside
24332         of struct definition.
24333         * intl/plural.c: Regenerate.
24334         * intl/plural.y: Switch to gettext copyright.
24335         Use ANSI definitions and prototypes.
24336         Port to bison 3.0.
24337         * intl/textdomain.c: Switch to gettext copyright.
24338         Use ANSI definitions and prototypes.
24339         Use gl_* locking primitives rather than __libc_* ones.
24341 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24343         * debug/warning-nop.c: Add used atrribute.
24345 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24347         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24349         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24350         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24351         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24353 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24354             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24356         [BZ #17634]
24357         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24358         Undefine after defining function.  Define as weak alias of
24359         __wcschr.  Use libc_hidden_weak.
24360         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24361         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24362         (libc_hidden_def): Also define __GI___wcschr alias.
24363         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24364         __wcschr and define as weak alias of __wcschr.
24365         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24366         __wcschr.
24367         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24368         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24369         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24370         libc_hidden_weak.  Do not use libc_hidden_def.
24371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24372         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24373         __GI___wcschr alias.
24374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24375         [IS_IN (libc)] (wcschr): Define as macro expanding to
24376         __redirect_wcschr.
24377         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24378         [IS_IN (libc)] (__wcschr_power6): Likewise.
24379         [IS_IN (libc)] (__wcschr_power7): Likewise.
24380         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24381         instead of wcschr.
24382         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24383         __libc_wcschr.
24384         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24385         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24386         __wcschr and define as weak alias of __wcschr.  Use
24387         libc_hidden_builtin_def.
24388         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24389         as weak alias of __wcschr.  Use libc_hidden_weak.
24390         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24391         wcschr.
24392         * time/era.c (_nl_init_era_entries): Likewise.
24393         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24394         variable.
24395         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24396         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24398 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24400         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24401         format for long int variable.
24403 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24405         [BZ #10672]
24406         * manual/search.texi: (Array Sort Function): Remove claim how to make
24407         qsort stable.
24409 2014-12-10  Andreas Schwab  <schwab@suse.de>
24411         [BZ #12847]
24412         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24413         user-controlled locks.
24415 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24417         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24418         register.
24420 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24422         * configure.ac (--disable-werror): New configure option.
24423         (enable_werror): New AC_SUBST.
24424         * configure: Regenerated.
24425         * config.make.in (enable-werror): New variable.
24426         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24427         -Wno-error=undef.
24428         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24429         * manual/install.texi (Configuring and compiling): Document
24430         --disable-werror.
24431         * INSTALL: Regenerated.
24432         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24433         (CFLAGS-tst-chk2.c): Likewise.
24434         (CFLAGS-tst-chk3.c): Likewise.
24435         (CFLAGS-tst-chk4.cc): Likewise.
24436         (CFLAGS-tst-chk5.cc): Likewise.
24437         (CFLAGS-tst-chk6.cc): Likewise.
24438         (CFLAGS-tst-lfschk1.c): Likewise.
24439         (CFLAGS-tst-lfschk2.c): Likewise.
24440         (CFLAGS-tst-lfschk3.c): Likewise.
24441         (CFLAGS-tst-lfschk4.cc): Likewise.
24442         (CFLAGS-tst-lfschk5.cc): Likewise.
24443         (CFLAGS-tst-lfschk6.cc): Likewise.
24445         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24446         (main): Disable -Wdeprecated-declarations around calls to
24447         register_printf_function.
24449         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24450         (do_test): Disable -Wdiv-by-zero around some calls to
24451         fwrite_unlocked and fread_unlocked.
24453         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24454         (DIAG_POP_NEEDS_COMMENT): Likewise.
24455         (_DIAG_STR1): Likewise.
24456         (_DIAG_STR): Likewise.
24457         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24458         * stdio-common/bug21.c: Include <libc-internal.h>.
24459         (do_test): Disable -Wformat around call to sscanf.
24460         * stdio-common/scanf14.c: Include <libc-internal.h>.
24461         (main): Disable -Wformat around some calls to scanf functions.
24463 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24465         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24467 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24469         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24470         stack variable alignment.
24472 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24474         [BZ #17682]
24475         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24476         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24477         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24478         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24479         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24480         __getrlimit instead of getrlimit.
24481         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24482         __gettimeofday instead of gettimeofday.
24483         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24484         Likewise.
24485         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24486         Likewise.
24487         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24488         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24489         Remove variable.
24490         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24491         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24493 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24495         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24496         for wide-character tests.
24498 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24500         * io/openat64.c: #include <libc-internal.h>
24501         (__openat64): Prototypify.  Use ignore_value on MODE.
24502         * io/openat.c: Likewise.
24503         * misc/reboot.c: #include <libc-internal.h>
24504         (reboot): Prototypify.  Use ignore_value on HOWTO.
24505         * misc/ptrace.c: #include <libc-internal.h>
24506         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24508 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24510         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24511         XPG4, UNIX98 and XOPEN2K.
24512         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24513         Remove variable.
24514         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24516 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24518         * libio/fileops.c: Use ISO C style for function definitions.
24519         * libio/iofopen.c: Likewise.
24520         * libio/wfileops.c: Likewise.
24522         [BZ #17653]
24523         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24524         offset on EOF.
24525         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24526         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24527         (fgets_func): Function pointer to fgets and fgetws.
24528         (do_ftell_test): Add test to verify ftell value after read
24529         EOF.
24530         (do_test): Set fgets_func.
24532         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24533         O_TRUNC flag for w and w+ modes.
24534         (do_rewind_test): Likewise.
24535         (do_ftell_test): Likewise.
24536         (do_write_test): Likewise.
24538         [BZ #17647]
24539         * libio/fileops.c (do_ftell): Seek only when there are
24540         unflushed writes.
24541         * libio/wfileops.c (do_ftell_wide): Likewise.
24542         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24543         test case.
24544         (do_one_test): Call it.
24546 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24548         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24549         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24550         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24551         Remove variable.
24552         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24553         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24554         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24556 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24558         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24559         Remove variable.
24560         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24562         [BZ #17668]
24563         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24564         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24565         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24566         __freeifaddrs.  Use libc_hidden_weak.
24567         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24568         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24569         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24570         __freeifaddrs.  Use libc_hidden_weak.
24571         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24572         __getifaddrs and define as weak alias of __getifaddrs.  Use
24573         libc_hidden_weak.
24574         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24575         __freeifaddrs.  Use libc_hidden_weak.
24576         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24577         Remove variable.
24578         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24579         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24581 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24583         [BZ #17601]
24584         * sysdeps/mips/start.S (__start): Use indirect jump to call
24585         __libc_start_main.
24587 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24589         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24591         * nptl/tst-mutex1.c: Include <stdbool.h>.
24592         [!ATTR] (ATTR_NULL): New macro.
24593         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24594         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24595         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24597         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24598         to char *.
24600         [BZ #17665]
24601         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24602         Change conditional to [__USE_MISC].
24604         [BZ #17664]
24605         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24606         fgets_unlocked.
24607         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24608         __fgets_unlocked.
24609         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24610         fgets_unlocked.
24611         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24612         Remove variable.
24613         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24614         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24615         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24616         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24617         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24618         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24619         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24620         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24621         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24623         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24625 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24628         Remove strpbrk objects.
24629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24630         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24631         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24632         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24633         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24634         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24636         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24637         Remove strcspn objects.
24638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24639         (__libc_ifunc_impl_list): Remove strcspn implementation.
24640         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24641         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24642         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24643         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24645         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24646         Remove strspn objetcs.
24647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24648         (__libc_ifunc_impl_list): Remove strspn implementation.
24649         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24650         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24651         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24652         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24654 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24656         [BZ #17581]
24657         * malloc/hooks.c
24658         (mem2mem_check): Add a terminator to the chain of checking blocks.
24659         (malloc_check_get_size): Use it here.
24660         (mem2chunk_check): Ditto.
24662 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24664         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24665         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24667 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24669         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24671         * nptl/nptl-init.c: Include libc-internal.h.
24672         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24674         * elf/ldconfig.c (search_dir): Expand comment.
24676 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24678         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24679         variable.
24680         (linknamespace-symlist-stdlibs-tests): Likewise.
24681         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24682         instead of $(objpfx)symlist-stdlibs.
24683         (linknamespace-libs-isoc): New variable.
24684         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24685         (linknamespace-libs-ISO): New variable.
24686         (linknamespace-libs-ISO99): Likewise.
24687         (linknamespace-libs-ISO11): Likewise.
24688         (linknamespace-libs-XPG3): Likewise.
24689         (linknamespace-libs-XPG4): Likewise.
24690         (linknamespace-libs-POSIX): Likewise.
24691         (linknamespace-libs-UNIX98): Likewise.
24692         (linknamespace-libs-XOPEN2K): Likewise.
24693         (linknamespace-libs-POSIX2008): Likewise.
24694         (linknamespace-libs-XOPEN2K8): Likewise.
24695         ($(objpfx)symlist-stdlibs): Replace by
24696         $(linknamespace-symlist-stdlibs-tests).  Use
24697         $(linknamespace-libs-$*) as set of libraries.
24698         ($(linknamespace-header-tests)): Update dependencies.  Use
24699         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24700         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24701         * conform/linknamespace.pl: Remove comment about considering
24702         definitions of symbols from irrelevant libraries.
24704 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24706         [BZ #13862]
24707         * elf/dl-tls.c: Include <atomic.h>.
24708         (oom): Remove #ifdef SHARED/#endif.
24709         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24710         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24711         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24712         big enough.
24713         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24714         * nptl/Makefile (tests): Add tst-stack4.
24715         (modules-names): Add tst-stack4mod.
24716         ($(objpfx)tst-stack4): New.
24717         (tst-stack4mod.sos): Likewise.
24718         ($(objpfx)tst-stack4.out): Likewise.
24719         ($(tst-stack4mod.sos)): Likewise.
24720         (clean): Likewise.
24721         * nptl/tst-stack4.c: New file.
24722         * nptl/tst-stack4mod.c: Likewise.
24724 2014-11-27  J. Brown  <jb999@gmx.de>
24726         * sysdeps/x86/bits/string.h: Add recent CPUs.
24728 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24730         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24731         sigblock.
24733         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24734         feof.
24736         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24737         variable.
24739 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24741         * nscd/connections.c: Include libc-internal.h because of macro
24742         usage ignore_value.
24744 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24746         * string/bits/string3.h (__warn_memset_zero_len): Don't
24747         declare for gcc newer than 5.0.
24748         (memset): Don't test for zero-length __LEN for gcc newer than
24749         5.0.
24751 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24753         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24754         size_t for %zu format.
24756         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24757         difference, not %ju.
24759 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24761         * include/libc-internal.h (ignore_value): New macro.
24762         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24763         with ignore_value.
24765         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24766         definition.
24768         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24769         pthread_cleanup_push to void *.
24771         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24772         Undefine.
24774         [BZ #16619]
24775         [BZ #16740]
24776         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24777         instead of 1L << 52.
24779         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24780         * libio/bug-rewind2.c (do_test): Likewise.
24782         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24783         * debug/test-strcpy_chk-ifunc.c: Likewise.
24784         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24785         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24786         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24787         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24788         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24789         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24790         * Rules [$(multi-arch) = no] (tests): Do not filter out
24791         $(tests-ifunc).
24792         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24793         * debug/Makefile (tests-ifunc): Remove variable.
24794         (tests): Do not add $(tests-ifunc).
24795         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24796         (tests): Do not add $(tests-ifunc).
24797         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24798         [TEST_IFUNC]: Remove conditionals.
24799         * string/test-string.h (TEST_IFUNC): Remove macro.
24800         [TEST_IFUNC]: Remove conditionals.
24802         * string/test-strchr.c [!WIDE] (L): New macro.
24803         [WIDE] (L): Likewise.
24804         (check1): Use CHAR instead of char.  Use L on string and character
24805         constants.
24807 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24809         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24810         tests.
24811         * sysdeps/powerpc/bits/atomic.h
24812         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24813         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24814         (atomic_exchange_and_add_acq): Likewise.
24815         (atomic_exchange_and_add_rel): Likewise.
24816         * sysdeps/powerpc/powerpc32/bits/atomic.h
24817         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24818         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24819         * sysdeps/powerpc/powerpc64/bits/atomic.h
24820         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24821         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24823 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24825         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24826         Change synchronization of __sched_fifo_min_prio and
24827         __sched_fifo_max_prio.
24828         * nptl/pthread_mutexattr_getprioceiling.c
24829         (pthread_mutexattr_getprioceiling): Likewise.
24830         * nptl/pthread_mutexattr_setprioceiling.c
24831         (pthread_mutexattr_setprioceiling): Likewise.
24832         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24833         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24834         Likewise.
24836 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24838         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24839         void.
24841 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24843         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24844         third argument const.
24846 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24848         fnmatch: work around GCC compiler warning bug with uninit var
24849         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24850         This works around a bug with x86-64 GCC 4.9.2 and earlier
24851         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24852         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24853         used uninitialized in this function [-Wmaybe-uninitialized]".
24855 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24857         * posix/bug-regex31.c (main): Return RES not 0.
24859 2014-11-25  Anton Blanchard <anton@samba.org>
24861         * sysdeps/powerpc/bits/atomic.h
24862         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24864 2014-11-24  Sterling Augustine  <saugustine@google.com>
24866         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24868 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24870         [BZ #17608]
24871         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24873 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24875         [BZ #17633]
24876         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24877         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24878         variable.
24879         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24880         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24882 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24884         * string/strncpy.c (strncpy): Improve performance by using memset.
24886 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24888         * string/strcpy.c (strcpy):
24889         Improve performance by using strlen and memcpy.
24891 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24893         * string/strcoll_l.c (get_next_seq): __always_inline.
24894         * string/strcoll_l.c (do_compare): __always_inline.
24896 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24899         defined.
24900         * include/mqueue.h: Likewise.
24901         * include/stdlib.h: Likewise.
24903         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24904         (get_null_defines): Adjust.
24905         * sunrpc/Makefile: Adjust comment.
24906         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24907         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24908         (CFLAGS-interp.c): Likewise.
24909         (CFLAGS-ldconfig.c): Likewise.
24910         (CPPFLAGS-.os): Likewise.
24911         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24912         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24913         * extra-modules.mk (extra-modules.mk): Likewise.
24914         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24915         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24916         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24917         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24918         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24919         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24920         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24921         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24922         * iconvdata/Makefile (CPPFLAGS): Likewise.
24923         (cpp-srcs-left): Add libof for all iconvdata routines.
24924         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24925         * include/assert.h: Likewise.
24926         * include/ctype.h: Likewise.
24927         * include/errno.h: Likewise.
24928         * include/libc-symbols.h: Likewise.
24929         * include/math.h: Likewise.
24930         * include/netdb.h: Likewise.
24931         * include/resolv.h: Likewise.
24932         * include/stdio.h: Likewise.
24933         * include/stdlib.h: Likewise.
24934         * include/string.h: Likewise.
24935         * include/sys/stat.h: Likewise.
24936         * include/wctype.h: Likewise.
24937         * intl/l10nflist.c: Likewise.
24938         * libidn/idn-stub.c: Likewise.
24939         * libio/libioP.h: Likewise.
24940         * nptl/libc_multiple_threads.c: Likewise.
24941         * nptl/pthreadP.h: Likewise.
24942         * posix/regex_internal.h: Likewise.
24943         * resolv/res_hconf.c: Likewise.
24944         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24945         * sysdeps/arm/memmove.S: Likewise.
24946         * sysdeps/arm/sysdep.h: Likewise.
24947         * sysdeps/generic/_itoa.h: Likewise.
24948         * sysdeps/generic/symbol-hacks.h: Likewise.
24949         * sysdeps/gnu/errlist.awk: Likewise.
24950         * sysdeps/gnu/errlist.c: Likewise.
24951         * sysdeps/i386/i586/memcpy.S: Likewise.
24952         * sysdeps/i386/i586/memset.S: Likewise.
24953         * sysdeps/i386/i686/memcpy.S: Likewise.
24954         * sysdeps/i386/i686/memmove.S: Likewise.
24955         * sysdeps/i386/i686/mempcpy.S: Likewise.
24956         * sysdeps/i386/i686/memset.S: Likewise.
24957         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24958         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24959         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24960         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24961         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24962         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24963         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24964         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24965         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24966         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24967         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24968         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24969         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24970         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24971         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24972         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24973         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24974         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24975         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24976         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24977         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24978         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24979         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24980         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24981         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24982         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24983         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24984         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24985         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24986         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24987         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24988         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24989         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24990         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24991         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24992         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24993         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24994         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24995         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24996         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24997         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24998         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24999         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25000         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25001         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25002         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25003         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25004         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25005         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25006         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25007         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25008         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25009         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25010         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25011         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25012         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25013         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25014         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25015         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25016         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25017         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25018         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25019         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25020         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25021         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25022         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25023         * sysdeps/posix/closedir.c: Likewise.
25024         * sysdeps/posix/opendir.c: Likewise.
25025         * sysdeps/posix/readdir.c: Likewise.
25026         * sysdeps/posix/rewinddir.c: Likewise.
25027         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25028         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25029         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25030         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25031         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25032         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25033         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25038         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25039         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25041         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25043         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25044         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25045         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25046         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25047         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25048         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25049         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25050         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25054         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25055         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25061         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25062         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25063         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25065         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25066         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25067         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25068         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25069         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25071         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25072         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25073         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25074         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25075         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25076         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25077         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25078         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25080         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25081         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25083         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25084         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25085         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25086         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25087         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25088         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25089         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25090         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25091         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25093         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25094         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25095         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25096         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25097         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25098         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25099         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25100         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25101         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25102         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25103         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25104         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25105         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25106         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25107         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25109         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25110         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25111         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25112         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25113         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25114         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25115         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25116         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25117         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25118         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25119         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25121         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25122         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25123         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25124         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25125         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25126         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25127         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25128         * sysdeps/unix/alpha/sysdep.S: Likewise.
25129         * sysdeps/unix/alpha/sysdep.h: Likewise.
25130         * sysdeps/unix/make-syscalls.sh: Likewise.
25131         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25133         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25134         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25135         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25136         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25137         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25138         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25139         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25140         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25141         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25142         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25144         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25145         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25146         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25147         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25148         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25149         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25150         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25151         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25152         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25153         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25154         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25155         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25156         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25157         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25160         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25161         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25164         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25165         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25168         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25169         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25170         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25171         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25172         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25173         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25174         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25175         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25177         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25178         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25181         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25182         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25183         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25184         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25186         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25187         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25188         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25189         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25190         * sysdeps/x86_64/memcpy.S: Likewise.
25191         * sysdeps/x86_64/memmove.c: Likewise.
25192         * sysdeps/x86_64/memset.S: Likewise.
25193         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25194         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25195         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25196         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25197         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25198         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25200         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25201         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25202         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25203         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25204         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25205         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25206         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25207         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25208         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25209         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25210         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25211         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25212         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25213         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25214         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25215         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25216         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25217         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25218         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25219         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25220         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25221         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25222         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25223         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25224         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25225         * sysdeps/x86_64/strcmp.S: Likewise.
25227         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25229         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25230         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25231         * elf/rtld-Rules: Likewise.
25232         * elf/setup-vdso.h: Likewise.
25233         * include/assert.h: Likewise.
25234         * include/bits/stdlib-float.h: Likewise.
25235         * include/errno.h: Likewise.
25236         * include/sys/stat.h: Likewise.
25237         * include/unistd.h: Likewise.
25238         * sysdeps/aarch64/setjmp.S: Likewise.
25239         * sysdeps/alpha/setjmp.S: Likewise.
25240         * sysdeps/arm/__longjmp.S: Likewise.
25241         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25242         * sysdeps/arm/setjmp.S: Likewise.
25243         * sysdeps/arm/sysdep.h: Likewise.
25244         * sysdeps/generic/_itoa.h: Likewise.
25245         * sysdeps/generic/dl-sysdep.h: Likewise.
25246         * sysdeps/generic/ldsodefs.h: Likewise.
25247         * sysdeps/i386/dl-tls.h: Likewise.
25248         * sysdeps/i386/setjmp.S: Likewise.
25249         * sysdeps/m68k/setjmp.c: Likewise.
25250         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25251         * sysdeps/mach/hurd/opendir.c: Likewise.
25252         * sysdeps/posix/getcwd.c: Likewise.
25253         * sysdeps/posix/opendir.c: Likewise.
25254         * sysdeps/posix/profil.c: Likewise.
25255         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25256         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25257         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25258         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25259         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25260         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25261         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25262         * sysdeps/s390/dl-tls.h: Likewise.
25263         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25264         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25265         * sysdeps/sh/sh3/setjmp.S: Likewise.
25266         * sysdeps/sh/sh4/setjmp.S: Likewise.
25267         * sysdeps/unix/alpha/sysdep.h: Likewise.
25268         * sysdeps/unix/arm/sysdep.S: Likewise.
25269         * sysdeps/unix/i386/sysdep.S: Likewise.
25270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25271         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25273         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25275         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25276         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25277         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25278         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25279         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25280         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25281         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25282         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25285         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25286         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25287         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25288         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25289         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25290         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25291         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25293         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25294         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25296         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25297         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25298         * sysdeps/x86_64/setjmp.S: Likewise.
25300         * include/math.h: Use IS_IN instead of IS_IN_libm.
25301         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25302         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25303         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25304         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25306         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25307         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25308         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25309         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25310         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25311         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25312         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25313         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25314         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25315         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25316         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25317         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25318         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25319         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25320         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25321         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25322         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25323         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25324         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25325         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25326         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25327         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25328         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25329         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25330         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25331         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25332         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25333         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25335         Likewise.
25336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25337         Likewise.
25338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25339         Likewise.
25340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25341         Likewise.
25342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25343         Likewise.
25344         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25345         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25346         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25347         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25348         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25349         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25355         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25356         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25357         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25358         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25359         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25360         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25361         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25363         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25364         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25365         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25368         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25370         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25372         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25373         * nptl/pthreadP.h: Likewise.
25374         * nptl_db/structs.def: Likewise.
25375         * sysdeps/arm/sysdep.h: Likewise.
25376         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25377         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25378         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25379         * sysdeps/unix/alpha/sysdep.h: Likewise.
25380         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25382         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25383         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25384         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25385         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25386         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25387         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25388         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25389         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25390         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25391         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25392         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25393         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25396         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25397         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25398         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25400         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25401         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25402         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25403         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25404         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25405         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25407         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25408         * nptl/pthreadP.h: Likewise.
25409         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25410         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25411         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25412         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25413         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25414         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25415         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25416         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25417         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25418         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25419         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25420         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25422         Likewise.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25424         Likewise.
25425         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25427         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25428         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25430         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25431         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25432         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25434         * dlfcn/dladdr.c: Use IS_IN.
25435         * dlfcn/dladdr1.c: Likewise.
25436         * dlfcn/dlclose.c: Likewise.
25437         * dlfcn/dlerror.c: Likewise.
25438         * dlfcn/dlinfo.c: Likewise.
25439         * dlfcn/dlmopen.c: Likewise.
25440         * dlfcn/dlopen.c: Likewise.
25441         * dlfcn/dlsym.c: Likewise.
25442         * dlfcn/dlvsym.c: Likewise.
25444         * include/ifaddrs.h: Use IS_IN.
25445         * inet/check_pf.c: Likewise.
25446         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25447         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25449         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25450         IS_IN_ldconfig.
25451         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25452         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25454         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25455         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25456         IS_IN (libc).
25458         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25460         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25461         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25462         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25463         * include/libc-symbols.h (IS_IN_LIB): New macro.
25464         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25465         * include/netdb.h: Likewise.
25466         * include/stap-probe.h: Remove all uses of IN_LIB.
25468         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25469         instead of IN_MODULE.
25470         * include/libc-symbols.h (IN_MODULE): Define using
25471         MODULE_NAME.
25472         (PASTE_NAME, PASTE_NAME1): New macros.
25473         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25474         of IN_LIB.
25475         (STAP_PROBE_ASM): Likewise.
25477 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25479         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25480         __mach_init in dlopened libc.
25482 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25484         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25485         * sysdeps/arm/preconfigure: Regenerate.
25487 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25489         * nptl/pthread_create.c (__pthread_create_2_1): Set
25490         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25491         when copying values from IATTR into PD.
25493 2014-11-21  Will Newton  <will.newton@linaro.org>
25494             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25496         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25497         Refactor inline-asm.  Also add comment.
25499         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25500         ElfW macro instead of hardcoded Elf64 types.
25501         (la_aarch64_gnu_pltenter): Likewise.
25502         * sysdeps/aarch64/dl-machine.h
25503         (elf_machine_runtime_setup): Use ElfW(Addr).
25505         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25506         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25507         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25508         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25509         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25510         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25511         (R_AARCH64_TLS_DTPMOD): This.
25512         (R_AARCH64_TLS_DTPREL64): Rename to ...
25513         (R_AARCH64_TLS_DTPREL): This.
25514         (R_AARCH64_TLS_TPREL64): Rename to ...
25515         (R_AARCH64_TLS_TPREL): This.
25516         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25517         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25518         R_AARCH64_TLS_TPREL64.
25519         (elf_machine_rela): Likewise.
25521 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25523         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25524         by setting it to 0.  64b atomics are not supported currently.
25526 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25528         [BZ #16469]
25529         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25530         search domain names.
25532 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25534         [BZ #16469]
25535         * NEWS: Update.
25536         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25537         trailing dot.
25538         * posix/tst-getaddrinfo5.c: New.
25539         * posix/Makefile (tests): Add it.
25541 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25543         [BZ #14498]
25544         * NEWS: Fixed.
25545         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25546         after parsing line but before break_if_match.
25547         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25548         if there is a protocol mismatch.
25550 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25552         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25553         because the potential race is on the user-supplied stream.
25555 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25557         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25558         string literal if not passed a buffer.
25559         * manual/job.texi (ctermid): Update reasoning, note deviation
25560         from posix, suggest mtasurace when not passed a buffer, for
25561         future non-preliminary safety notes.
25563 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25565         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25566         of not passing it a buffer.
25567         Reported by Peng Haitao.
25569 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25571         * manual/Makefile ($(objpfx)stamp-summary): Require
25572         check-safety.sh to pass.
25573         * manual/check-safety.sh: Wish for verification that every
25574         @deftypefn and @deftypefun is followed by a @safety remark.
25576 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25578         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25580         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25581         PTHREAD_CANCEL_ASYNCHRONOUS.
25582         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25583         send SIGCANCEL.
25585         * nptl/default-sched.h: New file.
25586         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25587         * nptl/pthread_create.c: Include it.
25588         (__pthread_create_2_1): Use collect_default_sched instead of making
25589         Linux syscalls here directly.
25591 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25593         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25594         __pthread_once): Use C11 atomics.
25596 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25598         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25602         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25603         atomic_thread_fence_acquire, atomic_thread_fence_release,
25604         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25605         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25606         atomic_compare_exchange_weak_relaxed,
25607         atomic_compare_exchange_weak_acquire,
25608         atomic_compare_exchange_weak_release,
25609         atomic_exchange_acquire, atomic_exchange_release,
25610         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25611         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25612         atomic_fetch_and_acquire,
25613         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25615 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25617         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25618         USE_ATOMIC_COMPILER_BUILTINS): Define.
25619         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25621         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25623         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25625         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25627         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25629         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25631         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25633         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25635         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25637         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25639         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25641         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25643         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25645         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25647         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25649         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25651         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25653         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25654         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25655         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25656         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25657         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25658         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25660 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25662         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25663         the sched_priority value here.  It was already checked when the user
25664         called pthread_attr_setschedparam.
25666         * nptl/tst-bad-schedattr.c: New file.
25667         * nptl/Makefile (tests): Add it.
25669 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25670             Florian Weimer  <fweimer@redhat.com>
25671             Joseph Myers  <joseph@codesourcery.com>
25672             Adam Conrad  <adconrad@0c3.net>
25673             Andreas Schwab  <schwab@suse.de>
25674             Brooks  <bmoses@google.com>
25676         [BZ #17625]
25677         * wordexp-test.c (__dso_handle): Add prototype.
25678         (__register_atfork): Likewise.
25679         (__app_register_atfork): New function.
25680         (registered_forks): New global.
25681         (register_fork): New function.
25682         (test_case): Add 3 new tests for WRDE_CMDSUB.
25683         (main): Call __app_register_atfork.
25684         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25685         fork count is non-zero fail the test.
25686         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25687         is set.
25688         (parse_dollars): Remove check for WRDE_NOCMD.
25689         (parse_dquote): Likewise.
25691 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693         * Makeconfig (built-modules): List non-library modules to be
25694         built.
25695         (module-cppflags): Include libc-modules.h for
25696         everything except shlib-versions.v.i.
25697         (CPPFLAGS): Use it.
25698         (before-compile): Add libc-modules.h.
25699         ($(common-objpfx)libc-modules.h,
25700         $(common-objpfx)libc-modules.stmp): New targets.
25701         (common-generated): Add libc-modules.h and libc-modules.stmp.
25702         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25703         * include/libc-symbols.h: Don't include libc-modules.h.
25704         * include/libc-modules.h: Remove file.
25705         * scripts/gen-libc-modules.awk: New script to generate
25706         libc-modules.h.
25707         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25708         Depend on libc-modules.stmp.
25710         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25712         * Makeconfig (in-module): Get value of libof set for the
25713         translation unit.
25714         (CPPFLAGS): Use $(in-module).
25715         * Makerules: Don't suffix routine names for nonlib.
25716         * include/libc-modules.h: New file.
25717         * include/libc-symbols.h: Include libc-modules.h
25718         (IS_IN): New macro to replace IS_IN_* macros.
25719         * elf/Makefile: Set libof-* for each routine.
25720         * elf/rtld-Rules: Likewise.
25721         * extra-modules.mk: Likewise.
25722         * iconv/Makefile: Likewise.
25723         * iconvdata/Makefile: Likewise.
25724         * locale/Makefile: Likewise.
25725         * malloc/Makefile: Likewise.
25726         * nss/Makefile: Likewise.
25727         * sysdeps/gnu/Makefile: Likewise.
25728         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25729         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25730         * sysdeps/s390/s390-64/Makefile: Likewise.
25731         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25732         CPPFLAGS for nscd instead of nonlib.
25734 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25736         * nptl/createthread.c: New file.
25738         * nptl/createthread.c: Moved ...
25739         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25741         * nptl/createthread.c: Add proper top-line comment.
25742         (do_clone): Folded into ...
25743         (create_thread): ... here.  Take new arguments STOPPED_START and
25744         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25745         increment __nptl_threads, do event-reporting logic, do
25746         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25747         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25748         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25749         just send SIGCANCEL.
25750         * nptl/pthread_create.c: Forward-declare create_thread before
25751         including createthread.c.
25752         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25753         declaration, and new macro START_THREAD_SELF to replace argument.
25754         Remove return statement.
25755         (report_thread_creation): New function.
25756         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25757         synchronization logic, and __nptl_nthreads increment here, around
25758         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25759         PD->parent_cancelhandling here, before create_thread.  When
25760         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25761         __deallocate_stack, and ENOMEM translation here.
25763 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25765         [BZ #17616]
25766         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25767         (mptwo): Rename to __mptwo.
25768         (__inv): Use __mptwo instead of mptwo.
25769         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25770         (mptwo): Rename to __mptwo.
25771         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25772         of mpone and __mptwo instead of mptwo.
25773         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25774         instead of mpone.
25775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25776         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25777         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25778         of mpone and __mptwo instead of mptwo.
25779         (__mpranred): Use __mpone instead of mpone.
25780         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25781         variable.
25782         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25783         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25784         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25785         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25786         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25787         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25788         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25789         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25790         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25791         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25792         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25793         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25794         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25795         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25796         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25797         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25798         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25799         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25800         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25802 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25804         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25805         replace BSD Handler xref with BSD Signal Handling.
25807 2014-11-17  Richard Henderson  <rth@redhat.com>
25809         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25810         (_FP_PACK_RAW_2): Remove.
25811         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25812         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25813         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25814         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25815         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25816         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25817         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25818         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25819         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25820         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25821         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25822         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25823         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25824         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25825         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25826         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25828 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25830         * signal/signal.h [__USE_MISC]
25831         (struct sigvec): Remove type.
25832         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25833         (sigvec): Remove declaration.
25834         * sysdeps/posix/sigvec.c: Moved ...
25835         * signal/sigvec.c: ... here, replacing old file.
25836         (struct sigvec): New type, copied from old signal.h definition.
25837         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25838         (__sigvec): Convert definition to prototype.
25839         (sigvec): Replace weak_alias with compat_symbol.
25840         * signal/Versions (libc: GLIBC_2.21): New version set.
25841         * include/signal.h: Remove __sigvec declaration.
25842         * sysdeps/unix/bsd/sigvec.c: Remove file.
25843         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25844         * manual/signal.texi (BSD Handler): Remove subsection.
25845         Move siginterrupt up to ...
25846         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25847         (Blocking in BSD): Fold subsection into its parent.
25848         * NEWS: Mention sigvec removal.
25850 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25852         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25853         (DLA_FMS): Make definition conditional only on [__FMA4__].
25854         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25855         definition.
25857         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25858         Make definition conditional only on [PROF].
25859         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25860         definition.
25861         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25862         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25864         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25865         !__GNUC__].
25866         * include/signal.h (__sigpause): Move declaration above call to
25867         libc_hidden_proto.
25868         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25869         variable.
25870         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25871         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25873 2014-11-14  David S. Miller  <davem@davemloft.net>
25875         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25876         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25878 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25880         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25881         * configure: Regenerated.
25882         * manual/install.texi (Tools for Compilation): Document a
25883         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25884         compiler verified to work.
25885         * INSTALL: Regenerated.
25887         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25888         redeclare with asm name.
25889         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25890         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25891         including <string.h>.
25892         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25893         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25894         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25895         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25896         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25897         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25898         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25900 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25902         * stdlib/strtol.c (__strtol): Use prototype definition.
25904         [BZ #17594]
25905         * stdlib/strtol.c (SYM__): New macro.
25906         (SYM__1): Likewise.
25907         (__strtol): Likewise.
25908         (strtol): Rename to __strtol and define as weak alias of
25909         __strtol.  Use libc_hidden_weak.
25911 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25913         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25914         Use numbered labels in inline assembly.
25916 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25918         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25919         Add setjmp LIBC_PROBE.
25920         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25921         Likewise.
25922         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25923         Add longjmp, longjmp_target LIBC_PROBE.
25924         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25925         Likewise.
25927 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25930         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25931         to get rid of unused variable warning.
25933 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25935         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25936         Check for unwind_backtrace ==  NULL only in SHARED case.
25937         (__backchain_backtrace): Compile only in SHARED case.
25938         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25939         Likewise.
25940         (__backchain_backtrace): Declare as static.
25942 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25944         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25945         (__libc_multiple_threads_ptr): Variable moved ...
25946         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25948 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25950         * conform/GlibcConform.pm: New file.
25951         * conform/conformtest.pl: Use GlibcConform module.
25952         * conform/linknamespace.pl: New file.
25953         * conform/list-header-symbols.pl: Likewise.
25954         * conform/Makefile (linknamespace-symlists-base): New variable.
25955         (linknamespace-symlists-tests): Likewise.
25956         (linknamespace-header-base): Likewise.
25957         (linknamespace-header-tests): Likewise.
25958         (tests-special): Add new tests.
25959         ($(linknamespace-symlists-tests)): New rule.
25960         (linknamespace-libs): New variable.
25961         ($(objpfx)symlist-stdlibs): New rule.
25962         ($(linknamespace-header-tests)): Likewise.
25963         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25964         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25965         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25966         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25967         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25968         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25969         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25970         (test-xfail-ISO/math.h/linknamespace): Likewise.
25971         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25972         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25973         (test-xfail-ISO/time.h/linknamespace): Likewise.
25974         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25975         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25976         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25977         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25978         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25979         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25980         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25981         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25982         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25983         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25984         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25985         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25986         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25987         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25988         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25989         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25990         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25991         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25992         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25993         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25994         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25995         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25996         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25997         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25998         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25999         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26000         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26001         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26002         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26003         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26004         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26005         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26006         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26007         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26008         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26009         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26010         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26011         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26012         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26013         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26014         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26015         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26016         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26017         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26018         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26019         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26020         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26021         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26022         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26023         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26024         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26025         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26026         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26027         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26028         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26029         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26030         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26031         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26032         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26033         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26034         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26035         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26036         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26037         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26038         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26039         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26040         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26041         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26042         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26043         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26044         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26045         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26046         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26047         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26048         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26049         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26050         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26051         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26052         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26053         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26054         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26055         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26056         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26057         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26058         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26059         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26060         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26061         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26062         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26063         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26064         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26065         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26066         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26067         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26068         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26069         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26070         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26071         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26072         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26073         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26074         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26075         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26076         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26077         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26078         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26079         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26080         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26081         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26082         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26083         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26084         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26085         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26086         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26087         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26088         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26089         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26090         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26091         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26092         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26093         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26094         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26095         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26096         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26097         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26098         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26099         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26100         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26101         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26102         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26103         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26104         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26105         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26106         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26107         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26108         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26109         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26110         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26111         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26112         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26113         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26114         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26115         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26116         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26117         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26118         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26119         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26120         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26121         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26122         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26123         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26125         [BZ #17589]
26126         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26127         of fgets_unlocked.
26129         [BZ #17585]
26130         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26131         (memmem): Rename to __memmem and define as weak alias of
26132         __memmem.  Use libc_hidden_weak.
26133         (__memmem): Use libc_hidden_def.
26134         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26135         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26136         memmem.
26138         [BZ #17582]
26139         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26140         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26141         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26142         and define as weak alias of __fgets_unlocked.  Use
26143         libc_hidden_weak.
26144         (__fgets_unlocked): Use libc_hidden_def.
26145         * include/stdio.h (__fgets_unlocked): Declare.  Use
26146         libc_hidden_proto.
26147         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26148         __fgets_unlocked instead of fgets_unlocked.
26149         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26150         (GET_NPROCS_CONF_PARSER): Likewise.
26151         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26152         (GET_NPROCS_CONF_PARSER): Likewise.
26154         [BZ #17574]
26155         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26156         weak alias of __wmemset.  Use libc_hidden_weak.
26157         (__wmemset): Use libc_hidden_def.
26158         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26159         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26160         of wmemset.
26162         [BZ #17573]
26163         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26164         with asm name __mempcpy.
26165         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26167         [BZ #17572]
26168         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26169         and define as weak alias of __rawmemchr.
26170         (__rawmemchr): Do not define as strong alias of rawmemchr.
26172         [BZ #17571]
26173         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26174         alias of __qsort_r.
26175         (qsort): Call __qsort_r instead of qsort_r.
26176         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26177         (__qsort_r): Declare.  Call libc_hidden_proto.
26178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26179         instead of qsort_r.
26180         * nscd/gai.c (__qsort_r): Define to qsort_r.
26181         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26182         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26183         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26185         [BZ #17570]
26186         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26187         define as weak alias of __malloc_info.
26189         [BZ #17584]
26190         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26191         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26192         (__rewinddir): Use libc_hidden_def.
26193         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26194         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26195         (__rewinddir): Use libc_hidden_def.
26196         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26197         weak alias of __rewinddir.  Don't use libc_hidden_def.
26198         (__rewinddir): Use libc_hidden_def.
26199         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26200         (__rewinddir): Use libc_hidden_proto.
26201         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26202         rewinddir.
26203         (__getcwd): Use __rewinddir instead of rewinddir.
26205         [BZ #17583]
26206         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26207         alias of __fileno.  Use libc_hidden_weak.
26208         (__fileno): Use libc_hidden_def.
26209         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26210         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26211         alias of __ftello.
26212         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26213         __ftello.
26214         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26215         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26216         libc_hidden_def.
26217         (fread_unlocked): Don't use libc_hidden_ver.
26218         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26219         and define as weak alias of __fread_unlocked.  Don't use
26220         libc_hidden_def.
26221         (__fread_unlocked): Use libc_hidden_def.
26222         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26223         (ftello): Don't use libc_hidden_proto.
26224         (__ftello): Declare.  Use libc_hidden_proto.
26225         (fread_unlocked): Don't use libc_hidden_proto.
26226         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26227         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26228         and __ftello instead of fileno, fread_unlocked and ftello.
26230 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26232         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26233         GOT12.
26234         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26235         Likewise.
26236         (_dl_start_user): Likewise.
26237         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26239 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26240             Siddhesh Poyarekar  <siddhesh@redhat.com>
26242         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26243         Move argv and envp down instead of moving argc up.
26244         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26246 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26248         [BZ #17506]
26249         * test-skeleton.c (main): Return successful if one of
26250         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26251         * string/tst-strcoll-overflow.c: Define expected status.
26253 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26255         [BZ #17475]
26256         * locale/iso-639.def: Define Bhili and Tulu language codes.
26258 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26260         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26262 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26264         [BZ #17555]
26265         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26267 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26269         * configure.ac: Updated check of minimal required version to
26270         2.22.
26271         * manual/install.texi (Tools for Compilation): Updated version
26272         number.
26273         * configure: Regenerated.
26274         * INSTALL: Likewise.
26276 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26278         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26279         __tls_get_addr.
26281 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26283         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26284         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26285         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26286         libc_hidden_weak.
26287         (waitpid): Define as alias of __waitpid.
26288         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26289         __waitpid.
26290         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26291         libc_hidden_weak.
26292         (waitpid): Define as alias of __waitpid.
26293         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26294         __libc_waitpid alias.
26295         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26296         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26297         Likewise.
26298         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26299         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26300         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26301         alias.
26302         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26303         __waitpid.
26304         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26305         libc_hidden_weak.
26306         (waitpid): Define as alias of __waitpid.
26308 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26310         * manual/llio.texi: Add comment that write safety has been
26311         fixed in Linux.
26313         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26314         (localplt-build-dso): Add elf/ld.so.
26315         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26316         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26317         and free for ld.so.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26319         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26321         Likewise.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26323         Likewise.
26324         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26325         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26326         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26327         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26328         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26329         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26330         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26331         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26332         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26333         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26334         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26336 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26338         [BZ #14132]
26339         * include/libc-symbols.h (INTUSE): Remove macro.
26340         (INTDEF): Likewise.
26341         (INTVARDEF): Likewise.
26342         (_INTVARDEF): Likewise.
26343         (INTDEF2): Likewise.
26344         (INTVARDEF2): Likewise.
26345         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26346         rtld_hidden_def instead of INTVARDEF.
26347         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26348         (_dl_starting_up_internal): Remove declaration.
26349         (_dl_starting_up): Use rtld_hidden_proto.
26350         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26351         declaration.
26352         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26353         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26354         _dl_starting_up.
26355         * elf/dl-writev.h (_dl_writev): Likewise.
26356         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26357         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26358         _dl_starting_up_internal.
26360 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26362         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26363         test-skeleton.c.
26365 2014-11-05  Will Newton  <will.newton@linaro.org>
26367         * benchtests/Makefile: (bench-malloc): Add malloc thread
26368         scalability benchmark.
26369         * benchtests/bench-malloc-threads.c: New file.
26371 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26373         * sysdeps/aarch64/strchrnul.S: New file.
26375 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26377         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26378         definition.
26379         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26380         Likwise.
26381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26382         Likewise.
26383         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26384         Likewise.
26385         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26386         Likewise.
26387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26388         Likewise.
26390 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26392         * catgets/test-gencat.c: Use test-skeleton.c.
26393         * catgets/tst-catgets.c: Likewise.
26394         * csu/tst-empty.c: Likewise.
26395         * elf/tst-audit2.c: Likewise.
26396         * elf/tst-global1.c: Likewise.
26397         * elf/tst-pathopt.c: Likewise.
26398         * elf/tst-piemod1.c: Likewise.
26399         * elf/tst-tls10.c: Likewise.
26400         * elf/tst-tls11.c: Likewise.
26401         * elf/tst-tls12.c: Likewise.
26402         * gnulib/tst-gcc.c: Likewise.
26403         * iconvdata/tst-e2big.c: Likewise.
26404         * iconvdata/tst-loading.c: Likewise.
26405         * iconv/tst-iconv1.c: Likewise.
26406         * iconv/tst-iconv2.c: Likewise.
26407         * inet/test-inet6_opt.c: Likewise.
26408         * inet/tst-gethnm.c: Likewise.
26409         * inet/tst-network.c: Likewise.
26410         * inet/tst-ntoa.c: Likewise.
26411         * intl/tst-codeset.c: Likewise.
26412         * intl/tst-gettext2.c: Likewise.
26413         * intl/tst-gettext3.c: Likewise.
26414         * intl/tst-ngettext.c: Likewise.
26415         * intl/tst-translit.c: Likewise.
26416         * io/test-stat.c: Likewise.
26417         * libio/test-fmemopen.c: Likewise.
26418         * libio/tst-freopen.c: Likewise.
26419         * libio/tst-sscanf.c: Likewise.
26420         * libio/tst-ungetwc1.c: Likewise.
26421         * libio/tst-ungetwc2.c: Likewise.
26422         * libio/tst-widetext.c: Likewise.
26423         * localedata/tst-ctype.c: Likewise.
26424         * localedata/tst-digits.c: Likewise.
26425         * localedata/tst-leaks.c: Likewise.
26426         * localedata/tst-mbswcs1.c: Likewise.
26427         * localedata/tst-mbswcs2.c: Likewise.
26428         * localedata/tst-mbswcs3.c: Likewise.
26429         * localedata/tst-mbswcs4.c: Likewise.
26430         * localedata/tst-mbswcs5.c: Likewise.
26431         * localedata/tst-setlocale.c: Likewise.
26432         * localedata/tst-trans.c: Likewise.
26433         * localedata/tst-wctype.c: Likewise.
26434         * localedata/tst-xlocale1.c: Likewise.
26435         * login/tst-grantpt.c: Likewise.
26436         * malloc/tst-calloc.c: Likewise.
26437         * malloc/tst-malloc.c: Likewise.
26438         * malloc/tst-mallocstate.c: Likewise.
26439         * malloc/tst-mcheck.c: Likewise.
26440         * malloc/tst-mtrace.c: Likewise.
26441         * malloc/tst-obstack.c: Likewise.
26442         * math/atest-exp2.c: Likewise.
26443         * math/atest-exp.c: Likewise.
26444         * math/atest-sincos.c: Likewise.
26445         * math/test-matherr.c: Likewise.
26446         * math/test-misc.c: Likewise.
26447         * math/test-powl.c: Likewise.
26448         * math/tst-definitions.c: Likewise.
26449         * misc/tst-dirname.c: Likewise.
26450         * misc/tst-efgcvt.c: Likewise.
26451         * misc/tst-fdset.c: Likewise.
26452         * misc/tst-hsearch.c: Likewise.
26453         * misc/tst-mntent2.c: Likewise.
26454         * nptl/tst-sem7.c: Likewise.
26455         * nptl/tst-sem8.c: Likewise.
26456         * nptl/tst-sem9.c: Likewise.
26457         * nss/test-netdb.c: Likewise.
26458         * posix/tst-fnmatch.c: Likewise.
26459         * posix/tst-getlogin.c: Likewise.
26460         * posix/tst-gnuglob.c: Likewise.
26461         * posix/tst-mmap.c: Likewise.
26462         * pwd/tst-getpw.c: Likewise.
26463         * resolv/tst-inet_ntop.c: Likewise.
26464         * rt/tst-timer.c: Likewise.
26465         * stdio-common/test-fseek.c: Likewise.
26466         * stdio-common/test-popen.c: Likewise.
26467         * stdio-common/test-vfprintf.c: Likewise.
26468         * stdio-common/tst-cookie.c: Likewise.
26469         * stdio-common/tst-fileno.c: Likewise.
26470         * stdio-common/tst-gets.c: Likewise.
26471         * stdio-common/tst-obprintf.c: Likewise.
26472         * stdio-common/tst-perror.c: Likewise.
26473         * stdio-common/tst-sprintf2.c: Likewise.
26474         * stdio-common/tst-sprintf3.c: Likewise.
26475         * stdio-common/tst-sprintf.c: Likewise.
26476         * stdio-common/tst-swprintf.c: Likewise.
26477         * stdio-common/tst-tmpnam.c: Likewise.
26478         * stdio-common/tst-unbputc.c: Likewise.
26479         * stdio-common/tst-wc-printf.c: Likewise.
26480         * stdlib/tst-environ.c: Likewise.
26481         * stdlib/tst-fmtmsg.c: Likewise.
26482         * stdlib/tst-limits.c: Likewise.
26483         * stdlib/tst-rand48-2.c: Likewise.
26484         * stdlib/tst-rand48.c: Likewise.
26485         * stdlib/tst-random2.c: Likewise.
26486         * stdlib/tst-random.c: Likewise.
26487         * stdlib/tst-strtol.c: Likewise.
26488         * stdlib/tst-strtoll.c: Likewise.
26489         * stdlib/tst-tls-atexit.c: Likewise.
26490         * stdlib/tst-xpg-basename.c: Likewise.
26491         * string/test-ffs.c: Likewise.
26492         * string/tst-bswap.c: Likewise.
26493         * string/tst-inlcall.c: Likewise.
26494         * string/tst-strtok.c: Likewise.
26495         * string/tst-strxfrm.c: Likewise.
26496         * sysdeps/x86_64/tst-audit10.c: Likewise.
26497         * sysdeps/x86_64/tst-audit3.c: Likewise.
26498         * sysdeps/x86_64/tst-audit4.c: Likewise.
26499         * sysdeps/x86_64/tst-audit5.c: Likewise.
26500         * time/tst-ftime_l.c: Likewise.
26501         * time/tst-getdate.c: Likewise.
26502         * time/tst-mktime3.c: Likewise.
26503         * time/tst-mktime.c: Likewise.
26504         * time/tst-posixtz.c: Likewise.
26505         * time/tst-strptime2.c: Likewise.
26506         * time/tst-strptime3.c: Likewise.
26507         * wcsmbs/tst-btowc.c: Likewise.
26508         * wcsmbs/tst-mbrtowc.c: Likewise.
26509         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26510         * wcsmbs/tst-wchar-h.c: Likewise.
26511         * wcsmbs/tst-wcpncpy.c: Likewise.
26512         * wcsmbs/tst-wcrtomb.c: Likewise.
26513         * wcsmbs/tst-wcsnlen.c: Likewise.
26514         * wcsmbs/tst-wcstof.c: Likewise.
26516 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26518         [BZ #14132]
26519         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26520         INTDEF.
26521         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26522         declaration.
26523         (_dl_mcount): Use rtld_hidden_proto.
26524         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26525         _dl_mcount.
26526         * elf/rtld.c (_rtld_global_ro): Likewise.
26528         [BZ #14132]
26529         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26530         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26531         of _dl_init_internal.
26532         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26533         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26534         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26535         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26536         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26537         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26538         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26539         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26540         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26541         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26542         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26543         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26544         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26545         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26546         * sysdeps/tile/dl-start.S (_start): Likewise.
26547         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26548         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26550         [BZ #14132]
26551         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26552         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26553         (rtld_progname): Make macro definition unconditional.
26554         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26555         INTDEF.
26556         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26557         (dl_main): Likewise.
26558         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26559         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26560         instead of _dl_argv_internal.
26561         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26562         __GI__dl_argv instead of INTUSE(_dl_argv).
26563         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26564         __GI__dl_argv instead of _dl_argv_internal.
26566         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26567         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26568         macro.
26569         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26570         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26571         New macro.
26572         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26573         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26574         macro.
26575         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26576         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26578 2014-11-04  Andreas Schwab  <schwab@suse.de>
26580         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26582 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26584         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26585         mtvsrd instruction in binary form.
26587 2014-11-03  Andreas Schwab  <schwab@suse.de>
26589         [BZ #17522]
26590         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26591         for less than MB_LEN_MAX use a local buffer of that size.
26592         * libio/tst-fputws.c: New file.
26593         * libio/Makefile (tests): Add tst-fputws.
26595 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26597         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26598         the size of the fpu_fr.fpu_dregs[] array.
26600 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26602         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26603         (__nanosleep): Do not define as alias.
26604         (nanosleep): Define as alias of __nanosleep.
26605         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26606         __libc_nanosleep name.
26608 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26610         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26611         install.texi in comment.
26613 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26615         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26616         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26617         ... add here and use lwsync or sync ...
26618         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26619         ... and add here using lwsync.
26621 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26623         * elf/dl-machine-reject-phdr.h: New file.
26624         * elf/dl-load.c: #include that.
26625         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26626         if that returned true.
26628 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26630         [BZ #17496]
26631         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26632         gen-as-const-headers chunk.  Add a big scare comment after the last
26633         safe place to touch before-compile.
26635 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26637         * manual/install.texi (Tools for Compilation): Update autoconf
26638         version requirements.
26639         * INSTALL: Regenerated.
26641         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26642         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26643         (__libc_pselect): Likewise.
26645         [BZ #14138]
26646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26651 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26653         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26654         correct barrier instruction.
26655         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26656         Likewise.
26657         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26658         Likewise.
26660 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26662         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26663         after defining inlines.  Instead, just use parens to defeat macro
26664         expansion of __isctype in its declaration.
26666 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26668         * include/sys/uio.h (__libc_readv): Remove declaration.
26669         (__libc_writev): Likewise.
26670         * misc/readv.c (__libc_readv): Rename to __readv.
26671         (__readv): Do not define as alias.
26672         (readv): Define as alias of __readv.
26673         * misc/writev.c (__libc_writev): Rename to __writev.
26674         (__writev): Do not define as alias.
26675         (writev): Define as alias of __writev.
26676         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26677         (__readv): Do not define as alias.
26678         (readv): Define unconditionally as alias of __readv.
26679         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26680         (__writev): Do not define as alias.
26681         (writev): Define unconditionally as alias of __writev.
26682         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26683         name.
26684         (writev): Do not define __libc_writev name.
26686 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26688         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26689         (convert_charseq): New function, broken out of ...
26690         (use_from_charmap): ... here.  Call it.
26691         (use_to_charmap): Use convert_charseq and free instead of duplicating
26692         its code with a variable-length stack struct.
26694 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26696         * include/fcntl.h (__libc_creat): Remove declaration.
26697         * io/creat.c (__libc_creat): Rename to creat.
26698         (creat): Do not define as alias.
26699         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26700         of creat instead of __libc_creat.
26701         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26702         to creat.
26703         (creat): Do not define as alias.
26704         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26705         __libc_creat.
26706         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26707         __libc_creat name.
26708         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26709         Likewise.
26711 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26713         * manual/llio.texi: Add comments discussing why write() may be
26714         considered MT-unsafe on Linux.
26716 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26718         * dl-load.c (local_strdup): Remove.
26719         (expand_dynamic_string_token): Use __strdup.
26720         (decompose_rpath): Likewise.
26721         (_dl_map_object): Likewise.
26723 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26725         [BZ #14132]
26726         * sysdeps/generic/unwind-dw2-fde.c
26727         (__register_frame_info_bases_internal): Do not declare.
26728         (__register_frame_info_table_bases_internal): Likewise.
26729         (__deregister_frame_info_bases_internal): Likewise.
26730         (__register_frame_info_bases): Declare and use hidden_proto before
26731         definition.  Use hidden_def instead of INTDEF.
26732         (__register_frame_info_table_bases): Likewise.
26733         (__deregister_frame_info_bases): Likewise.
26734         (__register_frame_info): Do not use INTUSE.
26735         (__register_frame): Likewise.
26736         (__register_frame_info_table): Likewise.
26737         (__register_frame_table): Likewise.
26738         (__deregister_frame_info): Likewise.
26739         (__deregister_frame): Likewise.
26741 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26743         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26744         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26745         not undefine.
26746         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26747         Likewise.
26748         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26749         Likewise.
26751 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26753         [BZ #14138]
26754         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26755         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26756         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26757         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26758         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26759         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26760         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26761         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26762         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26763         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26764         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26765         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26766         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26767         syscall.
26768         (setfsuid): Likewise.
26769         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26770         (setfsuid): Likewise.
26771         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26772         (setfsuid): Likewise.
26773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26774         Likewise.
26775         (setfsuid): Likewise.
26776         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26777         (setfsuid): Likewise.
26778         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26779         Likewise.
26780         (setfsuid): Likewise.
26782 2014-10-27  Andreas Schwab  <schwab@suse.de>
26784         [BZ #17501]
26785         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26786         check for Slow_SSE4_2 feature bit.
26787         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26788         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26789         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26790         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26792 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26794         * configure.ac: Validate compiler version with a empirical test of
26795         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26796         $CC -v output.
26797         * configure: Regenerated.
26799         * inet/htons.c (htons): Prototypify.
26800         * inet/htonl.c (htonl): Likewise.
26802 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26804         * string/strncat.c (strncat): Improve performance by using strlen.
26806 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26808         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26812         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26813         Call libc_fetestexcept_aarch64.
26815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26817         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26818         Call libc_feholdexcept_aarch64.
26820 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26822         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26823         Call get_rounding_mode.
26825 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26827         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26828         Simplify logic.
26830 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26832         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26833         Simplify logic.
26835 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26837         [BZ #14138]
26838         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26839         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26840         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26841         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26842         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26843         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26844         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26845         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26846         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26847         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26848         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26849         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26850         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26851         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26852         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26853         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26854         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26855         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26856         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26857         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26858         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26859         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26860         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26861         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26862         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26863         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26864         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26865         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26866         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26867         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26868         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26869         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26870         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26871         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26872         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26873         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26874         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26875         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26876         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26877         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26878         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26879         syscall.
26880         (geteuid): Likewise.
26881         (getgid): Likewise.
26882         (getuid): Likewise.
26883         (getresgid): Likewise.
26884         (getresuid): Likewise.
26885         (getgroups): Likewise.
26886         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26887         (geteuid): Likewise.
26888         (getgid): Likewise.
26889         (getuid): Likewise.
26890         (getresgid): Likewise.
26891         (getresuid): Likewise.
26892         (getgroups): Likewise.
26893         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26894         (geteuid): Likewise.
26895         (getgid): Likewise.
26896         (getuid): Likewise.
26897         (getresgid): Likewise.
26898         (getresuid): Likewise.
26899         (getgroups): Likewise.
26900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26901         Likewise.
26902         (geteuid): Likewise.
26903         (getgid): Likewise.
26904         (getuid): Likewise.
26905         (getresgid): Likewise.
26906         (getresuid): Likewise.
26907         (getgroups): Likewise.
26908         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26909         (geteuid): Likewise.
26910         (getgid): Likewise.
26911         (getuid): Likewise.
26912         (getresgid): Likewise.
26913         (getresuid): Likewise.
26914         (getgroups): Likewise.
26915         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26916         Likewise.
26917         (geteuid): Likewise.
26918         (getgid): Likewise.
26919         (getuid): Likewise.
26920         (getgroups): Likewise.
26922         [BZ #14138]
26923         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26924         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26925         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26926         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26927         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26928         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26929         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26930         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26931         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26932         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26933         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26934         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26935         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26936         __chown.
26937         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26938         (lchown): Likewise.
26939         (fchown): Likewise.
26940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26941         Likewise.
26942         (lchown): Likewise.
26943         (fchown): Likewise.
26944         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26945         (lchown): Likewise.
26946         (fchown): Likewise.
26947         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26948         Likewise.
26949         (lchown): Likewise.
26950         (fchown): Likewise.
26952 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26954         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26955         Simplify logic.
26957 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26959         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26960         Cleanup logic.
26962 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26964         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26965         Remove unused include.
26967 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26969         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26970         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26971         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26972         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26974 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26975             Helge Deller <deller@gmx.de>
26977         [BZ #17508]
26978         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26979         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26980         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26982 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26984         [BZ #14132]
26985         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26986         Remove macro definition.
26987         (__ashrdi3_v_glibc20): Likewise.
26988         (__lshrdi3_v_glibc20): Likewise.
26989         (__cmpdi2_v_glibc20): Likewise.
26990         (__ucmpdi2_v_glibc20): Likewise.
26991         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26992         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26993         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26994         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26995         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26996         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26998 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27000         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27001         old GNU extension [0] syntax.
27002         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27003         alloca rather than an array member with variable length.
27004         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27005         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27006         (parse_opt): ... here.  Likewise use alloca there.
27007         Validate the -i argument before checking for rootness.
27008         (send_shutdown): New function, broken out of ...
27009         (parse_opt): ... here.
27011 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27013         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27014         macro to get at the _rt_local_ro field.
27015         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27016         ([PIC] case) or _dl_hwcap ([!PIC] case).
27017         * sysdeps/arm/setjmp.S: Likewise.
27019         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27020         * sysdeps/arm/configure.ac: New check to define it.
27021         * sysdeps/arm/configure: Regenerated.
27022         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27023         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27024         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27025         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27026         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27027         Use move/movt pair instead of a load.
27028         (LDST_GLOBAL): Macro removed.
27029         (LDR_GLOBAL): New macro replaces it.
27030         (LDR_HIDDEN): New macro.
27031         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27032         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27034         * setjmp/tst-setjmp-static.c: New file.
27035         * setjmp/Makefile (tests): Add it.
27036         (tests-static): New variable.
27038 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27040         [BZ #17485]
27041         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27043 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27045         [BZ #14132]
27046         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27048 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27050         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27052 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27054         * io/fts.c (dirent_not_directory): New function.
27055         (fts_build): Call it.
27057 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27059         * nptl/version.c (__nptl_main): Use normal __write rather than
27060         INTERNAL_SYSCALL.
27061         (banner): Update copyright years.
27063         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27064         gettimeofday.
27065         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27066         * nptl/pthread_cond_timedwait.c: Likewise.
27067         * nptl/pthread_mutex_timedlock.c: Likewise.
27068         * nptl/sem_timedwait.c: Likewise.
27070         * sysdeps/nptl/bits/libc-lock.h
27071         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27072         (__libc_lock_init_recursive): Return void, not 0.
27073         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27074         (__libc_rwlock_init): Likewise.
27075         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27077 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27079         [BZ #15215]
27080         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27081         (__pthread_once_slow): ... here.
27082         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27083         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27085 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27087         [BZ #15215]
27088         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27089         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27090         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27091         * nptl/pthread_once.c (__pthread_once): Likewise.
27092         Update comments.
27094 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27096         [BZ #14138]
27097         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27098         name.
27099         (writev): Use __libc_writev as strong name.
27100         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27101         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27103 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27105         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27107         * sysdeps/i386/nptl/tls.h
27108         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27109         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27110         New macros.
27111         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27112         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27113         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27114         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27115         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27116         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27118         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27119         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27120         on [__NR_futex].
27121         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27122         broken out of ...
27123         (__pthread_mutex_init): ... here.  Call it.
27124         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27125         Conditionalize PI cases on [__NR_futex].
27126         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27127         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27128         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27130         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27131         conditional on [SIGSETXID].
27132         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27133         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27134         is defined.  Likewise for SIGSETXID.
27135         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27136         Conditionalize definitions on [SIGSETXID].
27137         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27138         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27139         unblocking on [SIGCANCEL].
27141         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27142         [__NR_set_robust_list].
27144 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27146         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27147         (do_compare): Likewise.
27149 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27151         [BZ #15884]
27152         * string/strcoll_l.c: Don't include stdio.h.
27153         (coll_seq): Remove members idxarr and rulearr.
27154         (get_next_seq_cached): Remove function.
27155         (get_next_seq): Likewise.
27156         (get_next_seq_nocache): Rename to get_next_seq.
27157         (do_compare): Remove function.
27158         (do_compare_nocache): Rename to do_compare.
27159         (STRCOLL): Remove weight and rules cache.
27161 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27163         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27164         * sysdeps/arm/sfp-machine.h: ... to here.
27165         * sysdeps/arm/Implies: Remove arm/soft-fp.
27167 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27169         * conform/data/sys/utsname.h-data (*_t): Allow.
27170         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27171         [POSIX] (WEXITED): Do not expect constant.
27172         [POSIX] (WSTOPPED): Likewise.
27173         [POSIX] (WNOHANG): Likewise.
27174         [POSIX] (WNOWAIT): Likewise.
27175         [POSIX] (siginfo_t): Do not expect type or elements.
27176         [POSIX] (pid_t): Do not expect type.
27177         [POSIX] (signal.h): Do not allow header.
27178         [POSIX] (sys/resource.h): Likewise.
27179         [POSIX] (si_*): Do not allow pattern.
27180         [POSIX] (W*): Likewise.
27181         [POSIX] (P_*): Likewise.
27182         [POSIX] (BUS_*): Likewise.
27183         [POSIX] (CLD_*): Likewise.
27184         [POSIX] (FPE_*): Likewise.
27185         [POSIX] (ILL_*): Likewise.
27186         [POSIX] (POLL_*): Likewise.
27187         [POSIX] (SEGV_*): Likewise.
27188         [POSIX] (SI_*): Likewise.
27189         [POSIX] (TRAP_*): Likewise.
27190         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27191         variable.
27193 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27195         [BZ #12926]
27196         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27197         infinite loop when __recvmsg returns 0.
27199 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27201         * CANCEL-FCT-WAIVE: Remove file.
27202         * CANCEL-FILE-WAIVE: Likewise.
27204         [BZ #14132]
27205         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27206         instead of INTVARDEF.
27207         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27208         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27209         rtld_hidden_data_def instead of INTVARDEF.
27210         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27211         * elf/dl-deps.c (expand_dst): Likewise.
27212         * elf/dl-load.c (_dl_dst_count): Likewise.
27213         (_dl_dst_substitute): Likewise.
27214         (decompose_rpath): Likewise.
27215         (_dl_init_paths): Likewise.
27216         (open_path): Likewise.
27217         (_dl_map_object): Likewise.
27218         * elf/rtld.c (dl_main): Likewise.
27219         (process_dl_audit): Likewise.
27220         (process_envvars): Likewise.
27221         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27222         Remove declaration.
27223         (__libc_enable_secure): Use rtld_hidden_proto.
27225 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27227         * elf/dl-load.c
27228         (add_path): New function broken out of _dl_rtld_di_serinfo.
27229         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27231 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27233         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27234         parentheses around macro arguments.
27235         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27241         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27245         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27246         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27248         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27249         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27250         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27251         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27259         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27263         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27264         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27266         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27267         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27268         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27269         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27270         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27271         Likewise.
27272         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27274         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27279         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27280         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27281         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27282         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27283         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27284         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27288         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27292         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27293         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27296         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27297         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27298         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27299         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27300         (_FP_FRAC_SRS_1): Likewise.
27301         (_FP_FRAC_CLZ_1): Likewise.
27302         (_FP_MUL_MEAT_1_imm): Likewise.
27303         (_FP_MUL_MEAT_1_wide): Likewise.
27304         (_FP_MUL_MEAT_1_hard): Likewise.
27305         (_FP_SQRT_MEAT_1): Likewise.
27306         (_FP_FRAC_ASSEMBLE_1): Likewise.
27307         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27308         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27309         (__FP_CLZ_2): Likewise.
27310         (_FP_MUL_MEAT_2_wide): Likewise.
27311         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27312         (_FP_MUL_MEAT_2_gmp): Likewise.
27313         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27314         (_FP_SQRT_MEAT_2): Likewise.
27315         (_FP_FRAC_ASSEMBLE_2): Likewise.
27316         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27317         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27318         (_FP_FRAC_CLZ_4): Likewise.
27319         (_FP_MUL_MEAT_4_wide): Likewise.
27320         (_FP_MUL_MEAT_4_gmp): Likewise.
27321         (_FP_SQRT_MEAT_4): Likewise.
27322         (_FP_FRAC_ASSEMBLE_4): Likewise.
27323         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27324         * soft-fp/op-common.h (_FP_CMP): Likewise.
27325         (_FP_CMP_EQ): Likewise.
27326         (_FP_CMP_UNORD): Likewise.
27327         (_FP_TO_INT): Likewise.
27328         (_FP_FROM_INT): Likewise.
27329         [!__FP_CLZ] (__FP_CLZ): Likewise.
27330         (_FP_DIV_HELP_imm): Likewise.
27331         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27332         Likewise.
27333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27339         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27343         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27344         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27347         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27348         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27349         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27362         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27366         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27367         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27368         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27369         (FP_UNPACK_RAW_SP): Likewise.
27370         (FP_PACK_RAW_S): Likewise.
27371         (FP_PACK_RAW_SP): Likewise.
27372         (FP_UNPACK_S): Likewise.
27373         (FP_UNPACK_SP): Likewise.
27374         (FP_UNPACK_SEMIRAW_S): Likewise.
27375         (FP_UNPACK_SEMIRAW_SP): Likewise.
27376         (FP_PACK_S): Likewise.
27377         (FP_PACK_SP): Likewise.
27378         (FP_PACK_SEMIRAW_S): Likewise.
27379         (FP_PACK_SEMIRAW_SP): Likewise.
27380         (_FP_SQRT_MEAT_S): Likewise.
27381         (FP_CMP_S): Likewise.
27382         (FP_CMP_EQ_S): Likewise.
27383         (FP_CMP_UNORD_S): Likewise.
27384         (FP_TO_INT_S): Likewise.
27385         (FP_FROM_INT_S): Likewise.
27387         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27389         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27390         (FP_EX_INVALID_IMZ): Likewise.
27391         (FP_EX_INVALID_IMZ_FMA): Likewise.
27392         (FP_EX_INVALID_ISI): Likewise.
27393         (FP_EX_INVALID_ZDZ): Likewise.
27394         (FP_EX_INVALID_IDI): Likewise.
27395         (FP_EX_INVALID_SQRT): Likewise.
27396         (FP_EX_INVALID_CVI): Likewise.
27397         (FP_EX_INVALID_VC): Likewise.
27398         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27399         "invalid" exceptions.
27400         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27401         (_FP_ADD_INTERNAL): Likewise.
27402         (_FP_MUL): Likewise.
27403         (_FP_FMA): Likewise.
27404         (_FP_DIV): Likewise.
27405         (_FP_CMP_CHECK_NAN): Likewise.
27406         (_FP_SQRT): Likewise.
27407         (_FP_TO_INT): Likewise.
27408         (FP_EXTEND): Likewise.
27410 2014-10-09  Allan McRae  <allan@archlinux.org>
27412         * po/fr.po: Update French translation from translation project.
27414 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27416         [BZ #14132]
27417         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27418         of INTDEF.
27419         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27420         (__cxa_atexit): Use libc_hidden_proto.
27421         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27423         [BZ #14132]
27424         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27425         declaration.
27426         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27427         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27428         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27429         [!_ISOMAC] (__iswctype_internal): Likewise.
27430         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27431         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27432         alias.
27433         (fcntl): Remove __fcntl_internal alias.
27434         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27435         __connect_internal alias.
27436         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27437         Likewise.
27439         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27440         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27441         FP_DENORM_ZERO.
27442         (_FP_CHECK_FLUSH_ZERO): New macro.
27443         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27444         (_FP_CMP): Likewise.
27445         (_FP_CMP_EQ): Likewise.
27446         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27447         FP_DENORM_ZERO.
27448         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27449         (FP_TRUNC): Likewise.
27451         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27452         treated as invalid conversion, not as normal exponent.
27454         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27455         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27456         (_FP_CMP_EQ): Likewise.
27457         (_FP_CMP_UNORD): Likewise.
27458         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27459         (FP_CMP_EQ_D): Likewise.
27460         (FP_CMP_UNORD_D): Likewise.
27461         * soft-fp/extended.h (FP_CMP_E): Likewise.
27462         (FP_CMP_EQ_E): Likewise.
27463         (FP_CMP_UNORD_E): Likewise.
27464         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27465         (FP_CMP_EQ_Q): Likewise.
27466         (FP_CMP_UNORD_Q): Likewise.
27467         * soft-fp/single.h (FP_CMP_S): Likewise.
27468         (FP_CMP_EQ_S): Likewise.
27469         (FP_CMP_UNORD_S): Likewise.
27470         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27471         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27472         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27473         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27474         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27475         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27476         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27477         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27478         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27479         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27480         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27481         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27482         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27483         to FP_CMP_Q.
27484         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27485         FP_CMP_Q.
27486         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27487         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27488         FP_CMP_EQ_Q.
27489         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27490         FP_CMP_Q.
27491         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27492         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27493         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27494         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27495         FP_CMP_EQ_Q.
27496         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27497         FP_CMP_Q.
27498         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27499         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27500         FP_CMP_EQ_Q.
27501         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27502         FP_CMP_Q.
27503         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27504         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27505         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27506         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27507         FP_CMP_EQ_Q.
27509         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27510         a subnormal result, set the underflow exception if trapping on
27511         underflow is enabled.
27512         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27513         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27514         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27515         redefine to 0.
27516         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27517         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27518         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27519         * soft-fp/extendxftf2.c (__extendxftf2): Use
27520         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27522         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27523         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27524         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27525         FP_HANDLE_EXCEPTIONS.
27526         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27527         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27528         FP_HANDLE_EXCEPTIONS.
27529         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27530         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27531         FP_HANDLE_EXCEPTIONS.
27532         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27533         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27534         FP_HANDLE_EXCEPTIONS.
27536 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27538         [BZ #14132]
27539         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27540         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27541         use INTUSE.
27542         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27543         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27544         Remove alias.
27545         (__adjtimex): Define using libc_hidden_ver.
27546         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27547         Remove declaration.
27548         (ntp_gettime): Call __adjtimex directly.
27549         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27550         Remove declaration.
27551         (ntp_gettimex): Call __adjtimex directly.
27552         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27553         __adjtimex_internal alias.
27555 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27557         [BZ #17460]
27558         * nscd/nscd.c (more_help): Rewrite list of tables collection
27559         using xstrdup and asprintf.
27561         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27563 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27564             Roland McGrath  <roland@hack.frob.com>
27566         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27567         (do_lookup_unique): ... local function 'enter' here; update callers.
27569 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27571         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27572         compat_symbol calls on [SHARED].
27573         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27574         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27575         Remove.
27576         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27577         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27578         (oldsetrlimit): Remove.
27579         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27581         (lchown): New syscall entry.
27582         (oldsetrlimit): Remove.
27583         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27584         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27585         (oldsetrlimit): Remove.
27586         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27588         [BZ #14138]
27589         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27590         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27591         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27592         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27593         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27594         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27595         (fchown): Likewise.
27596         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27597         (fchown): Likewise.
27598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27599         Likewise.
27601 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27603         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27604         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27605         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27606         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27607         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27608         Likewise.
27609         (__old_sem_post): Likewise.
27611 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27613         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27614         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27615         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27616         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27617         Use INLINE_VSYSCALL macro.
27618         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27619         __vdso_clock_gettime.
27620         * sysdeps/unix/sysv/linux/tile/init-first.c
27621         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27622         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27623         __vdso_clock_gettime.
27625         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27626         to set up frame more cleanly.
27628         * sysdeps/tile/memcmp.c: New file.
27630         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27632         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27633         * sysdeps/tile/tilegx/strcasestr.c: New file.
27634         * sysdeps/tile/tilegx/strnlen.c: New file.
27635         * sysdeps/tile/tilegx/strstr.c: New file.
27637         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27639 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27641         * nptl/tst-setuid3.c: Write errors to stdout.
27643 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27645         * elf/dl-deps.c
27646         (preload): New functions broken out of _dl_map_object_deps.
27647         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27649 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27651         [BZ #14138]
27652         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27653         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27655 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27657         * sysdeps/mips/strcmp.S: New.
27659 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27661         [BZ #14138]
27662         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27663         (linkat): Likewise.
27664         (mkdirat): Likewise.
27665         (readlinkat): Likewise.
27666         (renameat): Likewise.
27667         (symlinkat): Likewise.
27668         (unlinkat): Likewise.
27669         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27670         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27671         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27672         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27673         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27674         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27675         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27677 2014-09-30  Will Newton  <will.newton@linaro.org>
27679         * math/math.h: Define long double math functions if
27680         _LIBC_TEST is defined.
27681         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27683         * localedata/Makefile: Move assignment to tests-special
27684         into an ifdef testing run-built-tests.
27685         * timezone/Makefile: Likewise.
27687 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27689         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27690         with $(BASH) not $(SHELL).
27692 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27693             Matthew LeGendre  <legendre1@llnl.gov>
27695         [BZ #17411]
27696         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27697         l_reloc_result.
27699 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27701         * stdio-common/printf_fp.c
27702         (hack_digit): New function, broken out of ...
27703         (__printf_fp): ... local function here.  Update call sites.
27704         hack_digit now takes an additional parameter that is a pointer
27705         to a struct of the referenced locals.  Those locals moved inside
27706         the struct and references updated.
27708 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27710         * aclocal.m4: Require autoconf 2.69.
27711         * configure: Regenerated.
27712         * sysdeps/aarch64/configure: Likewise.
27713         * sysdeps/alpha/configure: Likewise.
27714         * sysdeps/arm/armv7/configure: Likewise.
27715         * sysdeps/arm/configure: Likewise.
27716         * sysdeps/ia64/configure: Likewise.
27717         * sysdeps/mach/configure: Likewise.
27718         * sysdeps/mips/configure: Likewise.
27719         * sysdeps/s390/configure: Likewise.
27720         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27723         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27724         file.
27725         * sysdeps/ia64/configure.ac: Likewise.
27727 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27730         specify symbol version for ld.so.  Do not include entry for
27731         libpthread.
27732         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27733         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27734         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27736         [BZ #14171]
27737         * Makeconfig [$(build-shared) = yes]
27738         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27739         makefiles.
27740         [$(build-shared) = yes && $(soversions.mk-done) = t]
27741         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27742         [$(build-shared) = yes && $(soversions.mk-done) = t]
27743         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27744         to Makerules.
27745         [$(build-shared) = yes && $(soversions.mk-done) = t]
27746         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27747         here.
27748         [$(build-shared) = yes && $(soversions.mk-done) = t]
27749         (common-generated): Don't append gnu/lib-names.h and
27750         gnu/lib-names.stmp here.
27751         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27752         (lib-names-h-abi): New variable.
27753         [$(build-shared) = yes && $(soversions.mk-done) = t]
27754         (lib-names-stmp-abi): Likewise.
27755         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27756         abi-variants] (before-compile): Append
27757         $(common-objpfx)$(lib-names-h-abi).
27758         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27759         abi-variants] (common-generated): Append gnu/lib-names.h.
27760         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27761         abi-variants] (install-others-nosubdir): Depend on
27762         $(inst_includedir)/$(lib-names-h-abi).
27763         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27764         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27765         [$(build-shared) = yes && $(soversions.mk-done) = t]
27766         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27767         [$(build-shared) = yes && $(soversions.mk-done) = t]
27768         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27769         [$(build-shared) = yes && $(soversions.mk-done) = t]
27770         (common-generated): Append $(lib-names-h-abi) and
27771         $(lib-names-stmp-abi).
27772         * scripts/lib-names.awk: Do not handle multi being set.
27773         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27774         Remove variable.
27775         (abi-lp64_be-ld-soname): Likewise.
27776         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27777         Likewise.
27778         (abi-hard-ld-soname): Likewise.
27779         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27780         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27781         Remove variable.
27782         (abi-o32_hard-ld-soname): Likewise.
27783         (abi-o32_soft_2008-ld-soname): Likewise.
27784         (abi-o32_hard_2008-ld-soname): Likewise.
27785         (abi-n32_soft-ld-soname): Likewise.
27786         (abi-n32_hard-ld-soname): Likewise.
27787         (abi-n32_soft_2008-ld-soname): Likewise.
27788         (abi-n32_hard_2008-ld-soname): Likewise.
27789         (abi-n64_soft-ld-soname): Likewise.
27790         (abi-n64_hard-ld-soname): Likewise.
27791         (abi-n64_soft_2008-ld-soname): Likewise.
27792         (abi-n64_hard_2008-ld-soname): Likewise.
27793         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27794         Likewise.
27795         (abi-64-v2-ld-soname): Likewise.
27796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27797         ld.so entries.
27798         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27799         variable.
27800         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27801         entry.
27802         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27803         variable.
27804         (abi-64-ld-soname): Likewise.
27805         (abi-x32-ld-soname): Likewise.
27806         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27807         entry.
27808         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27810 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27812         [BZ #14138]
27813         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27814         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27815         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27816         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27817         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27818         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27819         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27820         syscall entry for GLIBC_2.2 symbol version.
27821         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27822         Likewise.
27823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27824         (setrlimit): Likewise.
27825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27826         Likewise.
27828 2014-09-23  Will Newton  <will.newton@linaro.org>
27830         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27831         _LINUX_ARM_SYSDEP_H include guard too.
27832         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27833         define.
27835 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27837         * sysdeps/unix/sysv/linux/eventfd.c:
27838         Make first argument unsigned.
27839         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27840         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27842 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27844         [BZ #16852]
27845         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27846         * socket/sys/socket.h: Likewise.
27847         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27849 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27851         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27853 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27855         * time/tst-ftime.c: New test.
27856         * time/Makefile (tests): Add tst-ftime.
27858 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27860         * soft-fp/extended.h: Fix comment formatting.
27861         * soft-fp/op-1.h: Likewise.
27862         * soft-fp/op-2.h: Likewise.
27863         * soft-fp/op-4.h: Likewise.
27864         * soft-fp/op-8.h: Likewise.
27865         * soft-fp/op-common.h: Likewise.
27866         * soft-fp/soft-fp.h: Likewise.
27868         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27870 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27872         [BZ #6652]
27873         * Makeconfig (soversions-default-setname): Remove variable.
27874         ($(common-objpfx)soversions.i): Don't pass default_setname to
27875         soversions.awk.
27876         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27877         oldest_abi to abi-versions.awk.
27878         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27879         * config.make.in (oldest-abi): Remove variable.
27880         * configure.ac (--enable-oldest-abi): Remove configure option.
27881         * configure: Regenerated.
27882         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27883         text.
27884         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27885         * scripts/soversions.awk: Do not handle default_setname variable.
27886         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27887         variable.
27888         * sysdeps/mach/hurd/configure: Regenerated.
27889         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27890         variable.
27891         * sysdeps/unix/sysv/linux/configure: Regenerated.
27893 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27895         * elf/Makefile (CFLAGS-interp.c): Remove.
27896         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27897         path string.
27898         * elf/interp.c: Include generated runtime-linker.h
27900         * Makerules (lib%.so): Don't include $(+interp) in
27901         prerequisites.
27902         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27903         * dlfcn/eval.c: Remove file.
27905         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27906         macros.
27908         [BZ #17266]
27909         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27910         4.2 and newer.
27912         [BZ #17370]
27913         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27915 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27916             Jakub Jelinek  <jakub@redhat.com>
27918         [BZ #17266]
27919         * libio/stdio.h: Check definition of __fortify_function
27920         instead of __extern_always_inline to include bits/stdio2.h.
27921         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27922         check if __extern_always_inline is defined.
27923         [__USE_MISC || __USE_XOPEN]: Likewise.
27924         [__USE_ISOC99] Likewise.
27925         * misc/sys/cdefs.h (__fortify_function): Define only if
27926         __extern_always_inline is defined.
27927         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27928         __extern_always_inline and __extern_inline only for g++-4.3
27929         and newer or a compatible gcc.
27931 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27933         [BZ #17371]
27934         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27935         last change to handle zero prefix length.
27937 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27939         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27940         _SC_REGEX_VERSION.
27942         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27943         _POSIX_RAW_SOCKETS.
27945 2014-09-13  Allan McRae  <allan@archlinux.org>
27947         * po/ru.po: Update Russian translation from translation project.
27949 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27951         * locale/programs/locale.c (show_locale_vars): Inline local function
27952         into its sole call site.  Clean up some style nits.
27953         (print_item): New function, broken out of ...
27954         (show_info): ... local function here.  Clean up style nits.
27956         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27957         out of ...
27958         (set_class_defaults): ... local function set_default here.
27959         Define set_default as a macro locally to pass constant parameters.
27960         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27961         rather than a shared local.
27963         * stdlib/rpmatch.c (try): New function, broken out of ...
27964         (rpmatch): ... local function here.  Also, prototypify definition.
27966 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27968         * scripts/soversions.awk: Do not handle configuration names.
27969         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27970         vendor and os variables to soversions.awk.
27971         * configure.ac: Do not modify gnu-* host_os.
27972         * configure: Regenerated
27973         * shlib-versions: Remove first column with configuration names.
27974         * nptl/shlib-versions: Likewise.
27975         * nptl_db/shlib-versions: Likewise.
27976         * sysdeps/hppa/shlib-versions: Likewise.
27977         * sysdeps/m68k/shlib-versions: Likewise.
27978         * sysdeps/mach/hurd/shlib-versions: Likewise.
27979         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27980         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27981         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27982         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27983         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27984         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27985         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27986         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27988         Likewise.
27989         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27990         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27991         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27992         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27993         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27994         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27995         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27996         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27999         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28001         Regenerated.
28002         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28004         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28006         * shlib-versions: Remove OS-specific entries.  Moved to files in
28007         sysdeps.
28008         * sysdeps/mach/hurd/shlib-versions: New file.
28009         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28011         * nptl/shlib-versions: Remove architecture-specific entries.
28012         Moved to files in sysdeps.
28013         * shlib-versions: Likewise.
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28015         file.
28016         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28017         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28018         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28019         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28021         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28022         (UDP_NO_CHECK6_RX): Likewise.
28024 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28026         * sysdeps/posix/sysconf.c (__sysconf): Spell
28027         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28029 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28031         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28032         loading.
28033         * iconv/Versions (__gconv_transliterate): Export for use from
28034         gconv modules.
28035         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28036         (struct __gconv_trans_data, __gconv_trans_fct,
28037         __gconv_trans_context_fct, __gconv_trans_query_fct,
28038         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28039         definitions.
28040         (struct __gconv_step_data): Remove __trans member.
28041         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28042         longer hidden.  Remove unused trans_data argument.
28043         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28044         (__gconv_translit_find): Remove declaration.
28045         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28046         prototype.
28047         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28048         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28049         trans_data argument.  Add hidden definition.
28050         (__gconv_translit_find): Remove.
28051         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28052         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28053         * iconv/skeleton.c: Remove transliteration initialization.
28054         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28055         __gconv_step_data initialization.
28056         * libio/iofwide.c (__libio_translit_): Remove.
28057         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28058         * wcsmbs/btowc.c (__btowc): Likewise.
28059         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28060         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28061         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28062         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28063         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28064         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28065         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28066         * wcsmbs/wctob.c (wctob): Likewise.
28068 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28070         [BZ #16194]
28071         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28072         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28073         register usage.
28074         * sysdeps/x86/Makefile: Adjust.
28076 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28077             Roland McGrath  <roland@hack.frob.com>
28079         * locale/weight.h: Add include guard.
28080         (findidx): Make static rather than auto; take new parameters
28081         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28082         * locale/weightwc.h: Likewise.
28083         * posix/fnmatch_loop.c
28084         (FCT): Change type of EXTRA from int32_t to wint_t.
28085         Don't include either header inside the function.
28086         Call FINDIDX rather than findidx, and pass new arguments.
28087         #undef FINDIDX at the end of the file.
28088         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28089         FINDIDX before including fnmatch_loop.c for the non-wide version.
28090         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28091         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28092         for the wide version.
28093         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28094         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28095         Pass new arguments to findidx.
28096         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28097         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28098         Don't #include it inside the function.  Pass new arguments to findidx.
28099         * posix/regex_internal.h
28100         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28101         (re_string_elem_size_at): Don't #include it inside the function.
28102         Pass new arguments to findidx.
28103         * string/strcoll_l.c: #include WEIGHT_H at top level.
28104         (get_next_seq): Don't #include it inside the function.
28105         Pass new arguments to findidx.
28106         (get_next_seq_nocache): Likewise.
28107         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28108         (STRXFRM): Don't #include it inside the function.
28109         Pass new arguments to findidx.
28111 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28113         [BZ #17344]
28114         * malloc/malloc.c (unlink): Turn asserts into a call to
28115         malloc_printerr.
28117 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28119         [BZ #17370]
28120         * libio/wfileops (do_ftell_wide): Free OUT.
28122 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28124         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28126 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28128         [BZ #17363]
28129         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28130         group if the current group is empty.
28132 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28134         * benchtests/bench-memset.c (test_main): Add more test from size
28135         from 32 to 512 bytes.
28136         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28137         Add POWER8 memset object.
28138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28139         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28140         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28141         implementation.
28142         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28143         Likewise.
28144         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28145         multiarch POWER8 memset optimization.
28146         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28147         POWER8 memset optimization.
28149         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28150         Remove bzero multiarch objects.
28151         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28152         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28153         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28154         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28155         Remove define.
28156         [__bzero]: Redefine to specific name.
28157         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28158         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28159         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28160         define.
28161         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28162         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28164 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28166         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28167         warnings into errors.
28169         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28170         __cxa_thread_atexit_impl prototype.
28172 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28174         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28175         Fix capitalization of error message.
28177 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28179         * sysdeps/mips/preconfigure: Modify ABI tests.
28181 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28183         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28185 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28186             Carlos O'Donell  <carlos@systemhalted.org>
28188         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28189         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28190         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28191         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28192         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28193         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28194         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28195         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28196         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28197         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28199         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28201         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28203         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28204         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28205         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28207         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28208         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28209         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28210         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28211         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28212         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28213         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28214         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28215         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28216         Deconditionalize the code that was previously under [RESET_PID].
28217         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28218         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28219         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28220         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28221         include sysdep.h.
28223 2014-09-08  Allan McRae  <allan@archlinux.org>
28225         * version.h (RELEASE): Set to "development".
28226         (VERSION): Set to "2.20.90"
28228 2014-09-07  Allan McRae  <allan@archlinux.org
28230         * version.h (RELEASE): Set to "stable".
28231         (VERSION): Set to "2.20"
28232         * include/features.h (__GLIBC_MINOR__): Set to 20.
28234         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28235         Liebler.
28237         * po/ko.po: Update Korean translation from translation project.
28239 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28241         [BZ #17354]
28242         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28243         macro for handling signed relocations.
28245 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28247         [BZ #17325]
28248         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28249         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28250         assert.
28251         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28252         * iconvdata/ibm935.c (BODY): Likewise.
28253         * iconvdata/ibm937.c (BODY): Likewise.
28254         * iconvdata/ibm939.c (BODY): Likewise.
28255         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28256         assert.
28257         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28258         script.
28259         * iconvdata/run-iconv-test.sh: New test loop for checking for
28260         decoder crashers.
28262 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28264         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28265         libm_hidden_ver.
28267 2014-09-01  Allan McRae  <allan@archlinux.org>
28269         * po/eo.po: Update Esperanto translation from translation project.
28271         * po/ca.po: Update Catalan translation from translation project.
28273 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28275         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28276         __proc_dostop call.
28278 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28280         [BZ #17319]
28281         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28282         to call set_thread_area instead of hand written asm.
28283         (__NR_set_thread_area): Removed define.
28284         (TLS_FLAG_WRITABLE): Likewise.
28285         (__ASSUME_SET_THREAD_AREA): Remove check.
28286         (TLS_EBX_ARG): Remove define.
28287         (TLS_LOAD_EBX): Likewise.
28289 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28291         Simplify atomicity of socket creation in bind.
28293         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28294         looking up the name after linking the file.
28296 2014-08-27  Allan McRae  <allan@archlinux.org>
28298         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28300 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28302         [BZ #17187]
28303         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28304         trans_compare, open_translit, __gconv_translit_find):
28305         Remove module loading code.
28307 2014-08-26  Allan McRae  <allan@archlinux.org>
28309         * po/vi.po: Update Vietnamese translation from translation project.
28311         * po/uk.po: Update Ukrainian translation from translation project.
28313         * po/fr.po: Update French translation from translation project.
28315         * po/ru.po: Update Russian translation from translation project.
28317         * po/pl.po: Update Polish translation from translation project.
28319         * po/cs.po: Update Czech translation from translation project.
28321         * po/de.po: Update German translation from translation project.
28323         * po/bg.po: Update Bulgarian translation from translation project.
28325         * po/sv.po: Update Sweedish translation from translation project.
28327         * po/nl.po: Update Dutch translation from translation project.
28329         * po/es.po: Update Spanish translation from translation project.
28331 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28333         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28335         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28336         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28337         (CPPFLAGS-iconvconfig): Likewise.
28338         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28340         * include/libc-symbols.h: Remove unnecessary check for
28341         NOT_IN_libc.
28342         * nptl/pthreadP.h: Likewise.
28343         * sysdeps/aarch64/setjmp.S: Likewise.
28344         * sysdeps/alpha/setjmp.S: Likewise.
28345         * sysdeps/arm/sysdep.h: Likewise.
28346         * sysdeps/i386/setjmp.S: Likewise.
28347         * sysdeps/m68k/setjmp.c: Likewise.
28348         * sysdeps/posix/getcwd.c: Likewise.
28349         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28350         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28351         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28352         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28353         * sysdeps/sh/sh3/setjmp.S: Likewise.
28354         * sysdeps/sh/sh4/setjmp.S: Likewise.
28355         * sysdeps/unix/alpha/sysdep.h: Likewise.
28356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28358         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28359         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28364         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28367         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28369         * sysdeps/x86_64/setjmp.S: Likewise.
28371 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28373         [BZ #17263]
28374         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28375         <stdint.h>.
28376         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28377         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28379 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28381         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28383         [BZ #17262]
28384         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28385         and __x86_64__ when disabling x87 inline functions.
28387 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28389         [BZ #17259]
28390         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28391         asm statement with __cpuid_count.
28393 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28395         * configure.ac: Change __ehdr_start code to dereference the struct.
28396         Run readelf on the output to look for relocations.
28397         * configure: Regenerated.
28399 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28401         [BZ #17261]
28402         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28403         value to 0.
28404         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28406 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28408         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28410 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28412         [BZ #16892]
28413         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28414         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28416 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28418         * malloc/malloc.c: Fix typo in comment.
28420 2014-08-09  Allan McRae  <allan@archlinux.org>
28422         * Regenerate libc.po.
28424 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28426         * intl/tst-gettext2.sh: Check every lang file for creation.
28428 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28430         * sysdeps/aarch64/fpu/math_private.h
28431         (libc_feholdsetround_noex_aarch64_ctx): New function.
28433 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28435         * sysdeps/arm/armv6/strcpy.S (strcpy):
28436         Fix performance issue in misaligned cases.
28438 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28440         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28441         Move definition from termios.h.
28442         (struct termio): Likewise.
28443         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28444         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28445         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28446         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28447         Likewise.
28448         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28449         Move definition to ioctl-types.h
28450         (struct termio): Likewise.
28451         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28452         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28453         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28454         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28455         Likewise.
28457 2014-08-05  Richard Henderson  <rth@redhat.com>
28459         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28460         exceptions.
28461         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28462         Add fraiseexcpt.
28463         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28464         Use __feraiseexcept.
28465         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28466         Protect libm symbols with IS_IN_libm.
28468         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28470 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28472         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28474 2014-08-04  Will Newton  <will.newton@linaro.org>
28476         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28477         file.
28479 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28481         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28482         variants for each function.
28484 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28486         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28487         appended ...
28488         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28489         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28490         appended ...
28491         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28492         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28493         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28494         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28495         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28496         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28497         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28498         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28499         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28500         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28501         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28502         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28503         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28504         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28505         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28506         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28507         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28508         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28509         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28510         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28511         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28512         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28513         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28514         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28515         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28516         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28517         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28518         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28519         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28520         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28521         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28522         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28523         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28524         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28525         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28526         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28527         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28528         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28529         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28530         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28531         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28532         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28533         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28534         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28535         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28536         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28537         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28538         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28539         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28540         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28541         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28542         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28543         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28544         Update #include.
28545         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28546         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28548 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28550         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28551         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28552         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28553         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28554         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28555         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28557 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28559         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28560         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28561         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28562         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28564 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28566         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28567         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28568         (__libc_vfork): Define function under this name.
28569         (__vfork): Define as an alias.
28570         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28571         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28573 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28575         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28576         that was previously under [RESET_PID].
28577         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28579 2014-08-04  Andreas Schwab  <schwab@suse.de>
28581         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28583 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28585         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28586         (main): Likewise.
28588 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28590         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28592 2014-08-01  Richard Henderon  <rth@redhat.com>
28594         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28595         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28596         typo in exact zero test.
28597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28598         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28599         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28601 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28603         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28604         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28605         * sysdeps/arm/sysdep.h: ... here.
28606         [!__ASSEMBLER__]: Include <stdint.h>.
28608 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28610         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28611         (HAVE_WCTYPE_H): Likewise.
28612         (HAVE_ISWCTYPE): Likewise.
28613         (ENABLE_NLS): Likewise.
28614         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28615         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28617         * posix/regex_internal.c: Check if DEBUG is defined and is
28618         set.
28620         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28621         (HAVE_MBSRTOWCS): Likewise.
28622         * posix/fnmatch.c: Include string.h unconditionally.
28624 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28626         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28627         reversal.
28629 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28631         * sysdeps/generic/safe-fatal.h: New file.
28632         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28633         * nptl/forward.c: Include it.
28634         (__pthread_unwind): Use __safe_fatal as default action, rather
28635         than a bogus use of INTERNAL_SYSCALL that could never work.
28637         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28638         * configure.ac (libc_cv_builtin_trap): New test.
28639         * configure: Regenerated.
28640         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28641         (ABORT_INSTRUCTION): Define using __builtin_trap.
28643         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28644         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28645         * sysdeps/nptl/nptl-signals.h: New file.
28646         * nptl/pthreadP.h: Include <nptl-signals.h>.
28648 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28650         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28651         (ONE_DIRECTION): Define.
28652         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28653         (ONE_DIRECTION): Define.
28654         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28655         (ONE_DIRECTION): Define.
28657 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28659         * sysdeps/s390/Makefile: Delete file.
28660         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28661         * sysdeps/s390/__longjmp.c: Delete file.
28662         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28663         Remove fields __flags and __reserved.
28664         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28665         and add versioning.
28666         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28667         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28668         * sysdeps/s390/rtld-setjmp.S: Likewise.
28669         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28670         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28671         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28672         * sysdeps/s390/s390-32/setjmp.S: ... here.
28673         Add versioning.
28674         (__sigsetjmp): Remove setting __flags field.
28675         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28676         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28677         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28678         * sysdeps/s390/s390-64/setjmp.S: ... here.
28679         Add versioning.
28680         (__sigsetjmp): Remove setting __flags field.
28681         * sysdeps/s390/setjmp.S: Delete file.
28682         * sysdeps/s390/sigjmp.c: Likewise.
28683         * sysdeps/s390/v1-longjmp.c: Likewise.
28684         * sysdeps/s390/v1-setjmp.h: Likewise.
28685         * sysdeps/s390/v1-sigjmp.c: Likewise.
28686         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28687         Remove v1-longjmp_chk.
28688         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28689         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28690         Include debug/longjmp_chk.c and add versioning.
28691         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28692         Include nptl/pt-longjmp.c and add versioning.
28693         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28694         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28695         Include __longjmp.c.
28696         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28697         Move to ...
28698         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28699         (__getcontext): Remove setting __flags field.
28700         Add versioning.
28701         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28702         Don't restore upper high grps.
28703         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28704         Likewise.
28705         (__swapcontext): Remove setting uc_flags field.
28706         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28707         Delete file.
28708         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28709         Include __longjmp.c.
28710         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28711         Move to ...
28712         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28713         (__getcontext): Remove setting __flags field.
28714         Add versioning.
28715         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28716         (__swapcontext): Remove setting uc_flags field.
28717         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28718         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28719         Remove fields uc_high_gprs and __reserved.
28720         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28721         New file with reverted content.
28722         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28723         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28724         Regenerated.
28725         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28726         Regenerated.
28728 2014-07-31  Andreas Schwab  <schwab@suse.de>
28730         * config.h.in (HAVE_IFUNC): Define to 0.
28731         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28732         definedness.
28734 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28736         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28737         memmove-avx-unaligned, memcpy-avx-unaligned and
28738         mempcpy-avx-unaligned.
28739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28740         Add tests for AVX memcpy functions.
28741         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28742         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28743         memcpy_chk.
28744         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28745         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28746         memmove_chk.
28747         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28748         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28749         mempcpy_chk.
28750         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28751         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28752         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28754 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28756         [BZ #17213]
28757         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28758         powerpc64le.
28760 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28762         [BZ #16839]
28763         * manual/llio.texi: Add section about open file description locks.
28764         * manual/examples/ofdlocks.c: Example of open file description
28765         lock usage.
28766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28767         F_OFD_SETLK, and F_OFD_SETLKW.
28769 2014-07-23  Allan McRae  <allan@archlinux.org>
28771         * po/es.po: Update Spanish translation from translation project.
28773 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28775         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28777 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28779         [BZ #17078]
28780         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28781         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28782         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28784 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28786         [BZ #17088]
28787         * math/fesetenv.c (__fesetenv)
28788         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28789         * math/feupdateenv.c (__feupdateenv)
28790         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28792         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28793         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28794         (__ASSUME_SOCKETCALL): Do not define.
28796         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28797         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28798         (__ASSUME_SOCKETCALL): Do not define.
28799         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28800         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28801         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28802         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28803         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28804         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28805         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28806         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28808         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28809         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28810         (__ASSUME_SOCKETCALL): Do not define.
28811         (__ASSUME_IPC64): Define unconditionally.
28812         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28813         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28814         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28815         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28816         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28818         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28819         Likewise.
28821         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28822         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28823         (__ASSUME_SOCKETCALL): Do not define.
28824         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28825         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28826         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28827         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28828         (__ASSUME_REQUEUE_PI): Define unconditionally.
28829         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28830         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28831         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28832         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28833         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28834         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28836         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28837         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28838         (__ASSUME_SOCKETCALL): Do not define.
28839         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28840         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28841         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28842         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28843         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28844         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28846         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28847         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28848         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28849         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28850         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28851         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28852         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28853         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28854         (__ASSUME_GETCPU_SYSCALL): Likewise.
28856         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28857         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28858         cases for individual architectures.
28859         * sysdeps/gnu/configure: Regenerated.
28860         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28861         LIBC_SLIBDIR_RTLDDIR.
28862         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28863         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28864         LIBC_SLIBDIR_RTLDDIR.
28865         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28867         LIBC_SLIBDIR_RTLDDIR.
28868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28869         Regenerated.
28870         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28871         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28872         file.
28873         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28874         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28875         file.
28876         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28877         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28878         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28879         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28881         * sysdeps/aarch64/shlib-versions: Move to ...
28882         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28883         * sysdeps/alpha/shlib-versions: Move to ...
28884         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28885         * sysdeps/arm/shlib-versions: Move to ...
28886         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28887         * sysdeps/hppa/shlib-versions: Move all contents except for
28888         libgcc_s entry to ...
28889         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28890         entry from ...
28891         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28892         * sysdeps/ia64/shlib-versions: Move to ...
28893         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28894         entry from ...
28895         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28896         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28897         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28898         * sysdeps/microblaze/shlib-versions: Move to ...
28899         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28900         * sysdeps/mips/shlib-versions: Move to ...
28901         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28902         entry from ...
28903         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28904         * sysdeps/tile/shlib-versions: Move to ...
28905         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28906         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28907         from ...
28908         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28909         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28910         entry from ...
28911         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28913 2014-07-17  Will Newton  <will.newton@linaro.org>
28915         * sysdeps/arm/bits/atomic.h
28916         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28917         (__arch_compare_and_exchange_bool_16_int): Likewise.
28918         (__arch_compare_and_exchange_bool_64_int): Likewise.
28920         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28921         into an #else block.
28923 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28925         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28926         just Linux configurations.  Test empirically that the compiler sets
28927         __ARM_EABI__, rather than using the tuple to decide.
28928         * sysdeps/arm/preconfigure: Regenerated.
28929         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28930         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28931         contents appended ...
28932         * sysdeps/arm/configure.ac: ... here.
28933         * sysdeps/arm/configure: Regenerated.
28935 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28937         * nptl/pthread_kill.c: New file.
28938         * nptl/pthread_sigmask.c: New file.
28939         * nptl/pthread_sigqueue.c: New file.
28941         * sysdeps/nptl/lowlevellock.h: New file.
28942         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28943         * sysdeps/nptl/lowlevellock-futex.h: New file.
28945         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28946         Remove dead declarations.
28948 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28950         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28951         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28952         config-cflags-avx2.
28953         * sysdeps/x86_64/configure.ac: Likewise.
28954         * sysdeps/i386/configure: Regenerated.
28955         * sysdeps/x86_64/configure: Likewise.
28956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28957         memset-avx2 only if config-cflags-avx2 is yes.
28958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28959         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28960         defined.
28961         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28962         only if HAVE_AVX2_SUPPORT is defined.
28963         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28965 2014-07-14  Alan Modra  <amodra@gmail.com>
28967         [BZ #17153]
28968         * elf/elf.h (DT_PPC64_NUM): Correct value.
28969         * NEWS: Add to fixed bug list.
28971 2014-07-13  Jim Meyering  <meyering@fb.com>
28973         [BZ 17150]
28974         regex: don't deref NULL upon heap allocation failure
28975         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28976         failure in one more place.
28977         To trigger the segfault, configure grep -with-included-regex,
28978         build it, and run these commands:
28979         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28981 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28983         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28985 2014-07-11  Richard Henderson  <rth@redhat.com>
28987         * sysdeps/aarch64/libm-test-ulps: Update.
28989 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28991         [BZ #17135]
28992         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28993         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28994         (__nptl_setxid): Initialize error member.  Call
28995         __nptl_setxid_error.
28996         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28997         * nptl/descr.h (struct xid_command): Add error member.
28998         * nptl/tst-setuid3.c: New file.
28999         * nptl/Makefile (tests): Add it.
29001 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29003         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29004         New define.
29005         (__lll_trylock): Use __lll_base_trylock.
29006         (__lll_cond_trylock): Likewise.
29008 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29010         * nptl/pthread_create.c (start_thread): Use atomic_or and
29011         lll_futex_wake directly rather than lll_robust_dead.
29012         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29013         (lll_robust_dead): Macro removed.
29014         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29015         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29016         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29017         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29018         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29019         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29020         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29021         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29022         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29023         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29024         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29025         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29026         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29027         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29028         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29030         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29031         Use atomic_compare_and_exchange_val_acq directly rather than
29032         lll_robust_trylock.
29033         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29034         (__lll_robust_trylock, lll_robust_trylock): Removed.
29035         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29036         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29037         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29038         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29039         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29040         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29041         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29042         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29043         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29044         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29045         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29046         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29047         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29050 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29052         * manual/locale.texi (Locale Names): New section documenting
29053         locale name syntax.  Adjust menu and node chaining accordingly.
29054         (Choosing Locale): Reference Locale Names, Locale Categories.
29055         Mention setting LC_ALL=C.  Reflect that name syntax is now
29056         documented.
29057         (Locale Categories): New section title.  Reference Locale Names.
29058         LC_ALL is an environment variable, but not a category.
29059         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29060         description, now in Locale Name.  Reference that section.  Locale
29061         name syntax is now documented.
29063 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29065         [BZ #17137]
29066         * locale/findlocale.c (name_present, valid_locale_name): New
29067         functions.
29068         (_nl_find_locale): Use the loc_name variable to store name
29069         candidates.  Call name_present and valid_locale_name to check and
29070         validate locale names.  Return an error if the locale is invalid.
29072 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29074         * locale/setlocale.c (setlocale): Use strdup for allocating
29075         composite name copy.
29077 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29079         Sync up with gnulib.
29080         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29081         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29082         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29083         and _GL_ARG_NONNULL.
29084         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29085         [!_LIBC]: Include code for Windows and Cygwin.
29086         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29087         Include prototype for int strerror_r.
29088         [!_LIBC] (is_open): New function.
29089         (flush_stdout): New function.
29090         (print_errno_message): Use it.
29091         (error): Likewise.
29092         (error_at_line): Likewise.
29093         (error_tail) Add function attribute macros.  Use
29094         __builtin_expect.
29096         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29098         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29100         * io/ftw.c: Include sys/param.h unconditionally.
29102         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29104         [BZ #17125]
29105         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29106         libc_freeres_ptr.
29107         (freecache): New function to free CACHE on exit.
29109         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29110         initialization.
29112 2014-07-09  David S. Miller  <davem@davemloft.net>
29114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29116         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29117         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29118         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29119         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29120         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29121         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29122         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29123         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29124         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29125         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29126         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29127         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29128         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29130 2014-07-09  Andreas Schwab  <schwab@suse.de>
29132         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29133         output.
29134         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29135         (do_test): Likewise.
29137         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29139 2014-07-09  Will Newton  <will.newton@linaro.org>
29141         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29142         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29143         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29144         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29145         * sysdeps/hppa/start.S (_start): Likewise.
29147 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29149         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29151         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29152         defined.
29154 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29156         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29157         after checking that it is non-NULL.
29159         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29161 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29163         * sysdeps/powerpc/memmove.c: Remove file.
29164         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29165         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29166         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29167         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29168         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29169         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29170         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29171         string memmove instead of removed powerpc one.
29173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29174         [weak_alias]: Fix compiler warning due trailing data.
29175         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29176         [weak_alias]: Likewise.
29177         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29178         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29181         (__libc_ifunc_impl_list): Add memmove functions.
29183 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29185         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29186         Remove code.
29187         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29188         Likewise.
29189         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29190         Likewise.
29191         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29192         Likewise.
29193         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29194         Likewise.
29195         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29196         Likewise.
29197         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29198         Likewise.
29199         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29200         Likewise.
29201         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29202         Likewise.
29203         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29204         Likewise.
29205         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29206         Likewise.
29207         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29208         Likewise.
29209         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29210         Likewise.
29211         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29212         Likewise.
29213         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29214         Likewise.
29215         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29216         Likewise.
29217         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29218         Likewise.
29220 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29223         to avoid alignment traps in non-cacheable memory.
29224         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29227         multiarch objects.
29228         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29229         file: multiarch power7 memmove.
29230         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29231         multiarch default memmove.
29232         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29233         multiarch memove for powerpc32/power4.
29235         * string/bcopy.c: Use full path to include memmove.c.
29236         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29237         multiarch objects.
29238         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29239         bcopy for powerpc64.
29240         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29241         bcopy for powerpc64.
29242         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29243         and memmove implementations.
29244         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29245         optimized multiarch memmove for POWER7/powerpc64.
29246         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29247         default multiarch memmove for powerpc64.
29248         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29249         multiarch for powerpc64.
29250         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29251         for POWER7/powerpc64.
29252         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29253         memmove for POWER7/powerpc64.
29255         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29256         glibc default one.
29258         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29259         __ELF_NATIVE_CLASS equal to 64.
29261 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29263         * sysdeps/nptl/lowlevellock.h: File removed.
29265         * NEWS: NPTL is no longer an add-on!
29266         * nptl/internaltypes.h: Moved ...
29267         * sysdeps/nptl/internaltypes.h: ... here.
29268         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29269         * sysdeps/nptl/fork.c: Likewise.
29270         * sysdeps/nptl/gai_misc.h: Likewise.
29271         * sysdeps/nptl/librt-cancellation.c: Likewise.
29272         * sysdeps/nptl/jmp-unwind.c: Likewise.
29273         * sysdeps/nptl/setxid.h: Likewise.
29274         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29275         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29276         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29277         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29278         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29279         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29280         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29281         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29282         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29283         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29284         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29285         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29286         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29287         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29288         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29289         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29290         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29291         * nptl/Makeconfig: Moved ...
29292         * sysdeps/nptl/Makeconfig: ... here.
29293         * nptl/configure: File removed.
29294         * nptl/ANNOUNCE: File removed.
29295         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29296         * sysdeps/unix/sysv/linux/configure: Regenerated.
29298         * nptl/Makefile (routines): Add libc_pthread_init,
29299         libc_multiple_threads, register-atfork and unregister-atfork.
29300         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29301         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29302         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29303         pthread-pi-defines.sym, structsem.sym.
29304         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29305         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29306         [$(subdir) = nptl] (tests): Add tst-setgetname.
29307         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29308         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29309         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29310         [!LIBC_SIGACTION]: Remove aliases.
29311         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29312         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29313         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29314         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29315         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29316         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29317         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29318         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29319         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29320         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29321         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29322         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29323         __libc_allocate_rtsig_private.
29324         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29325         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29326         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29327         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29328         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29329         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29330         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29331         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29332         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29333         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29334         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29335         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29336         * nptl/internaltypes.h: ... here.
29337         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29338         * sysdeps/nptl/jmp-unwind.c: ... here.
29339         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29340         * nptl/libc-lowlevellock.c: ... here.
29341         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29342         * nptl/libc_multiple_threads.c: ... here.
29343         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29344         * nptl/libc_pthread_init.c: ... here.
29345         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29346         * nptl/lowlevelbarrier.sym: ... here.
29347         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29348         * nptl/lowlevelcond.sym: ... here.
29349         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29350         * nptl/lowlevellock.c: ... here.
29351         * nptl/lowlevellock.h: Moved ...
29352         * sysdeps/nptl/lowlevellock.h: ... here.
29353         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29354         * nptl/lowlevelrobustlock.c: ... here.
29355         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29356         * nptl/lowlevelrobustlock.sym: ... here.
29357         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29358         * nptl/lowlevelrwlock.sym: ... here.
29359         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29360         * nptl/pt-fork.c: ... here.
29361         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29362         * nptl/pthread-pi-defines.sym: ... here.
29363         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29364         * nptl/pthread_attr_getaffinity.c: ... here.
29365         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29366         * nptl/pthread_attr_setaffinity.c: ... here.
29367         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29368         * nptl/pthread_mutex_cond_lock.c: ... here.
29369         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29370         Update #include.
29371         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29372         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29373         * nptl/pthread_once.c: ... here, replacing old file.
29374         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29375         * nptl/pthread_yield.c: ... here.
29376         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29377         * nptl/register-atfork.c: ... here.
29378         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29379         * nptl/sem_post.c: ... here.
29380         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29381         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29382         * nptl/sem_timedwait.c: ... here.
29383         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29384         * nptl/sem_trywait.c: ... here.
29385         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29386         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29387         * nptl/sem_wait.c: ... here.
29388         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29389         * nptl/structsem.sym: ... here.
29390         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29391         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29392         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29393         * nptl/unregister-atfork.c: ... here.
29394         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29395         * nptl/unwindbuf.sym: ... here.
29396         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29397         * sysdeps/nptl/fork.c: ... here.
29398         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29399         * sysdeps/nptl/fork.h: ... here.
29400         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29401         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29402         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29403         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29404         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29405         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29406         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29407         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29408         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29409         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29410         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29411         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29412         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29413         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29414         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29415         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29416         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29417         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29418         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29419         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29420         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29421         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29422         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29423         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29424         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29425         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29426         * sysdeps/unix/sysv/linux/raise.c: ... here.
29427         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29428         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29429         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29430         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29431         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29432         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29433         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29434         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29435         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29436         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29437         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29438         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29439         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29440         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29441         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29443 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29445         * sysdeps/generic/memcopy.h: Add comment for
29446         MEMCPY_OK_FOR_FWD_MEMMOVE.
29448 2014-07-04  Will Newton  <will.newton@linaro.org>
29450         * string/memchr.c: Merge from gnulib.
29451         [_LIBC]: Remove conditionals.
29452         (__ptr_t): Remove define.
29453         (LONG_MAX_32_BITS): Likewise.
29454         (LONG_MAX): Likewise.
29455         (MEMCHR): Use ANSI prototype and optimize algorithm.
29457         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29459 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29461         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29462         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29464         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29465         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29466         in a bare environment with no <stdlib.h> installed.
29467         * sysdeps/nptl/configure: Regenerated.
29469         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29471         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29472         AC_EGREP_CPP for kernel header checks, so they only succeed if
29473         including <linux/version.h> actually works right.
29474         * sysdeps/unix/sysv/linux/configure: Regenerated.
29476         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29477         value so it's not diagnosed as unused.
29479         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29480         thing) with "ifeq ($(subdir),rt)".
29482 2014-07-03  Richard Henderson  <rth@redhat.com>
29484         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29485         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29486         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29488         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29489         (math_force_eval): New.
29491         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29492         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29494         * sysdeps/alpha/fpu/s_round.c: Remove file.
29495         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29497         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29498         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29499         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29500         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29501         (_dl_start, print_statistics): Likewise.
29502         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29503         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29505         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29506         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29507         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29508         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29509         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29510         (HP_SMALL_TIMING_AVAIL): Define.
29511         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29513         (HP_SMALL_TIMING_AVAIL): Define.
29514         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29515         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29517         * sysdeps/aarch64/hp-timing.h: New file.
29519         * sysdeps/generic/hp-timing.h: Remove dead comment.
29520         * sysdeps/generic/hp-timing-common.h: New file.
29521         * sysdeps/alpha/hp-timing.h: Include it.
29522         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29523         * sysdeps/i386/i686/hp-timing.h: Likewise.
29524         * sysdeps/ia64/hp-timing.h: Likewise.
29525         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29526         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29528         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29529         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29530         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29531         (hp_timing_t): New.
29533         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29534         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29535         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29536         * elf/rtld.c (_dl_start_final): Likewise.
29537         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29538         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29539         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29540         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29541         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29543         (HP_TIMING_DIFF_INIT): Remove.
29544         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29545         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29546         (HP_TIMING_DIFF_INIT): Remove.
29547         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29548         * sysdeps/i386/i686/hp-timing.c: Remove file.
29549         * sysdeps/x86_64/hp-timing.c: Remove file.
29550         * sysdeps/ia64/hp-timing.c: Remove file.
29551         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29552         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29554         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29556         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29557         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29558         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29559         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29561         (HP_TIMING_ACCUM): Remove.
29562         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29563         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29564         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29566         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29567         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29568         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29569         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29570         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29571         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29572         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29573         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29575         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29577 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29579         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29581 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29583         Sync up with gettext.
29584         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29585         [_MSC_VER]: Include malloc.h
29586         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29587         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29588         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29589         TEMP_FAILURE_RETRY.  Cast return of alloca.
29590         [!_LIBC] Call gl_rwlock_init.
29591         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29593 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29595         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29596         before checking its value.
29598 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29600         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29602         * debug/memcpy_chk.c: Don't include pagecopy.h.
29603         * debug/mempcpy_chk.c: Likewise.
29604         * string/memcpy.c: Likewise.
29605         * string/memmove.c: Likewise.
29606         * sysdeps/powerpc/memmove.c: Likewise.
29607         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29608         definition of PAGE_COPY_FWD_MAYBE here...
29609         * sysdeps/generic/pagecopy.h: ... from here.
29610         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29612 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29613             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29615         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29617         optimizations.
29618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29619         (__libc_ifunc_impl_list): Likewise.
29620         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29621         multiarch strcat for PPC64.
29622         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29623         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29625 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29627         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29629 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29631         * intl/loadmsgcat.c: Remove declaration of
29632         get_sysdep_segment_value.
29633         (get_sysdep_segment_value): Use ISO C style.
29634         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29635         semicolon.  Fix typo and formatting in comment.
29636         (_nl_unload_domain): Use ISO C style.
29638         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29640 2014-07-02  Will Newton  <will.newton@linaro.org>
29642         * malloc/obstack.c: Merge from gnulib master.
29643         [HAVE_CONFIG_H]: Remove conditional code.
29644         [!_LIBC]: Include config.h.
29645         [!ELIDE_CODE]: Don't include inttypes.h, include
29646         stdint.h unconditionally.
29647         (print_and_abort): Mark as _Noreturn.
29648         (_obstack_allocated_p): Mark as __attribute_pure__.
29649         (obstack_free): Rename to __obstack_free.
29650         [!__attribute__]: Remove conditional code.
29651         * malloc/obstack.h: Merge from gnulib master.
29652         [__cplusplus]: Move conditional down.
29653         [!__attribute_pure__]: Define __attribute_pure__ here
29654         if it is not already defined.
29655         (_obstack_memory_used): Mark as __attribute_pure__.
29656         [!__obstack_free]: Define as obstack_free.
29657         [__GNUC__]: Remove check for ancient NeXT gcc.
29659 2014-07-02  Will Newton  <will.newton@linaro.org>
29660             Paul Eggert  <eggert@cs.ucla.edu>
29662         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29666         * resolv/gethnamaddr.c: Add comment warning that the file is
29667         not maintained.
29669 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29671         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29672         entries.
29674         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29675         entry for aio_cancel and aio_cancel64.
29676         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29677         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29678         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29679         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29680         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29681         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29682         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29683         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29684         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29685         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29686         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29687         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29688         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29690 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29692         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29693         * nptl/pthread_mutex_lock.c: Likewise.
29694         * nptl/pthread_mutex_timedlock.c: Likewise.
29695         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29697 2014-07-01  Richard henderson  <rth@redhat.com>
29699         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29700         (__isnan, __isnanl): Remove.
29701         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29703         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29705 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29709 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29711         * resolv/nss_dns/dns-host.c (getanswer_r)
29712         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29714 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29717         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29718         undefine.
29719         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29720         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29722 2014-07-01  Roland McGrath <roland@hack.frob.com>
29724         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29725         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29727         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29728         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29730         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29731         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29732         ... here.
29733         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29734         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29736         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29737         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29738         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29739         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29741         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29742         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29743         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29744         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29745         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29746         Moved ...
29747         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29748         ... here.
29749         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29750         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29751         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29752         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29753         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29754         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29755         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29756         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29758         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29759         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29760         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29761         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29762         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29763         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29764         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29765         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29766         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29767         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29768         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29769         ... here.
29770         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29771         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29772         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29773         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29774         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29775         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29776         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29777         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29779 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29781         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29782         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29783         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29784         Add sysdep.
29786 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29790 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29792         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29793         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29795         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29797         * sysdeps/arm/libm-test-ulps: Regenerated.
29799 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29800             Roland McGrath <roland@hack.frob.com>
29802         * test-skeleton.c (signal_handler): Kill the whole process group
29803         before killing the child individually.
29804         (main): Report any failure on `setpgid'.
29806 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29808         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29809         from _TLS_H to _ARM_NPTL_TLS_H.
29810         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29811         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29813 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29815         [BZ #16539]
29816         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29817         (__expm1l): Return argument unchanged when small but not
29818         subnormal.
29820         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29821         include macro name.
29822         (_FP_UNPACK_RAW_1_P): Likewise.
29823         (_FP_PACK_RAW_1): Likewise.
29824         (_FP_PACK_RAW_1_P): Likewise.
29825         (_FP_MUL_MEAT_1_wide): Likewise.
29826         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29827         (_FP_MUL_MEAT_1_hard): Likewise.
29828         (_FP_DIV_MEAT_1_imm): Likewise.
29829         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29830         (_FP_DIV_MEAT_1_udiv): Likewise.
29831         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29832         (_FP_UNPACK_RAW_2): Likewise.
29833         (_FP_UNPACK_RAW_2_P): Likewise.
29834         (_FP_PACK_RAW_2): Likewise.
29835         (_FP_PACK_RAW_2_P): Likewise.
29836         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29837         (_FP_MUL_MEAT_2_wide): Likewise.
29838         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29839         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29840         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29841         (_FP_MUL_MEAT_2_gmp): Likewise.
29842         (_FP_DIV_MEAT_2_udiv): Likewise.
29843         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29844         (_FP_FRAC_SRL_4): Likewise.
29845         (_FP_FRAC_SRST_4): Likewise.
29846         (_FP_FRAC_SRS_4): Likewise.
29847         (_FP_UNPACK_RAW_4): Likewise.
29848         (_FP_UNPACK_RAW_4_P): Likewise.
29849         (_FP_PACK_RAW_4): Likewise.
29850         (_FP_PACK_RAW_4_P): Likewise.
29851         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29852         (_FP_MUL_MEAT_4_wide): Likewise.
29853         (_FP_MUL_MEAT_4_gmp): Likewise.
29854         (umul_ppppmnnn): Likewise.
29855         (_FP_DIV_MEAT_4_udiv): Likewise.
29856         (__FP_FRAC_ADD_4): Likewise.
29857         (__FP_FRAC_SUB_3): Likewise.
29858         (__FP_FRAC_SUB_4): Likewise.
29859         (__FP_FRAC_DEC_3): Likewise.
29860         (__FP_FRAC_DEC_4): Likewise.
29861         (__FP_FRAC_ADDI_4): Likewise.
29862         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29863         (_FP_FRAC_SRL_8): Likewise.
29864         (_FP_FRAC_SRS_8): Likewise.
29866         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29867         include macro name.
29868         (FP_UNPACK_RAW_EP): Likewise.
29869         (FP_PACK_RAW_E): Likewise.
29870         (FP_PACK_RAW_EP): Likewise.
29871         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29872         (_FP_ISSIGNAN): Likewise.
29873         (_FP_ADD_INTERNAL): Likewise.
29874         (_FP_FMA): Likewise.
29875         (_FP_CMP): Likewise.
29876         (_FP_SQRT): Likewise.
29877         (_FP_TO_INT): Likewise.
29878         (_FP_FROM_INT): Likewise.
29879         (FP_EXTEND): Likewise.
29880         (_FP_DIV_MEAT_N_loop): Likewise.
29882 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29884         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29885         throughout.
29887 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #17097]
29890         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29891         result with correct sign in case of exponents that produce
29892         overflow except for X very close to 1.
29894 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29896         mktime: merge #if/#ifdef usage from glibc
29897         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29898         as that works with both Glibc's and Gnulib's style.
29899         See thread starting at Siddhesh Poyarekar's bug report at:
29900         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29902 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29904         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29905         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29906         * sysdeps/tile/tilegx/memmove.c: Remove file.
29908 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29910         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29911         abi-name definition.
29912         * scripts/soversions.awk: Do not handle or generate ABI lines.
29913         * shlib-versions: Remove ABI entries.
29914         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29915         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29917 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29920         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29921         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29922         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29924         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29926         Moved ...
29927         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29928         ... here.
29929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29930         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29932         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29934         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29936         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29938         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29940         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29942         Moved ...
29943         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29947         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29949         Moved ...
29950         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29952         Moved ...
29953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29955         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29957         Moved ...
29958         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29960         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29962         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29964         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29965         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29966         Moved ...
29967         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29968         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29969         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29970         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29971         Moved ...
29972         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29973         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29974         Moved ...
29975         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29977         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29979         Moved ...
29980         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29981         ... here.
29982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29983         Identical file removed.
29984         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29985         Moved ...
29986         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29988         Identical file removed.
29989         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29990         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29992         Moved ...
29993         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29995         Identical file removed.
29996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29997         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29999         Identical file removed.
30000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30001         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30002         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30003         Identical file removed.
30004         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30005         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30007         Identical file removed.
30008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30009         Moved ...
30010         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30012         Identical file removed.
30013         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30014         Moved ...
30015         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30017         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30018         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30019         Identical file removed.
30020         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30021         Moved ...
30022         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30023         ... here.
30024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30025         Identical file removed.
30026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30027         Moved ...
30028         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30029         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30030         Identical file removed.
30031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30032         Moved ...
30033         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30035         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30037         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30038         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30039         Moved ...
30040         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30041         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30042         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30044         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30045         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30046         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30047         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30048         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30050 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30052         [BZ #17092]
30053         * nscd/nscd.c (monitor_child): Return exit status of child
30054         instead of return value from wait syscall.
30056 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30058         * configure.ac (libc_commonpagesize): Remove variable.
30059         (libc_relro_required): Likewise.
30060         (libc_cv_z_relro): Remove configure test.
30061         * configure: Regenerated.
30062         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30063         variable.
30064         (libc_relro_required): Likewise.
30065         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30066         (libc_relro_required): Likewise.
30067         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30068         (libc_relro_required): Likewise.
30069         * sysdeps/arm/preconfigure: Regenerated.
30070         * sysdeps/ia64/preconfigure: Remove file.
30071         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30072         variable.
30073         (libc_relro_required): Likewise.
30075         [BZ #16561]
30076         [BZ #16562]
30077         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30078         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30079         recompute overflowing results in original rounding mode.
30080         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30081         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30082         recompute overflowing results in original rounding mode.
30083         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30084         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30085         recompute overflowing results in original rounding mode.
30086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30087         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30088         recompute overflowing results in original rounding mode.
30089         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30090         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30091         recompute overflowing results in original rounding mode.
30092         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30093         (libc_feholdsetround_ctx): New macro.
30094         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30095         * sysdeps/i386/fpu/libm-test-ulps: Update.
30096         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30098 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30100         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30101         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30102         corresponding .cpsetup call.
30104 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30106         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30107         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30108         * sysdeps/arm/Makefile [$(subdir) = csu]
30109         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30110         (static-only-routines): Add aeabi_read_tp here.
30111         (shared-only-routines): Add libc-aeabi_read_tp here.
30112         (CFLAGS-libc-start.c): Add -fexceptions here.
30113         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30114         (sysdep_routines, static-only-routines, shared-only-routines):
30115         Don't add to these here.
30116         (CFLAGS-libc-start.c): Likewise.
30118         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30119         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30120         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30121         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30122         * sysdeps/arm/Makefile [$(subdir) = rt]
30123         (librt-sysdep_routines, librt-shared-only-routines):
30124         Append rt-aeabi_unwind_cpp_pr1 here.
30125         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30126         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30127         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30128         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30129         Append nptl-aeabi_unwind_cpp_pr1 here.
30130         (tests): Filter out tst-cleanupx4 here.
30131         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30132         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30133         Don't do those here.
30135 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30137         * scripts/list-sources.sh: Do not handle ports specially.
30139 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30141         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30142         * sysdeps/arm/feupdateenv.c: Likewise.
30144         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30146 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30148         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30149         trailing whitespace removed.
30150         * scripts/config.guess: Update to version 2014-03-23.
30151         * scripts/config.sub: Update to version 2014-05-01
30152         * scripts/install-sh: Update to version 2013-12-25.23.
30153         * scripts/move-if-change: Update from gnulib.
30155 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30157         * debug/memmove_chk.c: Remove pagecopy.h include.
30159 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30161         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30162         identical to gnulib mktime.
30164 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30166         * configure.ac: Do not test for machine being rs6000.  Do not test
30167         for powerpc*-*soft.
30168         * configure: Regenerated.
30170         [BZ #11505]
30171         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30172         test.
30173         * configure: Regenerated.
30174         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30175         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30176         Remove configure test.
30177         * sysdeps/arm/configure: Regenerated.
30178         * sysdeps/nptl/configure.ac: Do not check
30179         libc_cv_asm_cfi_directives.
30180         * sysdeps/nptl/configure: Regenerated.
30181         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30182         * sysdeps/x86_64/nptl/configure: Remove generated file.
30183         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30184         unconditional.
30185         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30187 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30189         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30190         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30191         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30192         it is defined.
30194         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30195         instead of whether it is defined.
30196         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30197         * sysdeps/hppa/dl-machine.h: Likewise.
30198         * sysdeps/ia64/dl-machine.h: Likewise.
30199         * sysdeps/m68k/dl-machine.h: Likewise.
30200         * sysdeps/microblaze/dl-machine.h: Likewise.
30201         * sysdeps/mips/dl-machine.: Likewise.
30202         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30203         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30204         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30205         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30206         * sysdeps/sh/dl-machine.h: Likewise.
30207         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30208         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30209         * sysdeps/tile/dl-machine.h: Likewise.
30210         * sysdeps/x86_64/dl-machine.h: Likewise.
30212         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30213         code.
30214         (verify_persistent_db): Likewise.
30216 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30219         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30221         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30223         Moved ...
30224         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30225         ... here.
30226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30227         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30229         Identical file removed.
30230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30231         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30233         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30235         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30237         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30239         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30241         Moved ...
30242         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30244         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30246         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30248         Moved ...
30249         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30251         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30253         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30255         Identical file removed.
30256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30257         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30261         Moved ...
30262         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30263         ... here.
30264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30267         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30269         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30271         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30273         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30275         Moved ...
30276         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30278         Moved ...
30279         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30281         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30283         Moved ...
30284         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30286         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30288         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30289         folded into ...
30290         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30291         * sysdeps/unix/sysv/linux/s390/Versions
30292         (libpthread: GLIBC_2.19): New version set.
30293         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30294         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30295         (librt: GLIBC_2.3.3): New version set.
30296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30297         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30298         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30299         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30300         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30301         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30302         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30303         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30304         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30305         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30306         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30307         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30308         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30309         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30310         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30311         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30312         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30313         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30314         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30315         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30316         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30317         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30318         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30319         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30320         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30321         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30322         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30323         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30324         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30325         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30326         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30332         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30334         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30336         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30338         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30340         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30342         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30343         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30344         (__libc_vfork): Define the function under this name.
30345         [!NOT_IN_libc] (__vfork): Make this an alias.
30346         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30348         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30349         (__libc_vfork): Define the function under this name.
30350         [!NOT_IN_libc] (__vfork): Make this an alias.
30351         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30352         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30353         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30354         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30356         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30358         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30359         code that was previously under [RESET_PID].
30360         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30361         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30364         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30365         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30366         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30367         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30368         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30369         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30370         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30371         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30372         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30373         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30374         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30375         Moved ...
30376         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30377         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30378         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30379         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30380         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30381         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30382         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30383         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30384         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30385         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30386         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30387         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30388         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30389         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30390         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30391         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30392         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30393         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30394         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30395         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30396         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30397         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30398         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30399         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30400         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30401         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30402         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30404         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30406 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30408         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30409         that was previously under [RESET_PID].
30410         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30412 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30414         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30415         not undefine and redefine.
30416         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30417         [O_CLOEXEC]: Make code unconditional.
30418         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30419         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30420         <kernel-features.h>.
30421         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30422         conditional variable definition.
30423         (shm_open) [O_CLOEXEC]: Make code unconditional.
30424         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30425         code.
30427         * configure.ac (USE_REGPARMS): Don't define here.
30428         * configure: Regenerated.
30429         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30430         * sysdeps/i386/configure: Regenerated.
30432         * nptl/createthread.c: Don't include kernel-features.h.
30433         * nptl/pthread_cancel.c: Likewise.
30434         * nptl/pthread_condattr_setclock.c: Likewise.
30435         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30436         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30437         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30438         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30439         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30440         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30441         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30442         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30444         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30445         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30446         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30447         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30448         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30449         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30450         * nscd/gai.c: Likewise.
30451         * nss/nss_db/db-open.c: Likewise.
30452         * sysdeps/generic/ldsodefs.h: Likewise.
30453         * sysdeps/sh/nptl/tls.h: Likewise.
30454         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30455         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30456         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30457         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30458         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30459         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30460         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30461         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30462         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30463         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30464         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30465         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30466         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30467         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30468         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30469         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30470         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30471         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30472         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30473         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30476         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30477         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30480         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30482         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30483         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30484         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30485         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30486         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30487         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30488         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30489         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30490         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30491         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30492         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30493         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30494         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30495         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30496         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30497         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30498         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30499         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30500         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30501         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30502         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30503         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30504         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30505         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30506         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30507         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30508         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30509         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30510         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30511         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30534         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30535         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30536         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30537         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30538         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30539         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30540         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30541         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30542         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30543         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30544         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30545         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30546         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30547         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30548         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30549         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30550         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30551         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30552         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30553         * sysdeps/unix/sysv/linux/system.c: Likewise.
30554         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30555         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30556         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30557         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30558         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30559         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30560         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30562         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30563         * configure: Regenerated.
30564         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30566         * configure.ac (base_machine): Do not set specially for particular
30567         machines here.
30568         * configure: Regenerated.
30569         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30570         settings from configure.ac.
30571         * sysdeps/i386/preconfigure: New file.
30572         * sysdeps/s390/preconfigure: Likewise.
30573         * sysdeps/sh/preconfigure: Likewise.
30574         * sysdeps/sparc/preconfigure: Likewise.
30576 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30578         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30579         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30580         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30581         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30582         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30583         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30584         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30585         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30586         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30587         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30588         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30589         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30590         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30591         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30592         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30593         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30595         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30596         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30598         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30599         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30600         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30601         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30602         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30603         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30604         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30605         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30606         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30607         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30608         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30609         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30610         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30611         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30612         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30613         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30614         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30615         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30616         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30617         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30619         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30620         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30621         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30622         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30623         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30625         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30626         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30627         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30628         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30629         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30630         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30631         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30632         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30633         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30634         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30635         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30638         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30640         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30642         Moved ...
30643         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30644         ... here.
30645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30646         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30648         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30650         Moved ...
30651         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30653         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30655         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30657         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30659         Moved ...
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30662         Moved ...
30663         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30665         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30666         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30667         Moved ...
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30670         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30672         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30674         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30676         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30678         Moved ...
30679         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30680         ... here.
30681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30682         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30684         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30686         Moved ...
30687         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30689         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30691         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30693         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30695         Moved ...
30696         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30698         Moved ...
30699         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30701         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30703         Moved ...
30704         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30706         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30708         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30710 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30712         * timezone/checktab.awk: Update from tzcode 2014e.
30713         * timezone/private.h: Likewise.
30714         * timezone/tzfile.h: Likewise.
30715         * timezone/zdump.c: Likewise.
30716         * timezone/zic.c: Likewise.
30718         * sysdeps/unix/sysv/linux/kernel-features.h
30719         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30720         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30721         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30722         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30723         Remove conditional code.
30725 2014-06-25  Will Newton  <will.newton@linaro.org>
30727         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30728         (_dl_arm_cap_flags): Add HWCAP2 values.
30729         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30730         (_DL_HWCAP_COUNT): Increase to 37.
30731         (_DL_HWCAP_LAST): New define.
30732         (_DL_HWCAP2_LAST): New define.
30733         (_dl_procinfo): Add support for printing
30734         AT_HWCAP2 entries.
30735         (_dl_string_hwcap): Use _dl_hwcap_string.
30737 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30741 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30743         * README: Do not mention ports directory.
30745         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30746         Remove macro.
30747         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30748         <kernel-features.h>.
30749         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30750         conditional variable definition.
30751         (__futimes): Update comment.
30752         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30753         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30755         [BZ #16560]
30756         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30757         arguments close to 0.
30758         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30759         Likewise.
30760         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30761         Likewise.
30762         * math/auto-libm-test-in: Add more tests of exp10.
30763         * math/auto-libm-test-out: Regenerated.
30764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30766         * sysdeps/unix/sysv/linux/kernel-features.h
30767         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30768         * sysdeps/unix/sysv/linux/readv.c: Do not include
30769         <kernel-features.h>.
30770         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30771         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30772         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30773         unconditional.
30774         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30775         conditional code.
30776         * sysdeps/unix/sysv/linux/writev.c: Do not include
30777         <kernel-features.h>.
30778         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30779         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30780         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30781         unconditional.
30782         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30783         conditional code.
30785 2014-06-25  Will Newton  <will.newton@linaro.org>
30787         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30788         comment changes throughout the file.  Remove checks
30789         for HAVE_*_H definitions that are not required.
30790         (__gen_tempname): Call abort if an unknown kind value is
30791         passed.
30793 2014-06-25  Andreas Schwab  <schwab@suse.de>
30795         [BZ #17086]
30796         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30797         scalbln, scalblnf, scalblnl in libc.
30799 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30801         [BZ #17086]
30802         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30803         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30804         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30806 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30808         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30809         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30810         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30811         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30812         Update #include.
30813         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30814         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30815         Update #include.
30816         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30817         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30818         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30819         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30820         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30821         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30822         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30823         * sysdeps/x86/bits/semaphore.h: ... here.
30824         * sysdeps/x86/nptl/elide.h: Moved ...
30825         * sysdeps/x86/elide.h: ... here.
30826         * sysdeps/x86_64/nptl/Implies: File removed.
30827         * sysdeps/i386/nptl/Implies: File removed.
30829 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30831         [BZ #16539]
30832         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30833         return the argument for normal arguments with exponent below -64.
30834         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30835         Likewise.
30836         * math/auto-libm-test-in: Add another test of expm1.
30837         * math/auto-libm-test-out: Regenerated.
30839         [BZ #16287]
30840         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30841         calling __erfcl for arguments at least 16.
30842         * math/auto-libm-test-in: Add more tests of erf.
30843         * math/auto-libm-test-out: Regenerated.
30845         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30846         individual architectures.
30847         * sysdeps/unix/sysv/linux/configure: Regenerated.
30848         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30849         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30850         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30851         (ldd_rewrite_script): Define variable.
30852         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30854         file.
30855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30856         generated file.
30857         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30858         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30859         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30860         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30861         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30862         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30863         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30864         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30866 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30868         [BZ #17084]
30869         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30870         Rename member __data.d to __data.__elision_data.
30872 2014-06-24  Wilco  <wdijkstr@arm.com>
30874         * NEWS: Add 16918 to fixed bug list.
30876 2014-06-24  Wilco  <wdijkstr@arm.com>
30878         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30880 2014-06-24  Wilco  <wdijkstr@arm.com>
30882         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30883         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30884         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30885         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30886         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30887         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30888         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30889         Use _FPU_MASK_RM.
30891 2014-06-24  Wilco  <wdijkstr@arm.com>
30893         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30895 2014-06-24  Wilco  <wdijkstr@arm.com>
30897         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30898         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30899         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30900         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30902 2014-06-24  Wilco  <wdijkstr@arm.com>
30904         [BZ #16918]
30905         * sysdeps/arm/feupdateenv.c (feupdateenv):
30906         Rewrite to reduce FPSCR accesses and fix return value.
30908 2014-06-24  Wilco  <wdijkstr@arm.com>
30910         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30911         Optimize to avoid unnecessary FPSCR writes.
30912         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30913         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30914         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30915         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30917 2014-06-24  Wilco  <wdijkstr@arm.com>
30919         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30920         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30921         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30922         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30923         Call libc_fetestexcept_vfp.
30924         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30925         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30926         __SOFTFP__ ifdef so that they can be built for softfp.
30928 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30930         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30931         argument type signed char.
30933         * Makerules (check-abi): Dump diff of symlist if the test
30934         fails.
30936 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30938         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30939         using abort.
30941         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30942         Remove unused variable ST.
30944 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30946         [BZ #16354]
30947         [BZ #17061]
30948         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30949         small arguments before calling __expm1.
30950         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30951         small arguments before calling __expm1f.
30952         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30953         small arguments before calling __expm1l.
30954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30955         Likewise.
30956         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30957         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30958         spurious underflow for some cosh tests.
30959         * math/auto-libm-test-out: Regenerated.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30962         [BZ #17050]
30963         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30964         (__ieee754_y1): Set errno if return value overflows.
30965         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30966         (__ieee754_y1f): Set errno if return value overflows.
30967         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30968         (__ieee754_y1l): Set errno if return value overflows.
30969         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30970         (__ieee754_y1l): Set errno if return value overflows.
30971         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30972         * math/auto-libm-test-out: Regenerated.
30974         * math/gen-auto-libm-tests.c: Document use of
30975         ignore-zero-inf-sign.
30976         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30977         (input_flags): Add ignore-zero-inf-sign.
30978         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30979         * math/gen-libm-test.pl (generate_testfile): Handle
30980         ignore-zero-inf-sign.
30981         * math/auto-libm-test-in: Mark some cpow tests with
30982         ignore-zero-inf-sign and some with xfail-rounding.
30983         * math/auto-libm-test-out: Regenerated.
30984         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30985         * sysdeps/i386/fpu/libm-test-ulps: Update.
30986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30988         [BZ #16315]
30989         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30990         overflowing or underflowing operations take place with sign of
30991         result.
30992         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30993         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30994         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30995         (__ieee754_pow): Recompute overflowing and underflowing results in
30996         original rounding mode.
30997         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30998         (__powl_helper): Allow negative argument X and scale negated value
30999         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31000         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31001         overflowing or underflowing operations take place with sign of
31002         result.
31003         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31004         Include <math.h>.
31005         * math/auto-libm-test-in: Add more tests of pow.
31006         * math/auto-libm-test-out: Regenerated.
31007         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31008         (pow_tonearest_test_data): Remove.
31009         (pow_test_tonearest): Likewise.
31010         (pow_towardzero_test_data): Likewise.
31011         (pow_test_towardzero): Likewise.
31012         (pow_downward_test_data): Likewise.
31013         (pow_test_downward): Likewise.
31014         (pow_upward_test_data): Likewise.
31015         (pow_test_upward): Likewise.
31016         (main): Don't call removed functions.
31017         * sysdeps/i386/fpu/libm-test-ulps: Update.
31018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31020 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31023         Moved ...
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31026         Moved ...
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31029         Moved ...
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31032         Moved ...
31033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31035         File removed.
31036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31037         File removed.
31038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31039         File removed.
31040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31041         File removed.
31042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31043         File removed.
31044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31045         File removed.
31046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31047         File removed.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31049         File removed.
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31051         File removed.
31052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31053         File removed.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31055         File removed.
31056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31057         File removed.
31058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31059         Moved ...
31060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31062         Moved ...
31063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31064         ... here.
31065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31066         Moved ...
31067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31069         Moved ...
31070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31072         Moved ...
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31075         Moved ...
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31078         Moved ...
31079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31081         Moved ...
31082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31084         Moved ...
31085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31088         ... here.
31089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31090         Moved ...
31091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31093         Moved ...
31094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31095         ... here.
31096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31097         Moved ...
31098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31099         ... here.
31100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31101         Moved ...
31102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31103         ... here.
31104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31105         Moved ...
31106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31108         Moved ...
31109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31113         Moved ...
31114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31115         ... here.
31116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31117         Moved ...
31118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31119         ... here.
31120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31121         Moved ...
31122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31124         Moved ...
31125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31127         Moved ...
31128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31130         Moved ...
31131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31133         Moved ...
31134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31135         ... here.
31136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31137         Moved ...
31138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31140         Moved ...
31141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31143         Moved ...
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31146         Moved ...
31147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31151         Moved ...
31152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31154         Moved ...
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31157         Moved ...
31158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31159         ... here.
31160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31161         Moved ...
31162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31163         ... here.
31164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31165         Moved ...
31166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31167         ... here.
31168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31169         Moved ...
31170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31172         Moved ...
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31175         Moved ...
31176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31178         Moved ...
31179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31180         ... here.
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31182         Moved ...
31183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31184         ... here.
31185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31186         Moved ...
31187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31188         ... here.
31189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31190         Moved ...
31191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31193         Moved ...
31194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31196 2014-06-23  Will Newton  <will.newton@linaro.org>
31197             Wilco  <wdijkstr@arm.com>
31199         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31200         implementation.  Include get-rounding-mode.h.
31201         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31202         [!libc_feholdsetround_noex_ctx]: Define
31203         libc_feholdsetround_noex_ctx.
31204         [!libc_feholdsetround_noexf_ctx]: Define
31205         libc_feholdsetround_noexf_ctx.
31206         [!libc_feholdsetround_noexl_ctx]: Define
31207         libc_feholdsetround_noexl_ctx.
31208         (libc_feholdsetround_ctx): New function.
31209         (libc_feresetround_ctx): New function.
31210         (libc_feholdsetround_noex_ctx): New function.
31211         (libc_feresetround_noex_ctx): New function.
31213 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31215         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31216         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31217         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31218         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31219         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31220         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31222         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31223         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31224         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31225         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31226         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31227         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31229         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31231         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31232         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31233         Moved ...
31234         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31235         ... here.
31236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31237         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31239         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31241         Moved ...
31242         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31244         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31246         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31248         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31249         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31250         Moved ...
31251         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31252         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31253         Moved ...
31254         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31256         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31257         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31258         Moved ...
31259         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31260         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31261         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31262         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31263         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31264         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31265         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31267         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31269         Moved ...
31270         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31271         ... here.
31272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31273         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31275         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31277         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31278         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31279         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31281         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31283         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31285         Moved ...
31286         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31288         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31290         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31291         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31292         Moved ...
31293         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31294         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31295         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31296         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31297         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31299         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31300         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31301         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31302         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31303         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31304         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31305         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31306         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31308         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31309         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31310         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31311         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31312         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31313         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31314         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31315         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31316         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31317         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31318         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31319         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31322         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31323         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31324         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31326         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31328 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31331         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31332         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31333         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31334         (IPV6_PMTUDISC_INTERFACE): Likewise.
31335         (IPV6_PMTUDISC_OMIT): Likewise.
31337 2014-06-23  Andreas Schwab  <schwab@suse.de>
31339         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31340         Remove unused errout label.
31342 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31344         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31345         macro: hardware supports Vector Crypto instructions.
31347 2014-06-23  Will Newton  <will.newton@linaro.org>
31349         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31350         rather than __builtin_expect.
31352         * elf/dl-lookup.c (undefined_msg): Remove variable.
31353         (_dl_lookup_symbol_x): Replace undefined_msg with string
31354         literal.
31356         * elf/dl-lookup.c (do_lookup_unique): New function.
31357         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31358         to a separate function.
31360 2014-06-23  Andreas Schwab  <schwab@suse.de>
31362         [BZ #17079]
31363         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31364         before reading the next line.
31366 2014-06-23  Will Newton  <will.newton@linaro.org>
31368         * test-skeleton.c (signal_handler): Use printf and %m
31369         rather than perror.  Use printf rather than fprintf to
31370         stderr.  Use puts rather than fputs to stderr.
31371         (main): Likewise.
31373 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31375         * nscd/nscd.c (thread_info_t): Remove typedef.
31376         (thread_info): Remove variable.
31378 2014-06-21  Allan McRae  <allan@archlinux.org>
31380         * NEWS: Mention CVE-2014-4043.
31382 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31384         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31385         * nptl/smp.h: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31389         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31390         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31391         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31392         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31394         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31395         * nptl/stack-aliasing.h: New file.
31396         * sysdeps/i386/i686/stack-aliasing.h: New file.
31397         * sysdeps/i386/i686/nptl/Makefile: File removed.
31398         * sysdeps/x86_64/stack-aliasing.h: New file.
31399         * sysdeps/x86_64/nptl/Makefile
31400         (CFLAGS-pthread_create.c): Variable removed.
31402         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31403         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31404         old file.
31405         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31406         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31407         old file.
31409 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31411         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31412         (__ASSUME_SIGFRAME_V2): Remove macro.
31413         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31414         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31415         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31416         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31417         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31418         Declare as function.  Remove conditional macro definitions.
31419         (__default_rt_sa_restorer): Likewise.
31420         (__default_sa_restorer_v1): Remove declaration.
31421         (__default_sa_restorer_v2): Likewise.
31422         (__default_rt_sa_restorer_v1): Likewise.
31423         (__default_rt_sa_restorer_v2): Likewise.
31424         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31425         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31426         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31428 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31430         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31431         (libpthread-routines): Add sysdep.
31432         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31433         * sysdeps/unix/sysv/linux/sparc/Versions
31434         (libpthread: GLIBC_2.3.3): New version set.
31435         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31436         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31437         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31439         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31440         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31441         Moved ...
31442         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31443         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31444         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31445         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31446         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31447         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31448         * sysdeps/sparc/nptl/sem_init.c: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31450         * sysdeps/sparc/nptl/sem_post.c: ... here.
31451         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31452         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31453         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31454         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31455         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31456         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31457         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31458         (libpthread-routines): Add cpu_relax.
31459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31460         File removed.
31461         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31462         (librt: GLIBC_2.3.3): New version set.
31463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31464         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31465         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31466         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31469         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31471         Moved ...
31472         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31474         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31476         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31478         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31480         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31482         Moved ...
31483         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31484         Update #include.
31485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31486         Moved ...
31487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31488         Update #include.
31489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31490         Moved ...
31491         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31492         Update #include.
31493         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31494         Moved ...
31495         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31496         Update #include.
31497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31498         Moved ...
31499         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31500         Update #include.
31501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31502         Moved ...
31503         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31504         Update #include.
31505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31506         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31508         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31510         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31512         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31514         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31516         Moved ...
31517         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31519         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31521         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31523 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31525         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31526         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31527         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31528         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31529         * nscd/nscd.c: Likewise.
31530         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31531         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31532         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31533         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31535         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31536         <kernel-features.h>.
31537         (init_mq_netlink): Remove conditional have_sock_cloexec
31538         definitions.  Remove code conditional on have_sock_cloexec < 0.
31539         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31540         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31541         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31542         <kernel-features.h>.
31543         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31544         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31546 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31549         Add tests for memset_chk and memset.
31551         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31552         with AVX2_Usable.
31554 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31556         [BZ #16046]
31557         * elf/tst-dl-iter-static.c: New file.
31558         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31560         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31561         error.
31563 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31565         * sysdeps/unix/sysv/linux/kernel-features.h
31566         (__ASSUME_F_GETOWN_EX): Remove macro.
31567         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31568         <kernel-features.h>.
31569         (miss_F_GETOWN_EX): Remove variable or macro.
31570         (do_fcntl): Do not check miss_F_GETOWN_EX.
31571         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31573         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31574         Remove macro.
31575         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31576         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31577         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31579         * sysdeps/unix/sysv/linux/kernel-features.h
31580         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31581         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31582         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31583         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31585 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31587         [BZ #17075]
31588         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31589         Fix calculation of the symbol's value.
31590         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31591         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31592         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31593         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31594         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31595         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31596         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31597         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31598         (modules-names): Add `tst-armtlsdescmod',
31599         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31600         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31601         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31602         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31603         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31604         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31605         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31606         ($(objpfx)tst-armtlsdescloc): New dependency.
31607         ($(objpfx)tst-armtlsdescextnow): Likewise.
31608         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31609         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31610         TLS scheme support.
31611         * sysdeps/arm/configure: Regenerate.
31613 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31615         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31616         (__atfct_seterrno_2): Likewise.
31617         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31618         <kernel-features.h>.
31619         (__ASSUME_ATFCTS): Do not undefine and redefine.
31620         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31621         (__have_atfcts): Remove conditional definition.
31622         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31623         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31624         unreachable if [__ASSUME_ATFCTS].
31625         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31626         not undefine and redefine.
31627         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31628         <kernel-features.h>.
31629         (faccessat) [__NR_faccessat]: Make code unconditional.
31630         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31631         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31632         <kernel-features.h>.
31633         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31634         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31635         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31636         <kernel-features.h>.
31637         (fchownat) [__NR_fchownat]: Make code unconditional.
31638         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31639         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31640         <kernel-features.h>.
31641         (futimesat) [__NR_futimesat]: Make code unconditional.
31642         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31643         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31644         <kernel-features.h>.
31645         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31646         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31647         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31648         <kernel-features.h>.
31649         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31650         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31651         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31652         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31653         <kernel-features.h>.
31654         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31655         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31656         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31657         <kernel-features.h>.
31658         (linkat) [__NR_linkat]: Make code unconditional.
31659         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31660         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31661         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31662         <kernel-features.h>.
31663         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31664         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31665         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31666         <kernel-features.h>.
31667         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31668         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31669         * sysdeps/unix/sysv/linux/openat.c: Do not include
31670         <kernel-features.h>.
31671         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31672         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31673         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31674         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31675         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31676         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31677         <kernel-features.h>.
31678         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31679         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31680         result of INLINE_SYSCALL directly, not via int variable.
31681         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31682         <kernel-features.h>.
31683         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31684         (renameat) [__NR_renameat]: Make code unconditional.
31685         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31686         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31687         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31688         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31689         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31690         (__ASSUME_ATFCTS): Do not undefine and redefine.
31691         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31692         <kernel-features.h>.
31693         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31694         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31695         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31696         <kernel-features.h>.
31697         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31698         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31699         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31700         (__ASSUME_ATFCTS): Do not undefine and redefine.
31701         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31702         <kernel-features.h>.
31703         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31704         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31705         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31706         <kernel-features.h>.
31707         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31708         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31710 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31712         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31714 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31716         [BZ #17069]
31717         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31718         constructed tree before returning error.
31719         * posix/bug-regexp36.c: Expand test case.
31721 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31723         [BZ #6803]
31724         * math/libm-test.inc (scalbln_test_date):
31725         Add errno expectations.
31726         * math/w_scalblnf.c: New File.
31727         Add wrapper which checks for setting errno to ERANGE.
31728         Add weak_alias for corresponding scalbln function.
31729         * math/w_scalbln.c: Likewise.
31730         * math/w_scalblnl.c: Likewise.
31731         * math/Makefile (libm-calls): Add w_scalbln.
31732         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31733         Remove weak_alias for corresponding scalbln function.
31734         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31736         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31737         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31738         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31739         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31740         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31741         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31742         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31743         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31744         Remove long_double_symbol for scalblnl function in libm, libc.
31745         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31746         Add wrapper which checks for setting errno to ERANGE.
31747         Add long_double_symbol for scalblnl function in libm, libc.
31748         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31749         Remove long_double_symbol for scalblnl in libm.
31750         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31751         Add wrapper which checks for setting errno to ERANGE.
31752         Add long_double_symbol for scalblnl function in libm.
31753         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31754         Do not use wrapper because of own implementation.
31756 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31758         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31759         3 bytes for __pad1 for x32.
31760         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31762 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31763             H.J. Lu  <hongjiu.lu@intel.com>
31765         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31766         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31767         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31768         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31769         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31771 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31773         [BZ #17069]
31774         * posix/regcomp.c (parse_expression): Deallocate partially
31775         constructed tree before returning error.
31776         * posix/Makefile.c (tests): Add bug-regex36.
31777         (generated): Add bug-regex36.mtrace.
31778         (tests-special): Add $(objpfx)bug-regex36-mem.out
31779         (bug-regex36-ENV): New variable.
31780         ($(objpfx)bug-regex36-mem.out): New rule.
31781         * posix/bug-regex36.c: New file.
31783 2014-06-19  Will Newton  <will.newton@linaro.org>
31785         * malloc/malloc.c (systrim): If extra is zero then return
31786         early.
31788 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31790         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31792 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31794         * sysdeps/aarch64/strchr.S: New file.
31796 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31798         [BZ #17022]
31799         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31800         from arguments -2 or below.
31801         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31802         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31804 2014-06-18  Andreas Schwab  <schwab@suse.de>
31806         [BZ #17062]
31807         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31808         of a bracket expr not to run off the end of the string.
31809         * posix/Makefile (tests): Add tst-fnmatch3.
31810         * posix/tst-fnmatch3.c: New file.
31812 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31814         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31815         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31816         [$(cross-compiling) = no]: Likewise.
31817         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31818         [$(cross-compiling) = no]: Likewise.
31820 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31822         [BZ #17031]
31823         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31824         double, adjusted for any remainder from the high double.
31825         * math/libm-test.inc (nearbyint): Add tests.
31826         (rint): Likewise.
31828 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31830         * nptl/sysdeps/powerpc/Makefile: Moved ...
31831         * sysdeps/powerpc/nptl/Makefile: ... here.
31832         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31833         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31834         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31835         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31836         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31837         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31838         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31839         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31840         * nptl/sysdeps/powerpc/tls.h: Moved ...
31841         * sysdeps/powerpc/nptl/tls.h: ... here.
31843 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31845         [BZ #16681]
31846         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31847         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31848         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31849         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31850         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31851         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31852         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31853         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31854         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31856 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31858         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31860 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31862         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31863         defined operator.
31865         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31866         $TIMEOUTFACTOR.
31868 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31870         [BZ #17058]
31871         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31872         non-executed part of the test.
31874 2014-06-16  Andreas Schwab  <schwab@suse.de>
31876         * string/bits/string2.h (strdup, strndup): Update feature guard.
31878 2014-06-14  David S. Miller  <davem@davemloft.net>
31880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31882 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31884         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31885         that was previously under [RESET_PID].
31886         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31888         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31889         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31890         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31891         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31892         (__libc_vfork): New strong alias.
31893         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31895 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31897         * sysdeps/generic/elide.h: New file.
31899 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31901         * Makefile (installed-headers): Adjust path of pthread.h header.
31903 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31905         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31906         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31907         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31908         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31910         * nptl/sysdeps/s390/Makefile: Moved ...
31911         * sysdeps/s390/nptl/Makefile: ... here.
31912         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31913         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31914         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31915         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31916         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31917         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31918         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31919         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31920         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31921         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31922         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31923         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31924         * nptl/sysdeps/s390/tls.h: Moved ...
31925         * sysdeps/s390/nptl/tls.h: ... here.
31927         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31928         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31930 2014-06-13  David S. Miller  <davem@davemloft.net>
31932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31935         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31939         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31940         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31941         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31942         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31943         Remove RESET_PID cpp guards.
31944         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31945         Remove RESET_PID cpp guards.
31946         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31948 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31950         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31951         __sp to uintptr_t.
31953 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31955         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31958         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31960         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31962         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31963         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31964         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31965         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31969         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31971         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31974         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31976         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31977         (pthread_rwlock_rdlock): Add elision.
31978         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31979         (pthread_rwlock_wrlock): Add elision.
31980         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31981         (pthread_rwlock_trywrlock): Add elision.
31982         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31983         (pthread_rwlock_tryrdlock): Add elision.
31984         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31985         (pthread_rwlock_tryrdlock): Add elision unlock.
31986         * nptl/sysdeps/pthread/pthread.h:
31987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31988         (PTHREAD_RWLOCK_INITIALIZER,
31989         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31990         Handle new elision field.
31991         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31992         * sysdeps/arm/nptl/bits/pthreadtypes.h
31993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31994         * sysdeps/sh/nptl/bits/pthreadtypes.h
31995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31996         * sysdeps/tile/nptl/bits/pthreadtypes.h
31997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31998         * sysdeps/a/nptl/bits/pthreadtypes.h
31999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32000         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32002         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32004         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32006         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32008         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32010         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32012         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32014         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32015         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32016         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32017         (elision_init): Set try_xbegin to zero when no RTM.
32018         * sysdeps/x86/nptl/bits/pthreadtypes.h
32019         (pthread_rwlock_t): Change __pad1 to __rwelision.
32020         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32022 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32024         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32025         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32026         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32027         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32029 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32031         [BZ #16996]
32032         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32033         that the cached result has been set before returning it.
32035 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32037         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32038         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32039         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32040         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32041         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32042         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32044         * nptl/sysdeps/sparc/Makefile: Moved ...
32045         * sysdeps/sparc/nptl/Makefile: ... here.
32046         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32047         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32048         * nptl/sysdeps/sparc/tls.h: Moved ...
32049         * sysdeps/sparc/nptl/tls.h: ... here.
32050         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32051         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32052         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32053         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32054         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32055         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32056         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32057         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32058         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32059         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32060         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32061         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32062         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32063         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32064         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32065         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32066         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32068         Update #include.
32069         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32070         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32071         Update #include.
32072         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32073         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32074         Update #include.
32075         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32077         Update #include.
32079         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32081         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32082         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32084         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32085         (struct list_links): Type removed.
32086         (struct thread_node, struct timer_node): Replace struct list_links
32087         with struct list_head.
32088         (list_unlink_ip): Likewise.
32089         * sysdeps/pthread/timer_routines.c
32090         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32091         (list_append, list_insbefore): Likewise.
32092         (list_init): Function removed.
32093         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32094         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32095         * sysdeps/pthread/Makefile: ... here, new file.
32097         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32098         * sysdeps/nptl/Implies: ... here.
32099         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32100         * nptl/sysdeps/pthread/list.h: Moved ...
32101         * include/list.h: ... here.
32102         * nptl/sysdeps/pthread/createthread.c: Moved ...
32103         * nptl/createthread.c: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32105         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32106         * nptl/pt-longjmp.c: ... here.
32107         * nptl/sysdeps/pthread/Makefile: Moved ...
32108         * sysdeps/nptl/Makefile: ... here.
32109         * nptl/sysdeps/pthread/Subdirs: Moved ...
32110         * sysdeps/nptl/Subdirs: ... here.
32111         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32112         * sysdeps/nptl/aio_misc.h: ... here.
32113         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32114         * sysdeps/nptl/bits/libc-lock.h: ... here.
32115         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32116         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32117         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32118         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32119         * nptl/sysdeps/pthread/configure: Moved ...
32120         * sysdeps/nptl/configure: ... here.
32121         * nptl/sysdeps/pthread/configure.ac: Moved ...
32122         * sysdeps/nptl/configure.ac: ... here.
32123         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32124         * sysdeps/nptl/gai_misc.h: ... here.
32125         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32126         * sysdeps/nptl/librt-cancellation.c: ... here.
32127         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32128         * sysdeps/nptl/malloc-machine.h: ... here.
32129         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32130         * sysdeps/nptl/pthread-functions.h: ... here.
32131         * nptl/sysdeps/pthread/pthread.h: Moved ...
32132         * sysdeps/nptl/pthread.h: ... here.
32133         * nptl/sysdeps/pthread/setxid.h: Moved ...
32134         * sysdeps/nptl/setxid.h: ... here.
32135         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32136         * sysdeps/nptl/sigfillset.c: ... here.
32137         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32138         * sysdeps/nptl/tcb-offsets.h: ... here.
32139         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32140         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32141         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32142         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32143         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32144         * sysdeps/pthread/allocalim.h: ... here.
32145         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32146         * sysdeps/pthread/bits/sigthread.h: ... here.
32147         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32148         * sysdeps/pthread/flockfile.c: ... here.
32149         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32150         * sysdeps/pthread/ftrylockfile.c: ... here.
32151         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32152         * sysdeps/pthread/funlockfile.c: ... here.
32153         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32154         * sysdeps/pthread/posix-timer.h: ... here.
32155         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32156         * sysdeps/pthread/timer_create.c: ... here.
32157         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32158         * sysdeps/pthread/timer_delete.c: ... here.
32159         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32160         * sysdeps/pthread/timer_getoverr.c: ... here.
32161         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32162         * sysdeps/pthread/timer_gettime.c: ... here.
32163         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32164         * sysdeps/pthread/timer_routines.c: ... here.
32165         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32166         * sysdeps/pthread/timer_settime.c: ... here.
32167         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32168         * sysdeps/pthread/tst-timer.c: ... here.
32169         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32170         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32172         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32173         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32175         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32176         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32177         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32178         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32179         Update #include target.
32180         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32181         * sysdeps/i386/i686/nptl/Makefile: ... here.
32182         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32183         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32184         Update #include target.
32185         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32186         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32187         * nptl/sysdeps/i386/Makefile: Moved ...
32188         * sysdeps/i386/nptl/Makefile: ... here.
32189         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32190         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32191         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32192         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32193         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32194         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32195         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32196         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32197         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32198         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32199         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32200         * nptl/sysdeps/i386/tls.h: Moved ...
32201         * sysdeps/i386/nptl/tls.h: ... here.
32203         * sysdeps/sh/Makefile [$(subdir) = csu]
32204         (gen-as-const-headers): Add tcb-offsets.sym.
32205         * nptl/sysdeps/sh/Makefile: File removed.
32206         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32207         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32208         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32209         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32210         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32211         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32212         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32213         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32214         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32215         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32216         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32217         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32218         * nptl/sysdeps/sh/tls.h: Moved ...
32219         * sysdeps/sh/nptl/tls.h: ... here.
32220         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32221         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32222         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32223         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32224         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32225         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32226         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32227         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32228         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32229         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32230         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32231         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32233         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32235         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32237         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32239         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32241         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32243         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32244         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32245         Moved ...
32246         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32247         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32248         Moved ...
32249         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32251         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32252         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32253         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32254         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32255         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32256         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32257         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32258         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32259         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32260         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32261         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32262         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32263         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32264         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32265         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32266         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32267         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32269 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32271         * posix/spawn_faction_addopen.c: Include string.h.
32273 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32275         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32276         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32277         * nptl/sysdeps/x86_64/Makefile: Moved ...
32278         * sysdeps/x86_64/nptl/Makefile: ... here.
32279         * nptl/sysdeps/x86_64/configure: Moved ...
32280         * sysdeps/x86_64/nptl/configure: ... here.
32281         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32282         * sysdeps/x86_64/nptl/configure.ac: ... here.
32283         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32284         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32285         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32286         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32287         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32288         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32289         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32290         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32291         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32292         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32293         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32294         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32295         * nptl/sysdeps/x86_64/tls.h: Moved ...
32296         * sysdeps/x86_64/nptl/tls.h: ... here.
32297         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32298         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32299         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32300         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32302         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32304 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32308 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32310         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32311         type.
32312         [POSIX] (off_t): Likewise.
32313         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32314         [POSIX] (S_ISBLK): Require macro.
32315         [POSIX] (S_ISCHR): Likewise.
32316         [POSIX] (S_ISDIR): Likewise.
32317         [POSIX] (S_ISFIFO): Likewise.
32318         [POSIX] (S_ISREG): Likewise.
32319         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32320         optional-macro.
32321         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32322         type.
32323         [POSIX] (time_t): Likewise.
32324         [POSIX] (timer_t): Likewise.
32326 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32328         [BZ #17048]
32329         * posix/spawn_int.h (struct __spawn_action): Make the path string
32330         non-const to support deallocation.
32331         * posix/spawn_faction_addopen.c
32332         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32333         * posix/spawn_faction_destroy.c
32334         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32335         path in all spawn_do_open actions.
32336         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32337         posix_spawn_file_actions_addopen.
32339 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32341         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32342         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32343         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32344         conditional code always true.
32345         (__libc_vfork): New alias.
32347 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32349         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32350         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32352         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32354         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32355         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32357         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32358         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32360         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32361         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32363 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32365         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32366         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32367         multiarch strcmp for PPC64.
32368         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32369         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32371         multiarch optimizations.
32372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32373         (__libc_ifunc_impl_list): Likewise.
32375 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32377         * benchtests/scripts/validate_benchout.py: New script.
32378         * benchtests/Makefile (bench-func): Call it.
32379         * benchtests/scripts/benchout.schema.json: New file.
32381 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32383         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32384         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32385         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32386         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32387         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32388         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32389         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32390         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32391         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32392         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32393         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32394         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32395         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32396         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32397         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32398         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32400         Moved ...
32401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32402         ... here.
32403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32404         Moved ...
32405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32407         Moved ...
32408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32409         ... here.
32410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32411         Moved ...
32412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32413         ... here.
32414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32415         Moved ...
32416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32418         Moved ...
32419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32420         ... here.
32421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32422         Moved ...
32423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32424         ... here.
32425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32426         Moved ...
32427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32429         Moved ...
32430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32431         ... here.
32432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32433         Moved ...
32434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32435         ... here.
32436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32437         Moved ...
32438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32439         ... here.
32440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32441         Moved ...
32442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32444         Moved ...
32445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32446         ... here.
32447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32448         Moved ...
32449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32450         ... here.
32451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32454         ... here.
32455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32456         Moved ...
32457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32459         Moved ...
32460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32461         ... here.
32462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32463         Moved ...
32464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32465         ... here.
32466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32467         Moved ...
32468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32470         Moved ...
32471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32472         ... here.
32473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32474         Moved ...
32475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32477         Moved ...
32478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32480         Moved ...
32481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32482         ... here.
32483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32484         Moved ...
32485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32486         ... here.
32487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32488         Moved ...
32489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32490         ... here.
32491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32492         Moved ...
32493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32495         Moved ...
32496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32497         ... here.
32498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32499         Moved ...
32500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32501         ... here.
32502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32503         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32505         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32507         Moved ...
32508         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32509         ... here.
32510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32511         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32515         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32517         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32519         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32521         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32522         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32523         Moved ...
32524         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32525         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32526         Moved ...
32527         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32529         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32530         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32531         Moved ...
32532         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32533         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32534         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32535         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32536         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32537         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32538         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32540 2014-06-10  Wilco  <wdijkstr@arm.com>
32542         * math/test-fenv-return.c: New file.
32543         * math/Makefile: Add new test test-fenv-return.
32545 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32547         [BZ #17042]
32548         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32549         when x - 1 is zero.
32550         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32551         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32552         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32553         0.0L for an argument of 1.0L.
32554         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32555         Likewise.
32556         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32557         value when x - 1 is zero.
32558         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32559         * sysdeps/i386/fpu/libm-test-ulps: Update.
32560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32562 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32564         [BZ #15119]
32565         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32567 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32569         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32570         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32572 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32574         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32575         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32577         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32578         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32580         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32581         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32583         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32584         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32586         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32587         if not already defined.
32588         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32589         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32590         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32591         (TLS_INIT_TP): Use it.
32592         (TLS_DEFINE_INIT_TP): New macro.
32593         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32595 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32597         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32598         constant.
32599         [POSIX] (IXANY): Likewise.
32600         [POSIX] (OLCUC): Likewise.
32601         [POSIX || POSIX2008] (CBAUD): Do not allow.
32602         [POSIX || POSIX2008] (DEFECHO): Likewise.
32603         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32604         [POSIX || POSIX2008] (ECHOKE): Likewise.
32605         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32606         [POSIX || POSIX2008] (EXTA): Likewise.
32607         [POSIX || POSIX2008] (EXTB): Likewise.
32608         [POSIX || POSIX2008] (FLUSHO): Likewise.
32609         [POSIX || POSIX2008] (LOBLK): Likewise.
32610         [POSIX || POSIX2008] (PENDIN): Likewise.
32611         [POSIX || POSIX2008] (SWTCH): Likewise.
32612         [POSIX || POSIX2008] (VDISCARD): Likewise.
32613         [POSIX || POSIX2008] (VDSUSP): Likewise.
32614         [POSIX || POSIX2008] (VLNEXT): Likewise.
32615         [POSIX || POSIX2008] (VREPRINT): Likewise.
32616         [POSIX || POSIX2008] (VSTATUS): Likewise.
32617         [POSIX || POSIX2008] (VWERASE): Likewise.
32618         (B*): Change to B[0123456789]*.
32619         * conform/data/time.h-data [POSIX || UNIX98]
32620         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32621         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32622         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32623         [POSIX] (tm_*): Do not allow.
32625 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32627         * Makefile (install): Don't set LANGUAGE.
32628         * Makefile.in (install): Likewise.
32629         * assert/Makefile (test-assert-ENV): Remove variable.
32630         (test-assert-perr-ENV): Likewise.
32631         * elf/Makefile (neededtest4-ENV): Likewise.
32632         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32633         [$(cross-compiling) = no]: Don't set LANGUAGE.
32634         * io/ftwtest-sh (LANG): Remove variable.
32635         * libio/Makefile (tst-widetext-ENV): Likewise.
32636         * manual/install.texi (Running make install): Don't refer to
32637         environment settings for make install.
32638         * INSTALL: Regenerated.
32639         * nptl/tst-tls6.sh: Don't set LANG.
32640         * posix/globtest.sh (LANG): Remove variable.
32641         * string/Makefile (tester-ENV): Likewise.
32642         (inl-tester-ENV): Likewise.
32643         (noinl-tester-ENV): Likewise.
32644         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32645         [$(cross-compiling) = no]: Don't set LANGUAGE.
32646         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32647         without explicit environment settings.
32649 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32651         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32652         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32653         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32654         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32656 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32658         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32659         other files in the crypt directory.
32660         * crypt/crypt.c: Remove duplicate includes.
32661         * crypt/crypt-entry.c: Likewise.
32662         * crypt/crypt_util.c: Likewise.
32664 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32666         * Makeconfig (run-program-env): New variable.
32667         (run-program-prefix-before-env): Likewise.
32668         (run-program-prefix-after-env): Likewise.
32669         (run-program-prefix): Define in terms of new variables.
32670         (built-program-cmd-before-env): New variable.
32671         (built-program-cmd-after-env): Likewise.
32672         (built-program-cmd): Define in terms of new variables.
32673         (test-program-prefix-before-env): New variable.
32674         (test-program-prefix-after-env): Likewise.
32675         (test-program-prefix): Define in terms of new variables.
32676         (test-program-cmd-before-env): New variable.
32677         (test-program-cmd-after-env): Likewise.
32678         (test-program-cmd): Define in terms of new variables.
32679         * Rules (make-test-out): Use $(run-program-env).
32680         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32681         (help): Do not mention environment variables.  Mention
32682         --timeoutfactor option.
32683         (timeoutfactor): New variable.
32684         (blacklist_exports): Remove function.
32685         (exports): Remove variable.
32686         (command): Do not include ${exports}.
32687         * manual/install.texi (Configuring and compiling): Do not mention
32688         test wrappers preserving environment variables.  Mention that last
32689         assignment to a variable must take precedence.
32690         * INSTALL: Regenerated.
32691         * benchtests/Makefile (run-bench): Use $(run-program-env).
32692         * catgets/Makefile ($(objpfx)test1.cat): Use
32693         $(built-program-cmd-before-env), $(run-program-env) and
32694         $(built-program-cmd-after-env).
32695         ($(objpfx)test2.cat): Do not specify environment variables
32696         explicitly.
32697         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32698         $(run-program-env) and $(built-program-cmd-after-env).
32699         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32700         $(run-program-env) and $(test-program-cmd-after-env).
32701         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32702         explicitly.
32703         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32704         run_program_env and test_program_cmd_after_env arguments.
32705         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32706         * elf/tst-pathopt.sh: Use run_program_env argument.
32707         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32708         $(test-wrapper-env) and $(run-program-env).
32709         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32710         run_program_env arguments.
32711         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32712         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32713         $(test-program-prefix-before-env), $(run-program-env) and
32714         $(test-program-prefix-after-env).
32715         ($(objpfx)tst-gettext2.out): Likewise.
32716         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32717         run_program_env and test_program_prefix_after_env arguments.
32718         * intl/tst-gettext2.sh: Likewise.
32719         * intl/tst-gettext4.sh: Do not set environment variables
32720         explicitly.
32721         * intl/tst-gettext6.sh: Likewise.
32722         * intl/tst-translit.sh: Likewise.
32723         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32724         $(test-program-prefix-before-env), $(run-program-env) and
32725         $(test-program-prefix-after-env).
32726         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32727         run_program_env and test_program_prefix_after_env arguments.
32728         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32729         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32730         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32731         explicitly with each use of ${test_wrapper_env}.
32732         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32733         $(test-program-prefix-before-env), $(run-program-env) and
32734         $(test-program-prefix-after-env).
32735         * posix/tst-getconf.sh: Do not set environment variables
32736         explicitly.
32737         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32738         run_program_env and test_program_prefix_after_env arguments.
32739         * stdio-common/tst-printf.sh: Do not set environment variables
32740         explicitly.
32741         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32742         $(test-program-prefix-before-env), $(run-program-env) and
32743         $(test-program-prefix-after-env).
32744         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32745         run_program_env and test_program_prefix_after_env arguments.
32746         Split $test calls into $test_pre and $test.
32747         * timezone/Makefile (build-testdata): Use
32748         $(built-program-cmd-before-env), $(run-program-env) and
32749         $(built-program-cmd-after-env).
32751 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32753         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32754         strlen for non SHARED builds.
32756 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32758         * nptl/allocatestack.c (check_list): Inlined function...
32759         (__reclaim_stacks): ... here.
32761 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32763         [BZ #15698]
32764         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32765         memory overrun.
32767 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32769         * Rules (make-test-out): Include
32770         LOCPATH=$(common-objpfx)localedata in default environment.
32771         * debug/Makefile (tst-chk1-ENV): Remove variable.
32772         (tst-chk2-ENV): Likewise.
32773         (tst-chk3-ENV): Likewise.
32774         (tst-chk4-ENV): Likewise.
32775         (tst-chk5-ENV): Likewise.
32776         (tst-chk6-ENV): Likewise.
32777         (tst-lfschk1-ENV): Likewise.
32778         (tst-lfschk2-ENV): Likewise.
32779         (tst-lfschk3-ENV): Likewise.
32780         (tst-lfschk4-ENV): Likewise.
32781         (tst-lfschk5-ENV): Likewise.
32782         (tst-lfschk6-ENV): Likewise.
32783         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32784         (tst-iconv7-ENV): Likewise.
32785         * intl/Makefile (LOCPATH-ENV): Likewise.
32786         (tst-codeset-ENV): Likewise.
32787         (tst-gettext3-ENV): Likewise.
32788         (tst-gettext5-ENV): Likewise.
32789         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32790         (tst-fopenloc-ENV): Likewise.
32791         (tst-fgetws-ENV): Remove variable.
32792         (tst-ungetwc1-ENV): Likewise.
32793         (tst-ungetwc2-ENV): Likewise.
32794         (bug-ungetwc2-ENV): Likewise.
32795         (tst-swscanf-ENV): Likewise.
32796         (bug-ftell-ENV): Likewise.
32797         (tst-fgetwc-ENV): Likewise.
32798         (tst-fseek-ENV): Likewise.
32799         (tst-ftell-partial-wide-ENV): Likewise.
32800         (tst-ftell-active-handler-ENV): Likewise.
32801         (tst-ftell-append-ENV): Likewise.
32802         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32803         (tst-regexloc-ENV): Likewise.
32804         (bug-regex1-ENV): Likewise.
32805         (tst-regex-ENV): Likewise.
32806         (tst-regex2-ENV): Likewise.
32807         (bug-regex5-ENV): Likewise.
32808         (bug-regex6-ENV): Likewise.
32809         (bug-regex17-ENV): Likewise.
32810         (bug-regex18-ENV): Likewise.
32811         (bug-regex19-ENV): Likewise.
32812         (bug-regex20-ENV): Likewise.
32813         (bug-regex22-ENV): Likewise.
32814         (bug-regex23-ENV): Likewise.
32815         (bug-regex25-ENV): Likewise.
32816         (bug-regex26-ENV): Likewise.
32817         (bug-regex30-ENV): Likewise.
32818         (bug-regex32-ENV): Likewise.
32819         (bug-regex33-ENV): Likewise.
32820         (bug-regex34-ENV): Likewise.
32821         (bug-regex35-ENV): Likewise.
32822         (tst-rxspencer-ENV): Likewise.
32823         (tst-rxspencer-no-utf8-ENV): Likewise.
32824         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32825         (tst-sscanf-ENV): Likewise.
32826         (tst-swprintf-ENV): Likewise.
32827         (tst-swscanf-ENV): Likewise.
32828         (test-vfprintf-ENV): Likewise.
32829         (scanf13-ENV): Likewise.
32830         (bug14-ENV): Likewise.
32831         (tst-grouping-ENV): Likewise.
32832         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32833         (tst-strtod3-ENV): Likewise.
32834         (tst-strtod4-ENV): Likewise.
32835         (tst-strtod5-ENV): Likewise.
32836         (testmb2-ENV): Likewise./
32837         * string/Makefile (tst-strxfrm-ENV): Likewise.
32838         (tst-strxfrm2-ENV): Likewise.
32839         (bug-strcoll1-ENV): Likewise.
32840         (test-strcasecmp-ENV): Likewise.
32841         (test-strncasecmp-ENV): Likewise.
32842         * time/Makefile (tst-strptime-ENV): Likewise.
32843         (tst-ftime_l-ENV): Likewise.
32844         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32845         (tst-mbrtowc-ENV): Likewise.
32846         (tst-wcrtomb-ENV): Likewise.
32847         (tst-mbrtowc2-ENV): Likewise.
32848         (tst-c16c32-1-ENV): Likewise.
32849         (tst-mbsnrtowcs-ENV): Likewise.
32851 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32853         * manual/resource.texi (How to get information about the memory
32854         subsystem?): Fix typo.
32855         Reported by Peon de la Parra Ivan <peon@keba.com>
32857 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32859         [BZ #16882]
32860         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32861         (pthread_spin_lock): Branch out of spin loop to proper location.
32862         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32863         (pthread_spin_lock): Likewise.
32865         * nptl/tst-spin4.c: New test.
32866         * nptl/Makefile (tests): Add tst-spin4.
32868 2014-06-03  Andreas Schwab  <schwab@suse.de>
32870         [BZ #15946]
32871         * resolv/res_send.c (send_dg): Reload file descriptor after
32872         calling reopen.
32874 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32876         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32878 2014-06-03  Richard Henderson  <rth@redhat.com>
32880         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32881         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32882         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32883         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32884         in the SAVE_PID block.
32885         (__libc_vfork): New alias.
32886         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32888         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32889         child in registers, not on the stack.  Remove RESET_PID conditionals.
32890         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32892 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32894         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32896 2014-06-03  Wilco  <wdijkstr@arm.com>
32898         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32899         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32900         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32901         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32902         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32903         Likewise.
32905 2014-06-03  Wilco  <wdijkstr@arm.com>
32907         * sysdeps/aarch64/fpu/math_private.h
32908         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32909         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32910         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32911         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32912         Fix declarations.
32914 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32916         * crypt/crypt-private.h: Include ufc-crypt.h.
32917         (__b64_from_24bit): Declare extern.
32918         * crypt/crypt_util.c(__b64_from_24bit): New function.
32919         (b64t): New static const variable.
32920         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32921         (b64t): Remove variable.
32922         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32923         * crypt/sha256-crypt.c: Include crypt-private.h.
32924         (b64t): Remove variable.
32925         (__sha256_crypt_r): Remove b64_from_24bit and replace
32926         with __b64_from_24bit.
32927         * crypt/sha512-crypt.c: Likewise.
32929 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32931         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32932         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32933         Label the code __libc_vfork rather than __vfork.
32934         [!NOT_IN_libc] (vfork): Define as weak alias.
32935         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32936         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32937         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32939 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32941         * malloc/malloc.c (malloc_info): Fix format specifier for
32942         n_mmaps.
32944 2014-06-02  Wilco  <wdijkstr@arm.com>
32946         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32947         FPCR write.
32949 2014-06-02  Wilco  <wdijkstr@arm.com>
32951         [BZ #17009]
32952         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32953         Rewrite to reduce FPCR/FPSR accesses.
32955 2014-06-01  David S. Miller  <davem@davemloft.net>
32957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32959 2014-05-31  David S. Miller  <davem@davemloft.net>
32961         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32962         to occur in round to nearest mode when |x| >= 2.0
32964 2014-05-30  Richard Henderson  <rth@twiddle.net>
32966         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32967         (PSEUDO_RET_NOERRNO): Remove.
32968         (ret): Don't redefine.
32969         (ret_NOERRNO): Define in terms of ret.
32970         (ret_ERRVAL): Likewise.
32972         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32973         use of PSEUDO_RET; perform the error check directly.
32975 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32977         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32978         with __int128_t.
32980 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32982         * malloc/malloc (malloc_info): Fix formatting.
32984 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32985             Roland McGrath  <roland@hack.frob.com>
32987         * malloc/malloc (malloc_info): Also print mmapped statistics.
32989 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32991         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32992         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32994 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32996         * malloc/malloc.c (malloc_info): Inline mi_arena.
32998 2014-05-29  Richard Henderson  <rth@twiddle.net>
33000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33001         Remove comma before expanding ASM_ARGS_##nr.
33002         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33003         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33004         of ASM_ARGS_##nr.
33005         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33006         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33007         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33008         (ASM_ARGS_1): Add leading comma.
33010         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33011         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33012         to __errno_location.
33013         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33014         Remove the expected plt for __errno_location.
33016         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33017         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33018         call to __read_tp.
33020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33021         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33022         it and break it down.
33023         (DOCARGS_0, DOCARGS_1): Do nothing.
33024         (DOCARGS_2): Update to store into the new stack frame.
33025         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33026         (UNDOCARGS_1): Update to restore from the new stack frame.
33027         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33028         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33030         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33031         (SINGLE_THREAD_P): New parameter for result regno.
33032         (PSEUDO): Update to match; use cbz instead of beq.
33034         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33035         Use ENTRY to define the _nocancel entry point.  Share the syscall
33036         and syscall error check paths with the cancel path.
33037         (PSEUDO_END): New.
33039         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33040         whitespace; tabs before and after asm mnemonics.
33042 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33044         [BZ #15132]
33045         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33046         Call fstat64 or stat64 internally, depending on arguments passed.
33047         Replace stat buffer argument with file descriptor argument.
33048         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33049         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33050         Pass fd to __internal_statvfs instead of calling fstat64.
33051         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33052         Pass fd to __internal_statvfs64 instead of calling fstat64.
33053         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33054         Pass -1 to __internal_statvfs instead of calling stat64.
33055         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33056         Pass -1 to __internal_statvfs64 instead of calling stat64.
33058 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33060         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33061         that was previously under [RESET_PID].
33062         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33064         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33065         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33067 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33069         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33071         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33072         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33074 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33076         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33078 2014-05-27  Andreas Schwab  <schwab@suse.de>
33080         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33081         TLS_INIT_TP macro.
33082         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33083         * elf/rtld.c (init_tls, dl_main): Likewise.
33084         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33085         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33086         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33087         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33088         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33089         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33090         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33091         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33092         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33093         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33094         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33095         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33096         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33097         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33098         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33099         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33100         * sysdeps/generic/tls.h: Update description.
33102 2014-05-27  Will Newton  <will.newton@linaro.org>
33104         [BZ #16990]
33105         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33106         and restore r2 rather than just restoring.
33108 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33110         [BZ #16724]
33111         * libio/tst-ftell-append.c: New test case.
33112         * libio/Makefile (tests): Add test case.
33113         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33114         append mode.
33115         * libio/wfileops.c (do_ftell_wide): Likewise.
33117 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33121         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33122         ...
33123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33125         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33126         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33127         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33128         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33129         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33130         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33131         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33132         Moved ...
33133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33135         Moved ...
33136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33137         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33138         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33139         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33140         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33141         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33142         ...
33143         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33144         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33145         Moved ...
33146         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33147         here.
33148         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33149         ...
33150         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33151         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33152         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33154         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33155         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33156         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33157         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33159         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33160         merge into ...
33161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33163         ...
33164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33166         ...
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33169         Moved ...
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33171         here.
33172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33173         Moved ...
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33176         Moved ...
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33180         conditional [RESET_PID].
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33183         removed.
33184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33185         removed.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33188         <tcb-offsets.h>.
33189         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33190         (__libc_vfork): New strong alias.
33191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33192         removed.
33193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33194         Removed.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33197         <tcb-offsets.h>.
33198         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33199         (__libc_vfork): New strong alias.
33200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33201         removed.
33202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33203         removed.
33205 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33207         * malloc/malloc.c (mi_arena): New function.
33208         (malloc_info): Remove nested function mi_arena. Call non-nosted
33209         function mi_arena.
33211 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33213         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33214         by insrwi.
33215         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33216         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33217         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33218         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33219         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33220         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33221         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33223 2014-05-26  Andreas Schwab  <schwab@suse.de>
33225         [BZ #16984]
33226         * locale/programs/repertoire.c (repertoire_read): Add slash
33227         between I18NPATH element and file name.
33228         * locale/programs/locfile.c (locfile_read): Likewise.
33230 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33232         * nptl/pthread_mutexattr_settype.c
33233         (__pthread_mutexattr_settype):
33234         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33236 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33238         * nptl/tst-mutex5 (do_test):
33239         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33241 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33243         * benchtests/README: Document 'init' directive.
33244         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33245         BENCH_INIT.
33246         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33247         (parse_file): Recognize 'init' directive.
33249 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33251         [BZ #16796]
33252         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33253         alignment of struct pthread.
33255 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33257         [BZ #16878]
33258         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33259         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33260         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33261         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33263 2014-05-25  Richard Henderson  <rth@twiddle.net>
33265         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33266         (SINGLE_THREAD_P_PIC): Remove.
33267         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33268         (SINGLE_THREAD_P_PIC): Remove.
33270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33271         branch to syscall error ...
33272         (PSEUDO): ... here.
33273         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33274         from __local_syscall_error to .Lsyscall_error.
33275         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33276         (SYSCALL_ERROR): Update label name.
33278         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33279         Do not use DOARGS/UNDOARGS.
33280         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33281         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33282         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33283         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33284         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33287         block comment.
33289         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33290         define if !NOT_IN_libc.
33291         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33292         define with non-default symbol versions.
33294 2014-05-23  Richard Henderson  <rth@twiddle.net>
33296         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33297         (vfork, __vfork): Define via compat_symbol.
33299         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33300         [!HAVE_IFUNC] (vfork_compat): Remove.
33301         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33303 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33305         [BZ #16978]
33306         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33307         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33308         variable.
33310 2014-05-23  Richard Henderson  <rth@twiddle.net>
33312         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33313         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33314         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33315         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33317         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33318         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33319         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33320         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33321         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33322         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33323         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33324         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33325         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33326         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33327         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33328         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33329         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33330         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33331         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33332         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33333         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33334         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33336         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33338         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33339         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33340         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33341         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33343         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33344         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33345         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33346         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33347         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33348         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33349         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33350         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33351         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33354         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33356         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33357         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33358         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33359         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33360         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33361         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33362         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33364         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33365         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33366         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33368         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33370         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33371         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33372         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33374         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33375         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33376         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33377         before exiting on error.
33378         (__libc_vfork): New strong alias.
33379         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33380         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33382         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33383         that was previously under [RESET_PID].
33384         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33386         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33388 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33390         [BZ #16977]
33391         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33392         value when x - 1 is zero.
33393         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33394         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33395         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33396         0.0L for an argument of 1.0L.
33397         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33398         Likewise.
33399         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33400         value when x - 1 is zero.
33401         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33402         * sysdeps/i386/fpu/libm-test-ulps: Update.
33403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33405 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33407         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33408         alphasort and versionsort.
33410 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33412         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33413         macro.
33414         [copysignf]: Likewise.
33416 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33418         * crypt/md5-crypt.c: Fix formatting.
33420 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33422         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33423         (b64_from_24bit): New function.
33425 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33428         libc_hidden_builtin_def to ifunc.
33429         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33430         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33432 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33434         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33435         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33437 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33439         * nscd/Depend (linuxthreads): Remove.
33440         (nptl): Add.
33441         * resolv/Depend (linuxthreads): Remove.
33442         * rt/Depend (linuxthreads): Remove.
33444         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33445         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33446         $(common-objpfx)elf/.
33447         (link-libc-before-gnulib): Likewise.
33448         (elfobjdir): Remove variable.
33449         * Makefile (install): Use $(elf-objpfx) instead of
33450         $(common-objpfx)elf/.
33451         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33452         $(elfobjdir)/.
33453         (link-libc-deps): Likewise.
33454         ($(common-objpfx)libc.so): Likewise.
33455         ($(common-objpfx)linkobj/libc.so): Likewise.
33456         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33457         instead of $(common-objpfx)elf/.
33458         (symbolic-link-list): Likewise.
33459         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33460         [$(cross-compiling) = no]: Likewise.
33461         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33462         $(elfobjdir)/.
33463         (static-gnulib-arch): Likewise.
33464         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33465         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33466         $(common-objpfx)elf/.
33468 2014-05-21  Richard Henderson  <rth@redhat.com>
33470         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33471         (SINGLE_THREAD_P): Use the correct width load.  Fold
33472         into the ldr offset.
33474         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33475         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33477 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33479         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33480         (libgcc_s_resume): Use __attribute_used__.
33481         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33482         Likewise.
33484 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33486         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33487         optimization when used with float constants.
33489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33491 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33493         [BZ #16915]
33494         * locale/nl_langinfo_l.c: Make direct reference to every
33495         _nl_current_CATEGORY symbol.
33496         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33497         (tests-static): Add tst-langinfo-static.
33498         (tests-special): Add tst-langinfo-static.out.
33499         ($(objpfx)tst-langinfo.out): Redirect output.
33500         ($(objpfx)tst-langinfo-static.out): New.
33501         * localedata/tst-langinfo.sh: Send output to stdout.
33502         * localedata/tst-langinfo-static.c: New file.
33504         [BZ #16965]
33505         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33506         when the shift amount is modulo the limb size.
33508 2014-05-20  Richard Henderson  <rth@redhat.com>
33510         [BZ #16967]
33511         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33512         Change type of sa_flags from unsigned int to int.
33514         [BZ #16966]
33515         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33517         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33519 2014-05-20  Will Newton  <will.newton@linaro.org>
33521         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33522         Test the return value of the system call in the nocancel case.
33524 2014-05-20  Will Newton  <will.newton@linaro.org>
33525             Yvan Roux  <yvan.roux@linaro.org>
33527         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33528         #include of asm/ptrace.h.
33529         (PTRACE_GET_THREAD_AREA): Remove #undef.
33530         (PTRACE_GETHBPREGS): Likewise.
33531         (PTRACE_SETHBPREGS): Likewise.
33532         (struct user_regs_struct): New structure.
33533         (struct user_fpsimd_struct): New structure.
33534         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33535         #include of asm/ptrace.h and second #include of sys/user.h.
33536         (PTRACE_GET_THREAD_AREA): Remove #undef.
33537         (PTRACE_GETHBPREGS): Likewise.
33538         (PTRACE_SETHBPREGS): Likewise.
33539         (ELF_NGREG): Use new struct user_regs_struct.
33540         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33542 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33544         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33545         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33547 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33549         [BZ #16958]
33550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33551         membar to avoid block loads/stores to overlap previous stores.
33553 2014-05-17  Richard Henderson  <rth@redhat.com>
33555         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33556         Create the __##syscall_name##_nocancel entry point.
33557         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33558         Remove; let the sysdep-cancel.h code create it.
33560 2014-05-17  David S. Miller  <davem@davemloft.net>
33562         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33563         Protect with __USE_GNU.
33564         (TIOCSET_TEMPT): Likewise.
33565         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33566         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33567         these are already provided in bits/ioctl-types.h
33569 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33571         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33572         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33574         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33575         Use wait4 regardless of [__NR_waitpid].
33577 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33579         PR libgcc/60166
33580         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33581         (_FP_NANSIGN_Q): Set the quiet bit.
33583 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33585         * benchtests/Makefile
33586         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33587         not $(common-objpfx)math/libm.so.
33588         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33589         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33590         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33591         $(common-objpfx)dlfcn/libdl.so.
33592         ($(objpfx)tst-audit8): Depend on $(libm), not
33593         $(common-objpfx)math/libm.so.
33594         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33595         not $(common-objpfx)dlfcn/libdl.so.
33596         * math/Makefile
33597         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33598         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33599         [$(build-shared) = yes].
33600         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33601         $(common-objpfx)nptl/libpthread.so.
33602         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33603         $(common-objpfx)math/libm.so$(libm.so-version) or
33604         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33605         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33606         $(common-objpfx)dlfcn/libdl.so.
33607         * setjmp/Makefile (link-libm): Remove variable.
33608         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33609         * stdio-common/Makefile (link-libm): Remove variable.
33610         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33611         * stdlib/Makefile (link-libm): Remove variable.
33612         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33613         ($(objpfx)tst-strtod-round): Likewise.
33614         ($(objpfx)tst-tininess): Likewise.
33615         ($(objpfx)tst-strtod-underflow): Likewise.
33616         ($(objpfx)tst-strtod6): Likewise.
33617         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33618         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33619         $(common-objpfx)dlfcn/libdl.so.
33621 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33623         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33624         BSD terminal modes definitions.
33626 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33628         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33629         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33631         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33632         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33633         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33634         Don't do #include_next.
33635         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33636         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33637         Don't do #include_next.
33638         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33639         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33640         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33641         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33643 2014-05-16  Allan McRae  <allan@archlinux.org>
33645         * po/sv.po: Update Swedish translation from translation project.
33647         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33648         in sed expression.
33650 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33652         [BZ #16917]
33653         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33654         errno if the TIOCGPTN ioctl fails with an error different than
33655         EINVAL.
33656         * login/tst-ptsname.c: New file.
33657         * login/Makefile (tests): Add tst-ptsname.
33659         [BZ #16943]
33660         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33661         and prlimit64.
33663 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33665         [BZ #16849]
33666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33667         herrno to return EAI_AGAIN.
33669 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33671         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33672         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33673         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33674         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33675         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33676         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33678         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33679         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33680         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33681         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33682         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33683         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33684         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33685         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33686         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33690         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33691         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33692         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33693         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33694         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33695         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33696         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33697         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33698         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33699         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33700         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33702         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33704         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33706         Moved ...
33707         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33709         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33711         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33713         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33715         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33717         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33719         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33721         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33723         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33725         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33727         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33729         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33731         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33733         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33735         Moved ...
33736         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33738         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33740         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33742         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33744         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33748         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33750         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33752         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33754         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33756         Moved ...
33757         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33759         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33761         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33762         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33763         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33764         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33765         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33766         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33767         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33768         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33769         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33770         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33771         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33772         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33773         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33774         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33775         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33776         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33777         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33778         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33779         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33780         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33781         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33782         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33783         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33784         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33785         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33786         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33787         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33788         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33790         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33791         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33793         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33794         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33796         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33797         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33798         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33799         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33800         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33802         Moved ...
33803         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33804         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33805         Moved ...
33806         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33807         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33808         Moved ...
33809         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33811         Moved ...
33812         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33813         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33814         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33815         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33816         Moved ...
33817         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33818         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33819         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33820         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33821         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33822         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33823         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33825         Moved ...
33826         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33827         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33828         Moved ...
33829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33830         ... here.
33831         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33832         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33833         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33834         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33835         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33836         Moved ...
33837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33838         ... here.
33839         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33840         Moved ...
33841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33842         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33843         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33844         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33845         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33847         Moved ...
33848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33849         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33850         Moved ...
33851         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33852         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33853         Moved ...
33854         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33856         Moved ...
33857         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33858         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33859         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33860         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33861         Moved ...
33862         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33864         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33865         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33867         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33868         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33870         Moved ...
33871         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33872         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33873         Moved ...
33874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33875         ... here.
33876         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33877         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33878         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33879         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33880         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33881         Moved ...
33882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33883         ... here.
33884         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33885         Moved ...
33886         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33887         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33888         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33889         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33890         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33891         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33892         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33893         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33894         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33895         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33896         Moved ...
33897         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33898         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33899         Moved ...
33900         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33902         Moved ...
33903         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33905         Moved ...
33906         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33907         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33908         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33909         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33910         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33911         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33912         Moved ...
33913         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33914         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33915         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33917         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33918         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33919         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33921         Moved ...
33922         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33923         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33924         Moved ...
33925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33926         ... here.
33927         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33928         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33929         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33930         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33931         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33932         Moved ...
33933         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33934         ... here.
33935         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33936         Moved ...
33937         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33938         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33939         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33940         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33941         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33942         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33943         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33944         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33945         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33946         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33947         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33949         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33950         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33952         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33953         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33955         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33956         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33957         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33958         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33959         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33960         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33961         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33962         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33963         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33964         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33965         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33966         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33967         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33968         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33969         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33971         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33972         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33973         Moved ...
33974         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33978         Moved ...
33979         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33983         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33987         Moved ...
33988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33990         Moved ...
33991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33995         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33996         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33997         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33998         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33999         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34000         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34001         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34002         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34003         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34005         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34006         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34007         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34009         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34010         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34011         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34012         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34013         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34015         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34016         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34017         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34018         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34019         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34020         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34021         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34022         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34023         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34024         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34027         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34029         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34030         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34031         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34032         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34033         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34034         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34035         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34036         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34037         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34038         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34039         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34040         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34041         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34042         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34044         Update #include.
34045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34046         Likewise.
34047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34048         Likewise.
34049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34050         Likewise.
34051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34052         Likewise.
34053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34054         Likewise.
34055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34056         Likewise.
34057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34058         Likewise.
34059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34060         Likewise.
34061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34062         Likewise.
34063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34067         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34068         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34070         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34072         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34073         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34075         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34076         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34079         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34080         that was previously under [RESET_PID].
34081         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34082         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34083         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34085         * sysdeps/i386/nptl/Implies: New file.
34086         * sysdeps/x86_64/nptl/Implies: New file.
34087         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34088         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34089         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34090         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34092         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34093         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34094         (__libc_vfork): New strong alias.
34095         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34096         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34098         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34099         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34100         (__libc_vfork): New strong alias.
34101         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34102         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34104         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34105         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34106         (__libc_vfork): New strong alias.
34107         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34108         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34109         * nptl/pt-vfork.c: New file.
34110         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34111         (libpthread: GLIBC_2.20): New version set (empty).
34113 2014-05-14  Will Newton  <will.newton@linaro.org>
34115         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34116         rather than #if.
34118 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34120         [BZ #16564]
34121         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34122         arguments with exponent 65 or above.
34123         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34124         arguments 0x1p113L or above.
34125         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34126         to arguments 0x1p107L or above.
34127         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34128         positive arguments with exponent 65 or above.
34129         * math/auto-libm-test-in: Add more tests of log1p.
34130         * math/auto-libm-test-out: Regenerated.
34132         [BZ #16928]
34133         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34134         non-finite arguments is +0.
34135         * math/s_cacosf.c (__cacosf): Likewise.
34136         * math/s_cacosl.c (__cacosl): Likewise.
34137         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34138         * sysdeps/i386/fpu/libm-test-ulps: Update.
34139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34141         [BZ #16927]
34142         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34143         value.
34144         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34145         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34146         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34147         for explicit high bit of mantissa when testing for argument equal
34148         to 1.
34149         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34150         * sysdeps/i386/fpu/libm-test-ulps: Update.
34151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34153         [BZ #16516]
34154         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34155         (__erf): Scale by 16 instead of 8 in potentially underflowing
34156         case.  Ensure exception if result actually underflows.
34157         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34158         (__erff): Scale by 16 instead of 8 in potentially underflowing
34159         case.  Ensure exception if result actually underflows.
34160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34161         (efx8): Remove variable.
34162         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34163         case.  Ensure exception if result actually underflows.
34164         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34165         (efx8): Remove variable.
34166         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34167         case.  Ensure exception if result actually underflows.
34168         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34169         (efx8): Remove variable.
34170         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34171         case.  Ensure exception if result actually underflows.
34172         * math/auto-libm-test-in: Add more tests of erf.
34173         * math/auto-libm-test-out: Regenerated.
34175 2014-05-14  Andreas Schwab  <schwab@suse.de>
34177         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34178         Remove code conditionalized on USE___THREAD.
34180         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34181         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34182         not definedness.
34184 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34187         Define unconditionally.
34188         (__ASSUME_O_CLOEXEC): Likewise.
34189         (__ASSUME_SOCK_CLOEXEC): Likewise.
34190         (__ASSUME_IN_NONBLOCK): Likewise.
34191         (__ASSUME_PIPE2): Likewise.
34192         (__ASSUME_EVENTFD2): Likewise.
34193         (__ASSUME_SIGNALFD4): Likewise.
34194         (__ASSUME_DUP3): Likewise.
34195         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34196         (__ASSUME_DUP3): Do not define.
34197         (__ASSUME_EVENTFD2): Likewise.
34198         (__ASSUME_IN_NONBLOCK): Likewise.
34199         (__ASSUME_O_CLOEXEC): Likewise.
34200         (__ASSUME_PIPE2): Likewise.
34201         (__ASSUME_SIGNALFD4): Likewise.
34202         (__ASSUME_SOCK_CLOEXEC): Likewise.
34203         (__ASSUME_UTIMES): Undefine.
34204         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34205         (__ASSUME_UTIMES): Do not define.
34206         (__ASSUME_O_CLOEXEC): Likewise.
34207         (__ASSUME_SOCK_CLOEXEC): Likewise.
34208         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34209         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34210         0x020621].
34211         (__ASSUME_PIPE2): Likewise.
34212         (__ASSUME_EVENTFD2): Likewise.
34213         (__ASSUME_SIGNALFD4): Likewise.
34214         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34215         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34216         Do not define.
34217         (__ASSUME_EVENTFD2): Likewise.
34218         (__ASSUME_SIGNALFD4): Likewise.
34219         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34220         (__ASSUME_32BITUIDS): Likewise.
34221         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34222         (__ASSUME_IPC64): Likewise.
34223         (__ASSUME_ST_INO_64_BIT): Likewise.
34224         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34225         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34226         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34227         (__ASSUME_UTIMES): Do not define.
34228         (__ASSUME_PSELECT): Likewise.
34229         (__ASSUME_PPOLL): Likewise.
34230         (__ASSUME_O_CLOEXEC): Likewise.
34231         (__ASSUME_SOCK_CLOEXEC): Likewise.
34232         (__ASSUME_IN_NONBLOCK): Likewise.
34233         (__ASSUME_PIPE2): Likewise.
34234         (__ASSUME_EVENTFD2): Likewise.
34235         (__ASSUME_SIGNALFD4): Likewise.
34236         (__ASSUME_DUP3): Likewise.
34237         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34238         (__ASSUME_UTIMES): Likewise.
34239         (__ASSUME_O_CLOEXEC): Likewise.
34240         (__ASSUME_SOCK_CLOEXEC): Likewise.
34241         (__ASSUME_IN_NONBLOCK): Likewise.
34242         (__ASSUME_PIPE2): Likewise.
34243         (__ASSUME_EVENTFD2): Likewise.
34244         (__ASSUME_SIGNALFD4): Likewise.
34245         (__ASSUME_DUP3): Likewise.
34246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34247         (__ASSUME_UTIMES): Likewise.
34248         (__ASSUME_O_CLOEXEC): Likewise.
34249         (__ASSUME_SOCK_CLOEXEC): Likewise.
34250         (__ASSUME_IN_NONBLOCK): Likewise.
34251         (__ASSUME_PIPE2): Likewise.
34252         (__ASSUME_EVENTFD2): Likewise.
34253         (__ASSUME_SIGNALFD4): Likewise.
34254         (__ASSUME_DUP3): Likewise.
34255         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34256         Likewise.
34257         (__ASSUME_UTIMES): Likewise.
34258         (__ASSUME_EVENTFD2): Likewise.
34259         (__ASSUME_SIGNALFD4): Likewise.
34260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34261         (__ASSUME_O_CLOEXEC): Likewise.
34262         (__ASSUME_SOCK_CLOEXEC): Likewise.
34263         (__ASSUME_IN_NONBLOCK): Likewise.
34264         (__ASSUME_PIPE2): Likewise.
34265         (__ASSUME_EVENTFD2): Likewise.
34266         (__ASSUME_SIGNALFD4): Likewise.
34267         (__ASSUME_DUP3): Likewise.
34268         (__ASSUME_UTIMES): Undefine.
34270         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34271         feclearexcept.  Remove symbol versioning code.
34272         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34273         symbol versioning code.
34274         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34275         symbol versioning code.
34276         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34277         feupdateenv.  Remove symbol versioning code.
34278         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34279         fegetexceptflag.  Remove symbol versioning code.
34280         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34281         fesetexceptflag.  Remove symbol versioning code.
34282         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34283         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34284         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34285         (__posix_fadvise64_l32): Remove prototype.
34286         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34287         code.
34289 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34291         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34292         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34293         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34294         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34296 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34298         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34299         current working directory
34301 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34303         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34304         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34305         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34306         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34307         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34308         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34309         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34310         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34312         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34313         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34314         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34318         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34320         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34321         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34322         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34324         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34325         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34326         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34327         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34328         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34329         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34330         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34331         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34332         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34335         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34336         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34337         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34338         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34339         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34340         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34341         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34342         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34343         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34344         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34346         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34347         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34349         * sysdeps/unix/sysv/linux/arm/Makefile
34350         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34351         Add rt-aeabi_unwind_cpp_pr1.
34352         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34353         Add nptl-aeabi_unwind_cpp_pr1.
34354         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34355         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34356         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34357         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34358         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34359         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34361         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34362         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34363         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34364         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34366         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34367         Deconditionalize the code that was previously under [RESET_PID].
34368         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34370         * sysdeps/generic/exit-thread.h: New file.
34371         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34372         * include/unistd.h (__exit_thread): Remove declaration.
34373         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34374         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34375         * csu/libc-start.c: Include <exit-thread.h>.
34376         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34377         * nptl/pthread_create.c: Include <exit-thread.h>.
34378         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34379         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34380         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34381         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34382         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34383         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34384         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34385         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34386         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34387         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34388         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34389         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34390         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34391         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34392         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34393         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34394         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34396 2014-05-13  Andreas Schwab  <schwab@suse.de>
34398         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34400 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34402         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34403         (__ASSUME_UTIMES): Do not condition on kernel version.
34404         (__ASSUME_PSELECT): Define unconditionally.
34405         (__ASSUME_PPOLL): Likewise.
34406         (__ASSUME_ATFCTS): Likewise.
34407         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34408         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34409         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34410         (__ASSUME_UTIMENSAT): Define unconditionally.
34411         (__ASSUME_PRIVATE_FUTEX): Likewise.
34412         (__ASSUME_FALLOCATE): Likewise.
34413         (__ASSUME_O_CLOEXEC): Likewise.
34414         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34415         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34416         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34417         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34418         (__ASSUME_IN_NONBLOCK): Likewise.
34419         (__ASSUME_PIPE2): Likewise.
34420         (__ASSUME_EVENTFD2): Likewise.
34421         (__ASSUME_SIGNALFD4): Likewise.
34422         (__ASSUME_DUP3): Likewise.
34423         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34424         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34425         (__ASSUME_AT_RANDOM): Likewise.
34426         (__ASSUME_PREADV): Likewise.
34427         (__ASSUME_PWRITEV): Likewise.
34428         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34429         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34430         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34431         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34432         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34433         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34434         (__ASSUME_O_CLOEXEC): Define unconditionally.
34435         (__ASSUME_PSELECT): Do not undefine conditionally.
34436         (__ASSUME_PPOLL): Likewise.
34437         (__ASSUME_ATFCTS): Likewise.
34438         (__ASSUME_SET_ROBUST_LIST): Likewise.
34439         (__ASSUME_UTIMENSAT): Likewise.
34440         (__ASSUME_FDATASYNC): Define unconditionally.
34441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34442         (__ASSUME_SIGFRAME_V2): Likewise.
34443         )__ASSUME_EVENTFD2): Likewise.
34444         (__ASSUME_SIGNALFD4): Likewise.
34445         (__ASSUME_PSELECT): Do not undefine conditionally.
34446         (__ASSUME_PPOLL): Likewise.
34447         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34448         (__ASSUME_PSELECT): Define unconditionally.
34449         (__ASSUME_PPOLL): Likewise.
34450         (__ASSUME_O_CLOEXEC): Likewise.
34451         (__ASSUME_SOCK_CLOEXEC): Likewise.
34452         (__ASSUME_IN_NONBLOCK): Likewise.
34453         (__ASSUME_PIPE2): Likewise.
34454         (__ASSUME_EVENTFD2): Likewise.
34455         (__ASSUME_SIGNALFD4): Likewise.
34456         (__ASSUME_DUP3): Likewise.
34457         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34458         (__ASSUME_O_CLOEXEC): Likewise.
34459         (__ASSUME_SOCK_CLOEXEC): Likewise.
34460         (__ASSUME_IN_NONBLOCK): Likewise.
34461         (__ASSUME_PIPE2): Likewise.
34462         (__ASSUME_EVENTFD2): Likewise.
34463         (__ASSUME_SIGNALFD4): Likewise.
34464         (__ASSUME_DUP3): Likewise.
34465         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34466         (__ASSUME_EVENTFD2): Likewise.
34467         (__ASSUME_SIGNALFD4): Likewise.
34468         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34470 2014-05-12  Andreas Schwab  <schwab@suse.de>
34472         [BZ #16932]
34473         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34474         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34475         than maximum RPC packet size.
34476         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34477         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34478         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34479         (_nss_nis_getservbyport_r): Likewise.
34481 2014-05-12  Will Newton  <will.newton@linaro.org>
34483         * malloc/Makefile (tests): Add tst-mallopt.
34484         * malloc/tst-mallopt.c: New file.
34486 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34488         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34489         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34491 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34493         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34494         (tst-tlsmod6.so): Likewise.
34496 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34498         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34500 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34502         [BZ #16064]
34503         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34504         and <dl-procinfo.h>.
34505         (__fegetenv): Save SSE state in envp->__eip if supported.
34506         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34507         envp->__eip if supported.
34508         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34509         and <dl-procinfo.h>.
34510         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34511         __data_offset and __data_selector in environment to 0.  Set SSE
34512         state if supported.
34513         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34514         test-fenv-sse.
34515         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34516         -mfpmath=sse.
34517         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34519 2014-05-09  Will Newton  <will.newton@linaro.org>
34521         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34522         and libc_relro_required for ARM.
34523         * sysdeps/arm/preconfigure: Regenerate.
34525 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34526             Stefan Liebler  <stli@linux.vnet.ibm.com>
34528         * config.make.in (enable-lock-elision): New Makefile variable.
34529         * configure.ac: Likewise.
34530         * configure: Regenerate.
34531         * sysdeps/s390/configure.ac:
34532         Add check for gcc transactions support.
34533         * sysdeps/s390/configure: Regenerate.
34534         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34535         Build elision files if enabled.
34536         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34537         Add lock elision support for s390.
34538         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34539         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34540         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34541         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34542         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34543         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34545         Likewise.
34546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34547         Likewise.
34548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34549         Likewise.
34550         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34551         Likewise.
34552         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34553         (__lll_timedlock_elision, __lll_lock_elision)
34554         (__lll_unlock_elision, __lll_trylock_elision)
34555         (lll_timedlock_elision, lll_lock_elision)
34556         (lll_unlock_elision, lll_trylock_elision): Add.
34557         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34558         (pthread_mutex_t): Add lock elision support for s390.
34560 2014-05-14  Wilco  <wdijkstr@arm.com>
34562         * sysdeps/arm/fclrexcpt.c: Cleanup.
34563         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34564         * sysdeps/arm/feenablxcpt.c: Cleanup.
34565         * sysdeps/arm/fegetenv.c: Cleanup.
34566         * sysdeps/arm/fegetexcept.c: Cleanup.
34567         * sysdeps/arm/fegetround.c: Cleanup.
34568         * sysdeps/arm/feholdexcpt.c: Cleanup.
34569         * sysdeps/arm/fesetenv.c: Cleanup.
34570         * sysdeps/arm/fesetround.c: Cleanup.
34571         * sysdeps/arm/feupdateenv.c: Cleanup.
34572         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34573         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34574         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34575         * sysdeps/arm/ftestexcept.c: Cleanup.
34576         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34577         * sysdeps/arm/setfpucw.c: Cleanup.
34579 2014-05-09  Will Newton  <will.newton@linaro.org>
34581         * sysdeps/arm/armv7/strcmp.S: New file.
34582         * NEWS: Mention addition of ARMv7 optimized strcmp.
34584 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34586         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34587         look for %.ac rather than %.in.
34589         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34590         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34591         * sysdeps/mach/hurd/configure: Regenerated.
34592         * sysdeps/unix/sysv/linux/configure: Regenerated.
34594         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34596 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34598         [BZ# 16922]
34599         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34600         (LONG_SUB): Ditto.
34601         (PTR_SUB): Ditto.
34603 2014-05-07  Andreas Schwab  <schwab@suse.de>
34605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34606         when skipping over non-matching result from nscd.
34608 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34610         [BZ #16876]
34611         * nptl/sockperf.c (client): Check socket return value.
34613         [BZ #16877]
34614         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34615         nscd security class.
34617 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34619         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34620         * sysdeps/arm/unwind.h: ... here.
34622 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34624         [BZ# 16916]
34625         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34626         Define.
34628 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34630         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34631         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34632         multiarch strncpy for PPC64.
34633         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34634         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34636         multiarch optimizations.
34637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34638         (__libc_ifunc_impl_list): Likewise.
34639         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34640         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34641         multiarch stpncpy for PPC64.
34642         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34643         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34645 2014-05-06  Andreas Schwab  <schwab@suse.de>
34647         [BZ #16912]
34648         * gmon/mcount.c (_MCOUNT_DECL): Use
34649         atomic_compare_and_exchange_bool_acq instead of
34650         catomic_compare_and_exchange_bool_acq.
34652 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34654         * elf/Makefile (others, install-bin): Remove pldd.
34655         (pldd-modules): Variable removed.
34656         ($(objpfx)pldd): Target removed.
34657         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34658         (others, install-bin): Append pldd here.
34659         ($(objpfx)pldd): New target.
34661         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34662         to 0, so the first #if test emitted later doesn't see it undefined.
34663         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34664         * sysdeps/gnu/errlist.c: Regenerated.
34666 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34668         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34669         [libc_hidden_builtin_def]: Define to empty value.
34670         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34671         [libc_hidden_builtin_def]: Likewise.
34672         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34673         [libc_hidden_builtin_def]: Likewise.
34674         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34675         [libc_hidden_builtin_def]: Likewise.
34676         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34677         __redirect_memcpy and define ifunc as default hidden symbol.
34678         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34679         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34681 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34683         * locale/iso-4217.def: Reintroduce XDR currency.
34685 2014-05-04  Allan McRae  <allan@archlinux.org>
34687         * po/eo.po: Update Esperanto translation from translation project.
34689 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34691         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34692         and FEATURE_INDEX_MAX to 1.
34693         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34695 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34697         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34698         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34699         * iconvdata/big5.c (ONE_DIRECTION): Define.
34700         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34701         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34702         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34703         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34704         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34705         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34706         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34707         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34708         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34709         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34710         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34711         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34712         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34713         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34714         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34715         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34716         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34717         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34718         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34719         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34720         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34721         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34722         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34723         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34724         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34725         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34726         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34727         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34728         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34729         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34730         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34731         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34732         * iconvdata/johab.c (ONE_DIRECTION): Define.
34733         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34734         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34735         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34736         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34737         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34738         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34739         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34740         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34741         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34742         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34744 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34746         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34747         (_IO_JUMPS_OFFSET): Define to 0.
34749         * nptl/sysdeps/pthread/bits/libc-lock.h
34750         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34751         (__libc_lock_define_initialized_recursive): Always define using
34752         initializer.  Modern compilers treat uninitialized (implicit zero) and
34753         explicit zero initializers the same (i.e. put the datum in bss).
34755 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34757         * nscd/nscd-client.h: Include <string.h>.
34759 2014-05-01  David S. Miller  <davem@davemloft.net>
34761         [BZ #16885]
34762         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34763         multiple zero bytes exist at the end of a string.
34764         Reported by Aurelien Jarno <aurelien@aurel32.net>
34766         * string/test-strcmp.c (check): Add explicit test for situations where
34767         there are multiple zero bytes after the first.
34769 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34771         [BZ #16890]
34772         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34773         when compiling wprintf.
34774         * stdio-common/tstdiomisc.c (t3): New function.
34775         (main): Call it.
34777 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34779         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34780         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34781         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34782         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34784 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34786         * stdlib/longlong.h: Updated from GCC.
34788 2014-05-01  Will Newton  <will.newton@linaro.org>
34789             Bernard Ogden  <bernie.ogden@linaro.org>
34791         * NEWS: Update fixed bug list.
34793         [BZ #15119]
34794         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34796 2014-04-30  David S. Miller  <davem@davemloft.net>
34798         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34799         (libc_feholdexcept_setround_sparc_ctx): New function.
34800         (libc_fesetenv_sparc_ctx): Likewise.
34801         (libc_feupdateenv_sparc_ctx): Likewise.
34802         (libc_feholdsetround_sparc_ctx): Likewise.
34803         (libc_feholdexcept_setround_ctx): Define.
34804         (libc_feholdexcept_setroundf_ctx): Likewise.
34805         (libc_feholdexcept_setroundl_ctx): Likewise.
34806         (libc_fesetenv_ctx): Likewise.
34807         (libc_fesetenvf_ctx): Likewise.
34808         (libc_fesetenvl_ctx): Likewise.
34809         (libc_feupdateenv_ctx): Likewise.
34810         (libc_feupdateenvf_ctx): Likewise.
34811         (libc_feupdateenvl_ctx): Likewise.
34812         (libc_feresetround_ctx): Likewise.
34813         (libc_feresetroundf_ctx): Likewise.
34814         (libc_feresetroundl_ctx): Likewise.
34815         (libc_feholdsetround_ctx): Likewise.
34816         (libc_feholdsetroundf_ctx): Likewise.
34817         (libc_feholdsetroundl_ctx): Likewise.
34819         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34820         with __USE_GNU instead of XOPEN cpp guards.
34822         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34823         0.
34825         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34826         with XOPEN cpp guards.
34828 2014-04-30  Julian Brown  <julian@codesourcery.com>
34830         [BZ #16888]
34831         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34832         handling.
34834 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34836         [BZ #9894]
34837         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34838         Change to 2.6.32.
34839         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34840         * sysdeps/unix/sysv/linux/configure: Regenerated.
34841         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34842         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34843         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34844         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34845         * README: Update reference to required Linux kernel version.
34846         * manual/install.texi (Linux): Update reference to required Linux
34847         kernel headers version.
34848         * INSTALL: Regenerated.
34850         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34851         header inclusion.
34852         [POSIX] (limits.h): Likewise.
34853         [POSIX] (math.h): Likewise.
34854         [POSIX] (sys/wait.h): Likewise.
34855         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34856         function.
34857         [POSIX] (stddef.h): Do not allow header inclusion.
34859 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34861         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34863 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34865         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34866         Return immediately after lll_futex_wake.
34868 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34870         [BZ #16791]
34871         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34872         structure.
34873         (datahead_init_pos): Call datahead_init_common early.
34874         (datahead_init_neg): Likewise.
34876         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34877         datahead_init_neg): New functions.
34878         * nscd/aicache.c (addhstaiX): Use them.
34879         * nscd/grpcache.c (cache_addgr): Likewise.
34880         * nscd/hstcache.c (cache_addhst): Likewise.
34881         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34882         * nscd/netgroupcache.c (do_notfound): Likewise.
34883         (addgetnetgrentX): Likewise.
34884         (addinnetgrX): Likewise.
34885         * nscd/pwdcache.c (cache_addpw): Likewise.
34886         * nscd/servicescache.c (cache_addserv): Likewise.
34888 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34889             Atsushi Onoe  <atsushi@onoe.org>
34891         [BZ #14308]
34892         [BZ #12994]
34893         [BZ #13651]
34894         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34895         one response is valid.
34896         * resolv/res_send.c (send_dg): Check for validity of other
34897         response if the current response is a referral.
34899 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34901         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34903 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34905         [BZ #16823]
34906         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34907         Always divide by positive zero when computing -Inf result.
34908         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34909         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34911 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34913         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34914         FPSCR if value do not change.
34915         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34916         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34917         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34918         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34919         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34920         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34921         function.
34923 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34925         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34926         * sysdeps/unix/sysv/linux/hppa: Move directory from
34927         ports/systeps/unix/sysv/linux/hppa.
34928         * README: Update listing for hppa-*-linux-gnu.
34930 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34932         [BZ #16754]
34933         * manual/stdio.texi (Hook functions): Fix types of stream hook
34934         functions.
34935         [BZ #16854]
34936         * socket/sys/socket.h: Fix typo in comment.
34938 2014-04-28  Wilco  <wdijkstr@arm.com>
34940         * sysdeps/arm/fenv_private.h: New file.
34941         * sysdeps/arm/math_private.h: New file.
34942         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34944 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34946         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34947         with __int128_t.
34948         (La_x86_64_retval): Likewise.
34950 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34952         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34953         fpsr if value didn't change.
34954         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34955         to fpcr if value didn't change.
34956         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34957         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34958         fpsr or fpcr if value didn't change.
34959         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34960         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34961         fpcr if value didn't change.
34962         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34963         to fpsr if value didn't change.
34965 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967         * nptl/tst-sem3.c: Use test-skeleton.c
34968         (main): Rename to do_test.  Use return instead of
34969         exit.
34970         * nptl/tst-sem4.c: Use test-skeleton.c
34971         (main): Rename to do_test.
34973 2014-04-22  David S. Miller  <davem@davemloft.net>
34975         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34976         (struct sigaction): New struct member __glibc_reserved0, change
34977         type of sa_flags to int.
34979 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34981         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34982         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34984 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34986         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34987         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34989 2014-04-22  Will Newton  <will.newton@linaro.org>
34990             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34992         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34993         (__longjmp): Add longjmp and longjmp_target SystemTap
34994         probes.
34995         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34996         (__sigsetjmp): Add setjmp SystemTap probe.
34998 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35000         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35001         match manual order.
35003 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35005         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35007         * sysdeps/powerpc/fpu/fenv_private.h
35008         (libc_feholdexcept_setroundl_ctx): Define to
35009         libc_feholdexcept_setround_ppc_ctx.
35010         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35011         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35012         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35013         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35015 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35017         * sysdeps/aarch64/math-tests.h: New file.
35019 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35021         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35022         New.
35023         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35024         Check and set bit_AVX2_Usable.
35025         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35026         macro.
35027         (bit_AVX2): Likewise.
35028         (index_AVX2_Usable): Likewise.
35029         (CPUID_AVX2): Likewise.
35030         (HAS_AVX2): Likewise.
35032 2014-04-17  Will Newton  <will.newton@linaro.org>
35034         * manual/setjmp.texi (System V contexts): Add note that
35035         calling setcontext on a context created by a call to a
35036         signal handler is undefined.  Update text to note that
35037         setcontext from a signal handler is possible but not
35038         recommended.
35040         [BZ #16629]
35041         * stdlib/tst-setcontext.c: Include signal.h.
35042         (main): Check that the signal stack before and
35043         after swapcontext is the same.
35045         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35046         Re-implement to restore registers in user code and avoid
35047         rt_sigreturn system call.
35049 2014-04-17  Wilco  <wdijkstr@arm.com>
35051         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35052         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35053         * math/test-fenv.c: Skip exception trap tests on targets which only
35054         support non-stop mode.
35056 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35057             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35059         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35060         (libc_feholdsetround_aarch64_ctx)
35061         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35062         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35063         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35064         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35065         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35066         (libc_feresetround_noexl_ctx): Define.
35068 2014-04-16  Richard Henderson  <rth@redhat.com>
35070         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35072         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35073         unwind tables.
35075         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35076         const from the non-libc, non-ldso copy.
35078         * sysdeps/alpha/libm-test-ulps: Regenerate.
35080 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35081             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35083         * sysdeps/aarch64/fpu/math_private.h: New file.
35085 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35087         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35089 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35091         [BZ #16275]
35092         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35093         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35095         Intel MPX bound registers before _dl_profile_fixup.
35096         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35097         registers after _dl_profile_fixup.  Save and restore bound
35098         registers bnd0/bnd1 when calling _dl_call_pltexit.
35099         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35100         (LR_BND_OFFSET): Likewise.
35101         (LRV_BND0_OFFSET): Likewise.
35102         (LRV_BND1_OFFSET): Likewise.
35104 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35106         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35107         to...
35108         * sysdeps/mach/hurd/i386/tls.h: ... here.
35109         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35110         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35111         fields.
35113 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35115         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35117 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35119         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35121 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35123         [BZ #14770]
35124         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35125         * sysdeps/s390/configure: Regenerate.
35127         [BZ #16824]
35128         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35129         Set round-to-nearest internally to reduce error accumulation.
35131 2014-04-16  Alan Modra  <amodra@gmail.com>
35133         [BZ #16740]
35134         [BZ #16619]
35135         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35136         * math/libm-test.inc (frexp_test_data): Add tests.
35137         * NEWS: Update fixed bug list.
35139 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35141         * benchtests/Makefile: Depend on libraries in build directory.
35142         (bench-math): Separate out math tests.
35143         (bench-pthread): Separate out pthread tests.
35144         (bench): Include math and pthread tests.
35146 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35148         [BZ #16831]
35149         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35150         _dl_debug_initialize.
35152         * configure.ac: Remove SELinux header check.
35153         * configure: Regenerate.
35154         * nscd/selinux.c (perms): Array of const char* to permission names.
35155         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35156         default policy. Call string_to_security_class and string_to_av_perm to
35157         translate strings. Enforce default policy and call avs_has_perm with
35158         results of translated strings.
35160 2014-04-13  David S. Miller  <davem@davemloft.net>
35162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35164 2014-04-12  Allan McRae  <allan@archlinux.org>
35166         [BZ #16838]
35167         * manual/string.texi (Collation Functions): Fix qsort argument
35168         order in example.
35169         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35171 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35173         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35174         Make the test a no-op if there are no exceptions defined.
35176 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35178         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35179         enable-hardcoded-path-in-tests
35181 2014-04-11  Will Newton  <will.newton@linaro.org>
35183         * benchtests/Makefile (extra-objs): Add json-lib.o.
35184         (bench-func): Tidy up JSON output.
35185         * benchtests/bench-skeleton.c: Include json-lib.h.
35186         (main): Use JSON library functions to do output of
35187         benchmark results.
35188         * benchtests/bench-timing-type.c (main): Output the
35189         timing type simply, leaving formatting to the user.
35190         * benchtests/json-lib.c: New file.
35191         * benchtests/json-lib.h: Likewise.
35193 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35195         [BZ #15215]
35196         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35197         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35198         memory barriers.  Add comments.
35199         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35200         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35201         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35202         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35203         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35204         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35206 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35208         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35209         * sysdeps/s390/s390-64/configure.ac: ... this ...
35210         * sysdeps/s390/configure.ac: ... to here.
35211         * sysdeps/s390/s390-32/configure: Delete file.
35212         * sysdeps/s390/s390-64/configure: Delete file.
35213         * sysdeps/s390/configure: Regenerate.
35215 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35217         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35219 2014-04-11  Will Newton  <will.newton@linaro.org>
35221         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35222         to zero if it is not defined elsewhere.  (mtrim): Test
35223         the value of MALLOC_DEBUG with #if rather than #ifdef.
35225 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35227         * benchtests/pthread_once-inputs: New file.
35228         * benchtests/pthread_once-source.c: New file.
35229         * benchtests/README: Update documentation.
35231 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35232             H.J. Lu  <hongjiu.lu@intel.com>
35234         [BZ #16275]
35235         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35236         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35237         * sysdeps/x86_64/configure: Regenerated.
35238         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35239         macro.
35240         (REGISTER_SAVE_RAX): Likewise.
35241         (REGISTER_SAVE_RCX): Likewise.
35242         (REGISTER_SAVE_RDX): Likewise.
35243         (REGISTER_SAVE_RSI): Likewise.
35244         (REGISTER_SAVE_RDI): Likewise.
35245         (REGISTER_SAVE_R8): Likewise.
35246         (REGISTER_SAVE_R9): Likewise.
35247         (REGISTER_SAVE_BND0): Likewise.
35248         (REGISTER_SAVE_BND1): Likewise.
35249         (REGISTER_SAVE_BND2): Likewise.
35250         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35251         bound registers when calling _dl_fixup.
35253 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35255         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35256         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35257         of its definition.
35258         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35259         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35260         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35261         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35262         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35263         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35264         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35266 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35268         [BZ #15514]
35269         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35270         pathconf(_PC_NAME_MAX).
35272 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35274         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35275         Remove macro usage.
35276         (__PTHREAD_SPINS): Move definition to ...
35277         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35278         (__PTHREAD_SPINS): ... here.
35279         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35280         (__PTHREAD_SPIN): Likewise.
35281         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35282         (__PTHREAD_SPIN): Likewise.
35283         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35284         (__PTHREAD_SPIN): Likewise.
35285         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35286         (__PTHREAD_SPIN): Likewise.
35287         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35288         (__PTHREAD_SPIN): Likewise.
35289         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35290         (__PTHREAD_SPIN): Likewise.
35291         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35292         (__PTHREAD_SPIN): Likewise.
35293         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35294         (__PTHREAD_SPIN): Likewise.
35295         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35296         (__PTHREAD_SPIN): Likewise.
35297         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35298         (__PTHREAD_SPIN): Likewise.
35299         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35300         (__PTHREAD_SPIN): Likewise.
35301         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35302         (__PTHREAD_SPIN): Likewise.
35304         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35305         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35306         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35307         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35308         imply folder.
35309         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35310         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35311         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35312         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35313         correct imply path.
35314         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35315         strlen symbol for non multi-arch builds.
35316         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35317         missing hidden_def and weak_alias.
35319 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35321         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35323 2014-04-07  Will Newton  <will.newton@linaro.org>
35325         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35326         and contents.  [!_LIBC] Remove #ifndef and contents.
35327         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35328         * string/memccpy.c (__memccpy): Use ANSI prototype.
35329         * string/memfrob.c (memfrob): Likewise.
35330         * string/strcoll.c (STRCOLL): Likewise.
35331         * string/strlen.c (strlen): Likewise.
35332         * string/strtok.c (STRTOK): Likewise.
35333         * string/strcat.c: Remove unused #include of memcopy.h.
35334         (strcat): Use ANSI prototype.
35335         * string/strchr.c: Remove unused #include of memcopy.h.
35336         (strchr): Use ANSI prototype.
35337         * string/strcmp.c: Remove unused #include of memcopy.h.
35338         (strcmp): Use ANSI prototype.
35339         * string/strcpy.c: Remove unused #include of memcopy.h.
35340         (strcpy): Use ANSI prototype.
35342 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35344         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35345         * config.make.in (config-extra-cppflags): Set it from
35346         libc_extra_cppflags.
35347         * configure.ac (libc_extra_cflags): Make it accumulate over
35348         configure fragments.
35349         (libc_extra_cppflags): New flag.
35350         * configure. Regenerate.
35351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35352         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35353         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35356         [BZ #16815]
35357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35358         result for FE_DOWNWARD rounding mode.
35359         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35360         Likewise.
35361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35363 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35365         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35366         in function argument name.
35368 2014-04-03  David Svoboda  <svoboda@cert.org>
35370         [BZ #5666]
35371         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35372         explicitly.
35374 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35376         * elf/dl-unmap-segments.h: New file.
35377         * sysdeps/generic/ldsodefs.h
35378         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35379         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35380         * elf/dl-fptr.c: Likewise.
35381         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35382         * sysdeps/aarch64/tlsdesc.c: Likewise.
35383         * sysdeps/arm/tlsdesc.c: Likewise.
35384         * sysdeps/i386/tlsdesc.c: Likewise.
35385         * sysdeps/tile/dl-runtime.c: Likewise.
35386         * sysdeps/x86_64/tlsdesc.c: Likewise.
35387         * elf/dl-load.h: New file.
35388         * elf/dl-load.c: Include it.
35389         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35390         Macros moved to dl-load.h.
35391         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35392         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35393         Use _dl_unmap_segments in place of __munmap.
35394         Break out segment-mapping loop into ...
35395         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35397 2014-04-03  Will Newton  <will.newton@linaro.org>
35399         * elf/dl-lookup.c (do_lookup_x): Remove comment
35400         referring to nested function and move variable
35401         declarations down to before first use.
35403 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35405         [BZ #16799]
35406         [BZ #16800]
35407         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35408         with 0 numerator.
35409         * math/s_catanf.c (__catanf): Likewise.
35410         * math/s_catanh.c (__catanh): Likewise.
35411         * math/s_catanhf.c (__catanhf): Likewise.
35412         * math/s_catanhl.c (__catanhl): Likewise.
35413         * math/s_catanl.c (__catanl): Likewise.
35414         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35415         by positive zero when computing -Inf result.
35416         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35417         (catanh_test): Likewise.
35418         * sysdeps/i386/fpu/libm-test-ulps: Update.
35419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35421         [BZ #16789]
35422         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35423         instead of using underflowing value in computing result.
35424         * math/s_clog10.c (__clog10): Likewise.
35425         * math/s_clog10f.c (__clog10f): Likewise.
35426         * math/s_clog10l.c (__clog10l): Likewise.
35427         * math/s_clogf.c (__clogf): Likewise.
35428         * math/s_clogl.c (__clogl): Likewise.
35429         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35430         (clog10_test): Likewise.
35431         * sysdeps/i386/fpu/libm-test-ulps: Update.
35432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35434 2014-04-02  Alan Modra  <amodra@gmail.com>
35436         [BZ #16739]
35437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35438         output when value is near a power of two.  Use int64_t for lx and
35439         remove casts.  Use decimal rather than hex exponent constants.
35440         Don't use long double multiplication when double will suffice.
35441         * math/libm-test.inc (nextafter_test_data): Add tests.
35442         * NEWS: Add 16739 and 16786 to bug list.
35444         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35446         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35448 2014-04-01  Will Newton  <will.newton@linaro.org>
35450         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35451         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35453 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35455         [BZ #13347]
35456         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35457         * nptl/tst-setuid2.c: New file.
35458         * nptl/Makefile (xtests): Add tst-setuid2.
35460 2014-04-01  Alan Modra  <amodra@gmail.com>
35462         [BZ #16786]
35463         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35465 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35467         [BZ #6803]
35468         [BZ #6804]
35469         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35470         set errno as appropriate.
35471         * math/w_scalbf.c (__scalbf): Likewise.
35472         * math/w_scalbl.c (__scalbl): Likewise.
35473         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35474         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35475         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35476         Add more NaN tests.
35478         [BZ #16349]
35479         * math/w_atan2.c: Include <errno.h>.
35480         (__atan2): Set errno for result underflowing to zero.
35481         * math/w_atan2f.c: Include <errno.h>.
35482         (__atan2f): Set errno for result underflowing to zero.
35483         * math/w_atan2l.c: Include <errno.h>.
35484         (__atan2l): Set errno for result underflowing to zero.
35485         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35486         tests.
35487         * math/auto-libm-test-out: Regenerated.
35489 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35491         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35492         Encode instruction correctly in little endian.
35493         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35494         Likewise.
35495         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35496         Likewise.
35497         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35498         Likewise.
35499         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35500         Likewise.
35502 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35504         [BZ #9894]
35505         * sysdeps/unix/sysv/linux/kernel-features.h
35506         [__sparc__ && !__arch64__ && !__sparc_v9__]
35507         (__ASSUME_SET_ROBUST_LIST): Do not define.
35508         [__sparc__ && !__arch64__ && !__sparc_v9__]
35509         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35510         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35511         Likewise.
35512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35513         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35514         (__ASSUME_REQUEUE_PI): Likewise.
35515         (__ASSUME_SET_ROBUST_LIST): Likewise.
35516         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35517         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35518         Undefine.
35519         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35520         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35521         Likewise.
35522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35523         Likewise.
35524         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35525         Likewise.
35526         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35527         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35528         Undefine.
35529         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35530         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35531         Likewise.
35533         [BZ #16648]
35534         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35536         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35538 2014-03-31  Will Newton  <will.newton@linaro.org>
35540         * benchtests/Makefile (bench): Add ffs and ffsll to list
35541         of tests.
35542         * benchtests/ffs-inputs: New file.
35543         * benchtests/ffsll-inputs: Likewise.
35545 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35547         [BZ #16770]
35548         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35549         too large before casting to int.
35550         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35551         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35552         * math/libm-test.inc (scalb_test_data): Add more tests.
35554 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35556         * benchtests/Makefile (DETAILED_OPT): New make option.
35557         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35558         set.
35559         * benchtests/bench-skeleton.c: Include stdbool.h.
35560         (main): Store and print timings per input.
35561         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35562         member to each argument value.
35563         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35564         (_print_arg_data): Initialize per-input timing to 0.
35566         * benchtests/Makefile (timing-type): New binary.
35567         (bench-clean): Also remove bench-timing-type.
35568         (bench): New target for timing-type.
35569         (bench-func): Print output in JSON format.
35570         * benchtests/bench-skeleton.c (main): Print output in JSON
35571         format.
35572         * benchtests/bench-timing-type.c: New file.
35573         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35574         (TIMING_PRINT_STATS): Remove.
35575         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35576         name separately.
35578         * benchtests/bench-modf.c: Remove.
35579         * benchtests/modf-inputs: New inputs file.
35581 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35583         [BZ #16362]
35584         * math/s_clog10.c (M_PI_LOG10E): New macro.
35585         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35586         imaginary parts are 0.
35587         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35588         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35589         imaginary parts are 0.
35590         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35591         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35592         imaginary parts are 0.
35593         * math/libm-test.inc (clog10_test_data): Update expected results
35594         for when real and imaginary parts are 0.
35596 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35598         * elf/dl-load.c: Finish conversion of __builtin_expect into
35599         __glibc_{un}likely.
35601 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35603         [BZ #16348]
35604         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35605         1+x for argument with exponent below -67.
35606         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35607         Likewise.
35608         * math/auto-libm-test-in: Add more tests of exp.
35609         * math/auto-libm-test-out: Regenerated.
35611 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35613         [BZ #16759]
35614         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35615         (nscd_getnetgrent): Use it.
35617         [BZ #16760]
35618         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35619         of stpcpy.
35621 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35623         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35624         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35625         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35626         (lll_robust_unlock): Remove out of line section. Use cfi
35627         intrinsics.
35628         (LLL_STUB_UNWIND_INFO*): Remove.
35629         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35630         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35631         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35632         (lll_robust_unlock): Remove out of line section. Use cfi
35633         intrinsics.
35634         (LLL_STUB_UNWIND_INFO*): Remove.
35636 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35638         [BZ #16758]
35639         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35640         blank values.
35642 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35644         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35646 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35648         [BZ #16198]
35649         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35650         fnstenv.
35651         * math/test-fenv-preserve.c: New file.
35652         * math/Makefile (tests): Add test-fenv-preserve.
35654 2014-03-26  Will Newton <will.newton@linaro.org>
35656         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35658 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35660         * scripts/versionlist.awk: Partition the version sets and emit all
35661         GLIBC_* (sorted) before all others (sorted).
35663 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35665         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35666         GLIBC_2.2.5 version.
35668 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35670         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35671         calls.
35673         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35674         previous change.
35676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35678 2014-03-25  Andreas Schwab  <schwab@suse.de>
35680         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35681         label to be used after in6ailist is initialized.
35683 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35685         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35686         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35688 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35690         [BZ #16357]
35691         [BZ #16599]
35692         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35693         min_plus_half.
35694         (fp_formats): Update initializers.
35695         (init_fp_formats): Initialize new field.
35696         (output_for_one_input_case): Allow underflow for results up to
35697         min_plus_half.
35698         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35699         * math/auto-libm-test-in: Don't mark some underflows from asin and
35700         atanh as spurious.
35701         * math/auto-libm-test-out: Regenerated.
35702         * sysdeps/i386/fpu/libm-test-ulps: Update.
35703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35705 2014-03-25  Andreas Schwab  <schwab@suse.de>
35707         * libio/Makefile (tst-ftell-partial-wide-ENV)
35708         (tst-ftell-active-handler-ENV): Define.
35710 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35712         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35714 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35716         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35718 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35720         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35721         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35722         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35724 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35726         [BZ #16634]
35727         * elf/dl-load.c (open_verify): Add mode parameter.
35728         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35729         (open_path): Change from boolean 'secure' to complete flag 'mode'
35730         (_dl_map_object): Adjust.
35731         * elf/Makefile (tests): Add tst-dlopen-aout.
35732         * elf/tst-dlopen-aout.c: New test.
35734 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35736         [BZ #16714]
35737         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35738         (struct stat): Rename member pad0 to __glibc_reserved0.
35740         [BZ #16712]
35741         * sysdeps/s390/s390-32/bits/wordsize.h
35742         (__WORDSIZE32_SIZE_ULONG): New define.
35743         * sysdeps/s390/s390-64/bits/wordsize.h
35744         (__WORDSIZE32_SIZE_ULONG): Likewise.
35745         * sysdeps/generic/stdint.h (SIZE_MAX):
35746         Define as UL if __WORDSIZE32_SIZE_ULONG.
35748         [BZ #16713]
35749         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35750         (__glibc_reserved0): New variable.
35751         (sa_flags): Change type to int.
35753         * posix/Makefile (before-compile): Use += before-compile instead
35754         of a :=.
35756         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35757         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35759 2014-03-20  Andreas Schwab  <schwab@suse.de>
35761         [BZ #16743]
35762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35763         non-matching result from nscd.
35765 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35767         * scripts/bench.py: Moved to ...
35768         * benchtests/scripts/bench.py: ... here.
35769         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35771 2014-03-24  Andreas Schwab  <schwab@suse.de>
35773         [BZ #16002]
35774         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35775         alloca_account and account alloca use for struct in6ailist.
35777 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35779         [BZ #16284]
35780         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35781         rounding mode to recompute results that overflow to infinity or
35782         underflow to zero.
35783         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35784         bug 16284.
35785         * math/auto-libm-test-out: Regenerated.
35786         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35787         (ccosh_test): Likewise.
35788         (csin_test_data): Use plus_oflow.
35789         (csin_test): Use ALL_RM_TEST.
35790         (csinh_test_data): Use plus_oflow.
35791         (csinh_test): Use ALL_RM_TEST.
35792         * sysdeps/i386/fpu/libm-test-ulps: Update.
35793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35795 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35797         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35798         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35799         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35801         [BZ #16731]
35802         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35803         when x - 1 is zero.
35804         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35805         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35806         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35807         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35808         argument is 1.
35809         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35810         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35811         zero.
35812         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35813         * sysdeps/i386/fpu/libm-test-ulps: Update.
35814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35816 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35818         * scripts/bench.pl: Remove file.
35819         * scripts/bench.py: New benchmark script.
35820         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35821         * benchtests/README: Mention python dependency.
35822         * scripts/pylintrc: New file.
35823         * scripts/pylint: New file.
35825         * bits/mathdef.h: Use #ifdef instead of #if.
35826         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35827         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35828         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35829         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35830         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35831         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35833 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35834             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35836         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35838         and strpbrk-ppc64 objects.
35839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35840         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35841         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35842         multiarch strpbrk for POWER7.
35843         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35844         multiarch strpbrk for PPC64.
35845         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35846         ifunc selector.
35847         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35848         strpbrk for POWER7.
35850 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35852         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35853         (atan_test): Likewise.
35854         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35855         (atanh_test): Use ALL_RM_TEST.
35856         (atan2_test_data): Likewise.
35857         (cabs_test): Likewise.
35858         (cacosh_test): Likewise.
35859         (carg_test): Likewise.
35860         (casin_test): Likewise.
35861         (casinh_test): Likewise.
35862         (cbrt_test): Likewise.
35863         (csqrt_test): Likewise.
35864         (erf_test): Likewise.
35865         (erfc_test): Likewise.
35866         (pow10_test): Likewise.
35867         (exp2_test): Likewise.
35868         (hypot_test): Likewise.
35869         (j0_test): Likewise.
35870         (j1_test): Likewise.
35871         (lgamma_test): Likewise.
35872         (gamma_test): Likewise.
35873         (sincos_test): Likewise.
35874         (tanh_test): Likewise.
35875         (y0_test): Likewise.
35876         (y1_test): Likewise.
35877         * sysdeps/i386/fpu/libm-test-ulps: Update.
35878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35880 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35882         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35884         and strcspn-ppc64 objects.
35885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35886         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35887         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35888         multiarch strcspn for POWER7.
35889         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35890         multiarch strcspn for PPC64.
35891         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35892         ifunc selector.
35893         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35894         strcspn for POWER7.
35896 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35898         * math/gen-libm-test.pl (generate_testfile): Expect only function
35899         name as argument to AUTO_TESTS_* and pass results for all rounding
35900         modes to parse_args.
35901         (parse_auto_input): Separate inputs of automatic tests from
35902         outputs before storing in %auto_tests.
35903         * math/libm-test.inc (acos_test_data): Update call to
35904         AUTO_TESTS_f_f.
35905         (acos_test): Use ALL_RM_TEST.
35906         (acos_tonearest_test_data): Remove.
35907         (acos_test_tonearest): Likewise.
35908         (acos_towardzero_test_data): Likewise.
35909         (acos_test_towardzero): Likewise.
35910         (acos_downward_test_data): Likewise.
35911         (acos_test_downward): Likewise.
35912         (acos_upward_test_data): Likewise.
35913         (acos_test_upward): Likewise.
35914         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35915         (asin_test_data): Likewise.
35916         (asin_test): Use ALL_RM_TEST.
35917         (asin_tonearest_test_data): Remove.
35918         (asin_test_tonearest): Likewise.
35919         (asin_towardzero_test_data): Likewise.
35920         (asin_test_towardzero): Likewise.
35921         (asin_downward_test_data): Likewise.
35922         (asin_test_downward): Likewise.
35923         (asin_upward_test_data): Likewise.
35924         (asin_test_upward): Likewise.
35925         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35926         (atan_test_data): Likewise.
35927         (atanh_test_data): Likewise.
35928         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35929         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35930         (carg_test_data): Likewise.
35931         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35932         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35933         (ccosh_test_data): Likewise.
35934         (cexp_test_data): Likewise.
35935         (clog_test_data): Likewise.
35936         (clog10_test_data): Likewise.
35937         (cos_test_data): Update call to AUTO_TESTS_f_f.
35938         (cos_test): Use ALL_RM_TEST.
35939         (cos_tonearest_test_data): Remove.
35940         (cos_test_tonearest): Likewise.
35941         (cos_towardzero_test_data): Likewise.
35942         (cos_test_towardzero): Likewise.
35943         (cos_downward_test_data): Likewise.
35944         (cos_test_downward): Likewise.
35945         (cos_upward_test_data): Likewise.
35946         (cos_test_upward): Likewise.
35947         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35948         (cosh_test): Use ALL_RM_TEST.
35949         (cosh_tonearest_test_data): Remove.
35950         (cosh_test_tonearest): Likewise.
35951         (cosh_towardzero_test_data): Likewise.
35952         (cosh_test_towardzero): Likewise.
35953         (cosh_downward_test_data): Likewise.
35954         (cosh_test_downward): Likewise.
35955         (cosh_upward_test_data): Likewise.
35956         (cosh_test_upward): Likewise.
35957         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35958         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35959         (ctan_test_data): Likewise.
35960         (ctan_test): Use ALL_RM_TEST.
35961         (ctan_tonearest_test_data): Remove.
35962         (ctan_test_tonearest): Likewise.
35963         (ctan_towardzero_test_data): Likewise.
35964         (ctan_test_towardzero): Likewise.
35965         (ctan_downward_test_data): Likewise.
35966         (ctan_test_downward): Likewise.
35967         (ctan_upward_test_data): Likewise.
35968         (ctan_test_upward): Likewise.
35969         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35970         (ctanh_test): Use ALL_RM_TEST.
35971         (ctanh_tonearest_test_data): Remove.
35972         (ctanh_test_tonearest): Likewise.
35973         (ctanh_towardzero_test_data): Likewise.
35974         (ctanh_test_towardzero): Likewise.
35975         (ctanh_downward_test_data): Likewise.
35976         (ctanh_test_downward): Likewise.
35977         (ctanh_upward_test_data): Likewise.
35978         (ctanh_test_upward): Likewise.
35979         (erf_test_data): Update call to AUTO_TESTS_f_f.
35980         (erfc_test_data): Likewise.
35981         (exp_test_data): Likewise.
35982         (exp_test): Use ALL_RM_TEST.
35983         (exp_tonearest_test_data): Remove.
35984         (exp_test_tonearest): Likewise.
35985         (exp_towardzero_test_data): Likewise.
35986         (exp_test_towardzero): Likewise.
35987         (exp_downward_test_data): Likewise.
35988         (exp_test_downward): Likewise.
35989         (exp_upward_test_data): Likewise.
35990         (exp_test_upward): Likewise.
35991         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35992         (exp10_test): Use ALL_RM_TEST.
35993         (exp10_tonearest_test_data): Remove.
35994         (exp10_test_tonearest): Likewise.
35995         (exp10_towardzero_test_data): Likewise.
35996         (exp10_test_towardzero): Likewise.
35997         (exp10_downward_test_data): Likewise.
35998         (exp10_test_downward): Likewise.
35999         (exp10_upward_test_data): Likewise.
36000         (exp10_test_upward): Likewise.
36001         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36002         (expm1_test_data): Likewise.
36003         (expm1_test): Use ALL_RM_TEST.
36004         (expm1_tonearest_test_data): Remove.
36005         (expm1_test_tonearest): Likewise.
36006         (expm1_towardzero_test_data): Likewise.
36007         (expm1_test_towardzero): Likewise.
36008         (expm1_downward_test_data): Likewise.
36009         (expm1_test_downward): Likewise.
36010         (expm1_upward_test_data): Likewise.
36011         (expm1_test_upward): Likewise.
36012         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36013         (fma_test): Use ALL_RM_TEST.
36014         (fma_towardzero_test_data): Remove.
36015         (fma_test_towardzero): Likewise.
36016         (fma_downward_test_data): Likewise.
36017         (fma_test_downward): Likewise.
36018         (fma_upward_test_data): Likewise.
36019         (fma_test_upward): Likewise.
36020         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36021         (j0_test_data): Update call to AUTO_TESTS_f_f.
36022         (j1_test_data): Likewise.
36023         (jn_test_data): Update call to AUTO_TESTS_if_f.
36024         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36025         (log_test_data): Update call to AUTO_TESTS_f_f.
36026         (log10_test_data): Likewise.
36027         (log1p_test_data): Likewise.
36028         (log2_test_data): Likewise.
36029         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36030         (pow_tonearest_test_data): Likewise.
36031         (sin_test_data): Update call to AUTO_TESTS_f_f.
36032         (sin_test): Use ALL_RM_TEST.
36033         (sin_tonearest_test_data): Remove.
36034         (sin_test_tonearest): Likewise.
36035         (sin_towardzero_test_data): Likewise.
36036         (sin_test_towardzero): Likewise.
36037         (sin_downward_test_data): Likewise.
36038         (sin_test_downward): Likewise.
36039         (sin_upward_test_data): Likewise.
36040         (sin_test_upward): Likewise.
36041         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36042         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36043         (sinh_test): Use ALL_RM_TEST.
36044         (sinh_tonearest_test_data): Remove.
36045         (sinh_test_tonearest): Likewise.
36046         (sinh_towardzero_test_data): Likewise.
36047         (sinh_test_towardzero): Likewise.
36048         (sinh_downward_test_data): Likewise.
36049         (sinh_test_downward): Likewise.
36050         (sinh_upward_test_data): Likewise.
36051         (sinh_test_upward): Likewise.
36052         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36053         (sqrt_test): Use ALL_RM_TEST.
36054         (sqrt_tonearest_test_data): Remove.
36055         (sqrt_test_tonearest): Likewise.
36056         (sqrt_towardzero_test_data): Likewise.
36057         (sqrt_test_towardzero): Likewise.
36058         (sqrt_downward_test_data): Likewise.
36059         (sqrt_test_downward): Likewise.
36060         (sqrt_upward_test_data): Likewise.
36061         (sqrt_test_upward): Likewise.
36062         (tan_test_data): Update call to AUTO_TESTS_f_f.
36063         (tan_test): Use ALL_RM_TEST.
36064         (tan_tonearest_test_data): Remove.
36065         (tan_test_tonearest): Likewise.
36066         (tan_towardzero_test_data): Likewise.
36067         (tan_test_towardzero): Likewise.
36068         (tan_downward_test_data): Likewise.
36069         (tan_test_downward): Likewise.
36070         (tan_upward_test_data): Likewise.
36071         (tan_test_upward): Likewise.
36072         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36073         (tgamma_test_data): Likewise.
36074         (y0_test_data): Likewise.
36075         (y1_test_data): Likewise.
36076         (yn_test_data): Update call to AUTO_TESTS_if_f.
36077         (main): Do not call removed functions.
36079 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36081         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36082         (ldexp_test_data): Remove.
36083         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36084         scalbn_test_data.
36085         (scalb_test): Use ALL_RM_TEST.
36087 2014-03-19  Andreas Schwab  <schwab@suse.de>
36089         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36091 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36093         [BZ #16649]
36094         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36095         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36096         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36097         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36098         (__ASSUME_PREADV): Undefine.
36099         (__ASSUME_PWRITEV): Likewise.
36101 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36103         * bits/mman-linux.h: Add comment about non-Linux use.
36104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36105         bits/mman-linux.h resting place.
36107         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36108         * bits/mman-linux.h: ... here.
36110 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36112         * conform/conformtest.pl: Add standard definition when calling C
36113         preprocessor on data files.
36114         (checknamespace): Remove unused variable.
36116 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36118         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36119         minus_oflow, plus_uflow and minus_uflow in expected results.
36120         * math/libm-test.inc (scalbn_test_data): Add more tests of
36121         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36122         minus_uflow.
36123         (scalbn_test): Use ALL_RM_TEST.
36124         (scalbln_test_data): Add more tests of negative arguments.  Use
36125         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36126         (scalbln_test): Use ALL_RM_TEST.
36128 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36130         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36132 2014-03-18  Will Newton  <will.newton@linaro.org>
36134         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36135         inaccurate comment.
36137 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36139         * Makerules [!subdir] (check-abi): Exit with error status if a
36140         test failed.
36142 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36144         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36145         for rint.  Include results for all rounding modes.
36146         (nearbyint_test): Use ALL_RM_TEST.
36147         (rint_test_data): Include all tests used for nearbyint.
36149 2014-03-17  Will Newton  <will.newton@linaro.org>
36151         * nptl/sysdeps/pthread/pthread.h: Revert previous
36152         change.
36154         * sysdeps/generic/ldsodefs.h: Revert previous
36155         change.
36157         * libio/genops.c: Revert previous change.
36158         * libio/libioP.h: Likewise.
36159         * stdio-common/vfprintf.c: Likewise.
36161         * sysdeps/generic/math_private.h: Revert previous
36162         change.
36164         * sysdeps/generic/math_private.h: Check whether
36165         HAVE_RM_CTX is defined with #ifdef rather
36166         than #if.
36168         * argp/argp-fmtstream.h: Check whether
36169         __STRICT_ANSI__ is defined with #ifdef rather
36170         than #if.
36171         * argp/argp.h: Likewise.
36173         * libio/genops.c: Check whether
36174         _IO_JUMPS_OFFSET is defined with #ifdef rather
36175         than #if.
36176         * libio/libioP.h: Likewise.
36177         * stdio-common/vfprintf.c: Likewise.
36179         * sysdeps/generic/ldsodefs.h: Check whether
36180         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36181         than #if.
36183         * nptl/sysdeps/pthread/pthread.h: Check
36184         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36185         its value.
36187 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36189         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36190         setting O_APPEND.
36191         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36192         test case.
36194         [BZ #16680]
36195         * libio/fileops.c (_IO_file_open): Seek to end of file but
36196         don't cache the offset.
36197         (get_file_offset): Remove function.
36198         (do_ftell): Use cached offset when available.
36199         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36200         don't cache the offset.
36201         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36202         case.
36203         (do_one_test): Call it.
36204         (do_ftell_test): Fix up expected old offset for a+ mode.
36205         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36206         available.
36208         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36209         up test status with function return status.
36210         (do_write_test): Likewise.
36211         (do_append_test): Likewise.
36213         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36214         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36215         Remove.
36217 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36219         * math/gen-libm-test.pl (parse_args): Handle results specified for
36220         each rounding mode separately.
36221         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36222         tests and results from lrint_tonearest_test_data,
36223         lrint_towardzero_test_data, lrint_downward_test_data and
36224         lrint_upward_test_data.
36225         (lrint_test): Use ALL_RM_TEST.
36226         (lrint_tonearest_test_data): Remove.
36227         (lrint_test_tonearest): Likewise.
36228         (lrint_towardzero_test_data): Likewise.
36229         (lrint_test_towardzero): Likewise.
36230         (lrint_downward_test_data): Likewise.
36231         (lrint_test_downward): Likewise.
36232         (lrint_upward_test_data): Likewise.
36233         (lrint_test_upward): Likewise.
36234         (llrint_test_data): Merge in per-rounding-mode tests and results
36235         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36236         llrint_downward_test_data and llrint_upward_test_data.
36237         (llrint_test): Use ALL_RM_TEST.
36238         (llrint_tonearest_test_data): Remove.
36239         (llrint_test_tonearest): Likewise.
36240         (llrint_towardzero_test_data): Likewise.
36241         (llrint_test_towardzero): Likewise.
36242         (llrint_downward_test_data): Likewise.
36243         (llrint_test_downward): Likewise.
36244         (llrint_upward_test_data): Likewise.
36245         (llrint_test_upward): Likewise.
36246         (rint_test_data): Merge in per-rounding-mode tests and results
36247         from rint_tonearest_test_data, rint_towardzero_test_data,
36248         rint_downward_test_data and rint_upward_test_data.  Add
36249         per-rounding-mode results for tests not in those arrays.
36250         (rint_test): Use ALL_RM_TEST.
36251         (rint_tonearest_test_data): Remove.
36252         (rint_test_tonearest): Likewise.
36253         (rint_towardzero_test_data): Likewise.
36254         (rint_test_towardzero): Likewise.
36255         (rint_downward_test_data): Likewise.
36256         (rint_test_downward): Likewise.
36257         (rint_upward_test_data): Likewise.
36258         (rint_test_upward): Likewise.
36259         (main): Don't call removed functions.
36261 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36263         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36264         "Compiled on ..." crapola.  It is anti-useful.
36266 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36268         * scripts/evaluate-test.sh: Handle fourth argument to determine
36269         whether test run should stop on failure.
36270         * Makeconfig (stop-on-test-failure): New variable.
36271         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36272         $(stop-on-test-failure).
36273         * Makefile (tests): Give a summary of results from testing and
36274         exit with failure status if they include an ERROR or FAIL.
36275         (xtests): Likewise.
36276         * manual/install.texi (Configuring and compiling): Mention
36277         stop-on-test-failure=y.
36278         * INSTALL: Regenerated.
36280 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36282         * scripts/versionlist.awk: New file.
36283         * Makerules [$(build-shared) = yes]
36284         (postclean-generated): Add Versions.def, not Versions.def.v and
36285         Versions.def.v.i.
36286         ($(common-objpfx)Versions.def.v.i): Target removed.
36287         ($(common-objpfx)Versions.def): New target.
36288         ($(common-objpfx)Versions.all): Depend on that rather that
36289         $(common-objpfx)Versions.def.v.
36290         * Versions.def: File removed.
36292         * Makeconfig (+gccwarn): Add -Wundef.
36293         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36294         a dl-sysdep.h breaking its contract.
36295         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36296         * include/stackinfo.h: New file.
36297         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36298         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36299         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36300         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36301         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36302         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36303         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36304         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36305         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36306         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36307         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36308         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36309         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36310         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36311         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36313 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36315         [BZ #16707]
36316         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36317         implementation.
36318         * math/libm-test.inc (round_test_data): Add more tests.
36320         [BZ #16706]
36321         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36322         implementation.
36323         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36325         [BZ #16701]
36326         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36327         implementation.
36328         * math/libm-test.inc (ceil_test_data): Add more tests.
36330         * math/libm-test.inc (trunc_test_data): Add more tests related to
36331         BZ#16414.
36333 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36335         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36336         with #if rather than #ifdef.
36337         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36339 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36341         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36342         first.  Disable AVX-512 GCC support if assembler doesn't support
36343         it.
36344         * sysdeps/x86_64/configure: Regenerated.
36346 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36348         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36349         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36350         (__old_pthread_attr_setstack): Likewise.
36351         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36352         [!_STACK_GROWS_DOWN]: Likewise.
36354 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36356         * config.make.in (have-bash2): Delete.
36357         * configure.ac (libc_cv_have_bash2): Delete.
36358         * configure: Regenerate.
36359         * elf/Makefile (common-ldd-rewrite): Rename to ...
36360         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36361         (sh-ldd-rewrite): Delete.
36362         (bash-ldd-rewrite): Delete.
36363         (have-bash2): Delete checks.
36364         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36365         ldd-rewrite.
36367         * config.make.in (have-ksh): Delete.
36368         (KSH): Delete.
36369         * configure.ac (libc_cv_have_ksh): Delete.
36370         * configure: Regenerate.
36372         * elf/Makefile: Delete $(have-ksh) check.
36373         ($(objpfx)sotruss): Change KSH to BASH.
36374         * elf/sotruss.ksh: Rename to ...
36375         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36376         function style to match POSIX.  Drop ksh vim mode setting.
36378         * manual/time.texi (Specifying the Time Zone with TZ): Change
36379         Tuesday to Thursday.
36381         * debug/tst-longjmp_chk2.c: Update header comment.
36382         (stackoverflow_handler): Add comment.  Call assert on pass value.
36384 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36386         [BZ #16194]
36387         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36388         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36389         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36390         (La_x86_64_vector): Add zmm.
36391         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36392         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36393         ($(objpfx)tst-audit10): New target.
36394         ($(objpfx)tst-audit10.out): Likewise.
36395         (tst-audit10-ENV): New.
36396         (AVX512-CFLAGS): Likewise.
36397         (CFLAGS-tst-audit10.c): Likewise.
36398         (CFLAGS-tst-auditmod10a.c): Likewise.
36399         (CFLAGS-tst-auditmod10b.c): Likewise.
36400         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36401         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36402         * sysdeps/x86_64/configure: Regenerated.
36403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36404         AVX-512 zmm register support.
36405         (_dl_x86_64_save_sse): Likewise.
36406         (_dl_x86_64_restore_sse): Likewise.
36407         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36408         size vector registers.
36409         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36410         (ZMM_SIZE): Likewise.
36411         * sysdeps/x86_64/tst-audit10.c: New file.
36412         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36413         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36415 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36417         * configure.ac (HAVE_EHDR_START): New check.
36418         * configure: Regenerated.
36419         * config.h.in (HAVE_EHDR_START): New #undef.
36420         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36421         assuming the lowest-addressed segment maps the start of the file.
36423 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36425         * INSTALL: Regenerated.
36427 2014-03-13  Will Newton  <will.newton@linaro.org>
36429         * manual/setjmp.texi (System V contexts): Improve
36430         clarity and grammar of documentation.
36432 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36434         [BZ #16381]
36435         * elf/Makefile (tests): Add tst-pie2.
36436         (tests-pie): Add tst-pie2.
36437         * elf/tst-pie2.c: New file.
36438         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36439         for ET_EXEC.
36440         * elf/rtld.c (map_doit): Load executable as lt_executable.
36441         (dl_main): Likewise.
36443 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36445         [BZ #16642]
36446         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36447         (__ASSUME_PSELECT): Undefine.
36449 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36451         [BZ #16689]
36452         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36453         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36454         static build.
36455         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36456         selector for static builds.
36458 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36460         [BZ #16695]
36461         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36462         key in the buffer.
36464 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36466         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36467         IFUNC selector for static builds.
36469 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36471         * sysdeps/mips/math_private.h [__mips_hard_float]
36472         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36473         libc_feresetround_mips_ctx.
36474         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36475         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36476         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36478         [BZ #16677]
36479         * math/s_nextafter.c (__nextafter): Do not return value from
36480         overflowing computation.
36481         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36482         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36483         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36484         Likewise.
36485         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36486         Likewise.
36487         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36488         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36490 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36492         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36493         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36494         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36495         the new mov targetting sp.
36497 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36499         [BZ #16683]
36500         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36501         Define it for static builds as well.
36502         (NO_BZERO_IMPL): Likewise.
36504 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36506         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36507         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36508         multiarch strspn for PPC64.
36509         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36510         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36512         (__libc_ifunc_impl_list): Likewise.
36513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36514         multiarch optimizations
36515         * string/strspn.c (strspn): Using macro to redefine symbol name.
36517 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36518             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36520         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36521         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36522         multiarch strncat for PPC64.
36523         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36524         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36526         (__libc_ifunc_impl_list): Likewise.
36527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36528         multiarch optimizations
36530 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36532         [BZ #16639]
36533         * nscd/nscd.service: Make service type forking.
36535 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36537         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36538         sign in non default rounding modes.
36539         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36541 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36543         * math/libm-test.inc (ALL_RM_TEST): New macro.
36544         (ceil_test): Use ALL_RM_TEST.
36545         (cimag_test): Likewise.
36546         (conj_test): Likewise.
36547         (copysign_test): Likewise.
36548         (cproj_test): Likewise.
36549         (creal_test): Likewise.
36550         (fabs_test): Likewise.
36551         (floor_test): Likewise.
36552         (fmax_test): Likewise.
36553         (fmin_test): Likewise.
36554         (fmod_test): Likewise.
36555         (fpclassify_test): Likewise.
36556         (frexp_test): Likewise.
36557         (ilogb_test): Likewise.
36558         (isfinite_test): Likewise.
36559         (finite_test): Likewise.
36560         (isgreater_test): Likewise.
36561         (isgreaterequal_test): Likewise.
36562         (isinf_test): Likewise.
36563         (isless_test): Likewise.
36564         (islessequal_test): Likewise.
36565         (islessgreater_test): Likewise.
36566         (isnan_test): Likewise.
36567         (isnormal_test): Likewise.
36568         (issignaling_test): Likewise.
36569         (isunordered_test): Likewise.
36570         (logb_test): Likewise.
36571         (logb_downward_test_data): Remove.
36572         (logb_test_downward): Likewise.
36573         (lround_test): Use ALL_RM_TEST.
36574         (llround_test): Likewise.
36575         (modf_test): Likewise.
36576         (nexttoward_test): Likewise.
36577         (remainder_test): Likewise.
36578         (drem_test): Likewise.
36579         (remainder_tonearest_test_data): Likewise.
36580         (remainder_test_tonearest): Likewise.
36581         (drem_test_tonearest): Likewise.
36582         (remainder_towardzero_test_data): Likewise.
36583         (remainder_test_towardzero): Likewise.
36584         (drem_test_towardzero): Likewise.
36585         (remainder_downward_test_data): Likewise.
36586         (remainder_test_downward): Likewise.
36587         (drem_test_downward): Likewise.
36588         (remainder_upward_test_data): Likewise.
36589         (remainder_test_upward): Likewise.
36590         (drem_test_upward): Likewise.
36591         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36592         (round_test): Use ALL_RM_TEST.
36593         (signbit_test): Likewise.
36594         (trunc_test): Likewise.
36595         (significand_test): Likewise.
36596         (main): Don't call removed functions.
36598 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36600         [BZ #16674]
36601         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36602         || __USE_XOPEN2K8].
36603         (ILL_ILLOPN): Likewise.
36604         (ILL_ILLADR): Likewise.
36605         (ILL_ILLTRP): Likewise.
36606         (ILL_PRVOPC): Likewise.
36607         (ILL_PRVREG): Likewise.
36608         (ILL_COPROC): Likewise.
36609         (ILL_BADSTK): Likewise.
36610         (FPE_INTDIV): Likewise.
36611         (FPE_INTOVF): Likewise.
36612         (FPE_FLTDIV): Likewise.
36613         (FPE_FLTOVF): Likewise.
36614         (FPE_FLTUND): Likewise.
36615         (FPE_FLTRES): Likewise.
36616         (FPE_FLTINV): Likewise.
36617         (FPE_FLTSUB): Likewise.
36618         (SEGV_MAPERR): Likewise.
36619         (SEGV_ACCERR): Likewise.
36620         (BUS_ADRALN): Likewise.
36621         (BUS_ADRERR): Likewise.
36622         (BUS_OBJERR): Likewise.
36623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36624         (TRAP_TRACE): Likewise.
36625         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36626         __USE_XOPEN2K8].
36627         (CLD_KILLED): Likewise.
36628         (CLD_DUMPED): Likewise.
36629         (CLD_TRAPPED): Likewise.
36630         (CLD_STOPPED): Likewise.
36631         (CLD_CONTINUED): Likewise.
36632         (POLL_IN): Likewise.
36633         (POLL_OUT): Likewise.
36634         (POLL_MSG): Likewise.
36635         (POLL_ERR): Likewise.
36636         (POLL_PRI): Likewise.
36637         (POLL_HUP): Likewise.
36638         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36639         Likewise.
36640         (ILL_ILLOPN): Likewise.
36641         (ILL_ILLADR): Likewise.
36642         (ILL_ILLTRP): Likewise.
36643         (ILL_PRVOPC): Likewise.
36644         (ILL_PRVREG): Likewise.
36645         (ILL_COPROC): Likewise.
36646         (ILL_BADSTK): Likewise.
36647         (FPE_INTDIV): Likewise.
36648         (FPE_INTOVF): Likewise.
36649         (FPE_FLTDIV): Likewise.
36650         (FPE_FLTOVF): Likewise.
36651         (FPE_FLTUND): Likewise.
36652         (FPE_FLTRES): Likewise.
36653         (FPE_FLTINV): Likewise.
36654         (FPE_FLTSUB): Likewise.
36655         (SEGV_MAPERR): Likewise.
36656         (SEGV_ACCERR): Likewise.
36657         (BUS_ADRALN): Likewise.
36658         (BUS_ADRERR): Likewise.
36659         (BUS_OBJERR): Likewise.
36660         (BUS_MCEERR_AR): Likewise.
36661         (BUS_MCEERR_AO): Likewise.
36662         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36663         (TRAP_TRACE): Likewise.
36664         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36665         __USE_XOPEN2K8].
36666         (CLD_KILLED): Likewise.
36667         (CLD_DUMPED): Likewise.
36668         (CLD_TRAPPED): Likewise.
36669         (CLD_STOPPED): Likewise.
36670         (CLD_CONTINUED): Likewise.
36671         (POLL_IN): Likewise.
36672         (POLL_OUT): Likewise.
36673         (POLL_MSG): Likewise.
36674         (POLL_ERR): Likewise.
36675         (POLL_PRI): Likewise.
36676         (POLL_HUP): Likewise.
36677         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36678         (ILL_ILLOPN): Likewise.
36679         (ILL_ILLADR): Likewise.
36680         (ILL_ILLTRP): Likewise.
36681         (ILL_PRVOPC): Likewise.
36682         (ILL_PRVREG): Likewise.
36683         (ILL_COPROC): Likewise.
36684         (ILL_BADSTK): Likewise.
36685         (FPE_INTDIV): Likewise.
36686         (FPE_INTOVF): Likewise.
36687         (FPE_FLTDIV): Likewise.
36688         (FPE_FLTOVF): Likewise.
36689         (FPE_FLTUND): Likewise.
36690         (FPE_FLTRES): Likewise.
36691         (FPE_FLTINV): Likewise.
36692         (FPE_FLTSUB): Likewise.
36693         (SEGV_MAPERR): Likewise.
36694         (SEGV_ACCERR): Likewise.
36695         (BUS_ADRALN): Likewise.
36696         (BUS_ADRERR): Likewise.
36697         (BUS_OBJERR): Likewise.
36698         (BUS_MCEERR_AR): Likewise.
36699         (BUS_MCEERR_AO): Likewise.
36700         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36701         (TRAP_TRACE): Likewise.
36702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36703         __USE_XOPEN2K8].
36704         (CLD_KILLED): Likewise.
36705         (CLD_DUMPED): Likewise.
36706         (CLD_TRAPPED): Likewise.
36707         (CLD_STOPPED): Likewise.
36708         (CLD_CONTINUED): Likewise.
36709         (POLL_IN): Likewise.
36710         (POLL_OUT): Likewise.
36711         (POLL_MSG): Likewise.
36712         (POLL_ERR): Likewise.
36713         (POLL_PRI): Likewise.
36714         (POLL_HUP): Likewise.
36715         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36716         Likewise.
36717         (ILL_ILLOPN): Likewise.
36718         (ILL_ILLADR): Likewise.
36719         (ILL_ILLTRP): Likewise.
36720         (ILL_PRVOPC): Likewise.
36721         (ILL_PRVREG): Likewise.
36722         (ILL_COPROC): Likewise.
36723         (ILL_BADSTK): Likewise.
36724         (ILL_BADIADDR): Likewise.
36725         (ILL_BREAK): Likewise.
36726         (FPE_INTDIV): Likewise.
36727         (FPE_INTOVF): Likewise.
36728         (FPE_FLTDIV): Likewise.
36729         (FPE_FLTOVF): Likewise.
36730         (FPE_FLTUND): Likewise.
36731         (FPE_FLTRES): Likewise.
36732         (FPE_FLTINV): Likewise.
36733         (FPE_FLTSUB): Likewise.
36734         (FPE_DECOVF): Likewise.
36735         (FPE_DECDIV): Likewise.
36736         (FPE_DECERR): Likewise.
36737         (FPE_INVASC): Likewise.
36738         (FPE_INVDEC): Likewise.
36739         (SEGV_MAPERR): Likewise.
36740         (SEGV_ACCERR): Likewise.
36741         (SEGV_PSTKOVF): Likewise.
36742         (BUS_ADRALN): Likewise.
36743         (BUS_ADRERR): Likewise.
36744         (BUS_OBJERR): Likewise.
36745         (BUS_MCEERR_AR): Likewise.
36746         (BUS_MCEERR_AO): Likewise.
36747         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36748         (TRAP_TRACE): Likewise.
36749         (TRAP_BRANCH): Likewise.
36750         (TRAP_HWBKPT): Likewise.
36751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36752         __USE_XOPEN2K8].
36753         (CLD_KILLED): Likewise.
36754         (CLD_DUMPED): Likewise.
36755         (CLD_TRAPPED): Likewise.
36756         (CLD_STOPPED): Likewise.
36757         (CLD_CONTINUED): Likewise.
36758         (POLL_IN): Likewise.
36759         (POLL_OUT): Likewise.
36760         (POLL_MSG): Likewise.
36761         (POLL_ERR): Likewise.
36762         (POLL_PRI): Likewise.
36763         (POLL_HUP): Likewise.
36764         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36765         (ILL_ILLOPN): Likewise.
36766         (ILL_ILLADR): Likewise.
36767         (ILL_ILLTRP): Likewise.
36768         (ILL_PRVOPC): Likewise.
36769         (ILL_PRVREG): Likewise.
36770         (ILL_COPROC): Likewise.
36771         (ILL_BADSTK): Likewise.
36772         (FPE_INTDIV): Likewise.
36773         (FPE_INTOVF): Likewise.
36774         (FPE_FLTDIV): Likewise.
36775         (FPE_FLTOVF): Likewise.
36776         (FPE_FLTUND): Likewise.
36777         (FPE_FLTRES): Likewise.
36778         (FPE_FLTINV): Likewise.
36779         (FPE_FLTSUB): Likewise.
36780         (SEGV_MAPERR): Likewise.
36781         (SEGV_ACCERR): Likewise.
36782         (BUS_ADRALN): Likewise.
36783         (BUS_ADRERR): Likewise.
36784         (BUS_OBJERR): Likewise.
36785         (BUS_MCEERR_AR): Likewise.
36786         (BUS_MCEERR_AO): Likewise.
36787         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36788         (TRAP_TRACE): Likewise.
36789         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36790         __USE_XOPEN2K8].
36791         (CLD_KILLED): Likewise.
36792         (CLD_DUMPED): Likewise.
36793         (CLD_TRAPPED): Likewise.
36794         (CLD_STOPPED): Likewise.
36795         (CLD_CONTINUED): Likewise.
36796         (POLL_IN): Likewise.
36797         (POLL_OUT): Likewise.
36798         (POLL_MSG): Likewise.
36799         (POLL_ERR): Likewise.
36800         (POLL_PRI): Likewise.
36801         (POLL_HUP): Likewise.
36802         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36803         (ILL_ILLOPN): Likewise.
36804         (ILL_ILLADR): Likewise.
36805         (ILL_ILLTRP): Likewise.
36806         (ILL_PRVOPC): Likewise.
36807         (ILL_PRVREG): Likewise.
36808         (ILL_COPROC): Likewise.
36809         (ILL_BADSTK): Likewise.
36810         (FPE_INTDIV): Likewise.
36811         (FPE_INTOVF): Likewise.
36812         (FPE_FLTDIV): Likewise.
36813         (FPE_FLTOVF): Likewise.
36814         (FPE_FLTUND): Likewise.
36815         (FPE_FLTRES): Likewise.
36816         (FPE_FLTINV): Likewise.
36817         (FPE_FLTSUB): Likewise.
36818         (SEGV_MAPERR): Likewise.
36819         (SEGV_ACCERR): Likewise.
36820         (BUS_ADRALN): Likewise.
36821         (BUS_ADRERR): Likewise.
36822         (BUS_OBJERR): Likewise.
36823         (BUS_MCEERR_AR): Likewise.
36824         (BUS_MCEERR_AO): Likewise.
36825         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36826         (TRAP_TRACE): Likewise.
36827         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36828         __USE_XOPEN2K8].
36829         (CLD_KILLED): Likewise.
36830         (CLD_DUMPED): Likewise.
36831         (CLD_TRAPPED): Likewise.
36832         (CLD_STOPPED): Likewise.
36833         (CLD_CONTINUED): Likewise.
36834         (POLL_IN): Likewise.
36835         (POLL_OUT): Likewise.
36836         (POLL_MSG): Likewise.
36837         (POLL_ERR): Likewise.
36838         (POLL_PRI): Likewise.
36839         (POLL_HUP): Likewise.
36840         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36841         (ILL_ILLOPN): Likewise.
36842         (ILL_ILLADR): Likewise.
36843         (ILL_ILLTRP): Likewise.
36844         (ILL_PRVOPC): Likewise.
36845         (ILL_PRVREG): Likewise.
36846         (ILL_COPROC): Likewise.
36847         (ILL_BADSTK): Likewise.
36848         (FPE_INTDIV): Likewise.
36849         (FPE_INTOVF): Likewise.
36850         (FPE_FLTDIV): Likewise.
36851         (FPE_FLTOVF): Likewise.
36852         (FPE_FLTUND): Likewise.
36853         (FPE_FLTRES): Likewise.
36854         (FPE_FLTINV): Likewise.
36855         (FPE_FLTSUB): Likewise.
36856         (SEGV_MAPERR): Likewise.
36857         (SEGV_ACCERR): Likewise.
36858         (BUS_ADRALN): Likewise.
36859         (BUS_ADRERR): Likewise.
36860         (BUS_OBJERR): Likewise.
36861         (BUS_MCEERR_AR): Likewise.
36862         (BUS_MCEERR_AO): Likewise.
36863         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36864         (TRAP_TRACE): Likewise.
36865         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36866         __USE_XOPEN2K8].
36867         (CLD_KILLED): Likewise.
36868         (CLD_DUMPED): Likewise.
36869         (CLD_TRAPPED): Likewise.
36870         (CLD_STOPPED): Likewise.
36871         (CLD_CONTINUED): Likewise.
36872         (POLL_IN): Likewise.
36873         (POLL_OUT): Likewise.
36874         (POLL_MSG): Likewise.
36875         (POLL_ERR): Likewise.
36876         (POLL_PRI): Likewise.
36877         (POLL_HUP): Likewise.
36878         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36879         (ILL_ILLOPN): Likewise.
36880         (ILL_ILLADR): Likewise.
36881         (ILL_ILLTRP): Likewise.
36882         (ILL_PRVOPC): Likewise.
36883         (ILL_PRVREG): Likewise.
36884         (ILL_COPROC): Likewise.
36885         (ILL_BADSTK): Likewise.
36886         (ILL_DBLFLT): Likewise.
36887         (ILL_HARDWALL): Likewise.
36888         (FPE_INTDIV): Likewise.
36889         (FPE_INTOVF): Likewise.
36890         (FPE_FLTDIV): Likewise.
36891         (FPE_FLTOVF): Likewise.
36892         (FPE_FLTUND): Likewise.
36893         (FPE_FLTRES): Likewise.
36894         (FPE_FLTINV): Likewise.
36895         (FPE_FLTSUB): Likewise.
36896         (SEGV_MAPERR): Likewise.
36897         (SEGV_ACCERR): Likewise.
36898         (BUS_ADRALN): Likewise.
36899         (BUS_ADRERR): Likewise.
36900         (BUS_OBJERR): Likewise.
36901         (BUS_MCEERR_AR): Likewise.
36902         (BUS_MCEERR_AO): Likewise.
36903         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36904         (TRAP_TRACE): Likewise.
36905         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36906         __USE_XOPEN2K8].
36907         (CLD_KILLED): Likewise.
36908         (CLD_DUMPED): Likewise.
36909         (CLD_TRAPPED): Likewise.
36910         (CLD_STOPPED): Likewise.
36911         (CLD_CONTINUED): Likewise.
36912         (POLL_IN): Likewise.
36913         (POLL_OUT): Likewise.
36914         (POLL_MSG): Likewise.
36915         (POLL_ERR): Likewise.
36916         (POLL_PRI): Likewise.
36917         (POLL_HUP): Likewise.
36918         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36919         (ILL_ILLOPN): Likewise.
36920         (ILL_ILLADR): Likewise.
36921         (ILL_ILLTRP): Likewise.
36922         (ILL_PRVOPC): Likewise.
36923         (ILL_PRVREG): Likewise.
36924         (ILL_COPROC): Likewise.
36925         (ILL_BADSTK): Likewise.
36926         (FPE_INTDIV): Likewise.
36927         (FPE_INTOVF): Likewise.
36928         (FPE_FLTDIV): Likewise.
36929         (FPE_FLTOVF): Likewise.
36930         (FPE_FLTUND): Likewise.
36931         (FPE_FLTRES): Likewise.
36932         (FPE_FLTINV): Likewise.
36933         (FPE_FLTSUB): Likewise.
36934         (SEGV_MAPERR): Likewise.
36935         (SEGV_ACCERR): Likewise.
36936         (BUS_ADRALN): Likewise.
36937         (BUS_ADRERR): Likewise.
36938         (BUS_OBJERR): Likewise.
36939         (BUS_MCEERR_AR): Likewise.
36940         (BUS_MCEERR_AO): Likewise.
36941         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36942         (TRAP_TRACE): Likewise.
36943         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36944         __USE_XOPEN2K8].
36945         (CLD_KILLED): Likewise.
36946         (CLD_DUMPED): Likewise.
36947         (CLD_TRAPPED): Likewise.
36948         (CLD_STOPPED): Likewise.
36949         (CLD_CONTINUED): Likewise.
36950         (POLL_IN): Likewise.
36951         (POLL_OUT): Likewise.
36952         (POLL_MSG): Likewise.
36953         (POLL_ERR): Likewise.
36954         (POLL_PRI): Likewise.
36955         (POLL_HUP): Likewise.
36956         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36957         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36959         [BZ #16670]
36960         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36961         before #include of <time.h>.
36962         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36963         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36964         (test-xfail-UNIX98/sched.h/conform): Likewise.
36966 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36968         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36969         error absence of trapping exception support.
36970         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36972 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36974         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36975         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36976         * timezone/Makefile (testdata): Move definition above include of
36977         Rules.
36978         (test-zones): New variable.
36979         (tests-special): Add zone files.
36980         (build-testdata): Use $(evaluate-test).
36982         * elf/Makefile (tests-special): Rename tests to end with .out.
36983         ($(objpfx)noload-mem): Likewise.
36984         ($(objpfx)tst-leaks1-mem): Likewise.
36985         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36986         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36987         $(objpfx)test-iconvconfig.out.
36988         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36989         set -e inside subshell and redirect output to file.
36990         * iconvdata/Makefile (generated): Rename tests to end with .out.
36991         Correct type.
36992         (tests-special): Rename tests to end with .out.
36993         ($(objpfx)mtrace-tst-loading): Likewise.
36994         * intl/Makefile (generated): Likewise.
36995         (tests-special): Likewise.
36996         ($(objpfx)mtrace-tst-gettext): Likewise.
36997         * misc/Makefile (generated): Likewise.
36998         (tests-special): Likewise.
36999         ($(objpfx)tst-error1-mem): Likewise.
37000         * nptl/Makefile (tests-special): Likewise.
37001         ($(objpfx)tst-stack3-mem): Likewise.
37002         (generated): Likewise.
37003         * posix/Makefile (generated): Likewise.
37004         (tests-special): Likewise.
37005         (xtests-special): Likewise.
37006         ($(objpfx)tst-fnmatch-mem): Likewise.
37007         ($(objpfx)bug-regex2-mem): Likewise.
37008         ($(objpfx)bug-regex14-mem): Likewise.
37009         ($(objpfx)bug-regex21-mem): Likewise.
37010         ($(objpfx)bug-regex31-mem): Likewise.
37011         ($(objpfx)tst-vfork3-mem): Likewise.
37012         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37013         ($(objpfx)tst-pcre-mem): Likewise.
37014         ($(objpfx)tst-boost-mem): Likewise.
37015         ($(objpfx)bug-ga2-mem): Likewise.
37016         ($(objpfx)bug-glob2-mem): Likewise.
37017         * resolv/Makefile (generate): Likewise.
37018         (tests-special): Likewise.
37019         (xtests-special): Likewise.
37020         (generated): Likewise.
37021         ($(objpfx)mtrace-tst-leaks): Likewise.
37022         ($(objpfx)mtrace-tst-leaks2): Likewise.
37024         * scripts/merge-test-results.sh: New file.
37025         * Makefile (tests-special-notdir): New variable.
37026         (tests): Run merge-test-results.sh.
37027         (xtests): Likewise.
37028         * Rules (tests-special-notdir): New variable.
37029         (xtests-special-notdir): Likewise.
37030         (tests): Run merge-test-results.sh
37031         (xtests): Likewise.
37033         * Makeconfig (test-xfail-name): New variable.
37034         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37035         compute variable name for expected failures.
37036         * conform/Makefile (conformtest-headers-data): New variable.
37037         (conformtest-standards): Likewise.
37038         (conformtest-headers-ISO): Likewise.
37039         (conformtest-headers-ISO99): Likewise.
37040         (conformtest-headers-ISO11): Likewise.
37041         (conformtest-headers-POSIX): Likewise.
37042         (conformtest-headers-XPG3): Likewise.
37043         (conformtest-headers-XPG4): Likewise.
37044         (conformtest-headers-UNIX98): Likewise.
37045         (conformtest-headers-XOPEN2K): Likewise.
37046         (conformtest-headers-POSIX2008): Likewise.
37047         (conformtest-headers-XOPEN2K8): Likewise.
37048         (conformtest-header-list-base): Likewise.
37049         (conformtest-header-list-tests): Likewise.
37050         (conformtest-header-base): Likewise.
37051         (conformtest-header-tests): Likewise.
37052         (tests-special): Add $(conformtest-header-list-tests).  If
37053         [$(fast-check) && !$(cross-compiling)], add
37054         $(conformtest-header-tests) instead of
37055         $(objpfx)run-conformtest.out.
37056         (generated): Add $(conformtest-header-list-base).  If
37057         [$(fast-check) && !$(cross-compiling)], add
37058         $(conformtest-header-base).  Remove previous setting.
37059         ($(conformtest-header-list-tests)): New target.
37060         (test-xfail-run-conformtest): Remove variable.
37061         ($(objpfx)run-conformtest.out): Remove target.
37062         (test-xfail-ISO11/complex.h/conform): New variable.
37063         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37064         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37065         (test-xfail-XPG3/varargs.h/conform): Likewise.
37066         (test-xfail-XPG4/varargs.h/conform): Likewise.
37067         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37068         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37069         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37070         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37071         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37072         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37073         (test-xfail-XPG3/ftw.h/conform): Likewise.
37074         (test-xfail-XPG3/grp.h/conform): Likewise.
37075         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37076         (test-xfail-XPG3/limits.h/conform): Likewise.
37077         (test-xfail-XPG3/pwd.h/conform): Likewise.
37078         (test-xfail-XPG3/search.h/conform): Likewise.
37079         (test-xfail-XPG3/signal.h/conform): Likewise.
37080         (test-xfail-XPG3/stdio.h/conform): Likewise.
37081         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37082         (test-xfail-XPG3/string.h/conform): Likewise.
37083         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37084         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37085         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37086         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37087         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37088         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37089         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37090         (test-xfail-XPG3/termios.h/conform): Likewise.
37091         (test-xfail-XPG3/time.h/conform): Likewise.
37092         (test-xfail-XPG3/unistd.h/conform): Likewise.
37093         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37094         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37095         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37096         (test-xfail-XPG4/netdb.h/conform): Likewise.
37097         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37098         (test-xfail-XPG4/signal.h/conform): Likewise.
37099         (test-xfail-XPG4/stdio.h/conform): Likewise.
37100         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37101         (test-xfail-XPG4/stropts.h/conform): Likewise.
37102         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37103         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37104         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37105         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37106         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37107         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37108         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37109         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37110         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37111         (test-xfail-XPG4/termios.h/conform): Likewise.
37112         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37113         (test-xfail-XPG4/unistd.h/conform): Likewise.
37114         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37115         (test-xfail-POSIX/sched.h/conform): Likewise.
37116         (test-xfail-POSIX/signal.h/conform): Likewise.
37117         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37118         (test-xfail-POSIX/tar.h/conform): Likewise.
37119         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37120         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37121         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37122         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37123         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37124         (test-xfail-UNIX98/sched.h/conform): Likewise.
37125         (test-xfail-UNIX98/signal.h/conform): Likewise.
37126         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37127         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37128         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37129         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37130         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37131         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37132         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37133         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37134         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37135         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37136         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37137         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37138         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37139         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37140         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37141         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37142         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37143         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37144         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37145         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37146         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37147         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37148         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37149         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37150         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37151         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37152         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37153         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37154         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37155         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37156         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37157         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37158         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37159         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37160         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37161         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37162         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37163         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37164         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37165         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37166         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37167         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37168         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37169         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37170         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37171         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37172         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37173         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37174         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37175         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37176         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37177         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37178         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37179         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37180         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37181         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37182         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37183         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37184         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37185         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37186         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37187         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37188         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37189         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37190         (conformtest-cc-flags): Likewise.
37191         ($(conformtest-header-tests): New target.
37192         * conform/check-header-lists.sh: New file.
37193         * conform/run-conformtest.sh: Remove.
37195         * conform/conformtest.pl: Allow ' and \ in values given for
37196         constants.
37197         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37198         inclusion.
37199         [POSIX] (sys/types.h): Likewise.
37200         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37201         inclusion.
37202         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37203         inclusion.
37204         * conform/data/signal.h-data (SIGIO): Remove expectation.
37205         [XPG3] (SIGBUS): Do not expect.
37206         [POSIX || XPG3] (SIGPOLL): Likewise.
37207         [POSIX || XPG3] (SIGPROF): Likewise.
37208         [POSIX || XPG3] (SIGSYS): Likewise.
37209         [XPG3] (SIGTRAP): Likewise.
37210         [POSIX || XPG3] (SIGURG): Likewise.
37211         [POSIX || XPG3] (SIGVTALRM): Likewise.
37212         [POSIX || XPG3] (SIGXCPU): Likewise.
37213         [POSIX || XPG3] (SIGXFSZ): Likewise.
37214         [POSIX] (SA_SIGINFO): Expect.
37215         [XPG3] (siginfo_t): Do not expect type or contents.
37216         [POSIX] (si_pid): Do not expect element.
37217         [POSIX] (si_uid): Likewise.
37218         [POSIX] (si_addr): Likewise.
37219         [POSIX] (si_status): Likewise.
37220         [POSIX] (si_band): Likewise.
37221         [XPG4] (si_value): Likewise.
37222         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37223         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37224         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37225         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37226         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37227         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37228         [POSIX || XPG3] (ILL_COPROC): Likewise.
37229         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37230         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37231         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37232         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37233         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37234         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37235         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37236         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37237         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37238         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37239         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37240         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37241         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37242         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37243         [POSIX || XPG3] (CLD_EXITED): Likewise.
37244         [POSIX || XPG3] (CLD_KILLED): Likewise.
37245         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37246         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37247         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37248         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37249         [POSIX || XPG3] (POLL_IN): Likewise.
37250         [POSIX || XPG3] (POLL_OUT): Likewise.
37251         [POSIX || XPG3] (POLL_MSG): Likewise.
37252         [POSIX || XPG3] (POLL_ERR): Likewise.
37253         [POSIX || XPG3] (POLL_PRI): Likewise.
37254         [POSIX || XPG3] (POLL_HUP): Likewise.
37255         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37256         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37257         (SIG*): Do not allow.
37258         [XPG3] (si_*): Likewise.
37259         [XPG3] (SI_*): Likewise.
37260         [XPG3 || XPG4] (sigev_*): Likewise.
37261         [XPG3 || XPG4] (SIGEV_*): Likewise.
37262         [XPG3 || XPG4] (sival_*): Likewise.
37263         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37264         [POSIX || XPG3] (BUS_*): Likewise.
37265         [POSIX || XPG3] (CLD_*): Likewise.
37266         [POSIX || XPG3] (FPE_*): Likewise.
37267         [POSIX || XPG3] (ILL_*): Likewise.
37268         [POSIX || XPG3] (POLL_*): Likewise.
37269         [POSIX || XPG3] (SEGV_*): Likewise.
37270         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37271         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37272         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37273         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37274         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37275         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37276         Specify type and value.
37277         (TVERSLEN): Likewise.
37278         (REGTYPE): Likewise.
37279         (AREGTYPE): Likewise.
37280         (LNKTYPE): Likewise.
37281         (SYMTYPE): Likewise.
37282         (CHRTYPE): Likewise.
37283         (BLKTYPE): Likewise.
37284         (DIRTYPE): Likewise.
37285         (FIFOTYPE): Likewise.
37286         (CONTTYPE): Likewise.
37287         (TSUID): Likewise.
37288         (TSGID): Likewise.
37289         (TSVTX): Likewise.
37290         (TUREAD): Likewise.
37291         (TUWRITE): Likewise.
37292         (TUEXEC): Likewise.
37293         (TGREAD): Likewise.
37294         (TGWRITE): Likewise.
37295         (TGEXEC): Likewise.
37296         (TOREAD): Likewise.
37297         (TOWRITE): Likewise.
37298         (TOEXEC): Likewise.
37299         [POSIX] (TSVTX): Expect constant.
37301 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37303         * Makefile (tests): Change dependencies to ....
37304         (tests-special): ... additions to this variable.
37305         (tests): Depend on $(tests-special).
37306         * Makerules (check-abi-list): New variable.
37307         (check-abi): Depend on $(check-abi-list).
37308         [$(subdir) = elf] (tests-special): Add
37309         $(objpfx)check-abi-libc.out.
37310         [$(build-shared) = yes && subdir] (tests-special): Add
37311         $(check-abi-list).
37312         [$(build-shared) = yes && subdir] (tests): Do not depend on
37313         check-abi.
37314         * Rules (tests): Depend on $(tests-special).
37315         (xtests): Depend on $(xtests-special).
37316         * catgets/Makefile (tests): Change dependencies to ....
37317         (tests-special): ... additions to this variable.
37318         * conform/Makefile (tests): Change dependencies to ....
37319         (tests-special): ... additions to this variable.
37320         * elf/Makefile (tests): Change dependencies to ....
37321         (tests-special): ... additions to this variable.
37322         * grp/Makefile (tests): Change dependencies to ....
37323         (tests-special): ... additions to this variable.
37324         * iconv/Makefile (xtests): Change dependencies to ....
37325         (xtests-special): ... additions to this variable.
37326         * iconvdata/Makefile (tests): Change dependencies to ....
37327         (tests-special): ... additions to this variable.
37328         * intl/Makefile (tests): Change dependencies to ....
37329         (tests-special): ... additions to this variable.  Also add
37330         $(objpfx)tst-gettext.out.
37331         * io/Makefile (tests): Change dependencies to ....
37332         (tests-special): ... additions to this variable.
37333         * libio/Makefile (tests): Change dependencies to ....
37334         (tests-special): ... additions to this variable.
37335         * malloc/Makefile (tests): Change dependencies to ....
37336         (tests-special): ... additions to this variable.
37337         * misc/Makefile (tests): Change dependencies to ....
37338         (tests-special): ... additions to this variable.
37339         * nptl/Makefile (tests): Change dependencies to ....
37340         (tests-special): ... additions to this variable.
37341         * nptl_db/Makefile (tests): Change dependencies to ....
37342         (tests-special): ... additions to this variable.
37343         * posix/Makefile (tests): Change dependencies to ....
37344         (tests-special): ... additions to this variable.
37345         (xtests): Change dependencies to ....
37346         (xtests-special): ... additions to this variable.
37347         * resolv/Makefile (tests): Change dependencies to ....
37348         (tests-special): ... additions to this variable.
37349         (xtests): Change dependencies to ....
37350         (xtests-special): ... additions to this variable.
37351         * stdio-common/Makefile (tests): Change dependencies to ....
37352         (tests-special): ... additions to this variable.
37353         (do-tst-unbputc): Remove target.
37354         (do-tst-printf): Likewise.
37355         * stdlib/Makefile (tests): Change dependencies to ....
37356         (tests-special): ... additions to this variable.
37357         * string/Makefile (tests): Change dependencies to ....
37358         (tests-special): ... additions to this variable.
37359         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37360         (tests-special): ... additions to this variable.
37362         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37363         whole file.
37364         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37365         whole file.
37366         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37367         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37369         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37370         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37371         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37372         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37373         * conform/data/libgen.h-data [XPG3]: Likewise.
37374         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37375         * conform/data/ndbm.h-data [XPG3]: Likewise.
37376         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37377         * conform/data/netdb.h-data [XPG3]: Likewise.
37378         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37379         * conform/data/poll.h-data [XPG3]: Likewise.
37380         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37381         * conform/data/strings.h-data [XPG3]: Likewise.
37382         * conform/data/stropts.h-data [XPG3]: Likewise.
37383         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37384         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37385         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37386         Likewise.
37387         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37388         * conform/data/sys/time.h-data [XPG3]: Likewise.
37389         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37390         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37391         * conform/data/sys/un.h-data [XPG3]: Likewise.
37392         * conform/data/syslog.h-data [XPG3]: Likewise.
37393         * conform/data/ucontext.h-data [XPG3]: Likewise.
37394         * conform/data/utmpx.h-data [XPG3]: Likewise.
37395         * conform/data/varargs.h-data [UNIX98]: Enable file.
37397         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37399         * math/libm-test.inc (struct test_f_f_data): Move expected results
37400         into structure for each rounding mode.
37401         (struct test_ff_f_data): Likewise.
37402         (struct test_ff_f_data_nexttoward): Likewise.
37403         (struct test_fi_f_data): Likewise.
37404         (struct test_fl_f_data): Likewise.
37405         (struct test_if_f_data): Likewise.
37406         (struct test_fff_f_data): Likewise.
37407         (struct test_c_f_data): Likewise.
37408         (struct test_f_f1_data): Likewise.
37409         (struct test_fF_f1_data): Likewise.
37410         (struct test_ffI_f1_data): Likewise.
37411         (struct test_c_c_data): Likewise.
37412         (struct test_cc_c_data): Likewise.
37413         (struct test_f_i_data): Likewise.
37414         (struct test_ff_i_data): Likewise.
37415         (struct test_f_l_data): Likewise.
37416         (struct test_f_L_data): Likewise.
37417         (struct test_fFF_11_data): Likewise.
37418         (RM_): New macro.
37419         (RM_FE_DOWNWARD): Likewise.
37420         (RM_FE_TONEAREST): Likewise.
37421         (RM_FE_TOWARDZERO): Likewise.
37422         (RM_FE_UPWARD): Likewise.
37423         (RUN_TEST_LOOP_f_f): Update references to expected results.
37424         (RUN_TEST_LOOP_2_f): Likewise.
37425         (RUN_TEST_LOOP_fff_f): Likewise.
37426         (RUN_TEST_LOOP_c_f): Likewise.
37427         (RUN_TEST_LOOP_f_f1): Likewise.
37428         (RUN_TEST_LOOP_fF_f1): Likewise.
37429         (RUN_TEST_LOOP_fI_f1): Likewise.
37430         (RUN_TEST_LOOP_ffI_f1): Likewise.
37431         (RUN_TEST_LOOP_c_c): Likewise.
37432         (RUN_TEST_LOOP_cc_c): Likewise.
37433         (RUN_TEST_LOOP_f_i): Likewise.
37434         (RUN_TEST_LOOP_f_i_tg): Likewise.
37435         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37436         (RUN_TEST_LOOP_f_b): Likewise.
37437         (RUN_TEST_LOOP_f_b_tg): Likewise.
37438         (RUN_TEST_LOOP_f_l): Likewise.
37439         (RUN_TEST_LOOP_f_L): Likewise.
37440         (RUN_TEST_LOOP_fFF_11): Likewise.
37441         * math/gen-libm-test.pl (parse_args): Output four copies of
37442         expected results for each test.
37444         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37445         (__ASSUME_UTIMES): Remove.
37446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37447         (__ASSUME_UTIMES): Likewise.
37449         * math/gen-auto-libm-tests.c: Update comment on output format.
37450         (output_for_one_input_case): Generate before-rounding and
37451         after-rounding information as conditions on output flags not
37452         floating-point format.
37453         * math/auto-libm-test-out: Regenerated.
37454         * math/gen-libm-test.pl (cond_value): New function.
37455         (or_cond_value): Use cond_value.
37456         (generate_testfile): Handle conditional exceptions.
37458 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37460         * math/libm-test.inc (max_valid_error): New variable.
37461         (init_max_error): Take new argument specifying whether function
37462         results are exactly determined.  Set max_valid_error and bound
37463         other variables for errors based on this argument.
37464         (set_max_error): Do not record results above max_valid_error.
37465         (check_float_internal): Only accept errors of up to 0.5ulps if
37466         also at most max_valid_error.
37467         (START): Take new argument EXACT and pass it to init_max_error.
37468         (acos_test): Update call to START.
37469         (acos_test_tonearest): Likewise.
37470         (acos_test_towardzero): Likewise.
37471         (acos_test_downward): Likewise.
37472         (acos_test_upward): Likewise.
37473         (acosh_test): Likewise.
37474         (asin_test): Likewise.
37475         (asin_test_tonearest): Likewise.
37476         (asin_test_towardzero): Likewise.
37477         (asin_test_downward): Likewise.
37478         (asin_test_upward): Likewise.
37479         (asinh_test): Likewise.
37480         (atan_test): Likewise.
37481         (atanh_test): Likewise.
37482         (atan2_test): Likewise.
37483         (cabs_test): Likewise.
37484         (cacos_test): Likewise.
37485         (cacosh_test): Likewise.
37486         (carg_test): Likewise.
37487         (casin_test): Likewise.
37488         (casinh_test): Likewise.
37489         (catan_test): Likewise.
37490         (catanh_test): Likewise.
37491         (cbrt_test): Likewise.
37492         (ccos_test): Likewise.
37493         (ccosh_test): Likewise.
37494         (ceil_test): Likewise.
37495         (cexp_test): Likewise.
37496         (cimag_test): Likewise.
37497         (clog_test): Likewise.
37498         (clog10_test): Likewise.
37499         (conj_test): Likewise.
37500         (copysign_test): Likewise.
37501         (cos_test): Likewise.
37502         (cos_test_tonearest): Likewise.
37503         (cos_test_towardzero): Likewise.
37504         (cos_test_downward): Likewise.
37505         (cos_test_upward): Likewise.
37506         (cosh_test): Likewise.
37507         (cosh_test_tonearest): Likewise.
37508         (cosh_test_towardzero): Likewise.
37509         (cosh_test_downward): Likewise.
37510         (cosh_test_upward): Likewise.
37511         (cpow_test): Likewise.
37512         (cproj_test): Likewise.
37513         (creal_test): Likewise.
37514         (csin_test): Likewise.
37515         (csinh_test): Likewise.
37516         (csqrt_test): Likewise.
37517         (ctan_test): Likewise.
37518         (ctan_test_tonearest): Likewise.
37519         (ctan_test_towardzero): Likewise.
37520         (ctan_test_downward): Likewise.
37521         (ctan_test_upward): Likewise.
37522         (ctanh_test): Likewise.
37523         (ctanh_test_tonearest): Likewise.
37524         (ctanh_test_towardzero): Likewise.
37525         (ctanh_test_downward): Likewise.
37526         (ctanh_test_upward): Likewise.
37527         (erf_test): Likewise.
37528         (erfc_test): Likewise.
37529         (exp_test): Likewise.
37530         (exp_test_tonearest): Likewise.
37531         (exp_test_towardzero): Likewise.
37532         (exp_test_downward): Likewise.
37533         (exp_test_upward): Likewise.
37534         (exp10_test): Likewise.
37535         (exp10_test_tonearest): Likewise.
37536         (exp10_test_towardzero): Likewise.
37537         (exp10_test_downward): Likewise.
37538         (exp10_test_upward): Likewise.
37539         (pow10_test): Likewise.
37540         (exp2_test): Likewise.
37541         (expm1_test): Likewise.
37542         (expm1_test_tonearest): Likewise.
37543         (expm1_test_towardzero): Likewise.
37544         (expm1_test_downward): Likewise.
37545         (expm1_test_upward): Likewise.
37546         (fabs_test): Likewise.
37547         (fdim_test): Likewise.
37548         (floor_test): Likewise.
37549         (fma_test): Likewise.
37550         (fma_test_towardzero): Likewise.
37551         (fma_test_downward): Likewise.
37552         (fma_test_upward): Likewise.
37553         (fmax_test): Likewise.
37554         (fmin_test): Likewise.
37555         (fmod_test): Likewise.
37556         (fpclassify_test): Likewise.
37557         (frexp_test): Likewise.
37558         (hypot_test): Likewise.
37559         (ilogb_test): Likewise.
37560         (isfinite_test): Likewise.
37561         (finite_test): Likewise.
37562         (isgreater_test): Likewise.
37563         (isgreaterequal_test): Likewise.
37564         (isinf_test): Likewise.
37565         (isless_test): Likewise.
37566         (islessequal_test): Likewise.
37567         (islessgreater_test): Likewise.
37568         (isnan_test): Likewise.
37569         (isnormal_test): Likewise.
37570         (issignaling_test): Likewise.
37571         (isunordered_test): Likewise.
37572         (j0_test): Likewise.
37573         (j1_test): Likewise.
37574         (jn_test): Likewise.
37575         (ldexp_test): Likewise.
37576         (lgamma_test): Likewise.
37577         (gamma_test): Likewise.
37578         (lrint_test): Likewise.
37579         (lrint_test_tonearest): Likewise.
37580         (lrint_test_towardzero): Likewise.
37581         (lrint_test_downward): Likewise.
37582         (lrint_test_upward): Likewise.
37583         (llrint_test): Likewise.
37584         (llrint_test_tonearest): Likewise.
37585         (llrint_test_towardzero): Likewise.
37586         (llrint_test_downward): Likewise.
37587         (llrint_test_upward): Likewise.
37588         (log_test): Likewise.
37589         (log10_test): Likewise.
37590         (log1p_test): Likewise.
37591         (log2_test): Likewise.
37592         (logb_test): Likewise.
37593         (logb_test_downward): Likewise.
37594         (lround_test): Likewise.
37595         (llround_test): Likewise.
37596         (modf_test): Likewise.
37597         (nearbyint_test): Likewise.
37598         (nextafter_test): Likewise.
37599         (nexttoward_test): Likewise.
37600         (pow_test): Likewise.
37601         (pow_test_tonearest): Likewise.
37602         (pow_test_towardzero): Likewise.
37603         (pow_test_downward): Likewise.
37604         (pow_test_upward): Likewise.
37605         (remainder_test): Likewise.
37606         (drem_test): Likewise.
37607         (remainder_test_tonearest): Likewise.
37608         (drem_test_tonearest): Likewise.
37609         (remainder_test_towardzero): Likewise.
37610         (drem_test_towardzero): Likewise.
37611         (remainder_test_downward): Likewise.
37612         (drem_test_downward): Likewise.
37613         (remainder_test_upward): Likewise.
37614         (drem_test_upward): Likewise.
37615         (remquo_test): Likewise.
37616         (rint_test): Likewise.
37617         (rint_test_tonearest): Likewise.
37618         (rint_test_towardzero): Likewise.
37619         (rint_test_downward): Likewise.
37620         (rint_test_upward): Likewise.
37621         (round_test): Likewise.
37622         (scalb_test): Likewise.
37623         (scalbn_test): Likewise.
37624         (scalbln_test): Likewise.
37625         (signbit_test): Likewise.
37626         (sin_test): Likewise.
37627         (sin_test_tonearest): Likewise.
37628         (sin_test_towardzero): Likewise.
37629         (sin_test_downward): Likewise.
37630         (sin_test_upward): Likewise.
37631         (sincos_test): Likewise.
37632         (sinh_test): Likewise.
37633         (sinh_test_tonearest): Likewise.
37634         (sinh_test_towardzero): Likewise.
37635         (sinh_test_downward): Likewise.
37636         (sinh_test_upward): Likewise.
37637         (sqrt_test): Likewise.
37638         (sqrt_test_tonearest): Likewise.
37639         (sqrt_test_towardzero): Likewise.
37640         (sqrt_test_downward): Likewise.
37641         (sqrt_test_upward): Likewise.
37642         (tan_test): Likewise.
37643         (tan_test_tonearest): Likewise.
37644         (tan_test_towardzero): Likewise.
37645         (tan_test_downward): Likewise.
37646         (tan_test_upward): Likewise.
37647         (tanh_test): Likewise.
37648         (tgamma_test): Likewise.
37649         (trunc_test): Likewise.
37650         (y0_test): Likewise.
37651         (y1_test): Likewise.
37652         (yn_test): Likewise.
37653         (significand_test): Likewise.
37655         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37656         individual tests in comment.
37657         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37658         (prev_max_error): New variable.
37659         (prev_real_max_error): Likewise.
37660         (prev_imag_max_error): Likewise.
37661         (compare_ulp_data): Don't refer to test names in comment.
37662         (find_test_ulps): Remove function.
37663         (find_function_ulps): Likewise.
37664         (find_complex_function_ulps): Likewise.
37665         (init_max_error): Take function name as argument.  Look up ulps
37666         for that function.
37667         (print_ulps): Remove function.
37668         (print_max_error): Use prev_max_error instead of calling
37669         find_function_ulps.
37670         (print_complex_max_error): Use prev_real_max_error and
37671         prev_imag_max_error instead of calling find_complex_function_ulps.
37672         (check_float_internal): Take max_ulp parameter instead of calling
37673         find_test_ulps.  Don't call print_ulps.
37674         (check_float): Update call to check_float_internal.
37675         (check_complex): Update calls to check_float_internal.
37676         (START): Pass argument to init_max_error.
37677         * math/gen-libm-test.pl (%results): Don't include "kind"
37678         information.
37679         (parse_ulps): Don't handle ulps of individual tests.
37680         (print_ulps_file): Likewise.
37681         (output_ulps): Likewise.
37682         * math/README.libm-test: Update.
37683         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37684         individual tests.
37685         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37686         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37687         * sysdeps/arm/libm-test-ulps: Likewise.
37688         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37689         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37690         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37691         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37692         * sysdeps/microblaze/libm-test-ulps: Likewise.
37693         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37694         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37695         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37696         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37697         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37698         * sysdeps/sh/libm-test-ulps: Likewise.
37699         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37700         * sysdeps/tile/libm-test-ulps: Likewise.
37701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37703 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37705         * math/libm-test.inc (print_complex_max_error): Check separately
37706         whether real and imaginary errors are within allowed range and
37707         pass 0 to print_complex_function_ulps instead of value within
37708         allowed range.
37710 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37712         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37713         formatting.
37714         (get_handles_fopen): Likewise.
37715         (do_write_test): Likewise.
37717         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37719         * libio/fileops.c (do_ftell): Use cached offset when
37720         available.
37721         * libio/iofwide.c (do_ftell_wide): Likewise.
37722         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37723         _IO_file_attach.
37724         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37726         [BZ #16532]
37727         * libio/libioP.h (get_file_offset): New function.
37728         * libio/fileops.c (get_file_offset): Likewise.
37729         (do_ftell): Likewise.
37730         (_IO_new_file_seekoff): Split out ftell logic.
37731         * libio/wfileops.c (do_ftell_wide): Likewise.
37732         (_IO_wfile_seekoff): Split out ftell logic.
37733         * libio/tst-ftell-active-handler.c: New test case.
37734         * libio/Makefile (tests): Add it.
37736 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37738         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37739         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37741 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37743         [BZ #16639]
37744         * nscd/connections.c (nscd_init): Call do_exit.
37745         (start_threads): Call do_exit and notify_parent.
37746         (begin_drop_privileges): Call do_exit.
37747         (finish_drop_privileges): Likewise.
37748         * nscd/selinux.c (preserve_capabilities): Likewise.
37749         (install_real_capabilities): Likewise.
37750         (nscd_selinux_enabled): Likewise.
37751         (avc_create_thread): Likewise.
37752         (avc_alloc_lock): Likewise.
37753         (nscd_avc_init): Likewise.
37754         * nscd/nscd.c (parent_fd): New static variable.
37755         (main): Create a pipe between parent and child processes.
37756         Skip closing parent_fd.
37757         (monitor_child): New function.
37758         (do_exit): Likewise.
37759         (notify_parent): Likewise.
37760         * nscd/nscd.h (notify_parent): Likewise.
37761         (do_exit): Likewise.
37763 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37765         * malloc/malloc.c (__libc_calloc): Revert last change.
37767 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37771 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37773         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37775         implementation.
37776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37777         (__libc_ifunc_impl_list): Likewise.
37778         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37779         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37780         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37781         * string/strrchr.c: Define STRRCHR.
37783 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37785         * benchtest/bench-strtok.c (simple_strtok): Delete.
37786         (strtok_string): Use as benchmark.
37787         * string/strtok (STRTOK): New macro.
37789 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37791         * manual/threads.texi: Add header and standard comments to all
37792         functions.
37794         * elf/dl-lookup.c (check_match): New function.
37795         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37796         (do_lookup_x): Remove nested function check_match. Use non-nested
37797         function check_match.
37799 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37801         * csu/Makefile (generated, before-compile): Use += rather than =.
37802         * catgets/Makefile (generated, generated-dirs): Likewise.
37803         * debug/Makefile (generated): Likewise.
37804         * dlfcn/Makefile (generated): Likewise.
37805         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37806         * iconvdata/Makefile (before-compile, generated): Likewise.
37807         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37808         * libio/Makefile (generated): Likewise.
37809         * malloc/Makefile (generated): Likewise.
37810         * manual/Makefile (generated, generated-dirs): Likewise.
37811         * misc/Makefile (generated): Likewise.
37812         * posix/Makefile (generated): Likewise.
37813         * resolv/Makefile (generated): Likewise.
37814         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37815         * timezone/Makefile (generated, generated-dirs): Likewise.
37817         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37819 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37821         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37822         power8 implementation.
37823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37824         file: POWER8 llround ifunc implementation.
37825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37826         (__lllround): Add POWER8 implementation.
37827         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37828         POWER8 llround implementation.
37830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37831         power8 implementation.
37832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37833         file: POWER8 llrint ifunc implementation.
37834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37835         Add POWER8 implementation.
37836         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37837         POWER8 llrint implementation.
37839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37840         power8 implementation.
37841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37842         file: POWER8 finite ifunc implementation.
37843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37844         Add POWER8 implementation.
37845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37846         Likewise.
37847         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37848         POWER8 finite implementation.
37849         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37852         power8 implementation.
37853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37854         file: POWER8 isinf ifunc implementation.
37855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37856         POWER8 implementation.
37857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37858         Likewise.
37859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37860         isinf implementation.
37861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37863         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37864         (INIT_ARCH): Add hwcap2 initialization.
37865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37866         power8 implementation.
37867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37868         file: POWER8 isnan ifunc implementation.
37869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37870         POWER8 implementation.
37871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37872         Likewise.
37873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37874         isnan implementation.
37875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37877 2014-02-27  Joey Ye  <joey.ye@arm.com>
37879         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37880         (_FP_NANFRAC_Q): Set to zero.
37882 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37884         [BZ #16623]
37885         * math/auto-libm-test-in: New test inputs.
37886         * math/auto-libm-test-out: Regenerate.
37887         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37888         and DA.
37889         (__cos): Likewise.
37890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37892 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37894         * scripts/evaluate-test.sh: Take new argument indicating whether
37895         failure is expected.
37896         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37897         indicating whether failure is expected.
37898         * conform/Makefile (test-xfail-run-conformtest): New variable.
37899         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37900         level.
37901         * posix/Makefile (test-xfail-annexc): New variable.
37902         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37904 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37906         * argp/Makefile: Include Makeconfig immediately after defining
37907         subdir.
37908         * assert/Makefile: Likewise.
37909         * benchtests/Makefile: Likewise.
37910         * catgets/Makefile: Likewise.
37911         * conform/Makefile: Likewise.
37912         * crypt/Makefile: Likewise.
37913         * csu/Makefile: Likewise.
37914         (all): Remove target.
37915         * ctype/Makefile: Include Makeconfig immediately after defining
37916         subdir.
37917         * debug/Makefile: Likewise.
37918         * dirent/Makefile: Likewise.
37919         * dlfcn/Makefile: Likewise.
37920         * gmon/Makefile: Likewise.
37921         * gnulib/Makefile: Likewise.
37922         * grp/Makefile: Likewise.
37923         * gshadow/Makefile: Likewise.
37924         * hesiod/Makefile: Likewise.
37925         * hurd/Makefile: Likewise.
37926         (all): Remove target.
37927         * iconvdata/Makefile: Include Makeconfig immediately after
37928         defining subdir.
37929         * inet/Makefile: Likewise.
37930         * intl/Makefile: Likewise.
37931         * io/Makefile: Likewise.
37932         * libio/Makefile: Likewise.
37933         (all): Remove target.
37934         * locale/Makefile: Include Makeconfig immediately after defining
37935         subdir.
37936         * login/Makefile: Likewise.
37937         * mach/Makefile: Likewise.
37938         (all): Remove target.
37939         * malloc/Makefile: Include Makeconfig immediately after defining
37940         subdir.
37941         (all): Remove target.
37942         * manual/Makefile: Include Makeconfig immediately after defining
37943         subdir.
37944         * math/Makefile: Likewise.
37945         * misc/Makefile: Likewise.
37946         * nis/Makefile: Likewise.
37947         * nss/Makefile: Likewise.
37948         * po/Makefile: Likewise.
37949         (all): Remove target.
37950         * posix/Makefile: Include Makeconfig immediately after defining
37951         subdir.
37952         * pwd/Makefile: Likewise.
37953         * resolv/Makefile: Likewise.
37954         * resource/Makefile: Likewise.
37955         * rt/Makefile: Likewise.
37956         * setjmp/Makefile: Likewise.
37957         * shadow/Makefile: Likewise.
37958         * signal/Makefile: Likewise.
37959         * socket/Makefile: Likewise.
37960         * soft-fp/Makefile: Likewise.
37961         * stdio-common/Makefile: Likewise.
37962         * stdlib/Makefile: Likewise.
37963         * streams/Makefile: Likewise.
37964         * string/Makefile: Likewise.
37965         * sunrpc/Makefile: Likewise.
37966         (all): Remove target.
37967         * sysvipc/Makefile: Include Makeconfig immediately after defining
37968         subdir.
37969         * termios/Makefile: Likewise.
37970         * time/Makefile: Likewise.
37971         * timezone/Makefile: Likewise.
37972         (all): Remove target.
37973         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37974         subdir.
37975         * wctype/Makefile: Likewise.
37977 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37979         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37980         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37981         (libc_feholdexcept_setround_mips): Ditto.
37982         (libc_feholdsetround): New.
37983         (libc_feholdsetroundf): New.
37984         (libc_feholdsetroundl): New.
37985         (libc_feupdateenv_test_mips): New.
37986         (libc_feupdateenv_test): New.
37987         (libc_feupdateenv_testf): New.
37988         (libc_feupdateenv_testl): New.
37989         (libc_feresetround): New.
37990         (libc_feresetroundf): New.
37991         (libc_feresetroundl): New.
37992         (libc_fetestexcept_mips): New.
37993         (libc_fetestexcept): New.
37994         (libc_fetestexceptf): New.
37995         (libc_fetestexceptl): New.
37996         (HAVE_RM_CTX): New.
37997         (libc_feholdexcept_setround_mips_ctx): New.
37998         (libc_feholdexcept_setround_ctx): New.
37999         (libc_feholdexcept_setroundf_ctx): New.
38000         (libc_feholdexcept_setroundl_ctx): New.
38001         (libc_fesetenv_mips_ctx): New.
38002         (libc_fesetenv_ctx): New.
38003         (libc_fesetenv_ctxf): New.
38004         (libc_fesetenv_ctxl): New.
38005         (libc_feupdateenv_mips_ctx): New.
38006         (libc_feupdateenv_ctx): New.
38007         (libc_feupdateenvf_ctx): New.
38008         (libc_feupdateenvl_ctx): New.
38009         (libc_feholdsetround_mips_ctx): New.
38010         (libc_feholdsetround_ctx): New.
38011         (libc_feholdsetroundf_ctx): New.
38012         (libc_feholdsetroundl_ctx): New.
38013         (libc_feresetround_mips_ctx): New.
38014         (libc_feresetround_ctx): New.
38015         (libc_feresetroundf_ctx): New.
38016         (libc_feresetroundl_ctx): New.
38018 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38020         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38022         * manual/ipc.texi: New file.
38023         * manual/Makefile (chapters): Add ipc.
38024         * manual/job.texi: Add "Inter-Process Communication" to next.
38025         * manual/process.texi: Add "Inter-Process Communication" to prev.
38027 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38031 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38033         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38035         * manual/arith.texi: Fix spaces after sentences.
38036         * manual/charset.texi: Likewise.
38037         * manual/errno.texi: Likewise.
38038         * manual/install.texi: Likewise.
38039         * manual/llio.texi: Likewise.
38040         * manual/locale.texi: Likewise.
38041         * manual/maint.texi: Likewise.
38042         * manual/math.texi: Likewise.
38043         * manual/memory.texi: Likewise.
38044         * manual/message.texi: Likewise.
38045         * manual/probes.texi: Likewise.
38046         * manual/resource.texi: Likewise.
38047         * manual/signal.texi: Likewise.
38048         * manual/socket.texi: Likewise.
38049         * manual/stdio.texi: Likewise.
38050         * manual/string.texi: Likewise.
38051         * manual/time.texi: Likewise.
38052         * manual/users.texi: Likewise.
38054 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38056         [BZ #16632]
38057         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38058         _DEFAULT_SOURCE is defined.
38060 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38061             Carlos O'Donell  <carlos@redhat.com>
38063         [BZ #16613]
38064         * elf/dl-tls.c (_dl_count_modids): New function.
38065         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38066         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38067         audit library and increment generation counter.
38068         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38069         * elf/tst-audit9.c: New file.
38070         * elf/tst-auditmod9a.c: New file.
38071         * elf/tst-auditmod9b.c: New file.
38072         * elf/Makefile: Add rules to build and run tst-audit9.
38074 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38076         [BZ #15347]
38077         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38079 2014-02-25  Will Newton  <will.newton@linaro.org>
38081         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38082         (__longjmp): Restore sp and lr before restoring callee
38083         saved registers.  Add longjmp and longjmp_target
38084         SystemTap probe point.
38085         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38086         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38087         Define to zero to match jmpbuf layout.
38088         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38089         (__sigsetjmp): Save sp and lr before saving callee
38090         saved registers.  Add setjmp SystemTap probe point.
38092 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38094         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38096 2014-02-24  Andreas Schwab  <schwab@suse.de>
38098         [BZ #15804]
38099         * elf/pldd.c (wait_for_ptrace_stop): New function.
38100         (main): Call it after attaching.
38102 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38104         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38105         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38106         Versions files is now verboten.
38107         * hurd/Versions (libc: GLIBC_2.0):
38108         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38109         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38110         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38111         * mach/Versions: Likewise.
38113         * csu/Versions: Remove unused %include.
38114         * resolv/Versions: Likewise.
38116 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38118         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38119         ($(objpfx)check-local-headers.out): Likewise.
38120         ($(objpfx)begin-end-check.out): Likewise.
38121         * Makerules (check-abi-%.out): Likewise.
38122         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38123         ($(objpfx)test2.cat): Likewise.
38124         ($(objpfx)de/libc.cat): Likewise.
38125         ($(objpfx)test-gencat.out): Likewise.
38126         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38127         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38128         ($(objpfx)noload-mem): Likewise.
38129         ($(objpfx)tst-pathopt.out): Likewise.
38130         ($(objpfx)tst-rtld-load-self.out): Likewise.
38131         ($(objpfx)tst-array1-cmp.out): Likewise.
38132         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38133         ($(objpfx)tst-array2-cmp.out): Likewise.
38134         ($(objpfx)tst-array3-cmp.out): Likewise.
38135         ($(objpfx)tst-array4-cmp.out): Likewise.
38136         ($(objpfx)tst-array5-cmp.out): Likewise.
38137         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38138         ($(objpfx)check-textrel.out): Likewise.
38139         ($(objpfx)check-execstack.out): Likewise.
38140         ($(objpfx)check-localplt.out): Likewise.
38141         ($(objpfx)order2-cmp.out): Likewise.
38142         ($(objpfx)tst-leaks1-mem): Likewise.
38143         ($(objpfx)tst-leaks1-static-mem): Likewise.
38144         ($(objpfx)tst-initorder-cmp.out): Likewise.
38145         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38146         ($(objpfx)tst-unused-dep.out): Likewise.
38147         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38148         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38149         * iconv/Makefile (test-iconvconfig): Likewise.
38150         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38151         ($(objpfx)iconv-test.out): Likewise.
38152         ($(objpfx)tst-tables.out): Likewise.
38153         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38154         ($(objpfx)tst-gettext.out): Likewise.
38155         ($(objpfx)tst-translit.out): Likewise.
38156         ($(objpfx)tst-gettext2.out): Likewise.
38157         ($(objpfx)tst-gettext4.out): Likewise.
38158         ($(objpfx)tst-gettext6.out): Likewise.
38159         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38160         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38161         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38162         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38163         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38164         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38165         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38166         ($(objpfx)wordexp-tst.out): Likewise.
38167         ($(objpfx)annexc.out): Likewise.
38168         ($(objpfx)tst-fnmatch-mem): Likewise.
38169         ($(objpfx)bug-regex2-mem): Likewise.
38170         ($(objpfx)bug-regex14-mem): Likewise.
38171         ($(objpfx)bug-regex21-mem): Likewise.
38172         ($(objpfx)bug-regex31-mem): Likewise.
38173         ($(objpfx)tst-vfork3-mem): Likewise.
38174         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38175         ($(objpfx)tst-pcre-mem): Likewise.
38176         ($(objpfx)tst-boost-mem): Likewise.
38177         ($(objpfx)tst-getconf.out): Likewise.
38178         ($(objpfx)bug-ga2-mem): Likewise.
38179         ($(objpfx)bug-glob2-mem): Likewise.
38180         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38181         ($(objpfx)mtrace-tst-leaks2): Likewise.
38182         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38183         ($(objpfx)tst-printf.out): Likewise.
38184         ($(objpfx)tst-setvbuf1.out): Likewise.
38185         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38186         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38187         ($(objpfx)tst-fmtmsg.out): Likewise.
38188         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38189         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38191         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38192         * bits/sigaction.h [__USE_MISC]: Likewise.
38193         * bits/waitstatus.h: Update #endif comments.
38194         * ctype/ctype.h: Likewise.
38195         * dirent/dirent.h: Likewise.
38196         [__USE_MISC]: Remove redundant conditionals.
38197         * grp/grp.h: Update #endif comments.
38198         [__USE_GNU]: Remove redundant conditionals.
38199         [__USE_MISC]: Likewise.
38200         * inet/netinet/in.h [__USE_GNU]: Likewise.
38201         * io/sys/stat.h [__USE_MISC]: Likewise.
38202         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38203         * libio/bits/stdio.h: Update #endif comments.
38204         [__USE_MISC]: Remove redundant conditionals.
38205         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38206         * libio/stdio.h: Update #endif comments.
38207         [__USE_MISC]: Remove redundant conditionals.
38208         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38209         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38210         * math/math.h: Update #else and #endif comments.
38211         [__USE_MISC]: Remove redundant conditionals.
38212         * misc/sys/uio.h: Update #endif comments.
38213         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38214         * posix/glob.h [__USE_MISC]: Likewise.
38215         * posix/sys/types.h: Update #endif comments.
38216         [__USE_MISC]: Remove redundant conditionals.
38217         * posix/sys/wait.h: Update #endif comments.
38218         [__USE_MISC]: Remove redundant conditionals.
38219         * posix/unistd.h: Update #endif comments.
38220         [__USE_MISC]: Remove redundant conditionals.
38221         * pwd/pwd.h [__USE_GNU]: Likewise.
38222         [__USE_MISC]: Likewise.
38223         * resolv/netdb.h [__USE_GNU]: Likewise.
38224         * signal/signal.h: Update #endif comments.
38225         [__USE_MISC]: Remove redundant conditionals.
38226         * stdlib/stdlib.h: Update #else and #endif comments.
38227         [__USE_MISC]: Remove redundant conditionals.
38228         [__USE_GNU]: Likewise.
38229         * string/bits/string2.h [__USE_MISC]: Likewise.
38230         * string/string.h: Update #endif comments.
38231         [__USE_MISC]: Remove redundant conditionals.
38232         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38233         Likewise.
38234         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38235         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38236         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38237         Likewise.
38238         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38239         Likewise.
38240         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38241         comments.
38242         [__USE_MISC]: Remove redundant conditionals.
38243         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38244         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38245         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38246         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38247         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38248         Likewise.
38249         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38250         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38251         Likewise.
38252         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38253         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38254         Likewise.
38255         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38256         Likewise.
38257         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38258         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38259         Likewise.
38260         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38261         Likewise.
38262         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38263         * sysdeps/x86/bits/string.h: Update #endif comments.
38264         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38265         conditionals.
38266         * time/sys/time.h: Update #endif comments.
38267         * time/time.h: Likewise.
38268         [__USE_MISC]: Remove redundant conditionals.
38270 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38272         [BZ #16600]
38273         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38275 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38277         * Versions.def (librt): Add GLIBC_2.17.
38279 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38281         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38282         synonym for _SYS_AUXV_H to allow direct inclusion.
38283         * sysdeps/sparc/bits/hwcap.h: Likewise.
38284         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38285         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38286         * sysdeps/sparc/sysdep.h: Likewise.
38288 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38290         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38292 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38294         * benchtests/bench-strrchr.c: Print length instead of position.
38296 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38298         [BZ #16611]
38299         * sysdeps/unix/sysv/linux/kernel-features.h
38300         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38301         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38302         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38303         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38304         Likewise.
38305         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38306         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38307         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38308         (__ASSUME_SENDMMSG): Define instead of using previous
38309         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38310         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38311         (__ASSUME_SENDMMSG_SYSCALL): Define.
38312         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38313         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38314         Likewise.
38315         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38316         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38317         Likewise.
38318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38319         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38320         Likewise.
38321         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38322         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38323         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38324         [__ASSUME_SENDMMSG]: Change conditionals to
38325         [__ASSUME_SENDMMSG_SOCKETCALL].
38326         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38327         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38328         Define.
38329         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38330         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38331         Likewise.
38332         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38333         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38334         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38335         [!__ASSUME_SENDMMSG]: Change conditional to
38336         [!__ASSUME_SENDMMSG_SOCKETCALL].
38337         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38338         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38339         Define.
38341         [BZ #16610]
38342         * sysdeps/unix/sysv/linux/kernel-features.h
38343         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38344         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38345         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38346         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38347         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38348         [__i386__ || __sparc__]
38349         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38350         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38351         (__ASSUME_RECVMMSG): Define instead of using previous
38352         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38353         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38354         (__ASSUME_RECVMMSG_SYSCALL): Define.
38355         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38356         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38357         Likewise.
38358         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38359         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38360         Likewise.
38361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38362         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38363         Likewise.
38364         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38365         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38366         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38367         [__ASSUME_RECVMMSG]: Change condition to
38368         [__ASSUME_RECVMMSG_SOCKETCALL].
38369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38370         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38371         Define.
38372         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38373         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38375         Likewise.
38376         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38377         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38378         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38379         [!__ASSUME_RECVMMSG]: Change condition to
38380         [!__ASSUME_RECVMMSG_SOCKETCALL].
38381         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38382         (__ASSUME_RECVMMSG_SYSCALL): Define.
38384         [BZ #16609]
38385         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38386         __powerpc__ || __s390__ || __sh__ || __sparc__]
38387         (__ASSUME_SOCKETCALL): Define.
38388         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38389         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38390         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38391         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38392         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38393         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38394         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38395         (__ASSUME_ACCEPT4): Define instead of using previous
38396         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38397         __powerpc__ || __sparc__ || __s390__)] condition.
38398         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38399         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38400         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38401         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38402         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38403         [!__ASSUME_ACCEPT4]: Change condition to
38404         [!__ASSUME_ACCEPT4_SOCKETCALL].
38405         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38406         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38407         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38408         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38409         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38410         __ASSUME_ACCEPT4_SYSCALL.
38411         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38412         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38413         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38414         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38415         __ASSUME_ACCEPT4_SYSCALL.
38416         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38417         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38418         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38419         [__ASSUME_ACCEPT4]: Change condition to
38420         [__ASSUME_ACCEPT4_SOCKETCALL].
38421         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38422         (__ASSUME_SOCKETCALL): Define.
38423         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38424         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38425         (__ASSUME_SOCKETCALL): Define.
38426         (__ASSUME_ACCEPT4): Remove.
38427         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38428         Define.
38429         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38430         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38431         Likewise.
38432         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38433         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38435         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38436         macro.
38437         (HWCAP_ARM_LPAE): Likewise.
38438         (HWCAP_ARM_EVTSTRM): Likewise.
38439         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38440         Add vpfd32, lpae and evtstrm.
38441         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38442         Increase to 22.
38444 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38446         * math/auto-libm-test-in: Add tests of clog10.
38447         * math/auto-libm-test-out: Regenerated.
38448         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38449         * sysdeps/i386/fpu/libm-test-ulps: Update.
38450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38452 2014-02-18  Andreas Schwab  <schwab@suse.de>
38454         [BZ #16574]
38455         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38456         Store non-zero if the second buffer was newly allocated.
38457         (send_dg): Likewise.
38458         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38459         to send_vc and send_dg.
38460         (res_nsend): Pass NULL for ansp2_malloced.
38461         * resolv/res_query.c (__libc_res_nquery): Add parameter
38462         answerp2_malloced and pass it down to __libc_res_nsend.
38463         (res_nquery): Pass additional NULL to __libc_res_nquery.
38464         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38465         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38466         second answer buffer if answerp2_malloced was set.
38467         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38468         (__libc_res_nquerydomain): Add parameter
38469         answerp2_malloced and pass it down to __libc_res_nquery.
38470         (res_nquerydomain): Pass additional NULL to
38471         __libc_res_nquerydomain.
38472         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38473         additional NULL to __libc_res_nsend and __libc_res_nquery.
38474         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38475         additional NULL to __libc_res_nsearch.
38476         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38477         parameter of __libc_res_nsearch to check for separately allocated
38478         second buffer.
38479         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38480         __libc_res_nquery.
38481         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38482         additional NULL to __libc_res_nquery.
38483         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38484         __libc_res_nsearch.
38485         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38486         * include/resolv.h: Update prototypes of __libc_res_nquery,
38487         __libc_res_nsearch, __libc_res_nsend.
38489 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38491         * math/auto-libm-test-in: Add tests of fma.
38492         * math/auto-libm-test-out: Regenerated.
38493         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38494         (fma_towardzero_test_data): Likewise.
38495         (fma_downward_test_data): Likewise.
38496         (fma_upward_test_data): Likewise.
38497         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38498         mpc_mode.
38499         (rounding_modes): Add values for new field.
38500         (func_calc_method): Add value mpfr_fff_f.
38501         (func_calc_desc): Add mpfr_fff_f union field.
38502         (test_function): Add field exact_args.
38503         (FUNC): Add macro argument EXACT_ARGS.
38504         (FUNC_mpfr_f_f): Update call to FUNC.
38505         (FUNC_mpfr_f_f): Likewise.
38506         (FUNC_mpfr_ff_f): Likewise.
38507         (FUNC_mpfr_if_f): Likewise.
38508         (FUNC_mpc_c_f): Likewise.
38509         (FUNC_mpc_c_c): Likewise.
38510         (test_functions): Add fma.  Update calls to FUNC.
38511         (handle_input_arg): Add argument exact_args.
38512         (add_test): Update call to handle_input_arg.
38513         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38514         (output_for_one_input_case): Update call to calc_generic_results.
38515         Recalculate exact zero results in each rounding mode.
38517         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38518         non-negative before setting low bit.
38519         * math/auto-libm-test-in: Mark one asin test possibly having
38520         spurious underflow.
38521         * math/auto-libm-test-out: Regenerated.
38522         * sysdeps/i386/fpu/libm-test-ulps: Update.
38523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38525 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38527         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38528         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38529         ports/sysdeps/unix/sysv/linux/microblaze.
38530         * README: Add missing listing for microblaze*-*-linux-gnu.
38532 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38534         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38535         duplicate code
38537 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38539         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38540         * sysdeps/unix/sysv/linux/ia64: Move directory from
38541         ports/sysdeps/unix/sysv/linux/ia64.
38542         * README: Update listing for ia64-*-linux-gnu.
38544 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38545             Joseph Myers  <joseph@codesourcery.com>
38547         * Makeconfig (test-name): New variable.
38548         (evaluate-test): Likewise.
38549         * Makerules (do-test-clean): Remove .test-result files.
38550         (common-mostlyclean): Likewise.
38551         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38552         * scripts/evaluate-test.sh: New file.
38554 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38556         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38557         separate $(objpfx)tst-fopenloc-cmp.out and
38558         $(objpfx)tst-fopenloc-mem.out targets.
38559         (tests): Update dependencies.
38560         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38561         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38562         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38563         (tst-rxspencer-no-utf8-ARGS): New variable.
38564         (tst-rxspencer-no-utf8-ENV): Likewise.
38565         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38566         instead of $(objpfx)tst-rxspencer-mem.
38567         ($(objpfx)tst-rxspencer-mem): Change target to
38568         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38569         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38570         * posix/tst-rxspencer-no-utf8.c: New file.
38572         * elf/Makefile ($(objpfx)order.out): Remove rule.
38573         [$(run-built-tests) = yes] (tests): Depend on
38574         $(objpfx)order-cmp.out.
38575         ($(objpfx)order-cmp.out): New rule.
38576         [$(run-built-tests) = yes] (tests): Depend on
38577         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38578         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38579         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38580         $(objpfx)tst-array5-static-cmp.out.
38581         ($(objpfx)tst-array1.out): Remove rule.
38582         ($(objpfx)tst-array1-cmp.out): New rule.
38583         ($(objpfx)tst-array1-static.out): Remove rule.
38584         ($(objpfx)tst-array1-static-cmp.out): New rule.
38585         ($(objpfx)tst-array2.out): Remove rule.
38586         ($(objpfx)tst-array2-cmp.out): New rule.
38587         ($(objpfx)tst-array3.out): Remove rule.
38588         ($(objpfx)tst-array3-cmp.out): New rule.
38589         ($(objpfx)tst-array4.out): Remove rule.
38590         ($(objpfx)tst-array4-cmp.out): New rule.
38591         ($(objpfx)tst-array5.out): Remove rule.
38592         ($(objpfx)tst-array5-cmp.out): New rule.
38593         ($(objpfx)tst-array5-static.out): Remove rule.
38594         ($(objpfx)tst-array5-static-cmp.out): New rule.
38595         [$(run-built-tests) = yes] (tests): Depend on
38596         $(objpfx)order2-cmp.out.
38597         ($(objpfx)order2.out): Remove rule.
38598         ($(objpfx)order2-cmp.out): New rule.
38599         ($(objpfx)tst-initorder.out): Remove rule.
38600         [$(run-built-tests) = yes] (tests): Depend on
38601         $(objpfx)tst-initorder-cmp.out.
38602         ($(objpfx)tst-initorder-cmp.out): New rule.
38603         ($(objpfx)tst-initorder2.out): Remove rule.
38604         [$(run-built-tests) = yes] (tests): Depend on
38605         $(objpfx)tst-initorder2-cmp.out.
38606         ($(objpfx)tst-initorder2-cmp.out): New rule.
38607         [$(run-built-tests) = yes] (tests): Depend on
38608         $(objpfx)tst-unused-dep-cmp.out.
38609         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38610         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38611         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38612         on $(objpfx)tst-setvbuf1-cmp.out.
38613         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38614         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38615         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38616         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38617         ($(objpfx)tst-svc.out): Remove rule.
38618         ($(objpfx)tst-svc-cmp.out): New rule.
38620 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38622         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38623         * ctype/ctype.h [__USE_MISC]: Likewise.
38624         * dirent/dirent.h [__USE_MISC]: Likewise.
38625         * grp/grp.h [__USE_MISC]: Likewise.
38626         * io/fcntl.h [__USE_MISC]: Likewise.
38627         * io/sys/stat.h [__USE_MISC]: Likewise.
38628         * libio/stdio.h [__USE_MISC]: Likewise.
38629         * posix/unistd.h [__USE_MISC]: Likewise.
38630         * pwd/pwd.h [__USE_MISC]: Likewise.
38631         * stdlib.h [__USE_MISC]: Likewise.
38632         * string/bits/string2.h [__USE_MISC]: Likewise.
38633         * string/string.h [__USE_MISC]: Likewise.
38634         * time/time.h [__USE_MISC]: Likewise.
38636 2014-02-13  Andreas Schwab  <schwab@suse.de>
38638         [BZ #16574]
38639         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38640         second answer buffer if it was separately allocated.
38642 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38644         * sysdeps/mips/math-tests.h: Include <features.h>.
38645         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38646         (ROUNDING_TESTS_long_double): Do not define.
38647         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38648         (EXCEPTION_TESTS_long_double): Likewise.
38649         * sysdeps/mips/mips64/libm-test-ulps: Update.
38651         * include/features.h (__USE_BSD): Remove macro definitions.
38652         (__USE_SVID): Likewise.
38653         (_BSD_SOURCE): Likewise.
38654         (_SVID_SOURCE): Likewise.
38655         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38656         from definition of _DEFAULT_SOURCE.
38657         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38658         [_DEFAULT_SOURCE].
38659         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38660         * bits/mman.h [__USE_BSD]: Likewise.
38661         * bits/termios.h [__USE_BSD]: Likewise.
38662         * bits/waitstatus.h [__USE_BSD]: Likewise.
38663         * ctype/ctype.h [__USE_SVID]: Likewise.
38664         * dirent/dirent.h [__USE_BSD]: Likewise.
38665         * grp/grp.h [__USE_SVID]: Likewise.
38666         [__USE_BSD]: Likewise.
38667         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38668         * io/fcntl.h [__USE_BSD]: Likewise.
38669         * io/ftw.h [__USE_BSD]: Likewise.
38670         * io/sys/stat.h [__USE_BSD]: Likewise.
38671         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38672         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38673         * libio/stdio.h [__USE_SVID]: Likewise.
38674         [__USE_BSD]: Likewise.
38675         * math/math.h [__USE_SVID]: Likewise.
38676         [__USE_BSD]: Likewise.
38677         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38678         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38679         * misc/search.h [__USE_SVID]: Likewise.
38680         * misc/sys/mman.h [__USE_BSD]: Likewise.
38681         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38682         * misc/sys/uio.h [__USE_BSD]: Likewise.
38683         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38684         * posix/glob.h [__USE_BSD]: Likewise.
38685         * posix/regex.h [__USE_BSD]: Likewise.
38686         * posix/sys/types.h [__USE_BSD]: Likewise.
38687         [__USE_SVID]: Likewise.
38688         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38689         * posix/sys/wait.h [__USE_BSD]: Likewise.
38690         [__USE_SVID]: Likewise.
38691         * posix/unistd.h [__USE_BSD]: Likewise.
38692         [__USE_SVID]: Likewise.
38693         * pwd/pwd.h [__USE_SVID]: Likewise.
38694         * resolv/netdb.h [__USE_BSD]: Likewise.
38695         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38696         * signal/signal.h [__USE_BSD]: Likewise.
38697         [__USE_SVID]: Likewise.
38698         * socket/sys/socket.h [__USE_BSD]: Likewise.
38699         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38700         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38701         [__USE_SVID]: Likewise.
38702         * string/bits/string2.h [__USE_BSD]: Likewise.
38703         [__USE_SVID]: Likewise.
38704         * string/bits/string3.h [__USE_BSD]: Likewise.
38705         * string/endian.h [__USE_BSD]: Likewise.
38706         * string/string.h [__USE_SVID]: Likewise.
38707         [__USE_BSD]: Likewise.
38708         * string/strings.h [__USE_BSD]: Likewise.
38709         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38710         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38711         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38712         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38713         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38714         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38715         Likewise.
38716         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38717         Likewise.
38718         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38719         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38720         Likewise.
38721         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38722         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38723         Likewise.
38724         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38725         Likewise.
38726         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38727         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38729         Likewise.
38730         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38731         Likewise.
38732         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38733         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38734         * termios/termios.h [__USE_BSD]: Likewise.
38735         * time/sys/time.h [__USE_BSD]: Likewise.
38736         * time/time.h [__USE_BSD]: Likewise.
38737         [__USE_SVID]: Likewise.
38739         * Makefile (subdir_targets): Remove subdir_lint.out.
38741         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38742         (do-tst-printf): Likewise.
38743         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38744         $(objpfx)tst-printf.out.
38746         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38748         * Makerules (check-abi-%): Change target to
38749         $(objpfx)check-abi-%.out.
38750         (check-abi target): Update dependencies.
38751         (check-abi-pattern variable): Redirect output of diff to $@.
38752         (check-abi variable): Likewise.
38753         * elf/Makefile (check-abi): Update dependencies.
38755         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38756         unused.
38757         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38758         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38759         subnormal range.
38760         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38761         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38762         value has largest subnormal exponent.
38763         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38764         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38765         * sysdeps/aarch64/soft-fp/sfp-machine.h
38766         (_FP_TININESS_AFTER_ROUNDING): New macro.
38767         * sysdeps/alpha/soft-fp/sfp-machine.h
38768         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38769         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38770         Likewise.
38771         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38772         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38773         * sysdeps/mips/soft-fp/sfp-machine.h
38774         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38775         * sysdeps/powerpc/soft-fp/sfp-machine.h
38776         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38777         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38778         Likewise.
38779         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38780         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38781         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38782         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38783         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38784         Likewise.
38786 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38788         [BZ #16545]
38789         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38790         model 1.
38792 2014-02-12  Richard Henderson  <rth@redhat.com>
38794         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38795         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38796         * sysdeps/unix/sysv/linux/alpha: Move directory from
38797         ports/sysdeps/unix/sysv/linux/alpha.
38798         * README: Update listing for alpha-*-linux-gnu.
38800 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38802         * include/features.h: Update comment documenting feature test
38803         macros.
38804         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38805         _DEFAULT_SOURCE.
38806         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38807         (_SVID_SOURCE): Likewise.
38808         (_DEFAULT_SOURCE): Update description of default features.
38809         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38810         with _GNU_SOURCE.
38811         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38812         (S_ISVTX): Likewise.
38813         * manual/math.texi (Mathematical Constants): Likewise.
38814         * manual/signal.texi (Interrupted Primitives): Likewise.
38815         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38816         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38817         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38818         Don't refer to _SVID_SOURCE in warning text.
38820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38822         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38823         already defined.
38824         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38825         * sysdeps/mips/dl-lookup.c: Remove.
38826         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38828 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38830         [BZ #16447]
38831         * math/auto-libm-test-in: Add testcase for expl.
38832         * math/auto-libm-test-out: Regenerate.
38833         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38834         calculation of unsafe.
38835         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38837 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38839         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38840         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38841         ports/sysdeps/unix/sysv/linux/aarch64.
38842         * README: Update listing for aarch64*-*-linux-gnu.
38844 2014-02-11  Will Newton  <will.newton@linaro.org>
38846         * manual/probes.texi (Mathematical Function Probes): Use
38847         "triggered" instead of "hit".
38849         * manual/probes.texi (Internal Probes): Add documentation
38850         of setjmp, longjmp and longjmp_target probes.
38852         * include/stap-probe.h: Add comment about probe argument
38853         format.
38855         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38856         definition.  (tr_where, tr_freehook, tr_mallochook,
38857         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38859 2014-02-11  David S. Miller  <davem@davemloft.net>
38861         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38862         processing int_tests.
38864 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38866         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38867         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38868         * sysdeps/unix/sysv/linux/mips: Move directory from
38869         ports/sysdeps/unix/sysv/linux/mips.
38870         * README: Update listing for mips-*-linux-gnu and
38871         mips64-*-linux-gnu.
38873 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38875         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38876         * sysdeps/unix/sysv/linux/m68k: Move directory from
38877         ports/sysdeps/unix/sysv/linux/m68k.
38878         * README: Update listing for m68k-*-linux-gnu.
38880 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38882         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38883         * sysdeps/unix/sysv/linux/generic: Move directory from
38884         ports/sysdeps/unix/sysv/linux/generic.
38885         * sysdeps/unix/sysv/linux/tile: Move directory from
38886         ports/sysdeps/unix/sysv/linux/tile.
38887         * README: Update listing for tile*-*-linux-gnu.
38889 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38891         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38892         __builtin_expect.
38893         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38894         * catgets/open_catalog.c (__open_catalog): Likewise.
38895         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38896         * debug/confstr_chk.c: Likewise.
38897         * debug/fread_chk.c (__fread_chk): Likewise.
38898         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38899         * debug/getgroups_chk.c: Likewise.
38900         * debug/mbsnrtowcs_chk.c: Likewise.
38901         * debug/mbsrtowcs_chk.c: Likewise.
38902         * debug/mbstowcs_chk.c: Likewise.
38903         * debug/memcpy_chk.c: Likewise.
38904         * debug/memmove_chk.c: Likewise.
38905         * debug/mempcpy_chk.c: Likewise.
38906         * debug/memset_chk.c: Likewise.
38907         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38908         * debug/strcat_chk.c (__strcat_chk): Likewise.
38909         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38910         * debug/strncat_chk.c (__strncat_chk): Likewise.
38911         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38912         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38913         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38914         * debug/wcpncpy_chk.c: Likewise.
38915         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38916         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38917         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38918         * debug/wcsncpy_chk.c: Likewise.
38919         * debug/wcsnrtombs_chk.c: Likewise.
38920         * debug/wcsrtombs_chk.c: Likewise.
38921         * debug/wcstombs_chk.c: Likewise.
38922         * debug/wmemcpy_chk.c: Likewise.
38923         * debug/wmemmove_chk.c: Likewise.
38924         * debug/wmempcpy_chk.c: Likewise.
38925         * debug/wmemset_chk.c: Likewise.
38926         * dirent/scandirat.c (SCANDIRAT): Likewise.
38927         * dlfcn/dladdr1.c (dladdr1): Likewise.
38928         * dlfcn/dladdr.c (dladdr): Likewise.
38929         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38930         * dlfcn/dlerror.c (__dlerror): Likewise.
38931         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38932         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38933         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38934         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38935         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38936         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38937         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38938         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38939         Likewise.
38940         * elf/dl-conflict.c: Likewise.
38941         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38942         * elf/dl-dst.h: Likewise.
38943         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38944         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38945         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38946         * elf/dl-init.c (call_init, _dl_init): Likewise.
38947         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38948         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38949         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38950         Likewise.
38951         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38952         Likewise.
38953         * elf/dl-minimal.c (__libc_memalign): Likewise.
38954         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38955         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38956         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38957         * elf/dl-sym.c (do_sym): Likewise.
38958         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38959         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38960         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38961         * elf/dl-writev.h (_dl_writev): Likewise.
38962         * elf/ldconfig.c (search_dir): Likewise.
38963         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38964         (dl_main): Likewise.
38965         * elf/setup-vdso.h (setup_vdso): Likewise.
38966         * grp/compat-initgroups.c (compat_call): Likewise.
38967         * grp/fgetgrent.c (fgetgrent): Likewise.
38968         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38969         * grp/putgrent.c (putgrent): Likewise.
38970         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38971         Likewise.
38972         * hurd/hurdinit.c: Likewise.
38973         * iconvdata/8bit-gap.c (struct): Likewise.
38974         * iconvdata/ansi_x3.110.c : Likewise.
38975         * iconvdata/big5.c : Likewise.
38976         * iconvdata/big5hkscs.c : Likewise.
38977         * iconvdata/cp1255.c: Likewise.
38978         * iconvdata/cp1258.c : Likewise.
38979         * iconvdata/cp932.c : Likewise.
38980         * iconvdata/euc-cn.c: Likewise.
38981         * iconvdata/euc-jisx0213.c : Likewise.
38982         * iconvdata/euc-jp.c: Likewise.
38983         * iconvdata/euc-jp-ms.c : Likewise.
38984         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38985         * iconvdata/gb18030.c : Likewise.
38986         * iconvdata/gbbig5.c (const): Likewise.
38987         * iconvdata/gbgbk.c: Likewise.
38988         * iconvdata/gbk.c : Likewise.
38989         * iconvdata/ibm1364.c : Likewise.
38990         * iconvdata/ibm930.c : Likewise.
38991         * iconvdata/ibm932.c: Likewise.
38992         * iconvdata/ibm933.c : Likewise.
38993         * iconvdata/ibm935.c : Likewise.
38994         * iconvdata/ibm937.c : Likewise.
38995         * iconvdata/ibm939.c : Likewise.
38996         * iconvdata/ibm943.c: Likewise.
38997         * iconvdata/iso_11548-1.c: Likewise.
38998         * iconvdata/iso-2022-cn.c : Likewise.
38999         * iconvdata/iso-2022-cn-ext.c : Likewise.
39000         * iconvdata/iso-2022-jp-3.c: Likewise.
39001         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39002         * iconvdata/iso-2022-kr.c : Likewise.
39003         * iconvdata/iso646.c (gconv_end): Likewise.
39004         * iconvdata/iso_6937-2.c : Likewise.
39005         * iconvdata/iso_6937.c : Likewise.
39006         * iconvdata/iso8859-1.c: Likewise.
39007         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39008         * iconvdata/shift_jisx0213.c : Likewise.
39009         * iconvdata/sjis.c : Likewise.
39010         * iconvdata/t.61.c : Likewise.
39011         * iconvdata/tcvn5712-1.c : Likewise.
39012         * iconvdata/tscii.c: Likewise.
39013         * iconvdata/uhc.c : Likewise.
39014         * iconvdata/unicode.c (gconv_end): Likewise.
39015         * iconvdata/utf-16.c (gconv_end): Likewise.
39016         * iconvdata/utf-32.c (gconv_end): Likewise.
39017         * iconvdata/utf-7.c (base64): Likewise.
39018         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39019         * iconv/gconv_close.c (__gconv_close): Likewise.
39020         * iconv/gconv_open.c (__gconv_open): Likewise.
39021         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39022         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39023         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39024         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39025         (ucs4le_internal_loop_single): Likewise.
39026         * iconv/iconv.c (iconv): Likewise.
39027         * iconv/iconv_close.c: Likewise.
39028         * iconv/loop.c (SINGLE): Likewise.
39029         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39030         * include/atomic.h: Likewise.
39031         * inet/inet6_option.c (option_alloc): Likewise.
39032         * intl/bindtextdom.c (set_binding_values): Likewise.
39033         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39034         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39035         * intl/localealias.c (read_alias_file): Likewise.
39036         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39037         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39038         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39039         * libio/fmemopen.c (fmemopen): Likewise.
39040         * libio/iofgets.c (_IO_fgets): Likewise.
39041         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39042         * libio/iofgetws.c (fgetws): Likewise.
39043         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39044         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39045         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39046         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39047         * locale/findlocale.c (_nl_find_locale): Likewise.
39048         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39049         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39050         Likewise.
39051         * locale/setlocale.c (setlocale): Likewise.
39052         * login/programs/pt_chown.c (main): Likewise.
39053         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39054         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39055         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39056         (mmap, mmap64, mremap, munmap): Likewise.
39057         * math/e_exp2l.c: Likewise.
39058         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39059         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39060         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39061         * math/s_catan.c (__catan): Likewise.
39062         * math/s_catanf.c (__catanf): Likewise.
39063         * math/s_catanh.c (__catanh): Likewise.
39064         * math/s_catanhf.c (__catanhf): Likewise.
39065         * math/s_catanhl.c (__catanhl): Likewise.
39066         * math/s_catanl.c (__catanl): Likewise.
39067         * math/s_ccosh.c (__ccosh): Likewise.
39068         * math/s_ccoshf.c (__ccoshf): Likewise.
39069         * math/s_ccoshl.c (__ccoshl): Likewise.
39070         * math/s_cexp.c (__cexp): Likewise.
39071         * math/s_cexpf.c (__cexpf): Likewise.
39072         * math/s_cexpl.c (__cexpl): Likewise.
39073         * math/s_clog10.c (__clog10): Likewise.
39074         * math/s_clog10f.c (__clog10f): Likewise.
39075         * math/s_clog10l.c (__clog10l): Likewise.
39076         * math/s_clog.c (__clog): Likewise.
39077         * math/s_clogf.c (__clogf): Likewise.
39078         * math/s_clogl.c (__clogl): Likewise.
39079         * math/s_csin.c (__csin): Likewise.
39080         * math/s_csinf.c (__csinf): Likewise.
39081         * math/s_csinh.c (__csinh): Likewise.
39082         * math/s_csinhf.c (__csinhf): Likewise.
39083         * math/s_csinhl.c (__csinhl): Likewise.
39084         * math/s_csinl.c (__csinl): Likewise.
39085         * math/s_csqrt.c (__csqrt): Likewise.
39086         * math/s_csqrtf.c (__csqrtf): Likewise.
39087         * math/s_csqrtl.c (__csqrtl): Likewise.
39088         * math/s_ctan.c (__ctan): Likewise.
39089         * math/s_ctanf.c (__ctanf): Likewise.
39090         * math/s_ctanh.c (__ctanh): Likewise.
39091         * math/s_ctanhf.c (__ctanhf): Likewise.
39092         * math/s_ctanhl.c (__ctanhl): Likewise.
39093         * math/s_ctanl.c (__ctanl): Likewise.
39094         * math/w_pow.c: Likewise.
39095         * math/w_powf.c: Likewise.
39096         * math/w_powl.c: Likewise.
39097         * math/w_scalb.c (sysv_scalb): Likewise.
39098         * math/w_scalbf.c (sysv_scalbf): Likewise.
39099         * math/w_scalbl.c (sysv_scalbl): Likewise.
39100         * misc/error.c (error_tail): Likewise.
39101         * misc/pselect.c (__pselect): Likewise.
39102         * nis/nis_callback.c (__nis_create_callback): Likewise.
39103         * nis/nis_call.c (__nisfind_server): Likewise.
39104         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39105         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39106         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39107         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39108         * nis/nis_lookup.c (nis_lookup): Likewise.
39109         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39110         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39111         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39112         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39113         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39114         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39115         * nis/nss_compat/compat-initgroups.c (add_group)
39116         (internal_getgrent_r): Likewise.
39117         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39118         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39119         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39120         (internal_getspnam_r): Likewise.
39121         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39122         (_nss_nis_getaliasbyname_r): Likewise.
39123         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39124         (_nss_nis_getntohost_r): Likewise.
39125         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39126         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39127         (_nss_nis_getgrgid_r): Likewise.
39128         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39129         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39130         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39131         (_nss_nis_gethostbyname4_r): Likewise.
39132         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39133         (initgroups_netid): Likewise.
39134         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39135         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39136         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39137         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39138         (_nss_nis_getprotobynumber_r): Likewise.
39139         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39140         (_nss_nis_getsecretkey): Likewise.
39141         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39142         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39143         (_nss_nis_getpwuid_r): Likewise.
39144         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39145         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39146         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39147         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39148         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39149         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39150         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39151         Likewise.
39152         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39153         (_nss_nisplus_getntohost_r): Likewise.
39154         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39155         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39156         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39157         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39158         Likewise.
39159         * nis/nss_nisplus/nisplus-initgroups.c
39160         (_nss_nisplus_initgroups_dyn): Likewise.
39161         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39162         (_nss_nisplus_getnetbyaddr_r): Likewise.
39163         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39164         (_nss_nisplus_getprotobynumber_r): Likewise.
39165         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39166         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39167         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39168         Likewise.
39169         * nis/nss_nisplus/nisplus-service.c
39170         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39171         (_nss_nisplus_getservbyport_r): Likewise.
39172         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39173         (_nss_nisplus_getspnam_r): Likewise.
39174         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39175         Likewise.
39176         * nscd/aicache.c (addhstaiX): Likewise.
39177         * nscd/cache.c (cache_search, prune_cache): Likewise.
39178         * nscd/connections.c (register_traced_file, send_ro_fd)
39179         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39180         (main_loop_epoll): Likewise.
39181         * nscd/grpcache.c (addgrbyX): Likewise.
39182         * nscd/hstcache.c (addhstbyX): Likewise.
39183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39184         * nscd/mem.c (gc, mempool_alloc): Likewise.
39185         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39186         (addinnetgrX): Likewise.
39187         * nscd/nscd-client.h (__nscd_acquire_maplock)
39188         (__nscd_drop_map_ref): Likewise.
39189         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39190         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39191         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39192         Likewise.
39193         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39194         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39195         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39196         (__nscd_get_map_ref): Likewise.
39197         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39198         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39199         Likewise.
39200         * nscd/pwdcache.c (addpwbyX): Likewise.
39201         * nscd/selinux.c (preserve_capabilities): Likewise.
39202         * nscd/servicescache.c (addservbyX): Likewise.
39203         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39204         * posix/fnmatch.c (fnmatch): Likewise.
39205         * posix/getopt.c (_getopt_internal_r): Likewise.
39206         * posix/glob.c (glob, glob_in_dir): Likewise.
39207         * posix/wordexp.c (exec_comm_child): Likewise.
39208         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39209         (getanswer_r, gaih_getanswer_slice): Likewise.
39210         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39211         * resolv/res_init.c: Likewise.
39212         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39213         * resolv/res_query.c (__libc_res_nquery): Likewise.
39214         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39215         Likewise.
39216         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39217         * stdio-common/perror.c (perror): Likewise.
39218         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39219         * stdio-common/tmpnam.c (tmpnam): Likewise.
39220         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39221         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39222         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39223         Likewise.
39224         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39225         * stdlib/putenv.c (putenv): Likewise.
39226         * stdlib/setenv.c (__add_to_environ): Likewise.
39227         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39228         * stdlib/strtol_l.c (INTERNAL): Likewise.
39229         * string/memmem.c (memmem): Likewise.
39230         * string/strerror.c (strerror): Likewise.
39231         * string/strnlen.c (__strnlen): Likewise.
39232         * string/test-memmem.c (simple_memmem): Likewise.
39233         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39234         * sunrpc/pm_getport.c (__get_socket): Likewise.
39235         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39236         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39237         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39238         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39239         Likewise.
39240         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39241         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39242         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39243         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39244         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39245         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39246         Likewise.
39247         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39248         Likewise.
39249         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39250         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39251         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39252         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39253         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39254         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39255         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39256         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39257         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39258         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39259         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39260         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39261         Likewise.
39262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39263         Likewise.
39264         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39265         Likewise.
39266         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39267         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39268         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39269         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39270         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39271         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39272         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39273         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39274         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39275         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39276         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39277         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39278         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39279         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39281         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39282         Likewise.
39283         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39284         Likewise.
39285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39286         Likewise.
39287         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39288         Likewise.
39289         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39290         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39291         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39292         Likewise.
39293         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39294         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39295         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39296         * sysdeps/posix/sleep.c: Likewise.
39297         * sysdeps/posix/tempname.c: Likewise.
39298         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39299         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39300         Likewise.
39301         * sysdeps/powerpc/powerpc32/dl-machine.h
39302         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39303         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39304         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39305         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39306         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39307         Likewise.
39308         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39309         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39310         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39311         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39312         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39313         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39314         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39315         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39316         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39317         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39318         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39319         (elf_machine_lazy_rel): Likewise.
39320         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39321         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39322         (elf_machine_lazy_rel): Likewise.
39323         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39324         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39325         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39326         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39327         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39328         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39329         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39331         Likewise.
39332         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39333         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39334         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39335         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39336         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39337         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39338         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39339         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39340         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39341         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39342         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39343         Likewise.
39344         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39345         (__posix_fallocate64_l64): Likewise.
39346         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39347         (posix_fallocate): Likewise.
39348         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39349         Likewise.
39350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39351         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39352         (getifaddrs_internal): Likewise.
39353         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39354         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39355         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39356         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39357         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39358         (__posix_fallocate64_l64): Likewise.
39359         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39360         Likewise.
39361         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39362         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39363         (__get_clockfreq): Likewise.
39364         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39365         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39366         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39369         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39370         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39371         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39372         Likewise.
39373         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39374         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39375         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39376         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39377         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39378         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39379         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39380         Likewise.
39381         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39382         (posix_fallocate): Likewise.
39383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39384         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39385         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39386         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39387         (elf_machine_rela, elf_machine_rela_relative)
39388         (elf_machine_lazy_rel): Likewise.
39389         * time/asctime.c (asctime_internal): Likewise.
39390         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39391         * time/tzset.c (__tzset_parse_tz): Likewise.
39392         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39393         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39394         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39395         * wcsmbs/wcsmbsload.h: Likewise.
39397         [BZ #15894]
39398         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39400         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39401         (arena_get2): Remove THREAD_STATS conditionals.
39402         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39403         (__malloc_stats, int): Likewise.
39405 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39407         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39408         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39410         * manual/setjmp.texi: Fix typos/grammar errors.
39412         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39413         Only return early when n is <= 0.  Delete unused return statement.
39415         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39416         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39417         * debug/tst-longjmp_chk3.c: New file.
39419         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39420         (test_main): Replace code with set_fortify_handler call.
39421         * debug/test-strcpy_chk.c: Likewise.
39422         * debug/tst-chk1.c: Likewise.
39423         * debug/tst-longjmp_chk.c: Likewise.
39424         * test-skeleton.c: Include fcntl.h & paths.h
39425         (set_fortify_handler): Define.
39427         * debug/tst-longjmp_chk.c: Add header comment and include
39428         ../test-skeleton.c.
39429         (do_test): Mark static.
39430         (TEST_FUNCTION): Define.
39432         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39433         (IP_PMTUDISC_INTERFACE): Likewise.
39434         (IP_MULTICAST_IF): Likewise.
39435         (IP_MULTICAST_TTL): Likewise.
39436         (IP_MULTICAST_LOOP): Likewise.
39437         (IP_ADD_MEMBERSHIP): Likewise.
39438         (IP_DROP_MEMBERSHIP): Likewise.
39439         (IP_UNBLOCK_SOURCE): Likewise.
39440         (IP_BLOCK_SOURCE): Likewise.
39441         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39442         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39443         (IP_MSFILTER): Likewise.
39444         (MCAST_JOIN_GROUP): Likewise.
39445         (MCAST_BLOCK_SOURCE): Likewise.
39446         (MCAST_UNBLOCK_SOURCE): Likewise.
39447         (MCAST_LEAVE_GROUP): Likewise.
39448         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39449         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39450         (MCAST_MSFILTER): Likewise.
39451         (IP_MULTICAST_ALL): Likewise.
39452         (IP_UNICAST_IF): Likewise.
39454         * timezone/Makefile: Delete $(have-ksh) check.
39455         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39456         * timezone/tzselect.ksh: Add +x mode bits.
39458         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39459         (ANON_INODE_FS_MAGIC): Likewise.
39460         (BDEVFS_MAGIC): Likewise.
39461         (BINFMTFS_MAGIC): Likewise.
39462         (BTRFS_TEST_MAGIC): Likewise.
39463         (CRAMFS_MAGIC_WEND): Likewise.
39464         (DEBUGFS_MAGIC): Likewise.
39465         (ECRYPTFS_SUPER_MAGIC): Likewise.
39466         (EXT3_SUPER_MAGIC): Likewise.
39467         (EXT4_SUPER_MAGIC): Likewise.
39468         (FUTEXFS_SUPER_MAGIC): Likewise.
39469         (HOSTFS_SUPER_MAGIC): Likewise.
39470         (HUGETLBFS_MAGIC): Likewise.
39471         (MINIX3_SUPER_MAGIC): Likewise.
39472         (MTD_INODE_FS_MAGIC): Likewise.
39473         (NILFS_SUPER_MAGIC): Likewise.
39474         (OPENPROM_SUPER_MAGIC): Likewise.
39475         (PIPEFS_MAGIC): Likewise.
39476         (PSTOREFS_MAGIC): Likewise.
39477         (QNX6_SUPER_MAGIC): Likewise.
39478         (RAMFS_MAGIC): Likewise.
39479         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39480         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39481         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39482         (SECURITYFS_MAGIC): Likewise.
39483         (SELINUX_MAGIC): Likewise.
39484         (SMACK_MAGIC): Likewise.
39485         (SOCKFS_MAGIC): Likewise.
39486         (SQUASHFS_MAGIC): Likewise.
39487         (STACK_END_MAGIC): Likewise.
39488         (TMPFS_MAGIC): Likewise.
39489         (USBDEVICE_SUPER_MAGIC): Likewise.
39490         (V9FS_MAGIC): Likewise.
39491         (XENFS_SUPER_MAGIC): Likewise.
39492         (CRAMFS_MAGIC): Fix typo in comment.
39493         (EXT2_SUPER_MAGIC): Update comment.
39494         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39496 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39498         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39499         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39500         * sysdeps/unix/sysv/linux/arm: Move directory from
39501         ports/sysdeps/unix/sysv/linux/arm.
39502         * README: Update listing for arm-*-linux-gnueabi.
39504         * README: Remove mention of am33.
39506 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39508         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39509         than the comma operator, to avoid "rhs of comma has no effect"
39510         compiler warnings.
39511         (__sigfillset, __sigandset, __sigorset): Likewise.
39512         * include/signal.h (__sigemptyset): Likewise.
39513         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39515 2014-02-07  Allan McRae  <allan@archlinux.org>
39517         * version.h (RELEASE): Set to "development".
39518         (VERSION): Set to "2.19.90"
39519         * NEWS: Add 2.20 section.
39521 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39523         [BZ #16529]
39524         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39526 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39528         * manual/contrib.texi: Update entry for Carlos O'Donell,
39529         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39531 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39533         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39535         * sysdeps/unix/sysv/linux/kernel-features.h
39536         [__LINUX_KERNEL_VERSION >= 0x020621]
39537         (__ASSUME_PROC_PID_TASK_COMM): Define.
39539 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39541         [BZ #16398]
39542         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39543         conversion when destination buffer does not have enough space.
39544         * libio/tst-ftell-partial-wide.c: New test case.
39545         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39547         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39548         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39549         Leonard and Allan McRae.
39551 2014-02-04  David S. Miller  <davem@davemloft.net>
39553         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39554         32-bit.
39556 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39559         New file
39560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39561         New file
39562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39563         New file.
39564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39565         New file.
39566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39567         New file.
39568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39569         New file.
39570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39571         New file.
39572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39573         New file.
39574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39575         New file.
39576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39577         New file.
39578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39579         New file.
39580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39581         New file.
39582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39583         New file.
39585 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39587         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39588         * shlib-versions: Likewise.
39590 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39591             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39593         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39594         (abilist-pattern): New variable, set to %-le.abilist.
39596         * Makerules (abilist-pattern): New variable.
39597         (vpath): Use $(abilist-pattern) in place of %.abilist.
39598         (check-abi-% pattern rule): Likewise.
39599         (check-abi, update-abi): Likewise.
39601 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39605 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39607         * manual/startup.texi: Add next, previous, and top entries for
39608         the `Program Arguments' and `Environment Variables' nodes.
39610 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39612         * manual/macros.texi: Add comments before MTASC-safety macros.
39614         * manual/users.texi: Document MTASC-safety properties.
39616         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39617         (pthread_getspecific, pthread_setspecific): Format with
39618         @deftypefun, and add @safety note.
39619         * manual/signal.texi: Move comments that analyze the above
39620         functions to their home place.
39622 2014-02-03  Allan McRae  <allan@archlinux.org>
39624         * po/sl.po: Update Slovenian translation from translation project.
39626 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39628         * manual/time.texi (timegm): Add missing blank after @c.
39629         Reported by Joseph Myers <joseph@codesourcery.com>.
39631 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39633         * manual/check-safety.sh: New.
39634         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39636         * manual/terminal.texi: Document MTASC-safety properties.
39638         * manual/filesys.texi: Document MTASC-safety properties.
39640         * manual/errno.texi: Document MTASC-safety properties.
39642         * manual/intro.texi: Document safety identifiers and
39643         conditionals.
39645         * manual/string.texi (wcstok): Fix prototype.
39646         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39648         * manual/time.texi: Document MTASC-safety properties.
39650         * manual/string.texi: Document MTASC-safety properties.
39652         * manual/threads.texi: Document MTASC-safety properties.
39654         * manual/stdio.texi: Document MTASC-safety properties.
39656         * manual/syslog.texi: Document MTASC-safety properties.
39658         * manual/sysinfo.texi: Document MTASC-safety properties.
39660         * manual/startup.texi: Document MTASC-safety properties.
39662         * manual/socket.texi: Document MTASC-safety properties.
39664         * manual/signal.texi: Document MTASC-safety properties.
39666 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39668         * manual/setjmp.texi: Document MTASC-safety properties.
39670         * manual/search.texi: Document MTASC-safety properties.
39672         * manual/resource.texi: Document MTASC-safety properties.
39674         * manual/process.texi: Document MTASC-safety properties.
39676         * manual/platform.texi: Document MTASC-safety properties.
39678         * manual/pipe.texi: Document MTASC-safety properties.
39680         * manual/pattern.texi: Document MTASC-safety properties.
39682         * manual/message.texi: Document MTASC-safety properties.
39684         [BZ #12751]
39685         * manual/memory.texi: Document MTASC-safety properties.
39687         * manual/math.texi: Document MTASC-safety properties.
39689         * manual/locale.texi: Document MTASC-safety properties.
39691         * manual/llio.texi: Document MTASC-safety properties.
39693         * manual/libdl.texi: New.
39695         * manual/lang.texi: Document MTASC-safety properties.
39697         * manual/job.texi: Document MTASC-safety properties.
39699         * manual/getopt.texi: Document MTASC-safety properties.
39701         * manual/ctype.texi: Document MTASC-safety properties.
39703 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39705         [BZ #16046]
39706         * csu/libc-tls.c (static_map): Remove variable.
39707         (__libc_setup_tls): Use main executable's link map for TLS data.
39708         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39709         casing for LM_ID_BASE and GL(dl_nns).
39710         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39711         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39712         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39713         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39714         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39715         member.
39716         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39717         l_phnum members.
39719 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39721         * manual/debug.texi: Document MTASC-safety properties.
39723 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39725         [BZ #16510]
39726         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39727         of __x86_64__ when disabling x87 inline functions.
39729 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39731         * manual/charset.texi: Document MTASC-safety properties.
39733         * manual/crypt.texi: Document MTASC-safety properties.
39735         * manual/conf.texi: Document MTASC-safety properties.
39737         * manual/arith.texi: Document MTASC-safety properties.
39739         * manual/argp.texi: Document MTASC-safety properties.
39741         * manual/macros.texi: Introduce macros to document multi
39742         thread, asynchronous signal and asynchronous cancellation
39743         safety properties.
39744         * manual/intro.texi: Introduce the properties themselves.
39746 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39748         * sysdeps/sh/sh4/Makefile: New file.
39750 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39752         * math/gen-libm-test.pl ($srcdir): New variable.
39753         ($auto_input): Use it.
39755 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39757         [BZ #16506]
39758         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39759         access beyond array bounds when parsing netgroups file.
39761         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39762         the old buffer before realloc.
39764 2014-01-27  Allan McRae  <allan@archlinux.org>
39766         * po/fr.po: Update French translation from translation project.
39768 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39770         * sysdeps/sh/libm-test-ulps: Regenerate.
39772 2014-01-24  David S. Miller  <davem@davemloft.net>
39774         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39776 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39779         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39781 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39783         [BZ #16474]
39784         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39785         string pointers after reallocation.
39787 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39789         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39790         __SH4A__ instead of __SH_FPU_ANY__.
39792 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39794         * sysdeps/sh/fpu_control.h: New file.
39795         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39796         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39797         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39798         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39799         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39800         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39801         * sysdeps/sh/sys/ucontext.h: Remove.
39802         * sysdeps/sh/sys: Remove directory.
39804 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39806         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39807         s390/sys/ucontext.h.
39808         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39809         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39811 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39813         [BZ #15605]
39814         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39816 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39818         [BZ#16431]
39819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39820         Adjust the vDSO correctly for internal calls.
39821         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39823 2014-01-20  Allan McRae  <allan@archlinux.org>
39825         * po/ca.po: Update Catalan translation from translation project.
39827 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39829         * sysdeps/s390/sotruss-lib.c: New file.
39831 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39833         [BZ#16430]
39834         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39835         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39836         local calls issues by not having a PLT stub required for IFUNC calls.
39837         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39839 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39841         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39842         * math/test-fpucw-static.c: Likewise.
39844 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39846         [BZ #16453]
39847         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39849 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39851         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39852         implementation for powerpc.
39854 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39856         [BZ #14782]
39857         * sysdeps/posix/system.c (__libc_system): Do not enable
39858         asynchronous cancellation.
39860 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39862         [BZ #16427]
39863         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39864         handling only for numbers special also in the IEEE case.
39866 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39868         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39870 2014-01-11  Allan McRae  <allan@archlinux.org>
39872         * po/bg.po: Update Bulgarian translation from translation project.
39874         * po/de.po: Update German translation from translation project.
39876 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39878         * sysdeps/generic/gcc-compat.h: New file.
39880 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39882         * benchtests/asin-inputs: Correct slow inputs.
39883         * benchtests/acos-inputs: Likewise.
39885 2014-01-10  Allan McRae  <allan@archlinux.org>
39887         * po:sv.po: Update Swedish translation from translation project.
39889         * po/vi.po: Update Vietnamese translation from translation project.
39891         * po/eo.po: Update Esperanto translation from translation project.
39893         * po/cs.po: Update Czech translation from translation project.
39895         * po/nl.po: Update Dutch translation from translation project.
39897         * po/pl.po: Update Polish translation from translation project.
39899         * po/ru.po: Update Russian translation from translation project.
39901         * po/uk.po: Update Ukrainian translation from translation project.
39903 2014-01-08  Brooks Moses  <bmoses@google.com>
39905         * elf/dl-load.c: Fix comment typo.
39907 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39909         * po/header.pot: Rename to...
39910         * po/pot.header: ... this.
39911         * po/Makefile: Use pot.header.
39913 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39914             Maxim Kuvyrkov  <maxim@kugelworks.com>
39916         [BZ #16394]
39917         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39918         SRC and DEST against LEN.
39920 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39922         [BZ #16414]
39923         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39924         implementation.
39925         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39927 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39931 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39933         [BZ #16408]
39934         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39935         for large positive arguments.
39937 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39939         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39941         * math/auto-libm-test-in: Mark various tests with
39942         xfail-rounding:ldbl-128ibm.
39943         * math/auto-libm-test-out: Regenerated.
39945         [BZ #16407]
39946         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39947         Increase overflow threshold.
39949 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39951         [BZ #14286]
39952         * stdio-common/vfprintf.c: Check for integer overflow.
39954 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39956         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39957         the first argument and return value of __tls_get_addr_internal.
39959 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39961         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39962         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39964 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39966         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39967         * sysdeps/s390/rtld-global-offsets.sym: New file.
39968         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39969         GLIBC_2.19 symbol.
39970         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39972         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39973         ... this.
39974         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39975         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39976         ... this.
39977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39978         Regenerate.
39979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39980         Regenerate.
39981         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39982         halfs of GPRs for high_gprs contexts.
39983         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39984         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39985         field.
39986         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39987         uc_flags field.
39988         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39989         64 bit versions:
39990         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39991         for high GPRs (uc_high_gprs) and for future extensions
39992         (__reserved).
39993         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39994         for future extensions (__reserved).
39995         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39996         64 bit versions:
39997         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39998         SC_HIGHGPRS offset definition.
39999         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40000         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40002         * Versions.def: Add GLIBC_2.19 for libpthread.
40003         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40004         siglongjmp for libpthread with GLIBC_2.19 symver.
40005         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40006         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40007         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40008         * sysdeps/s390/__longjmp.c: New file.
40009         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40010         * sysdeps/s390/longjmp.c: New file.
40011         * sysdeps/s390/setjmp.S: New file.
40012         * sysdeps/s390/sigjmp.S: New file.
40013         * sysdeps/s390/v1-longjmp.c: New file.
40014         * sysdeps/s390/v1-setjmp.h: New file.
40015         * sysdeps/s390/v1-sigjmp.c: New file.
40016         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40017         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40018         GLIBC_2.19 version.
40019         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40020         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40021         versioned symbols for ____longjmp_chk.
40022         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40023         Likewise.
40024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40025         Regenerate.
40026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40027         Regenerate.
40028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40029         Regenerate.
40030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40031         Regenerate.
40032         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40033         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40034         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40035         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40036         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40037         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40038         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40039         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40040         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40041         * sysdeps/s390/rtld-__longjmp.c: New file.
40042         * sysdeps/s390/rtld-setjmp.S: New file.
40044 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40046         [BZ #16400]
40047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40048         Return -__logl (x) for small positive arguments without evaluating
40049         a polynomial.
40051 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40053         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40054         Rename to ...
40055         (__ptrace_peeksiginfo_args): ... this.
40056         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40057         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40058         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40060 2014-01-06  Allan McRae  <allan@archlinux.org>
40062         * inet/netinet/in.h: Fix typo in comment.
40064 2014-01-05  Andreas Jaeger  <aj@suse.de>
40066         * sysdeps/i386/fpu/libm-test-ulps: Update.
40068 2014-01-05  Allan McRae  <allan@archlinux.org>
40070         * po/libc.pot: Regenerated.
40072         * malloc/memusagestat.c: Fix gettext call formatting.
40074 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40076         * nscd/nscd.c: Improve usage() output.
40078 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40080         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40081         * sysdeps/unix/sysv/linux/configure: Regenerated.
40082         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40083         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40085 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40087         [BZ #16390]
40088         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40089         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40091 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40093         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40094         extra tokens at end of #undef directive.
40095         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40096         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40097         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40099 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40101         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40103         * math/auto-libm-test-in: Mark various tests with
40104         xfail-rounding:ldbl-128ibm.
40105         * math/auto-libm-test-out: Regenerated.
40107 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40109         [BZ #16386]
40110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40111         numbers with subnormal high part when calculating exponent.
40113         [BZ #16385]
40114         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40115         fabs.
40117         [BZ #16384]
40118         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40119         M_LN2l.
40120         (__ieee754_acoshl): Use __log1pl not __log1p.
40122 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40124         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40125         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40126         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40127         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40128         (reused_arena, arena_get2): Convert to GNU style.
40129         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40130         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40131         (memalign_check, __malloc_set_state): Likewise.
40132         * malloc/mallocbug.c (main): Likewise.
40133         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40134         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40135         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40136         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40137         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40138         (__posix_memalign, malloc_info): Likewise.
40139         * malloc/malloc.h: Likewise.
40140         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40141         (mallochook, memalignhook, reallochook, mabort): Likewise.
40142         * malloc/mcheck.h: Likewise.
40143         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40144         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40145         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40146         * malloc/morecore.c (__default_morecore): Likewise.
40147         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40148         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40149         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40150         (print_and_abort): Likewise.
40151         * malloc/obstack.h: Likewise.
40152         * malloc/set-freeres.c (__libc_freeres): Likewise.
40153         * malloc/tst-mallocstate.c (main): Likewise.
40154         * malloc/tst-mtrace.c (main): Likewise.
40155         * malloc/tst-realloc.c (do_test): Likewise.
40157 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40159         [BZ #16366]
40160         * nscd/netgroupcache.c (do_notfound): New function.
40161         (addgetnetgrentX): Use it.
40163         [BZ # 16365]
40164         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40165         NSS_STATUS_NOTFOUND.
40167 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40169         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40172 2014-01-01  Allan McRae  <allan@archlinux.org>
40174         * scripts/update-copyrights: Update configure input file suffix.
40176         * NEWS: Update copyright year.
40177         * catgets/gencat.c: Likewise.
40178         * csu/version.c: Likewise.
40179         * debug/catchsegv.sh: Likewise.
40180         * debug/pcprofiledump.c: Likewise.
40181         * debug/xtrace.sh: Likewise.
40182         * elf/ldconfig.c: Likewise.
40183         * elf/ldd.bash.in: Likewise.
40184         * elf/pldd.c: Likewise.
40185         * elf/sotruss.ksh: Likewise.
40186         * elf/sprof.c: Likewise.
40187         * iconv/iconv_prog.c: Likewise.
40188         * iconv/iconvconfig.c: Likewise.
40189         * locale/programs/locale.c: Likewise.
40190         * locale/programs/localedef.c: Likewise.
40191         * login/programs/pt_chown.c: Likewise.
40192         * malloc/memusage.sh: Likewise.
40193         * malloc/memusagestat.c: Likewise.
40194         * malloc/mtrace.pl: Likewise.
40195         * manual/libc.texinfo: Likewise.
40196         * nscd/nscd.c: Likewise.
40197         * nss/getent.c: Likewise.
40198         * nss/makedb.c: Likewise.
40199         * posix/getconf.c: Likewise.
40200         * scripts/test-installation.pl: Likewise.
40202         * All files with FSF copyright notices: Update copyright dates
40203         using scripts/update-copyrights.
40204         * intl/plural.c: Regenerated.
40205         * locale/programs/charmap-kw.h: Likewise.
40206         * locale/programs/locfile-kw.h: Likewise.
40208 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40210         * sysdeps/unix/sysv/linux/configure: Regenerated.
40211         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40212         the linux/fanotify.h header.
40213         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40214         HAVE_LINUX_FANOTIFY_H is defined.
40216 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40218         * benchtests/cos-inputs: New inputs.
40219         * benchtests/sin-inputs: Likewise.
40221         * benchtests/atan-inputs: New inputs. Fix name of multiple
40222         precision fallback inputs.
40224         * benchtests/atanh-inputs: New inputs.
40225         * benchtests/tanh-inputs: Likewise.
40227         * benchtests/acosh-inputs: New inputs.
40228         * benchtests/asinh-inputs: Likewise.
40230         * benchtests/cosh-inputs: New inputs.
40231         * benchtests/sinh-inputs: Likewise.
40233         * benchtests/acos-inputs: Add more inputs.
40234         * benchtests/asin-inputs: Likewise.
40236 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40238         [BZ #16375]
40239         * manual/arith.texi: Fix spelling.
40240         * manual/charset.texi: Likewise.
40241         * manual/errno.texi: Likewise.
40242         * manual/filesys.texi: Likewise.
40243         * manual/lang.texi: Likewise.
40244         * manual/llio.texi: Likewise.
40245         * manual/locale.texi: Likewise.
40246         * manual/message.texi: Likewise.
40247         * manual/resource.texi: Likewise.
40248         * manual/search.texi: Likewise.
40249         * manual/setjmp.texi: Likewise.
40250         * manual/stdio.texi: Likewise.
40251         * manual/string.texi: Likewise.
40252         * manual/sysinfo.texi: Likewise.
40253         * manual/time.texi: Likewise.
40255 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40257         * po/sl.po: New file.
40259 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40261         * .gitignore: Add core/.gdbinit/.gdb_history.
40263 2013-12-27  Allan McRae  <allan@archlinux.org>
40265         [BZ #16369]
40266         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40267         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40269 2013-12-24  Brooks Moses  <bmoses@google.com>
40271         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40272         all compilers that claim C++98 compliance, not just GCC.
40273         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40274         Likewise.
40276 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40278         * NEWS: Restore accidentally deleted bug-fix entries.
40280 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40281             Ondřej Bílka  <neleai@seznam.cz>
40283         [BZ #15073]
40284         * malloc/malloc.c (_int_free): Perform sanity check only if we
40285         have_lock.
40287 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40289         [BZ #12986]
40290         * manual/stdio.texi (String Input Conversions): Clarify that character
40291         classes are not supported.
40293 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40297 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40299         [BZ #16337]
40300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40301         Calculate results for small negative arguments directly rather
40302         than using reflection formula with special underflow handling.
40304         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40305         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40306         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40307         (fchflags): Likewise.
40308         (revoke): Likewise.
40309         (setlogin): Likewise.
40310         (sigaltstack): Likewise.
40311         (wait4): Likewise.
40312         (sigblock): Remove.
40313         (sigsetmask): Likewise.
40314         (wait3): Likewise.
40315         (waitpid): Likewise.
40316         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40317         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40318         file.
40319         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40320         * sysdeps/unix/bsd/Makefile: ... here.
40321         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40322         * sysdeps/unix/bsd/Versions: ... here.
40323         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40324         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40325         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40326         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40327         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40328         * sysdeps/unix/bsd/sigblock.c: ... here.
40329         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40330         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40331         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40332         * sysdeps/unix/bsd/sigvec.c: ... here.
40333         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40334         * sysdeps/unix/bsd/tcdrain.c: ... here.
40335         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40336         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40337         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40338         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40339         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40340         * sysdeps/unix/bsd/wait.c: ... here.
40341         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40342         * sysdeps/unix/bsd/wait3.c: ... here.
40343         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40344         * sysdeps/unix/bsd/waitpid.c: ... here.
40346 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40348         [BZ #16356]
40349         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40350         round-to-nearest for [!USE_AS_EXPM1L].
40351         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40352         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40353         more tests of exp and exp10.  Expect some exp10 tests to miss
40354         exceptions or fail in directed rounding modes.
40355         * math/auto-libm-test-out: Regenerated.
40356         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40357         (exp10_test_tonearest): New function.
40358         (exp10_towardzero_test_data): New array.
40359         (exp10_test_towardzero): New function.
40360         (exp10_downward_test_data): New array.
40361         (exp10_test_downward): New function.
40362         (exp10_upward_test_data): New array.
40363         (exp10_test_upward): New function.
40364         (main): Call the new functions.
40365         * sysdeps/i386/fpu/libm-test-ulps: Update.
40366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40368 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40370         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40371         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40372         * math/auto-libm-test-out: Regenerated.
40373         * math/libm-test.inc (acosh_test_data): Add more tests.
40374         (atanh_test_data): Likewise.
40375         (ceil_test_data): Likewise.
40376         (copysign_test_data): Likewise.
40377         * sysdeps/i386/fpu/libm-test-ulps: Update.
40378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40380         * timezone/checktab.awk: Update from tzcode 2013i.
40381         * timezone/private.h: Likewise.
40382         * timezone/scheck.c: Likewise.
40383         * timezone/tzfile.h: Likewise.
40384         * timezone/tzselect.ksh: Likewise.
40385         * timezone/zdump.c: Likewise.
40386         * timezone/zic.c: Likewise.
40388         * math/auto-libm-test-in: Add tests of cpow.
40389         * math/auto-libm-test-out: Regenerated.
40390         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40391         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40392         mpc_cc_c.
40393         (func_calc_desc): Add mpc_cc_c union field.
40394         (test_functions): Add cpow.
40395         (special_fill_2pi): New function.
40396         (special_real_inputs): Add 2pi.
40397         (calc_generic_results): Handle mpc_cc_c.
40398         * sysdeps/i386/fpu/libm-test-ulps: Update.
40399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40401         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40402         csqrt, ctan and ctanh.
40403         * math/auto-libm-test-out: Regenerated.
40404         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40405         (TEST_COND_x86): Likewise.
40406         (ccos_test_data): Use AUTO_TESTS_c_c.
40407         (ccosh_test_data): Likewise.
40408         (cexp_test_data): Likewise.
40409         (clog_test_data): Likewise.
40410         (csqrt_test_data): Likewise.
40411         (ctan_test_data): Likewise.
40412         (ctan_tonearest_test_data): Likewise.
40413         (ctan_towardzero_test_data): Likewise.
40414         (ctan_downward_test_data): Likewise.
40415         (ctan_upward_test_data): Likewise.
40416         (ctanh_test_data): Likewise.
40417         (ctanh_tonearest_test_data): Likewise.
40418         (ctanh_towardzero_test_data): Likewise.
40419         (ctanh_downward_test_data): Likewise.
40420         (ctanh_upward_test_data): Likewise.
40421         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40422         mpc_c_c.
40423         (func_calc_desc): Add mpc_c_c union field.
40424         (FUNC_mpc_c_c): New macro.
40425         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40426         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40427         ctanh.
40428         (special_fill_min_subnorm_p120): New function.
40429         (special_real_inputs): Add min_subnorm_p120.
40430         (calc_generic_results): Handle mpc_c_c.
40431         * sysdeps/i386/fpu/libm-test-ulps: Update.
40432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40434 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40436         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40437         (do_sin_slow): New functions.
40438         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40439         (cslow2, csloww1, csloww2): Use the new functions.
40441         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40442         Use M to change sign of result instead of X.  Assume X is
40443         positive.
40444         (csloww1): Likewise.
40445         (__sin): Adjust.
40446         (__cos): Adjust.
40448         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40449         arguments A and DA.
40450         (__sin): Adjust.
40451         (__cos): Likewise.
40453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40454         (__cos): Likewise.
40455         (sloww1): Don't adjust sign of DX.
40456         (csloww1): Likewise.
40457         (sloww2): Use X directly and don't adjust sign of DX.
40458         (csloww2): Likewise.
40460 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40462         * math/auto-libm-test-in: Add tests of cabs and carg.
40463         * math/auto-libm-test-out: Regenerated.
40464         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40465         (carg_test_data): Likewise.
40466         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40467         mpc_c_f.
40468         (func_calc_desc): Add mpc_c_f union field.
40469         (test_functions): Add cabs and carg.
40470         (calc_generic_results): Handle mpc_c_f.
40472         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40473         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40474         as a macro and a compat symbol.
40475         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40476         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40477         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40478         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40479         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40480         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40481         not use .hidden.
40482         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40483         Likewise.
40484         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40485         Likewise.
40486         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40487         Likewise.
40488         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40489         Likewise.
40490         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40491         Likewise.
40492         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40493         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40494         from GLIBC_2.3.2.
40496 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40500 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40502         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40503         trailing whitespace removed.
40504         * scripts/config.guess: Update to version 2013-11-29.
40505         * scripts/config.sub: Update to version 2013-10-01.
40507         * math/auto-libm-test-in: Add tests of sincos.
40508         * math/auto-libm-test-out: Regenerated.
40509         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40511         mpfr_f_11.
40512         (func_calc_desc): Add mpfr_f_11 union field.
40513         (test_functions): Add sincos.
40514         (calc_generic_results): Handle mpfr_f_11.
40515         * sysdeps/i386/fpu/libm-test-ulps: Update.
40516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40518 2013-12-19  Andreas Schwab  <schwab@suse.de>
40520         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40521         CALL_MCOUNT.
40522         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40523         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40524         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40526 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40528         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40529         * sysdeps/i386/fpu/libm-test-ulps: Update.
40530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40532         [BZ #16293]
40533         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40534         round-to-nearest mode when using frndint.
40535         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40536         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40537         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40538         Likewise.
40539         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40540         sinh test to fail.
40541         * math/auto-libm-test-out: Regenerated.
40542         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40543         (TEST_COND_x86): Likewise.
40544         (expm1_tonearest_test_data): New array.
40545         (expm1_test_tonearest): New function.
40546         (expm1_towardzero_test_data): New array.
40547         (expm1_test_towardzero): New function.
40548         (expm1_downward_test_data): New array.
40549         (expm1_test_downward): New function.
40550         (expm1_upward_test_data): New array.
40551         (expm1_test_upward): New function.
40552         (main): Run the new test functions.
40553         * sysdeps/i386/fpu/libm-test-ulps: Update.
40554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40556         * include/features.h: Update comment documenting feature test
40557         macros.  Mention _DEFAULT_SOURCE in comment.
40558         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40559         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40560         _BSD_SOURCE and _SVID_SOURCE.
40561         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40562         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40563         !_SVID_SOURCE]: Likewise.
40564         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40565         (__USE_POSIX_IMPLICITLY): Define.
40566         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40567         (_POSIX_SOURCE): Undefine and redefine.
40568         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40569         (_POSIX_C_SOURCE): Likewise.
40570         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40571         (Feature Test Macros): Update documentation of default features.
40573 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40575         * benchtests/Makefile: Add bench-strtok.
40576         * benchtests/bench-strtok.c: New file: strtok benchtest.
40578 2013-12-19  Allan McRae  <allan@archlinux.org>
40580         * manual/install.texi: Suppress menu for plain text output.
40581         * INSTALL: Regenerated.
40583 2013-12-18  Brooks Moses  <bmoses@google.com>
40585         [BZ #15846]
40586         * misc/getauxval.c: Include errno.h.
40587         (__getauxval): Set errno to ENOENT if the requested type is not
40588         found.
40589         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40590         don't declare with __attribute_const__.
40591         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40592         * manual/startup.texi: Document that getauxval sets errno.
40594 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40596         * math/auto-libm-test-in: Add tests of jn and yn.
40597         * math/auto-libm-test-out: Regenerated.
40598         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40599         (yn_test_data): Likewise.
40600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40601         mpfr_if_f.
40602         (func_calc_desc): Add mpfr_if_f union field.
40603         (FUNC_mpfr_if_f): New macro.
40604         (test_functions): Add jn and yn.
40605         (calc_generic_results): Assert type of second input for
40606         mpfr_ff_f.  Handle mpfr_if_f.
40607         (output_for_one_input_case): Disable all checking for arguments
40608         fitting floating-point types in case of an integer argument.
40609         * sysdeps/i386/fpu/libm-test-ulps: Update.
40610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40613         Don't expect fegetround reference in libm.so.
40615 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40617         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40618         $(config-cflags-nofma).
40620 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40622         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40623         * math/auto-libm-test-out: Regenerated.
40625         [BZ #16338]
40626         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40627         to determine exponent and adjust argument to have exponent of -1.
40628         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40629         log2.
40630         * math/auto-libm-test-out: Regenerated.
40631         * sysdeps/i386/fpu/libm-test-ulps: Update.
40632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40634 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40636         * manual/probes.texi: Remove cases when per-thread arenas are
40637         disabled.
40639 2013-12-18  Andreas Schwab  <schwab@suse.de>
40641         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40642         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40643         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40644         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40645         * sysdeps/i386/i686/multiarch/Makefile: Update.
40646         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40648 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40650         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40651         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40653 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40655         [BZ #15968]
40656         Support TZ transition times < 00:00:00.
40657         This is needed for version-3 tz-format files; it supports time
40658         stamps past 2037 for America/Godthab (the only entry in the tz
40659         database for which this change is relevant).
40660         * manual/time.texi (TZ Variable): Document transition times
40661         from -167:59:59 through -00:00:01.
40662         * time/tzset.c (tz_rule): Time of day is now signed.
40663         (__tzset_parse_tz): Parse negative time of day.
40665         Document TZ transition times >= 25:00:00.
40666         * manual/time.texi (TZ Variable): Document transition times from
40667         25:00:00 through 167:59:59.  These are already supported, and this
40668         support will help with version-3 tz-format files.
40670         * manual/time.texi (TZ Variable): Modernize North America example
40671         to reflect current (i.e., 2007-and-later) daylight saving rules.
40673         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40675 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40677         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40678         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40681         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40682         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40683         * sysdeps/unix/bsd/clock.c: Likewise.
40684         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40685         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40686         * sysdeps/unix/bsd/init-posix.c: Likewise.
40687         * sysdeps/unix/bsd/poll.c: Likewise.
40688         * sysdeps/unix/bsd/ptsname.c: Likewise.
40689         * sysdeps/unix/bsd/seekdir.c: Likewise.
40690         * sysdeps/unix/bsd/setegid.c: Likewise.
40691         * sysdeps/unix/bsd/seteuid.c: Likewise.
40692         * sysdeps/unix/bsd/setgid.c: Likewise.
40693         * sysdeps/unix/bsd/setrgid.c: Likewise.
40694         * sysdeps/unix/bsd/setruid.c: Likewise.
40695         * sysdeps/unix/bsd/setsid.c: Likewise.
40696         * sysdeps/unix/bsd/setuid.c: Likewise.
40697         * sysdeps/unix/bsd/sigaction.c: Likewise.
40698         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40699         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40700         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40701         * sysdeps/unix/bsd/telldir.c: Likewise.
40702         * sysdeps/unix/bsd/times.c: Likewise.
40703         * sysdeps/unix/bsd/usleep.c: Likewise.
40705         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40706         ($(objpfx)libbsd-compat.a): Remove rule.
40708         * include/features.h (__FAVOR_BSD): Do not define.
40709         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40710         features conflicting with POSIX.
40711         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40712         (_BSD_SOURCE): Remove description of not being a subset of other
40713         feature test macros.
40714         * manual/job.texi (getpgrp): Do not document BSD version.
40715         (getpgid): Do not document by reference to BSD getpgrp.
40716         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40717         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40718         * signal/signal.h [__FAVOR_BSD]: Likewise.
40719         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40720         instead of making contents conditional on [__FAVOR_BSD].
40721         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40723 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40727 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40729         [BZ #16314]
40730         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40731         values below 2**-450, not 2**-500.
40732         * math/auto-libm-test-in: Don't allow spurious underflow from
40733         hypot.
40734         * math/auto-libm-test-out: Regenerated.
40736         [BZ #16316]
40737         [BZ #16330]
40738         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40739         values of ha and hb and sort them after adjusting subnormal
40740         arguments.
40741         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40742         Likewise.
40743         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40744         values of ea and eb and sort them after adjusting subnormal
40745         arguments.
40746         * math/auto-libm-test-in: Do not expect some hypot tests of
40747         subnormals to fail.  Add more hypot tests.
40748         * math/auto-libm-test-out: Regenerated.
40750 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40752         [BZ #13304]
40753         * sysdeps/sh/s_fma.c: New file.
40754         * sysdeps/sh/s_fmaf.c: New file.
40755         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40756         version.
40757         * sysdeps/sh/Implies: Add sh/soft-fp.
40759 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40761         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40762         level of indirection to members `objname', `errstring', `malloced'.
40763         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40764         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40765         it as the __longjmp argument (just pass 1 instead).
40766         (_dl_catch_error): Initialize C with argument pointers and address of
40767         volatile local ERRCODE rather than copying values out of C at return.
40769 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40771         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40772         * math/auto-libm-test-out: Regenerated.
40773         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40774         (hypot_test_data): Likewise.
40775         (pow_test_data): Likewise.
40776         (pow_tonearest_test_data): Likewise.
40777         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40778         mpfr_ff_f.
40779         (func_calc_desc): Add mpfr_ff_f union field.
40780         (FUNC_mpfr_ff_f): New macro.
40781         (test_functions): Add atan2, hypot and pow.
40782         (special_fill_min): New function.
40783         (special_fill_minus_min): Likewise.
40784         (special_fill_min_subnorm): Likewise.
40785         (special_fill_minus_min_subnorm): Likewise.
40786         (special_real_inputs): Add min, -min, min_subnorm and
40787         -min_subnorm.
40788         (calc_generic_results): Handle mpfr_ff_f.
40789         * sysdeps/i386/fpu/libm-test-ulps: Update.
40790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40792 2013-12-16  Will Newton  <will.newton@linaro.org>
40794         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40795         (Aligned Memory Blocks): Add documentation for aligned_alloc
40796         and suggest it as an alternative to posix_memalign.
40797         (Hooks for Malloc): Document __memalign_hook is also called
40798         for aligned_alloc.  (Summary of Malloc): Add summary for
40799         aligned alloc.  Document __memalign_hook is also called
40800         for aligned_alloc.
40802 2013-12-16  Will Newton  <will.newton@linaro.org>
40804         * manual/memory.texi (Malloc Examples): Clarify default
40805         alignment documentation.  Suggest posix_memalign rather
40806         than memalign or valloc.
40807         (Aligned Memory Blocks): Remove suggestion to use memalign
40808         or valloc.  Remove obsolete comment about BSD.
40809         Document memalign errno values and mark the function obsolete.
40810         Document posix_memalign returned error codes.  Mark valloc
40811         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40812         called for posix_memalign and valloc.
40813         (Summary of Malloc): Add posix_memalign to function summary.
40814         __memalign_hook is also called for posix_memalign and valloc.
40816 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40818         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40819         TAYLOR_SIN.
40820         (__sin): Adjust.
40821         (__cos): Likewise.
40822         (sloww): Use mynumber union.  Expand ternary operator into
40823         if-else statements.
40824         (cslow): use mynumber union.
40826 2013-12-16  Allan McRae  <allan@archlinux.org>
40828         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40829         * configure: Regenerated.
40831         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40833         [BZ #14120]
40834         * configure.ac: Added --enable-maintainer-mode. Check for
40835         autoconf when enabled.
40836         * configure: Regenerated.
40838         * nscd/nscd.service: New file.
40839         * nscd/nscd.tmpfiles: New file.
40841 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40843         [BZ #12100]
40844         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40845         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40846         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40847         (strstr): Add __strstr_sse2_unaligned ifunc.
40848         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40849         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40850         (strcasestr): Remove __strcasestr_sse42 ifunc.
40851         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40855 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40857         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40858         * sysdeps/sh/bits/fenv.h: ... here.
40859         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40861 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40863         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40866         hypotf multiarch implementations.
40867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40868         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40869         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40870         multiarch hypot for PPC64.
40871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40874         multiarch hypotf for PPC64.
40876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40877         modff multiarch implementations.
40878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40881         multiarch modf for PPC64.
40882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40885         multiarch modff for PPC64.
40887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40888         and logl multiarch implementations.
40889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40892         multiarch logb for PPC64.
40893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40896         multiarch logb for PPC64.
40897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40900         multiarch logb for PPC64.
40902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40903         isinff multiarch implementation.
40904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40905         file.
40906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40908         multiarch isinf for PPC64.
40909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40910         file.
40911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40912         multiarch isinff for PPC64.
40914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40915         finitef multiarch implementation.
40916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40917         file.
40918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40920         multiarch finite for PPC64.
40921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40922         file.
40923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40924         multiarch finitef for PPC64.
40926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40927         lrint multiarch implementation.
40928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40929         file.
40930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40932         multiarch llrint for PPC64.
40933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40934         multiarch lrint for PPC64.
40936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40937         copysignf multiarch implementation.
40938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40939         file.
40940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40941         file.
40942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40943         multiarch copysign for PPC64.
40944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40945         multiarch copysignf for PPC64.
40947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40948         multiarch implementation.
40949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40950         file.
40951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40952         file.
40953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40954         file.
40955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40956         file.
40957         multiarch llround for PPC64.
40958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40959         multiarch trunc for PPC64.
40960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40961         multiarch truncf for PPC64.
40963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40964         multiarch implementation.
40965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40966         file.
40967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40968         file.
40969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40970         file.
40971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40972         file.
40973         multiarch llround for PPC64.
40974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40975         multiarch round for PPC64.
40976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40977         multiarch roundf for PPC64.
40979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40980         multiarch implementation.
40981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40982         file.
40983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40984         file.
40985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40986         file.
40987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40988         file.
40989         multiarch llround for PPC64.
40990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40991         multiarch floor for PPC64.
40992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40993         multiarch floorf for PPC64.
40995         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40996         multiarch implementation.
40997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40998         file.
40999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41000         file.
41001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41002         file.
41003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41004         file.
41005         multiarch llround for PPC64.
41006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41007         multiarch ceil for PPC64.
41008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41009         multiarch ceilf for PPC64.
41011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41012         multiarch implementation.
41013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41014         file.
41015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41016         file.
41017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41018         file.
41019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41020         multiarch llround for PPC64.
41021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41022         multiarch lround for PPC64.
41024         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41025         multiarch implementation.
41026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41029         file.
41030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41033         multiarch isnan for PPC64.
41034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41035         multiarch isnanf for PPC64.
41037         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41038         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41039         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41040         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41041         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41044         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41045         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41046         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41047         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41050         multiarch implementations.
41051         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41052         (__libc_ifunc_impl_list): Likewise.
41053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41056         multiarch stpcpy for PPC64.
41058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41059         multiarch implementations.
41060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41061         (__libc_ifunc_impl_list): Likewise.
41062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41063         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41064         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41065         multiarch strcpy for PPC64.
41067         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41068         redefine function name.
41069         (_wordcopy_fwd_dest_aligned): Likewise.
41070         (_wordcopy_bwd_aligned): Likewise.
41071         (_wordcopy_bwd_dest_aligned): Likewise.
41072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41073         multiarch implementations.
41074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41075         (__libc_ifunc_impl_list): Likewise.
41076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41078         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41079         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41080         multiarch wcscpy for PPC64.
41082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41083         multiarch implementations.
41084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41085         (__libc_ifunc_impl_list): Likewise.
41086         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41087         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41088         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41089         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41090         multiarch wcscpy for PPC64.
41092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41093         multiarch implementations.
41094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41095         (__libc_ifunc_impl_list): Likewise.
41096         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41097         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41098         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41099         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41100         multiarch wcsrchr for PPC64.
41102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41103         multiarch implementations.
41104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41105         (__libc_ifunc_impl_list): Likewise.
41106         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41107         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41108         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41109         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41110         multiarch wcschr for PPC64.
41112         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41113         multiarch implementations.
41114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41115         (__libc_ifunc_impl_list): Likewise.
41116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41118         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41119         multiarch strchrnul for PPC64.
41121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41122         implementations.
41123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41124         (__libc_ifunc_impl_list): Likewise.
41125         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41126         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41127         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41128         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41129         strchr for PPC64.
41131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41132         implementations.
41133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41134         (__libc_ifunc_impl_list): Likewise.
41135         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41136         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41137         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41138         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41139         strncmp for PPC64.
41141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41142         multiarch implementations.
41143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41144         (__libc_ifunc_impl_list): Likewise.
41145         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41146         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41147         strncasecmp for PPC64.
41148         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41149         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41150         multiarch strncasecmp_l for PPC64.
41152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41153         multiarch implementations.
41154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41155         (__libc_ifunc_impl_list): Likewise.
41156         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41158         multiarch strcasecmp for PPC64.
41159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41160         file.
41161         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41162         multiarch strcasecmp_l for PPC64.
41164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41165         implementations.
41166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41167         (__libc_ifunc_impl_list): Likewise.
41168         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41169         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41170         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41171         strnlen for PPC64.
41173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41174         implementations.
41175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41176         (__libc_ifunc_impl_list): Likewise.
41177         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41178         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41179         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41180         strlen for PPC64.
41182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41183         implementations.
41184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41185         (__libc_ifunc_impl_list): Likewise.
41186         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41187         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41188         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41189         rawmemrchr for PPC64.
41191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41192         implementation.
41193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41194         (__libc_ifunc_impl_list): Likewise.
41195         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41196         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41197         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41198         memrchr for PPC64.
41200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41201         implementation.
41202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41203         (__libc_ifunc_impl_list): Likewise.
41204         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41205         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41206         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41207         memchr for PPC64.
41209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41210         implementation.
41211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41212         (__libc_ifunc_impl_list): Likewise.
41213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41214         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41215         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41216         mempcpy for PPC64.
41218         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41219         avoid cretion of __bzero symbol.
41220         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41221         Likewise.
41222         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41223         Likewise.
41224         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41225         Likewise.
41226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41227         multiarch implementations.
41228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41229         (__libc_ifunc_impl_list): Likewise.
41230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41231         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41232         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41233         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41234         bzero for PPC32.
41235         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41236         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41237         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41238         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41239         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41240         memset for PPC64.
41241         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41243         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41245         implementations.
41246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41247         (__libc_ifunc_impl_list): Likewise.
41248         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41249         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41250         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41251         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41252         memcmp for PPC64.
41254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41255         multiarch for POWER/PPC64.
41256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41257         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41260         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41261         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41264         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41265         memcpy for PPC64.
41267         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41268         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41269         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41270         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41271         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41272         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41273         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41274         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41275         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41276         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41277         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41278         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41279         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41280         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41281         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41290 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41292         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41294 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41296         * benchtests/Makefile (bench): Add exp2 and log2.
41297         (LDLIBS-bench-exp2): Add -lm.
41298         (LDLIBS-bench-log2): Likewise.
41299         * benchtests/exp2-inputs: New inputs file.
41300         * benchtests/log2-inputs: New inputs file.
41301         * benchtests/log-inputs: Add new inputs.
41302         * benchtests/tan-inputs: Likewise.
41304 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41306         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41307         definition...
41308         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41309         (csloww2): ... from here.
41311         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41312         instead of structures.
41313         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41314         (POLYNOMIAL): Likewise.
41315         (TAYLOR_SLOW): Likewise.
41316         (__sin): Likewise.
41317         (__cos): Likewise.
41318         (slow1): Likewise.
41319         (slow2): Likewise.
41320         (sloww): Likewise.
41321         (sloww1); Likewise.
41322         (sloww2): Likewise.
41323         (bsloww1): Likewise.
41324         (bsloww2): Likewise.
41325         (cslow2): Likewise.
41326         (csloww): Likewise.
41327         (csloww1): Likewise.
41328         (csloww2): Likewise.
41330 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41332         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41333         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41334         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41335         * malloc/hooks.c (realloc_check): Likewise.
41337         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41338         * malloc/arena.c: Remove PER_THREAD conditional.
41339         [!PER_THREAD]: Remove code.
41340         (ptmalloc_unlock_all2): Likewise.
41341         (ptmalloc_init): Likewise.
41342         (_int_new_arena): Likewise.
41343         (arena_get2): Likewise.
41344         * malloc/hooks.c (__malloc_get_state): Likewise.
41345         (__malloc_set_state): Likewise.
41346         * malloc/malloc.c: Likewise.
41347         (struct malloc_state): Likewise.
41348         (struct malloc_par): Likewise.
41349         (__libc_realloc): Likewise.
41350         (__libc_mallopt): Likewise.
41352 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41354         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41356 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41358         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41359         macro to a function.  Check for zero perturb_byte.
41360         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41362         * malloc/malloc.c: (force_reg): Remove.
41363         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41364         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41365         force_reg by atomic_forced_read.
41366         * malloc/arena.c (ptmalloc_init): Likewise.
41367         * malloc/hooks.c (top_check): Likewise.
41369 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41373 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41377 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41379         * math/auto-libm-test-in: Add tests of lgamma.
41380         * math/auto-libm-test-out: Regenerated.
41381         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41382         (M_LOG_2_SQRT_PIl): Likewise.
41383         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41385         mpfr_f_f1.
41386         (func_calc_desc): Add mpfr_f_f1 union field.
41387         (ARGS1): New macro.
41388         (ARGS2): Likewise.
41389         (ARGS3): Likewise.
41390         (ARGS4): Likewise.
41391         (RET1): Likewise.
41392         (RET2): Likewise.
41393         (CALC): Likewise.
41394         (FUNC): Likewise.
41395         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41396         (test_functions): Add lgamma.
41397         (calc_generic_results): Handle mpfr_f_f1.
41398         * sysdeps/i386/fpu/libm-test-ulps: Update.
41399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41401 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41403         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41404         __mpn_add_n for PowerPC64/POWER7.
41405         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41406         __mpn_sub_n for PowerPC64/POWER7.
41408         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41409         __mpn_addmul_1 for PowerPC64.
41410         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41411         __mpn_submul_1 for PowerPC64.
41412         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41413         for PowerPC64.
41414         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41415         for PowerPC64.
41417 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41419         [BZ #15089]
41420         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41422 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41424         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41426         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41427         add multiarch folders.
41428         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41429         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41430         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41431         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41432         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41433         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41434         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41435         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41436         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41437         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41438         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41447         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41449         New file.
41450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41451         New file.
41452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41453         multiarch __ieee754_hypot for PowerPC32.
41454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41455         New file.
41456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41457         New file.
41458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41459         multiarch __ieee754_hypotf for PowerPC32.
41461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41462         long_double_symbol only if __logbl is defined.
41463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41464         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41466         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41467         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41468         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41469         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41470         path for implementation.
41471         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41472         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41474         logb, and logbl multiarch implementations for PowerPC32.
41475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41476         file.
41477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41478         file.
41479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41480         multiarch logb for PowerPC32.
41481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41482         file.
41483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41484         file.
41485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41486         multiarch logbf for PowerPC32.
41487         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41489         file.
41490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41491         multiarch logbl implementation for PowerPC32.
41493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41494         and modff multiarch implementations.
41495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41496         New file.
41497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41498         New file.
41499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41500         multiarch modf for PowerPC32.
41501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41502         New file.
41503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41504         New file.
41505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41506         multiarch modff for PowerPC32.
41508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41509         and lrintf multiarch implementations.
41510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41511         New file.
41512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41513         New file.
41514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41515         multiarch lrint for PowerPC32.
41516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41517         file: multiarch lrintf for PowerPC32.
41519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41520         and lroundf multiarch implementations.
41521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41522         New file.
41523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41524         New file.
41525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41526         New file.
41527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41528         multiarch lround for PowerPC32.
41529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41530         file: multiarch lroundf for PowerPC32.
41532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41533         copysign and copysignf multiarch implementations.
41534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41535         New file.
41536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41537         New file.
41538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41539         file: multiarch copysign for PowerPC32.
41540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41541         file: multiarch copysignf for PowerPC32.
41543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41544         and truncf multiarch implementations.
41545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41546         New file.
41547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41548         file.
41549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41550         multiarch trunc for PowerPC32.
41551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41552         New file.
41553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41554         New file.
41555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41556         multiarch truncf for PowerPC32.
41558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41559         and roundf multiarch implementations.
41560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41561         New file.
41562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41563         file.
41564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41565         multiarch round for PowerPC32.
41566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41567         New file.
41568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41569         New file.
41570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41571         multiarch roundf for PowerPC32.
41573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41574         and floorf multiarch implementations.
41575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41576         New file.
41577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41578         file.
41579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41580         multiarch floor for PowerPC32.
41581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41582         New file.
41583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41584         New file.
41585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41586         multiarch floorf for PowerPC32.
41588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41589         and ceilf multiarch implementations.
41590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41591         New file.
41592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41593         file.
41594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41595         multiarch ceil for PowerPC32.
41596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41597         New file.
41598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41599         file.
41600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41601         multiarch ceilf for PowerPC32.
41603         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41604         is defined.
41605         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41606         FINITEF is defined.
41607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41608         and finitef multiarch implementations.
41609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41610         New file.
41611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41612         file.
41613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41614         multiarch finite for PowerPC32.
41615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41616         New file.
41617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41618         file: multiarch finitef for PowerPC32.
41620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41621         and isinff multiarch implementations.
41622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41623         file.
41624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41625         file.
41626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41627         multiarch isinf for PowerPC32.
41628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41629         New file.
41630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41631         multiarch isinff for PowerPC32.
41633         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41634         alias when __isnan is defined.
41635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41636         and isnanf multiarch implementations.
41637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41638         file.
41639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41640         file.
41641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41642         file.
41643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41644         file.
41645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41646         multiarch isnan for PowerPC32.
41647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41648         New file.
41649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41650         New file.
41651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41652         multiarch isnanf for PowerPC32.
41654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41655         and sqrtf multiarch implementations.
41656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41657         file.
41658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41659         file.
41660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41661         multiarch sqrt for PowerPC32.
41662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41663         file.
41664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41665         file.
41666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41667         multiarch sqrtf for PowerPC32.
41669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41670         and llroundf multiarch implementations.
41671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41672         New file.
41673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41674         New file.
41675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41676         New file.
41677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41678         file: multiarch llround for PowerPC32.
41679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41680         file: multiarch llroundf for PowerPC32.
41682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41683         multiarch PowerPC32 fpu implementations.
41684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41685         New file.
41686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41687         New file.
41688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41689         multiarch llrint for PowerPC32.
41690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41691         New file.
41692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41693         New file.
41694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41695         file.
41697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41699         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41700         file.
41701         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41702         file.
41703         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41704         file.
41705         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41706         multiarch wordcopy for PPC32.
41707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41708         wordcopy objects.
41709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41710         (__libc_ifunc_impl_list): Likewise.
41711         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41712         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41713         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41714         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41715         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41716         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41718         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41720         file.
41721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41722         file.
41723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41724         file.
41725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41726         multiarch wcscpy for PPC32.
41727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41728         multiarch objects.
41729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41730         (__libc_ifunc_impl_list): Likewise.
41731         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41732         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41733         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41734         sysdeps/powerpc/power6/wcscpy.c.
41736         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41738         file.
41739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41740         file.
41741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41742         file.
41743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41744         multiarch wcsrchr for PPC32.
41745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41746         multiarch objects.
41747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41748         (__libc_ifunc_impl_list): Likewise.
41749         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41750         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41751         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41752         sysdeps/powerpc/power6/wcsrchr.c.
41754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41755         file.
41756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41757         file.
41758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41760         multiarch wcschr for PPc32.
41761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41762         multiarch objects.
41763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41764         (__libc_ifunc_impl_list): Likewise.
41765         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41766         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41767         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41768         sysdeps/powerpc/power6/wcschr.c.
41770         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41771         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41772         file.
41773         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41774         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41775         file: multiarch strchr for PPC32.
41776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41777         multiarch objects.
41778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41779         (__libc_ifunc_impl_list): Likewise.
41781         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41782         name.
41783         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41784         file.
41785         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41786         file.
41787         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41788         multiarch strchrnul for PPC32.
41789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41790         multiarch objects.
41791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41792         (__libc_ifunc_impl_list): Likewise.
41794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41795         file.
41796         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41797         multiarch strncasecmp for PPC32.
41798         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41799         file.
41800         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41801         multiarch strncasecmp_l for PPC32.
41802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41803         strncasecmp multiarch objects.
41804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41805         (__libc_ifunc_impl_list): Likewise.
41807         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41808         file.
41809         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41810         multiarch strncasecmp for PPC32.
41811         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41812         New file.
41813         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41814         multiarch strcasecmp_l for PPC32.
41815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41816         multiarch objects.
41817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41818         (__libc_ifunc_impl_list): Likewise.
41820         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41821         file.
41822         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41823         file.
41824         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41825         multiarch strncmp for PPC32.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41827         multiarch objects.
41828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41829         (__libc_ifunc_impl_list): Likewise.
41831         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41832         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41833         file.
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41835         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41837         multiarch objects.
41838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41839         (__libc_ifunc_impl_list): Likewise.
41841         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41842         file.
41843         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41844         file.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41847         multiarch objects.
41848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41849         (__libc_ifunc_impl_list): Likewise.
41851         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41852         file.
41853         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41854         file.
41855         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41856         multiarch rawmemchr for PPC32.
41857         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41858         multiarch objects.
41859         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41860         (__libc_ifunc_impl_list): Likewise.
41862         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41863         file.
41864         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41865         file.
41866         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41867         file: memrchr multiarch for PPC32.
41868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41869         multiarch objects.
41870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41871         (__libc_ifunc_impl_list): Likewise.
41873         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41874         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41875         file.
41876         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41877         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41878         multiarch memchr for PPC32.
41879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41880         multiarch objects.
41881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41882         (__libc_ifunc_impl_list): Likewise.
41884         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41885         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41886         file.
41887         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41888         file.
41889         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41890         file: multiarch mempcpy for PPC32.
41891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41892         multiarch objects.
41893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41894         (__libc_ifunc_impl_list): Likewise.
41896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41898         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41899         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41900         multiarch bzero for PPC32.
41901         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41902         file.
41903         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41904         file.
41905         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41906         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41907         file: multiarch memset for PPC32.
41908         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41910         memset multiarch objects.
41911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41912         (__libc_ifunc_impl_list): Likewise.
41914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41915         file.
41916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41918         memcmp for PPC32.
41919         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41921         multiarch objects.
41922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41923         (__libc_ifunc_impl_list): Likewise.
41925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41927         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41928         file.
41929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41930         file.
41931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41932         file.
41933         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41934         multiarch memcpy for PPC32.
41935         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41936         multiarch objects.
41937         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41938         (__libc_ifunc_impl_list): Likewise.
41940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41941         support multiarch for POWER/PPC32.
41942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41943         Likewise.
41944         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41946         Implies file to make multiarch folder appers before the fpu and
41947         default folder for power4 configuration.
41949 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41951         * scripts/bench.pl: Append volatile keyword to type.
41953 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41955         * sysdeps/sh/sotruss-lib.c: New file.
41956         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41958 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41962 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41964         [BZ #6810]
41965         * math/w_tgamma.c: Include <errno.h>.
41966         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41967         * math/w_tgammaf.c: Include <errno.h>.
41968         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41969         * math/w_tgammal.c: Include <errno.h>.
41970         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41971         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41972         underflow.  Add more tgamma tests.
41973         * math/auto-libm-test-out: Regenerated.
41974         * sysdeps/i386/fpu/libm-test-ulps: Update.
41975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41977         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41978         sin, sinh, tan, tanh, tgamma, y0 and y1.
41979         * math/auto-libm-test-out: Regenerated.
41980         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41981         (TEST_COND_x86): Likewise.
41982         (M_E2l): Remove macro.
41983         (M_E3l): Likewise.
41984         (M_2_SQRT_PIl): Likewise.
41985         (M_SQRT_PIl): Likewise.
41986         (M_1_DIV_El): Likewise.
41987         (log_test_data): Use AUTO_TESTS_f_f.
41988         (log10_test_data): Likewise.
41989         (log1p_test_data): Likewise.
41990         (log2_test_data): Likewise.
41991         (sin_test_data): Likewise.
41992         (sin_tonearest_test_data): Likewise.
41993         (sin_towardzero_test_data): Likewise.
41994         (sin_downward_test_data): Likewise.
41995         (sin_upward_test_data): Likewise.
41996         (sinh_test_data): Likewise.
41997         (sinh_tonearest_test_data): Likewise.
41998         (sinh_towardzero_test_data): Likewise.
41999         (sinh_downward_test_data): Likewise.
42000         (sinh_upward_test_data): Likewise.
42001         (tan_test_data): Likewise.
42002         (tan_tonearest_test_data): Likewise.
42003         (tan_towardzero_test_data): Likewise.
42004         (tan_downward_test_data): Likewise.
42005         (tan_upward_test_data): Likewise.
42006         (tanh_test_data): Likewise.
42007         (tgamma_test_data): Likewise.
42008         (y0_test_data): Likewise.
42009         (y1_test_data): Likewise.
42010         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42011         (special_real_inputs): Add pi/4.
42012         * sysdeps/i386/fpu/libm-test-ulps: Update.
42013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42015 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42017         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42018         "longjmp_target" static probes.
42019         (__longjmp): Rename to __longjmp_symbol.
42020         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42021         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42022         on which longjmp to generate.
42023         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42024         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42025         probe.
42026         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42027         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42028         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42029         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42030         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42031         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42033         __longjmp_symbol based on which __longjmp to generate.
42034         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42035         probe.
42036         (setjmp): Rename to setjmp_symbol.
42037         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42038         (_setjmp): Rename to _setjmp_symbol.
42039         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42040         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42041         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42042         which setjmp to generate.
42043         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42044         "longjmp_target" static probes.
42046 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42048         * benchtests/README: Add note about output arguments.
42049         * benchtests/bench-sincos.c: Remove file.
42050         * benchtests/sincos-inputs: New file.
42051         * scripts/bench.pl: Identify output arguments and define
42052         static variables for them.
42054         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42056         [BZ #15941]
42057         * Makefile (INSTALL): Add install-plain.texi as the primary
42058         dependency.
42059         * manual/install-plain.texi: New file.
42060         * manual/install.texi: Include node directive only for
42061         non-plaintext output.
42063 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42065         * stdlib/longlong.h: Update from GCC.
42067         [BZ #6807]
42068         [BZ #15901]
42069         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42070         * math/w_j0f.c (y0f): Likewise.
42071         * math/w_j0l.c (__y0l): Likewise.
42072         * math/w_j1.c (y1): Likewise.
42073         * math/w_j1f.c (y1f): Likewise.
42074         * math/w_j1l.c (__y1l): Likewise.
42075         * math/w_jn.c (yn): Likewise.
42076         * math/w_jnf.c (ynf): Likewise.
42077         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42078         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42079         value for Bessel function domain errors outside _SVID_ mode.
42080         Adjust sign of return value for yn (negative integer, 0).
42081         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42082         by zero in return for negative x and set sign appropriately for
42083         negative n.
42084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42086         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42087         expectations in error cases.
42088         (y1_test_data): Likewise.
42089         (yn_test_data): Likewise.
42090         * sysdeps/i386/fpu/libm-test-ulps: Update.
42091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42093 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42095         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42096         "64" to "64-v1".  Add "64-v2".
42097         (abi-64-options): Rename to ...
42098         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42099         (abi-64-condition): Rename to ...
42100         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42101         (abi-64-ld-soname): Rename to ...
42102         (abi-64-v1-ld-soname): ... this.
42103         (abi-64-v2-options): Define.
42104         (abi-64-v2-condition): Likewise.
42105         (abi-64-v2-ld-soname): Likewise.
42106         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42107         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42112 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42113             Alan Modra  <amodra@gmail.com>
42115         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42116         New versions for use with the ELFv2 ABI.
42117         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42118         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42119         declaration.
42120         (struct La_ppc64v2_retval): Likewise.
42121         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42122         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42123         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42124         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42125         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42126         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42127         Do not save or restore CR.
42128         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42129         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42130         return values for ELFv2 ABI.  Fix location of FPR return registers.
42131         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42132         updated values for _CALL_ELF == 2.
42133         (La_regs, La_retval, int_retval): Likewise.
42135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42137         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42138         (FRAME_MIN_SIZE_PARM): Likewise.
42139         (FRAME_BACKCHAIN): Likewise.
42140         (FRAME_CR_SAVE): Likewise.
42141         (FRAME_LR_SAVE): Likewise.
42142         (FRAME_TOC_SAVE): Likewise.
42143         (FRAME_PARM_SAVE): Likewise.
42144         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42145         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42146         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42147         (call_mcount_parm_offset): New macro.
42148         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42149         (PROF): Use symbolic stack frame offsets.
42150         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42151         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42152         Redefine in terms of FRAME_MIN_SIZE.
42153         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42154         (_dl_profile_resolve): Likewise.  Update comment.
42155         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42156         symbols stack frame offsets.
42157         (__sigsetjmp): Likewise.
42158         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42159         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42160         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42161         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42164         (FRAME_BACKCHAIN): Remove.
42165         (FRAME_CR_SAVE): Likewise.
42166         (FRAME_LR_SAVE): Likewise.
42167         (FRAME_COMPILER_DW): Likewise.
42168         (FRAME_LINKER_DW): Likewise.
42169         (FRAME_TOC_SAVE): Likewise.
42170         (FRAME_PARM_SAVE): Likewise.
42171         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42172         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42173         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42175         (CHECK_SP): Use symbolic stack frame offsets.
42176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42177         zone" instead of caller's parameter save area for temp storage.
42178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42179         Likewise.  Also, use symbolic stack frame offsets.
42180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42181         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42182         our own stack frame instead of the caller's.
42183         (__socket): Use symbolic stack frame offsets.
42185 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42186             Alan Modra  <amodra@gmail.com>
42188         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42189         Define.
42190         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42191         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42192         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42193         New function.
42194         (elf_machine_fixup_plt): Call it.
42195         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42196         reloc arguments.
42197         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42199         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42200         r2 before calling target.
42202 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42203             Alan Modra  <amodra@gmail.com>
42205         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42206         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42207         versions of macros to support ELFv2 ABI.
42208         (LOCALENTRY): New macro.
42209         (ENTRY, EALIGN): Use it.
42210         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42211         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42212         fall through into ENTRY entry point.
42213         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42214         Only define if _CALL_ELF != 2.
42216         (elf_machine_matches_host): Verify ABI version matches.
42217         (RTLD_START): Use LOCALENTRY.
42218         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42219         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42220         (PLT_ENTRY_WORDS): New macro.
42221         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42222         (elf_machine_runtime_setup): Support ELFv2 ABI.
42223         (elf_machine_fixup_plt): Likewise.
42224         (elf_machine_plt_conflict): Likewise.
42225         (resolve_ifunc): Likewise.
42226         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42228         Likewise.
42229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42230         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42232         (makecontext): Support ELFv2 ABI.
42233         * elf/elf.h (EF_PPC64_ABI): Define.
42235 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42237         * sysdeps/powerpc/powerpc64/sysdep.h
42238         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42239         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42240         (ENTRY) [ASSEMBLER]: ... but instead here ...
42241         (EALIGN) [ASSEMBLER]: ... and here.
42242         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42243         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42244         (ENTRY_2) [!ASSEMBLER]: Use it.
42245         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42246         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42248         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42249         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42251         Use PPC64_LOAD_FUNCPTR.
42253         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42255 2013-12-04  Alan Modra  <amodra@gmail.com>
42257         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42258         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42259         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42260         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42262         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42263         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42264         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42265         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42266         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42267         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42269 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42272         (__makecontext): Fix incorrect CFI when backtracing out of
42273         context created via makecontext.
42274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42275         (__setcontext): Fix incorrect CFI during switch to new context.
42276         (__novec_setcontext): Likewise.
42278 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42280         [BZ #4772]
42281         * time/strptime_l.c (__strptime_internal): Allow modifiers
42282         in strptime.
42283         * time/tst-strptime.c (day_tests): Add testcase.
42285 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42287         * scripts/bench.pl: Skip over blank lines.
42289 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42291         [BZ #926]
42292         * manual/time.texi (Calendar Time): Clarify what timezone functions
42293         use.
42295 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42299 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42301         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42302         implementation.
42303         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42304         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42305         * debug/memset_chk.c (__memset_chk): Likewise.
42306         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42307         * debug/strncpy_chk.c: Likewise.
42309 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #15268]
42312         [BZ #15425]
42313         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42314         (__ieee754_exp): For possibly underflowing results, check size of
42315         result and force underflow exception if required.
42316         * math/auto-libm-test-in: Add more tests of exp.
42317         * math/auto-libm-test-out: Regenerated.
42318         * sysdeps/i386/fpu/libm-test-ulps: Update.
42319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42321         [BZ #16283]
42322         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42323         * math/w_exp2f.c (__exp2f): Likewise.
42324         * math/w_exp2l.c (__exp2l): Likewise.
42325         * math/auto-libm-test-in: Do not allow missing errno on exp2
42326         underflow.
42327         * math/auto-libm-test-out: Regenerated.
42329 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42331         [BZ #16274]
42332         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42333         handle filename validation.
42334         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42335         (do_open): Delete.
42337 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42339         [BZ #6786]
42340         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42341         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42342         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42343         <float.h>.
42344         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42346         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42347         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42348         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42349         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42350         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42351         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42352         Add more erfc tests.
42353         * math/auto-libm-test-out: Regenerated.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42357         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42358         exp2, expm1, j0 and j1.
42359         * math/auto-libm-test-out: Regenerated.
42360         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42361         (erfc_test_data): Likewise.
42362         (exp_test_data): Likewise.
42363         (exp_tonearest_test_data): Likewise.
42364         (exp_towardzero_test_data): Likewise.
42365         (exp_downward_test_data): Likewise.
42366         (exp_upward_test_data): Likewise.
42367         (exp10_test_data): Likewise.
42368         (exp2_test_data): Likewise.
42369         (expm1_test_data): Likewise.
42370         (j0_test_data): Likewise.
42371         (j1_test_data): Likewise.
42372         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42373         (input_flag_type): Add flag_xfail_rounding.
42374         (input_flags): Add xfail-rounding.
42375         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42376         (output_for_one_input_case): Handle flag_xfail_rounding.
42377         * sysdeps/i386/fpu/libm-test-ulps: Update.
42378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42380 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42382         [BZ #16289]
42383         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42384         division by 0.
42386 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42388         [BZ #16195]
42389         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42390         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42391         (STAP_PROBE0): New macro.
42392         (STAP_PROBE1): Likewise.
42393         (STAP_PROBE2): Likewise.
42394         (STAP_PROBE3): Likewise.
42395         (STAP_PROBE4): Likewise.
42397 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42399         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42401 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42403         * benchtests/Makefile (bench): Add sqrt.
42404         (LDLIBS-bench-sqrt): New.
42405         * benchtests/sqrt-input: New.
42407 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42409         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42410         (GAIH_EAI): Likewise.
42411         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42412         (gaih_inet): Likewise.
42413         (getaddrinfo): Don't use GAIH_EAI.
42415         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42416         (struct gaih): Remove definition.
42418 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42420         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42421         Use HERRNOP directly.
42423 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42427 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42429         * math/gen-auto-libm-tests.c (test_functions): Add more
42430         single-argument functions.
42431         (special_fill_pi_2): New function.
42432         (special_fill_minus_pi_2): Likewise.
42433         (special_fill_pi_6): Likewise.
42434         (special_fill_minus_pi_6): Likewise.
42435         (special_fill_pi_3): Likewise.
42436         (special_fill_2pi_3): Likewise.
42437         (special_fill_e): Likewise.
42438         (special_fill_1_e): Likewise.
42439         (special_fill_e_minus_1): Likewise.
42440         (special_real_inputs): Add more special inputs.
42441         (output_for_one_input_case): Do not require ERANGE on underflow to
42442         zero if round-to-nearest result does not underflow to zero, unless
42443         exact results required.
42444         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42445         atan, atanh, cbrt, cos and cosh.
42446         * math/auto-libm-test-out: Regenerated.
42447         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42448         (acos_tonearest_test_data): Likewise.
42449         (acos_towardzero_test_data): Likewise.
42450         (acos_downward_test_data): Likewise.
42451         (acos_upward_test_data): Likewise.
42452         (acosh_test_data): Likewise.
42453         (asin_test_data): Likewise.
42454         (asin_tonearest_test_data): Likewise.
42455         (asin_towardzero_test_data): Likewise.
42456         (asin_upward_test_data): Likewise.
42457         (asinh_test_data): Likewise.
42458         (atan_test_data): Likewise.
42459         (atanh_test_data): Likewise.
42460         (cbrt_test_data): Likewise.
42461         (cos_test_data): Likewise.
42462         (cos_tonearest_test_data): Likewise.
42463         (cos_towardzero_test_data): Likewise.
42464         (cos_downward_test_data): Likewise.
42465         (cos_upward_test_data): Likewise.
42466         (cosh_test_data): Likewise.
42467         (cosh_tonearest_test_data): Likewise.
42468         (cosh_towardzero_test_data): Likewise.
42469         (cosh_downward_test_data): Likewise.
42470         (cosh_upward_test_data): Likewise.
42471         * sysdeps/i386/fpu/libm-test-ulps: Update.
42472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42474 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42476         [BZ #6787]
42477         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42478         * math/w_exp10f.c (__exp10f): Likewise.
42479         * math/w_exp10l.c (__exp10l): Likewise.
42480         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42481         errno settings in existing tests.
42483         [BZ #14032]
42484         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42485         precision control set to double precision.
42486         * sysdeps/i386/fpu/w_sqrt.c: New file.
42487         * math/auto-libm-test-in: Add more tests.
42488         * math/auto-libm-test-out: Update.
42490         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42491         (sqrt_test_tonearest): New function.
42492         (sqrt_towardzero_test_data): New variable.
42493         (sqrt_test_towardzero): New function.
42494         (sqrt_downward_test_data): New variable.
42495         (sqrt_test_downward): New function.
42496         (sqrt_upward_test_data): New variable.
42497         (sqrt_test_upward): New function.
42498         (main): Call the new functions.
42500         * math/gen-auto-libm-tests.c: New file.
42501         * math/auto-libm-test-in: Likewise.
42502         * math/auto-libm-test-out: New generated file.
42503         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42504         variables.
42505         (%beautify): Add generated representations of zero.
42506         (top level): Set $auto_input and call parse_auto_input.
42507         (beautify): Remove trailing "f" from hex float constants.
42508         (parse_args): Handle XFAIL_TEST.
42509         (convert_condition): New function.
42510         (or_value): Likewise.
42511         (or_cond_value): Likewise.
42512         (generate_testfile): Handle AUTO_TESTS_* lines.
42513         (parse_auto_input): New function.
42514         * math/libm-test.inc (XFAIL_TEST): New macro.
42515         (ERRNO_UNCHANGED): Update value.
42516         (ERRNO_EDOM): Likewise.
42517         (ERRNO_ERANGE): Likewise.
42518         (IGNORE_RESULT): Likewise.
42519         (TEST_COND_flt_32): New macro.
42520         (TEST_COND_dbl_64): Likewise.
42521         (TEST_COND_ldbl_96_intel): Likewise.
42522         (TEST_COND_ldbl_96_m68k): Likewise.
42523         (TEST_COND_ldbl_128): Likewise.
42524         (TEST_COND_ldbl_128ibm): Likewise.
42525         (TEST_COND_long32): Likewise.
42526         (TEST_COND_long64): Likewise.
42527         (TEST_COND_before_rounding): Likewise.
42528         (TEST_COND_after_rounding): Likewise.
42529         (enable_test): Handle XFAIL_TEST flag.
42530         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42531         with finite results.
42532         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42533         auto-libm-test-out.
42535 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42536             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42538         [BZ #16214]
42539         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42540         __tls_get_addr_internal instead of __tls_get_offset in order to
42541         avoid GOT pointer dependency.  Make rtld export
42542         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42543         __tls_get_addr since we are a __tls_get_offset platform.
42544         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42545         GOT pointer being set up before.
42546         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42548 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42550         * manual/math.texi (Errors in Math Functions): Document accuracy
42551         goals.
42553         [BZ #15004]
42554         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42555         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42556         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42557         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42558         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42559         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42560         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42561         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42562         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42563         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42564         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42565         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42566         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42567         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42568         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42569         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42571         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42572         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42573         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42574         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42575         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42576         Likewise.
42577         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42578         Likewise.
42579         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42580         Likewise.
42581         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42582         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42583         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42584         atomic-feupdateenv and flt-rounds.
42585         * sysdeps/powerpc/nofpu/Versions (libc): Add
42586         __atomic_feholdexcept, __atomic_feclearexcept,
42587         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42588         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42589         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42591         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42592         here.
42593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42594         Update.
42596         * manual/arith.texi (FP Exceptions): Document that exceptions may
42597         not be raised when matherr is used.
42598         (Math Error Reporting): Document overflow in directed rounding
42599         modes.  Document that errno may not be set when finite values are
42600         returned on overflow.  Document intent to set errno on underflow
42601         only for underflow to zero.
42603         [BZ #16271]
42604         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42605         round-to-nearest then adjust result for other rounding modes.
42606         * include/fenv.h (fegetround): Use libm_hidden_proto.
42607         * math/fegetround.c (fegetround): Use libm_hidden_def.
42608         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42609         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42610         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42611         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42612         Likewise.
42613         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42614         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42615         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42616         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42618 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42620         [BZ #16077]
42621         * nss/Versions (libnss_files): Add
42622         _nss_files_gethostbyname3_r.
42623         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42624         New function.
42625         (HOST_DB_LOOKUP): Remove macro.
42626         (_nss_files_gethostbyname_r): Implement function without the
42627         HOST_DB_LOOKUP macro.
42628         (_nss_files_gethostbyname2_r): Likewise.
42630 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42632         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42634 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42636         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42637         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42638         warning.
42640 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42642         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42643         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42644         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42645         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42646         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42647         __fe_nomask_env_priv and attribute_hidden.
42648         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42649         (libc_feupdateenv_test_ppc): Likewise.
42650         (libc_feresetround_ppc): Likewise.
42651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42652         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42653         compat_symbol macro.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42655         (__fe_nomask_env): Likewise.
42656         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42660         * string/Makefile: Remove ifunc tests.
42661         * string/test-string.h: Define TEST_IFUNC.
42662         * string/test-bcopy-ifunc.c: Remove.
42663         * string/test-bzero-ifunc.c: Likewise.
42664         * string/test-memccpy-ifunc.c: Likewise.
42665         * string/test-memchr-ifunc.c: Likewise.
42666         * string/test-memcmp-ifunc.c: Likewise.
42667         * string/test-memcpy-ifunc.c: Likewise.
42668         * string/test-memmem-ifunc.c: Likewise.
42669         * string/test-memmove-ifunc.c: Likewise.
42670         * string/test-mempcpy-ifunc.c: Likewise.
42671         * string/test-memrchr-ifunc.c: Likewise.
42672         * string/test-memset-ifunc.c: Likewise.
42673         * string/test-rawmemchr-ifunc.c: Likewise.
42674         * string/test-stpcpy-ifunc.c: Likewise.
42675         * string/test-stpncpy-ifunc.c: Likewise.
42676         * string/test-strcasecmp-ifunc.c: Likewise.
42677         * string/test-strcasestr-ifunc.c: Likewise.
42678         * string/test-strcat-ifunc.c: Likewise.
42679         * string/test-strchr-ifunc.c: Likewise.
42680         * string/test-strchrnul-ifunc.c: Likewise.
42681         * string/test-strcmp-ifunc.c: Likewise.
42682         * string/test-strcpy-ifunc.c: Likewise.
42683         * string/test-strcspn-ifunc.c: Likewise.
42684         * string/test-strlen-ifunc.c: Likewise.
42685         * string/test-strncasecmp-ifunc.c: Likewise.
42686         * string/test-strncat-ifunc.c: Likewise.
42687         * string/test-strncmp-ifunc.c: Likewise.
42688         * string/test-strncpy-ifunc.c: Likewise.
42689         * string/test-strnlen-ifunc.c: Likewise.
42690         * string/test-strpbrk-ifunc.c: Likewise.
42691         * string/test-strrchr-ifunc.c: Likewise.
42692         * string/test-strspn-ifunc.c: Likewise.
42693         * string/test-strstr-ifunc.c: Likewise.
42695 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42697         * benchtests/Makefile: Remove ifunc tests.
42698         * benchtests/bench-string.h: Define TEST_IFUNC.
42699         * benchtests/bench-bcopy-ifunc.c: Remove.
42700         * benchtests/bench-bzero-ifunc.c: Likewise.
42701         * benchtests/bench-memccpy-ifunc.c: Likewise.
42702         * benchtests/bench-memchr-ifunc.c: Likewise.
42703         * benchtests/bench-memcmp-ifunc.c: Likewise.
42704         * benchtests/bench-memcpy-ifunc.c: Likewise.
42705         * benchtests/bench-memmem-ifunc.c: Likewise.
42706         * benchtests/bench-memmove-ifunc.c: Likewise.
42707         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42708         * benchtests/bench-memrchr-ifunc.c: Likewise.
42709         * benchtests/bench-memset-ifunc.c: Likewise.
42710         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42711         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42712         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42713         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42714         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42715         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42716         * benchtests/bench-strcat-ifunc.c: Likewise.
42717         * benchtests/bench-strchr-ifunc.c: Likewise.
42718         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42719         * benchtests/bench-strcmp-ifunc.c: Likewise.
42720         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42721         * benchtests/bench-strcpy-ifunc.c: Likewise.
42722         * benchtests/bench-strcspn-ifunc.c: Likewise.
42723         * benchtests/bench-strlen-ifunc.c: Likewise.
42724         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42725         * benchtests/bench-strncat-ifunc.c: Likewise.
42726         * benchtests/bench-strncmp-ifunc.c: Likewise.
42727         * benchtests/bench-strncpy-ifunc.c: Likewise.
42728         * benchtests/bench-strnlen-ifunc.c: Likewise.
42729         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42730         * benchtests/bench-strrchr-ifunc.c: Likewise.
42731         * benchtests/bench-strsep-ifunc.c: Likewise.
42732         * benchtests/bench-strspn-ifunc.c: Likewise.
42733         * benchtests/bench-strstr-ifunc.c: Likewise.
42735 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42737         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42739 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42741         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42742         * rt/aio.h: Likewise.
42743         * sysdeps/gnu/bits/utmp.h: Likewise.
42744         * sysdeps/gnu/bits/utmpx.h: Likewise.
42745         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42746         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42747         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42748         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42749         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42750         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42751         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42752         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42753         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42754         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42755         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42756         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42757         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42759         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42760         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42761         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42762         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42763         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42764         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42765         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42766         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42767         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42768         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42769         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42770         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42771         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42772         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42773         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42774         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42775         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42776         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42777         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42778         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42779         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42780         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42781         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42782         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42783         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42784         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42785         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42786         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42788 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42790         [BZ #16245]
42791         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42792         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42794 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42796         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42797         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42798         Likewise.
42800 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42802         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42803         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42804         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42805         (__fesetround): Remove define.
42806         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42807         rounding and exceptions handling.
42808         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42809         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42810         (__fe_nomask_env): Likewise.
42811         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42812         __fegetround instead of fegetround.
42813         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42814         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42816 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42818         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42819         it's there.
42821         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42823 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42825         [BZ #11157]
42826         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42827         (encrypt_r): Likewise.
42828         * malloc/obstack.h (obstack_free): Likewise.
42829         * posix/unistd.h (encrypt): Likewise.
42831 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42833         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42834         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42835         DL_CALL_DT_FINI() that call the functions directly.
42836         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42837         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42838         * elf/dl-fini.c: Likewise.
42840 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42842         * malloc/hooks.c (memalign_check): Add alignment rounding.
42843         * malloc/malloc.c (_mid_memalign): New function.
42844         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42845         Implement by calling _mid_memalign.
42846         * manual/probes.texi (Memory Allocation Probes): Remove
42847         memory_valloc_retry and memory_pvalloc_retry.
42849 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42851         * locale/programs/locarchive.c (open_archive): Add const
42852         qualifier to ARCHIVEFNAME and copy default fname to
42853         DEFAULT_FNAME.
42855         [BZ #15601]
42856         * libio/tst-widetext.input: Rename Oriya to Odia.
42857         * locale/iso-639.def: Likewise.
42859         * manual/probes.texi (Mathematical Function Probes): Add
42860         documentation for sin, cos, asin and acos probes.
42861         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42862         (__sin32): Add slowasin probe.
42863         (__cos32): Add slowacos probe.
42864         (__mpsin): Add slowsin probe.
42865         (__mpcos): Add slowcos probe.
42867 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42869         [BZ #15483]
42870         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42871         thread-local __sim_exceptions_thread and global
42872         __sim_exceptions_global.
42873         (__sim_disabled_exceptions): Change to thread-local
42874         __sim_disabled_exceptions_thread and global
42875         __sim_disabled_exceptions_global.
42876         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42877         and global __sim_round_mode_global.
42878         (__simulate_exceptions): Use thread-local floating-point state and
42879         set global state from it as needed.
42880         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42881         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42882         __sim_round_mode_thread.
42883         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42884         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42885         and global __sim_exceptions_global.
42886         (__sim_disabled_exceptions): Change to thread-local
42887         __sim_disabled_exceptions_thread and global
42888         __sim_disabled_exceptions_global.
42889         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42890         and global __sim_round_mode_global.
42891         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42892         (SIM_SET_GLOBAL): Likewise.
42893         * sysdeps/powerpc/soft-fp/sfp-machine.h
42894         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42895         __sim_round_mode_thread.
42896         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42897         __sim_disabled_exceptions_thread.
42898         (__sim_exceptions): Change to __sim_exceptions_thread.
42899         (__sim_disabled_exceptions): Change to
42900         __sim_disabled_exceptions_thread.
42901         (__sim_round_mode): Change to __sim_round_mode_thread.
42902         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42903         thread-local floating-point state and set global state from it as
42904         needed.
42905         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42906         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42907         (__sim_disabled_exceptions): Remove extern declaration.
42908         (feenableexcept): Use thread-local floating-point state and set
42909         global state from it as needed.
42910         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42911         extern declaration.
42912         (__sim_disabled_exceptions): Likewise.
42913         (__sim_round_mode): Likewise.
42914         (__fegetenv): Use thread-local floating-point state.
42915         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42916         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42917         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42918         floating-point state and set global state from it as needed.
42919         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42920         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42921         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42922         Likewise.
42923         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42924         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42925         Likewise.
42926         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42927         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42928         Use __sim_round_mode_thread.
42929         * math/test-fenv-tls.c: New file.
42930         * math/Makefile (tests): Add test-fenv-tls.
42931         ($(objpfx)test-fenv-tls): Depend on
42932         $(common-objpfx)nptl/libpthread.so.
42934 2013-11-19  Andreas Schwab  <schwab@suse.de>
42936         * locale/programs/locale.c (show_info): Decode wordarray elements.
42937         * locale/categories.def (LC_MONETARY): Add element for
42938         _NL_MONETARY_CRNCYSTR.
42939         * locale/C-monetary.c (conversion_rate): New variable.
42940         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42941         element.
42943 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42945         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42946         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42948 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42950         * elf/Makefile (tst-auxv): New test.
42951         * elf/tst-auxv.c: New
42952         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42954 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42956         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42957         (hidden_proto): Caller changed.
42958         (hidden_tls_proto): New macro.
42959         (libc_hidden_tls_proto): Likewise.
42960         (rtld_hidden_tls_proto): Likewise.
42961         (libm_hidden_tls_proto): Likewise.
42962         (libresolv_hidden_tls_proto): Likewise.
42963         (librt_hidden_tls_proto): Likewise.
42964         (libdl_hidden_tls_proto): Likewise.
42965         (libnss_files_hidden_tls_proto): Likewise.
42966         (libnsl_hidden_tls_proto): Likewise.
42967         (libnss_nisplus_hidden_tls_proto): Likewise.
42968         (libutil_hidden_tls_proto): Likewise.
42970 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42972         [BZ #10253]
42973         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42974         (decompose_rpath): Defer expansion to fillin_rpath.
42975         (_dl_init_paths): Pass linkmap to fillin_rpath.
42977 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42979         * benchtests/Makefile: Add strsep.
42980         * benchtests/bench-strsep.c: New file: strsep benchtest.
42981         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42983 2013-11-18  Andreas Schwab  <schwab@suse.de>
42985         * locale/programs/locale.c (show_info) [case byte]: Check for
42986         '\377' instead of '\177'.
42987         * locale/C-monetary.c (not_available): Always use "\377".
42988         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42989         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42990         detect unavailable sign_posn locale elements.
42991         * locale/localeconv.c (__localeconv): For grouping and
42992         mon_grouping handle "\177" and "\377" like no grouping.
42993         (INT_ELEM): New macro.  Use it to set all numeric members.
42994         * locale/programs/ld-monetary.c (monetary_read)
42995         <tok_mon_grouping>: Normalize single -1 to the empty string.
42996         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42997         Likewise.
42999 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43001         [BZ #16055]
43002         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43003         when we match (nil).
43004         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43006 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43008         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43009         (NO_TEST_INLINE): Update value.
43010         (ERRNO_UNCHANGED): Likewise.
43011         (ERRNO_EDOM): Likewise.
43012         (ERRNO_ERANGE): Likewise.
43013         (IGNORE_RESULT): Likewise.
43014         (check_float_internal): Check signs of NaN results if
43015         TEST_NAN_SIGN used.
43016         (check_complex): Pass TEST_NAN_SIGN flag through to second
43017         check_float_internal call.
43018         (copysign_test_data): Add tests with quiet NaNs as second
43019         argument.  Use TEST_NAN_SIGN.
43020         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43021         TEST_NAN_SIGN.
43022         (signbit_test_data): Add tests of quiet NaN argument.
43023         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43025         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43026         $ignore_result.
43027         (parse_args): Handle function results specified as IGNORE.
43028         * math/libm-test.inc (IGNORE_RESULT): New macro.
43029         (check_float_internal): Do not check numerical result if flag
43030         IGNORE_RESULT set.
43031         (check_complex): Pass through IGNORE_RESULT to second
43032         check_float_internal call.
43033         (check_int): Do not check numerical result if flag IGNORE_RESULT
43034         set.
43035         (check_long): Likewise.
43036         (check_bool): Likewise.
43037         (check_longlong): Likewise.
43038         (lrint_test_data): Add tests of infinite and NaN arguments.
43039         (lrint_tonearest_test_data): Likewise.
43040         (lrint_towardzero_test_data): Likewise.
43041         (lrint_downward_test_data): Likewise.
43042         (lrint_upward_test_data): Likewise.
43043         (llrint_test_data): Likewise.
43044         (llrint_tonearest_test_data): Likewise.
43045         (llrint_towardzero_test_data): Likewise.
43046         (llrint_downward_test_data): Likewise.
43047         (llrint_upward_test_data): Likewise.
43048         (lround_test_data): Likewise.
43049         (llround_test_data): Likewise.
43051         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43052         (ERRNO_UNCHANGED): Update value.
43053         (ERRNO_EDOM): Likewise.
43054         (ERRNO_ERANGE): Likewise.
43055         (NO_TEST_INLINE_FLOAT): New macro.
43056         (NO_TEST_INLINE_DOUBLE): Likewise.
43057         (enable_test): New function.
43058         (RUN_TEST_f_f): Check enable_test before running test.
43059         (RUN_TEST_2_f): Likewise.
43060         (RUN_TEST_fff_f): Likewise.
43061         (RUN_TEST_c_f): Likewise.
43062         (RUN_TEST_f_f1): Likewise.
43063         (RUN_TEST_fF_f1): Likewise.
43064         (RUN_TEST_fI_f1): Likewise.
43065         (RUN_TEST_ffI_f1): Likewise.
43066         (RUN_TEST_c_c): Likewise.
43067         (RUN_TEST_cc_c): Likewise.
43068         (RUN_TEST_f_i): Likewise.
43069         (RUN_TEST_f_i_tg): Likewise.
43070         (RUN_TEST_ff_i_tg): Likewise.
43071         (RUN_TEST_f_b): Likewise.
43072         (RUN_TEST_f_b_tg): Likewise.
43073         (RUN_TEST_f_l): Likewise.
43074         (RUN_TEST_f_L): Likewise.
43075         (RUN_TEST_fFF_11): Likewise.
43076         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43077         conditionals.
43078         (cosh_test_data): Likewise.
43079         (exp_test_data): Likewise.
43080         (expm1_test_data): Likewise.
43081         (hypot_test_data): Likewise.
43082         (pow_test_data): Likewise.
43083         (sinh_test_data): Likewise.
43084         (tanh_test_data): Likewise.
43085         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43086         flags argument.
43088         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43089         tests with quiet NaN input and output.
43090         (acosh_test_data): Likewise.
43091         (asin_test_data): Likewise.
43092         (asinh_test_data): Likewise.
43093         (atan_test_data): Likewise.
43094         (atanh_test_data): Likewise.
43095         (atan2_test_data): Likewise.
43096         (cbrt_test_data): Likewise.
43097         (cos_test_data): Likewise.
43098         (cosh_test_data): Likewise.
43099         (erf_test_data): Likewise.
43100         (erfc_test_data): Likewise.
43101         (exp_test_data): Likewise.
43102         (exp10_test_data): Likewise.
43103         (exp2_test_data): Likewise.
43104         (expm1_test_data): Likewise.
43105         (hypot_test_data): Likewise.
43106         (j0_test_data): Likewise.
43107         (j1_test_data): Likewise.
43108         (jn_test_data): Likewise.
43109         (lgamma_test_data): Likewise.
43110         (log_test_data): Likewise.
43111         (log10_test_data): Likewise.
43112         (log1p_test_data): Likewise.
43113         (log2_test_data): Likewise.
43114         (pow_test_data): Likewise.
43115         (scalb_test_data): Likewise.
43116         (sin_test_data): Likewise.
43117         (sincos_test_data): Likewise.
43118         (sinh_test_data): Likewise.
43119         (tan_test_data): Likewise.
43120         (tanh_test_data): Likewise.
43121         (tgamma_test_data): Likewise.
43122         (y0_test_data): Likewise.
43123         (y1_test_data): Likewise.
43124         (yn_test_data): Likewise.
43126         [BZ #16167]
43127         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43128         argument being NaN and avoid computations with second argument in
43129         that case.
43130         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43131         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43132         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43134 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43136         * locale/iso-639.def: Add Chitwani Tharu (the).
43138 2013-11-14  Andreas Schwab  <schwab@suse.de>
43140         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43141         word instead of empty string.
43143 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43146         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43148         (__fe_nomask_env): Likewise.
43150 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43152         * benchtests/bench-timing.h: Include time.h.
43154 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43156         [BZ #15997]
43157         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43158         to 3.4.0 for x32.
43159         * sysdeps/unix/sysv/linux/configure: Regenerated.
43161 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43163         [BZ #16151]
43164         * stdlib/strtod_l.c (round_and_return): Do not consider
43165         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43166         exponent one less than half the least subnormal exponent.
43167         * stdlib/test-strtod-round-data: Add more tests.
43168         * stdlib/tst-strtod-round.c (tests): Regenerated.
43170 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43172         [BZ #14143]
43173         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43174         (__fe_mask_env): Likewise.
43175         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43176         libm_hidden_proto and add function prototype.
43177         (__fe_mask_env): Add function prototype.
43178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43179         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43181         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43183         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43185 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43187         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43188         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43190 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43192         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43193         of htab_find_slot().
43195 2013-11-11  David S. Miller  <davem@davemloft.net>
43197         [BZ #16150]
43198         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43199         symbol in the non-vis3 case in static builds.
43200         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43201         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43202         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43203         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43205 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43207         [BZ #387]
43208         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43209         it is empty.
43211 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43213         * benchtests/Makefile: Add bench-strtod.
43214         * benchtests/bench-strtod.c: New file: strtod benchtest
43216 2013-11-11  Andreas Schwab  <schwab@suse.de>
43218         [BZ #16153]
43219         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43220         terminating NUL in key length.
43222 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43225         Add artificial ODP entry for vDSO symbol for PPC64.
43226         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43227         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43229 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43231         [BZ #15374]
43232         * nss/getent.c (services_keys): Recognize services starting with digit.
43234 2013-11-06  David S. Miller  <davem@davemloft.net>
43236         [BZ #15985]
43237         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43238         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43240 2013-11-06  Will Newton  <will.newton@linaro.org>
43242         * manual/memory.texi (Malloc Examples): Remove register
43243         keyword from examples.
43245 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43247         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43249 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43251         [BZ #6981]
43252         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43253         depending on [__GCC_IEC_559 > 0].
43254         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43255         depending on [__GCC_IEC_559_COMPLEX > 0].
43257 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43259         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43260         to iso-639.def.
43262 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43264         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43266 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43268         [BZ #16112]
43269         * malloc/malloc (malloc_info): Do not handle first bin as
43270         special case.
43272 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43274         * locale/iso-639.def: Add Central Nahuatl (nhn).
43276 2013-11-01  Bruno Haible  <bruno@clisp.org>
43278         [BZ #7003]
43279         * manual/math.texi (BSD Random): Specify range upper bound as
43280         in POSIX.
43282 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43284         * locale/iso-639.def: Add Meadow Mari (mhr).
43286 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43288         [BZ #14752], [BZ #15763]
43289         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43290         Validate name.
43291         * rt/tst_shm.c: Add test for escaping directory.
43293 2013-10-31  Andreas Schwab  <schwab@suse.de>
43295         [BZ #15917]
43296         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43297         followed by 'x' as part of digit sequence.
43298         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43300 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43302         [BZ #16037]
43303         * configure.ac: allow GNU Make 4.0 and greater.
43304         * configure: Regenerated.
43306 2013-10-30  Will Newton  <will.newton@linaro.org>
43308         [BZ #16038]
43309         * malloc/hooks.c (memalign_check): Limit alignment to the
43310         maximum representable power of two.
43311         * malloc/malloc.c (__libc_memalign): Likewise.
43312         * malloc/tst-memalign.c (do_test): Add test for very
43313         large alignment values.
43314         * malloc/tst-posix_memalign.c (do_test): Likewise.
43316 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43318         [BZ #11087]
43319         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43320         (munmap_chunk): Likewise.
43321         (mremap_chunk): Likewise.
43323 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43325         [BZ #15799]
43326         * stdlib/div.c (div): Remove obsolete code.
43327         * stdlib/ldiv.c (ldiv): Likewise.
43328         * stdlib/lldiv.c (lldiv): Likewise.
43330 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43332         [BZ #16071]
43333         * nss/nss_files/files-XXX.c (get_contents_ret): New
43334         enumerator.
43335         (get_contents): New function.
43336         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43338 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43340         * configure.in: Moved to ...
43341         * configure.ac: ... here. Change reference to configure.in
43342         to configure.ac.
43343         * sysdeps/arm/preconfigure.ac: ... here.
43344         configure.in to configure.ac.
43345         * sysdeps/gnu/configure.in: Moved to ...
43346         * sysdeps/gnu/configure.ac: ... here.
43347         * sysdeps/i386/configure.in: Moved to ...
43348         * sysdeps/i386/configure.ac: ... here.
43349         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43350         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43351         * sysdeps/mach/configure.in: Moved to ...
43352         * sysdeps/mach/configure.ac: ... here.
43353         * sysdeps/mach/hurd/configure.in: Moved to ...
43354         * sysdeps/mach/hurd/configure.ac: ... here.
43355         * sysdeps/powerpc/configure.in: Moved to ...
43356         * sysdeps/powerpc/configure.ac: ... here.
43357         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43358         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43359         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43360         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43361         * sysdeps/s390/s390-32/configure.in: Moved to ...
43362         * sysdeps/s390/s390-32/configure.ac: ... here.
43363         * sysdeps/s390/s390-64/configure.in: Moved to ...
43364         * sysdeps/s390/s390-64/configure.ac: ... here.
43365         * sysdeps/sh/configure.in: Moved to ...
43366         * sysdeps/sh/configure.ac: ... here.
43367         * sysdeps/sparc/configure.in: Moved to ...
43368         * sysdeps/sparc/configure.ac: ... here.
43369         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43370         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43371         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43372         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43373         * sysdeps/x86_64/configure.in: Moved to ...
43374         * sysdeps/x86_64/configure.ac: ... here.
43375         * sysdeps/x86_64/preconfigure.in: Moved to ...
43376         * sysdeps/x86_64/preconfigure.ac: ... here.
43377         * aclocal.m4: Change reference to configure.in to configure.ac.
43378         * config.h.in: Likewise.
43379         * manual/install.texi: Likewise.
43380         * manual/maint.texi: Likewise.
43381         * Makefile: Likewise.
43382         * malloc/Makefile: Likewise.
43383         * nscd/Makefile: Likewise.
43384         * Makeconfig: Change reference to configure.in and
43385         preconfigure.in to configure.ac and preconfigure.ac
43386         respectively.
43387         * INSTALL: Regenerated.
43388         * configure: Likewise.
43389         * sysdeps/gnu/configure: Likewise.
43390         * sysdeps/i386/configure: Likewise.
43391         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43392         * sysdeps/mach/configure: Likewise.
43393         * sysdeps/mach/hurd/configure: Likewise.
43394         * sysdeps/powerpc/configure: Likewise.
43395         * sysdeps/powerpc/powerpc32/configure: Likewise.
43396         * sysdeps/powerpc/powerpc64/configure: Likewise.
43397         * sysdeps/s390/s390-32/configure: Likewise.
43398         * sysdeps/s390/s390-64/configure: Likewise.
43399         * sysdeps/sh/configure: Likewise.
43400         * sysdeps/sparc/configure: Likewise.
43401         * sysdeps/unix/sysv/linux/configure: Likewise.
43402         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43403         * sysdeps/x86_64/configure: Likewise.
43404         * sysdeps/x86_64/preconfigure: Likewise.
43406 2013-10-29  Andreas Schwab  <schwab@suse.de>
43408         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43410 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43412         * benchtests/pow-inputs: Add new inputs.
43414         * benchtests/exp-inputs: Add new inputs.
43416         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43417         conditional check for return value.
43418         (__cos32): Likewise.
43420 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43422         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43423         to provide a boost for large inputs with word alignment.
43424         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43425         implementation based on optimized PPC64 strcpy.
43426         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43427         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43428         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43429         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43431 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43433         [BZ #2801]
43434         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43436 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43438         [BZ #14876]
43439         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43440         * time/tst-strptime.c (day_tests): Add testcase.
43442 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43444         [BZ #14029]
43445         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43447 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43449         [BZ #16074]
43450         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43451         MAP_FAILED on error.
43453 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43455         [BZ #16072]
43456         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43457         heap for large requests.
43459 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43461         [BZ #9954]
43462         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43463         result if the result has no associated interface.
43464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43465         interface for all 127.X.Y.Z addresses.
43467 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43469         * locale/iso-639.def: Add Ligurian (lij)
43471 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43473         [BZ #15825]
43474         * sunrpc/rpc_main.c: Document rpcgen -5.
43476 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43478         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43480 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43482         [BZ #10278]
43483         * posix/glob.c: Match only directories when trailing slash is present.
43484         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43485         (main): Add testcase.
43487 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43489         [BZ #15670]
43490         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43492 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43494         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43495         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43496         AUTH_DES and cindex for FIPS 140-2.
43497         (DES Encryption): Add cindex FIPS 46-3.
43499         * locale/locarchive.h (struct locarhandle): Add fname.
43500         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43501         if an optional argument was specified to --list-archive,
43502         otherwise NULL.
43503         * locale/programs/locarchive.c (show_archive_content): Take new
43504         argument fname and pass it via ah.fname to open_archive.
43505         * locale/programs/localedef.h: Update decl.
43506         (open_archive): If AH->fname is non-null, open that file
43507         rather than the default file name, and don't ignore ENOENT.
43508         (create_archive): Set AH.fname to NULL.
43509         (delete_locales_from_archive): Likewise.
43510         (add_locales_to_archive): Likewise.
43511         * locale/programs/locfile.c (write_all_categories): Likewise.
43513 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43514             Aldy Hernandez  <aldyh@redhat.com>
43516         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43517         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43518         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43519         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43520         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43523         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43524         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43525         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43526         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43527         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43528         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43529         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43530         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43531         Likewise.
43532         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43533         Likewise.
43534         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43535         Likewise.
43536         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43537         Likewise.
43538         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43539         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43540         Likewise.
43541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43542         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43543         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43544         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43545         Likewise.
43546         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43547         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43548         * sysdeps/powerpc/preconfigure: Likewise.
43549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43550         Likewise.
43551         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43552         Replace contents of file by #include of <fenv_libc.h>.
43553         * sysdeps/powerpc/soft-fp/sfp-machine.h
43554         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43555         and <sys/prctl.h>.
43556         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43566         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43567         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43569         Allow copysignl PLT reference to be missing.
43571 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43572             Joseph Myers  <joseph@codesourcery.com
43574         [BZ #15948]
43575         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43576         single character.
43577         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43579 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43581         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43582         * elf/tst-tls1.c: Likewise.
43583         * elf/tst-tls10.h: Likewise.
43584         * elf/tst-tls14.c: Likewise.
43585         * elf/tst-tls2.c: Likewise.
43586         * elf/tst-tls3.c: Likewise.
43587         * elf/tst-tls4.c: Likewise.
43588         * elf/tst-tls5.c: Likewise.
43589         * elf/tst-tls6.c: Likewise.
43590         * elf/tst-tls7.c: Likewise.
43591         * elf/tst-tls8.c: Likewise.
43592         * elf/tst-tls9.c: Likewise.
43593         * elf/tst-tlsmod1.c: Likewise.
43594         * elf/tst-tlsmod13.c: Likewise.
43595         * elf/tst-tlsmod13a.c: Likewise.
43596         * elf/tst-tlsmod14a.c: Likewise.
43597         * elf/tst-tlsmod16a.c: Likewise.
43598         * elf/tst-tlsmod16b.c: Likewise.
43599         * elf/tst-tlsmod2.c: Likewise.
43600         * elf/tst-tlsmod3.c: Likewise.
43601         * elf/tst-tlsmod4.c: Likewise.
43602         * elf/tst-tlsmod5.c: Likewise.
43603         * elf/tst-tlsmod6.c: Likewise.
43605 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43607         [BZ #12486]
43608         * malloc/malloc.c: remove checks for statistics.
43610 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43612         [BZ #15277]
43613         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43614         * inet/tst-network.c: Add testcase.
43616 2013-10-17  Andreas Schwab  <schwab@suse.de>
43618         [BZ #15218]
43619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43620         to determine canonical name.
43622 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43624         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43625         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43648         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43649         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43654         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43656         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43657         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43658         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43659         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43662         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43663         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43664         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43665         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43668         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43669         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43670         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43671         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43672         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43673         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43674         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43675         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43676         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43677         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43679         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43680         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43681         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43683 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43685         [BZ #16041]
43686         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43687         make result into a quiet NaN.
43689 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43691         * soft-fp/adddf3.c: Fix horizontal whitespace.
43692         * soft-fp/addsf3.c: Likewise.
43693         * soft-fp/addtf3.c: Likewise.
43694         * soft-fp/divdf3.c: Likewise.
43695         * soft-fp/divsf3.c: Likewise.
43696         * soft-fp/divtf3.c: Likewise.
43697         * soft-fp/double.h: Likewise.
43698         * soft-fp/eqdf2.c: Likewise.
43699         * soft-fp/eqsf2.c: Likewise.
43700         * soft-fp/eqtf2.c: Likewise.
43701         * soft-fp/extenddftf2.c: Likewise.
43702         * soft-fp/extended.h: Likewise.
43703         * soft-fp/extendsfdf2.c: Likewise.
43704         * soft-fp/extendsftf2.c: Likewise.
43705         * soft-fp/extendxftf2.c: Likewise.
43706         * soft-fp/fixdfdi.c: Likewise.
43707         * soft-fp/fixdfsi.c: Likewise.
43708         * soft-fp/fixdfti.c: Likewise.
43709         * soft-fp/fixsfdi.c: Likewise.
43710         * soft-fp/fixsfsi.c: Likewise.
43711         * soft-fp/fixsfti.c: Likewise.
43712         * soft-fp/fixtfdi.c: Likewise.
43713         * soft-fp/fixtfsi.c: Likewise.
43714         * soft-fp/fixtfti.c: Likewise.
43715         * soft-fp/fixunsdfdi.c: Likewise.
43716         * soft-fp/fixunsdfsi.c: Likewise.
43717         * soft-fp/fixunsdfti.c: Likewise.
43718         * soft-fp/fixunssfdi.c: Likewise.
43719         * soft-fp/fixunssfsi.c: Likewise.
43720         * soft-fp/fixunssfti.c: Likewise.
43721         * soft-fp/fixunstfdi.c: Likewise.
43722         * soft-fp/fixunstfsi.c: Likewise.
43723         * soft-fp/fixunstfti.c: Likewise.
43724         * soft-fp/floatdidf.c: Likewise.
43725         * soft-fp/floatdisf.c: Likewise.
43726         * soft-fp/floatditf.c: Likewise.
43727         * soft-fp/floatsidf.c: Likewise.
43728         * soft-fp/floatsisf.c: Likewise.
43729         * soft-fp/floatsitf.c: Likewise.
43730         * soft-fp/floattidf.c: Likewise.
43731         * soft-fp/floattisf.c: Likewise.
43732         * soft-fp/floattitf.c: Likewise.
43733         * soft-fp/floatundidf.c: Likewise.
43734         * soft-fp/floatundisf.c: Likewise.
43735         * soft-fp/floatunditf.c: Likewise.
43736         * soft-fp/floatunsidf.c: Likewise.
43737         * soft-fp/floatunsisf.c: Likewise.
43738         * soft-fp/floatunsitf.c: Likewise.
43739         * soft-fp/floatuntidf.c: Likewise.
43740         * soft-fp/floatuntisf.c: Likewise.
43741         * soft-fp/floatuntitf.c: Likewise.
43742         * soft-fp/fmadf4.c: Likewise.
43743         * soft-fp/fmasf4.c: Likewise.
43744         * soft-fp/fmatf4.c: Likewise.
43745         * soft-fp/gedf2.c: Likewise.
43746         * soft-fp/gesf2.c: Likewise.
43747         * soft-fp/getf2.c: Likewise.
43748         * soft-fp/ledf2.c: Likewise.
43749         * soft-fp/lesf2.c: Likewise.
43750         * soft-fp/letf2.c: Likewise.
43751         * soft-fp/muldf3.c: Likewise.
43752         * soft-fp/mulsf3.c: Likewise.
43753         * soft-fp/multf3.c: Likewise.
43754         * soft-fp/negdf2.c: Likewise.
43755         * soft-fp/negsf2.c: Likewise.
43756         * soft-fp/negtf2.c: Likewise.
43757         * soft-fp/op-1.h: Likewise.
43758         * soft-fp/op-2.h: Likewise.
43759         * soft-fp/op-4.h: Likewise.
43760         * soft-fp/op-8.h: Likewise.
43761         * soft-fp/op-common.h: Likewise.
43762         * soft-fp/quad.h: Likewise.
43763         * soft-fp/single.h: Likewise.
43764         * soft-fp/soft-fp.h: Likewise.
43765         * soft-fp/sqrtdf2.c: Likewise.
43766         * soft-fp/sqrtsf2.c: Likewise.
43767         * soft-fp/sqrttf2.c: Likewise.
43768         * soft-fp/subdf3.c: Likewise.
43769         * soft-fp/subsf3.c: Likewise.
43770         * soft-fp/subtf3.c: Likewise.
43771         * soft-fp/truncdfsf2.c: Likewise.
43772         * soft-fp/trunctfdf2.c: Likewise.
43773         * soft-fp/trunctfsf2.c: Likewise.
43774         * soft-fp/trunctfxf2.c: Likewise.
43775         * soft-fp/unorddf2.c: Likewise.
43776         * soft-fp/unordsf2.c: Likewise.
43777         * soft-fp/unordtf2.c: Likewise.
43779 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43781         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43782         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43784 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43786         * elf/dl-libc.c: Clear initfini list after freeing.
43788 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43790         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43791         * soft-fp/addsf3.c: Likewise.
43792         * soft-fp/addtf3.c: Likewise.
43793         * soft-fp/divdf3.c: Likewise.
43794         * soft-fp/divsf3.c: Likewise.
43795         * soft-fp/divtf3.c: Likewise.
43796         * soft-fp/double.h: Likewise.
43797         * soft-fp/eqdf2.c: Likewise.
43798         * soft-fp/eqsf2.c: Likewise.
43799         * soft-fp/eqtf2.c: Likewise.
43800         * soft-fp/extenddftf2.c: Likewise.
43801         * soft-fp/extended.h: Likewise.
43802         * soft-fp/extendsfdf2.c: Likewise.
43803         * soft-fp/extendsftf2.c: Likewise.
43804         * soft-fp/extendxftf2.c: Likewise.
43805         * soft-fp/fixdfdi.c: Likewise.
43806         * soft-fp/fixdfsi.c: Likewise.
43807         * soft-fp/fixdfti.c: Likewise.
43808         * soft-fp/fixsfdi.c: Likewise.
43809         * soft-fp/fixsfsi.c: Likewise.
43810         * soft-fp/fixsfti.c: Likewise.
43811         * soft-fp/fixtfdi.c: Likewise.
43812         * soft-fp/fixtfsi.c: Likewise.
43813         * soft-fp/fixtfti.c: Likewise.
43814         * soft-fp/fixunsdfdi.c: Likewise.
43815         * soft-fp/fixunsdfsi.c: Likewise.
43816         * soft-fp/fixunsdfti.c: Likewise.
43817         * soft-fp/fixunssfdi.c: Likewise.
43818         * soft-fp/fixunssfsi.c: Likewise.
43819         * soft-fp/fixunssfti.c: Likewise.
43820         * soft-fp/fixunstfdi.c: Likewise.
43821         * soft-fp/fixunstfsi.c: Likewise.
43822         * soft-fp/fixunstfti.c: Likewise.
43823         * soft-fp/floatdidf.c: Likewise.
43824         * soft-fp/floatdisf.c: Likewise.
43825         * soft-fp/floatditf.c: Likewise.
43826         * soft-fp/floatsidf.c: Likewise.
43827         * soft-fp/floatsisf.c: Likewise.
43828         * soft-fp/floatsitf.c: Likewise.
43829         * soft-fp/floattidf.c: Likewise.
43830         * soft-fp/floattisf.c: Likewise.
43831         * soft-fp/floattitf.c: Likewise.
43832         * soft-fp/floatundidf.c: Likewise.
43833         * soft-fp/floatundisf.c: Likewise.
43834         * soft-fp/floatunsidf.c: Likewise.
43835         * soft-fp/floatunsisf.c: Likewise.
43836         * soft-fp/floatuntidf.c: Likewise.
43837         * soft-fp/floatuntisf.c: Likewise.
43838         * soft-fp/floatuntitf.c: Likewise.
43839         * soft-fp/fmadf4.c: Likewise.
43840         * soft-fp/fmasf4.c: Likewise.
43841         * soft-fp/fmatf4.c: Likewise.
43842         * soft-fp/gedf2.c: Likewise.
43843         * soft-fp/gesf2.c: Likewise.
43844         * soft-fp/getf2.c: Likewise.
43845         * soft-fp/ledf2.c: Likewise.
43846         * soft-fp/lesf2.c: Likewise.
43847         * soft-fp/letf2.c: Likewise.
43848         * soft-fp/muldf3.c: Likewise.
43849         * soft-fp/mulsf3.c: Likewise.
43850         * soft-fp/multf3.c: Likewise.
43851         * soft-fp/negdf2.c: Likewise.
43852         * soft-fp/negsf2.c: Likewise.
43853         * soft-fp/negtf2.c: Likewise.
43854         * soft-fp/op-1.h: Likewise.
43855         * soft-fp/op-2.h: Likewise.
43856         * soft-fp/op-4.h: Likewise.
43857         * soft-fp/op-8.h: Likewise.
43858         * soft-fp/op-common.h: Likewise.
43859         * soft-fp/quad.h: Likewise.
43860         * soft-fp/single.h: Likewise.
43861         * soft-fp/soft-fp.h: Likewise.
43862         * soft-fp/sqrtdf2.c: Likewise.
43863         * soft-fp/sqrtsf2.c: Likewise.
43864         * soft-fp/sqrttf2.c: Likewise.
43865         * soft-fp/subdf3.c: Likewise.
43866         * soft-fp/subsf3.c: Likewise.
43867         * soft-fp/subtf3.c: Likewise.
43868         * soft-fp/truncdfsf2.c: Likewise.
43869         * soft-fp/trunctfdf2.c: Likewise.
43870         * soft-fp/trunctfsf2.c: Likewise.
43871         * soft-fp/trunctfxf2.c: Likewise.
43872         * soft-fp/unorddf2.c: Likewise.
43873         * soft-fp/unordsf2.c: Likewise.
43874         * soft-fp/unordtf2.c: Likewise.
43876 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43878         [BZ #15672]
43879         * misc/error.c (error_tail): Fix possible buffer overflow.
43881 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43883         [BZ #13028]
43884         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43885         address.
43887 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43889         [BZ #832]
43890         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43891         testing pipefail option.
43893 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43895         * soft-fp/double.h: Indent preprocessor directives inside #if.
43896         * soft-fp/extended.h: Likewise.
43897         * soft-fp/op-2.h: Likewise.
43898         * soft-fp/op-4.h: Likewise.
43899         * soft-fp/op-common.h: Likewise.
43900         * soft-fp/quad.h: Likewise.
43901         * soft-fp/single.h: Likewise.
43902         * soft-fp/soft-fp.h: Likewise.
43904 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43906         * iconv/iconv_prog.c: Fix typos.
43907         * stdio-common/psiginfo-data.h: Likewise.
43909 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43911         [BZ #15764]
43912         * locale/setlocale.c: Fix typo.
43914 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43916         [BZ #16036]
43917         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43918         signaling NaN arguments.
43919         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43920         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43922         [BZ #14910]
43923         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43924         unordered operands.
43925         * soft-fp/gesf2.c (__gesf2): Likewise.
43926         * soft-fp/getf2.c (__getf2): Likewise.
43927         * soft-fp/ledf2.c (__ledf2): Likewise.
43928         * soft-fp/lesf2.c (__lesf2): Likewise.
43929         * soft-fp/letf2.c (__letf2): Likewise.
43931         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43932         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43933         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43934         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43935         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43936         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43937         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43938         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43939         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43940         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43941         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43942         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43943         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43944         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43945         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43946         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43947         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43948         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43949         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43950         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43951         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43952         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43953         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43954         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43955         * soft-fp/floattidf.c (__floattidf): Likewise.
43956         * soft-fp/floattisf.c (__floattisf): Likewise.
43957         * soft-fp/floattitf.c (__floattitf): Likewise.
43958         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43959         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43960         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43961         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43962         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43963         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43964         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43965         * soft-fp/gesf2.c (__gesf2): Likewise.
43966         * soft-fp/getf2.c (__getf2): Likewise.
43967         * soft-fp/ledf2.c (__ledf2): Likewise.
43968         * soft-fp/lesf2.c (__lesf2): Likewise.
43969         * soft-fp/letf2.c (__letf2): Likewise.
43971         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43972         Undefine and redefine.
43973         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43974         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43975         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43976         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43977         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43978         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43979         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43980         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43981         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43982         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43983         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43984         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43985         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43986         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43987         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43989         [BZ #16032]
43990         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43991         without decrementing exponent if mantissa >= that for the
43992         denominator, not >.
43993         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43994         denominator, not >.  Decrement exponent in < case instead of
43995         incrementing in >= case.
43996         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43997         without decrementing exponent if mantissa >= that for the
43998         denominator, not >.
44000         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44001         computing saturated result for unsigned overflow.
44003 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44004             Jeff Law  <law@redhat.com>
44006         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44007         (atan2Mp): Add systemtap probe marker.
44008         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44009         (__ieee754_log): Add systemtap probe marker.
44010         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44011         (atanMp): Add systemtap probe marker.
44012         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44013         (tanMp): Add systemtap probe marker.
44014         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44015         (__slowexp): Add systemtap probe marker.
44016         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44017         (__slowpow): Add systemtap probe marker.
44018         * manual/probes.texi: Document probes.
44020 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44022         [BZ #15362]
44023         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44024         written.
44025         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44026         written.
44027         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44028         written to buffer but not flushed.
44029         * libio/iofwrite_u.c:  Likewise.
44030         * libio/iopadn.c:  Return bytes returned even if EOF was
44031         encountered.
44032         * libio/iowpadn.c:  Likewise.
44033         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44034         if _IO_padn does not write the whole buffer.
44035         [!COMPILE_WPRINTF] (PAD): Likewise.
44037 2013-10-10  David S. Miller  <davem@davemloft.net>
44039         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44040         directory block.
44042 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44044         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44045         instead of FSF address.
44046         * soft-fp/fixdfti.c: Likewise.
44047         * soft-fp/fixsfti.c: Likewise.
44048         * soft-fp/fixtfti.c: Likewise.
44049         * soft-fp/fixunsdfti.c: Likewise.
44050         * soft-fp/fixunssfti.c: Likewise.
44051         * soft-fp/fixunstfti.c: Likewise.
44052         * soft-fp/floattidf.c: Likewise.
44053         * soft-fp/floattisf.c: Likewise.
44054         * soft-fp/floattitf.c: Likewise.
44055         * soft-fp/floatuntidf.c: Likewise.
44056         * soft-fp/floatuntisf.c: Likewise.
44057         * soft-fp/floatuntitf.c: Likewise.
44058         * soft-fp/trunctfxf2.c: Likewise.
44060         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44061         * soft-fp/fixdfti.c: Likewise.
44062         * soft-fp/fixsfti.c: Likewise.
44063         * soft-fp/fixtfti.c: Likewise.
44064         * soft-fp/fixunsdfti.c: Likewise.
44065         * soft-fp/fixunssfti.c: Likewise.
44066         * soft-fp/fixunstfti.c: Likewise.
44067         * soft-fp/floattidf.c: Likewise.
44068         * soft-fp/floattisf.c: Likewise.
44069         * soft-fp/floattitf.c: Likewise.
44070         * soft-fp/floatuntidf.c: Likewise.
44071         * soft-fp/floatuntisf.c: Likewise.
44072         * soft-fp/floatuntitf.c: Likewise.
44073         * soft-fp/trunctfxf2.c: Likewise.
44075 2013-10-10  David S. Miller  <davem@davemloft.net>
44077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44079 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44081         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44082         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44083         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44084         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44085         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44086         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44087         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44090         for NaNs before doing comparisons on argument.
44091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44092         Likewise.
44094 2013-10-10  Will Newton  <will.newton@linaro.org>
44096         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44097         passed to _int_memalign does not overflow.
44099 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44101         * scripts/bench.pl: Add include-sources directive.
44102         * benchtests/README: Update documentation.
44104 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44106         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44107         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44108         instead of FP_INIT_ROUNDMODE.
44109         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44110         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44112         [BZ #16034]
44113         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44114         copy class of input value.
44115         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44116         not handle exceptions.
44117         * soft-fp/negsf2.c (__negsf2): Likewise.
44118         * soft-fp/negtf2.c (__negtf2): Likewise.
44119         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44121 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44123         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44124         semicolon.  From Linux kernel.
44126 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44128         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44130 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44132         [BZ #156]
44133         * manual/socket.texi: Added statement about buffer
44134         for gethostbyname2_r.
44136 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44138         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44139         Use .p2align directive instead, throughout.
44140         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44141         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44142         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44143         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44144         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44145         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44146         * sysdeps/x86_64/strchr.S: Likewise.
44147         * sysdeps/x86_64/strrchr.S: Likewise.
44149 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44151         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44153         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44155         * sysdeps/generic/math_private.h (__mpsin1): Remove
44156         declaration.
44157         (__mpcos1): Likewise.
44158         (__mpsin): New argument __range_reduce.
44159         (__mpcos): Likewise.
44160         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44161         (slow): Use __mpsin and __mpcos.
44162         (slow1): Likewise.
44163         (slow2): Likewise.
44164         (sloww): Likewise.
44165         (sloww1): Likewise.
44166         (sloww2): Likewise.
44167         (bsloww): Likewise.
44168         (bsloww1): Likewise.
44169         (bsloww2): Likewise.
44170         (cslow2): Likewise.
44171         (csloww): Likewise.
44172         (csloww1): Likewise.
44173         (csloww2): Likewise.
44174         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44175         range_reduce.  Merge in __mpsin1.
44176         (__mpcos): Likewise.
44177         (__mpsin1): Remove.
44178         (__mpcos1): Likewise.
44180 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44182         * locale/loadlocale.c (_nl_intern_locale_data): Use
44183         LOCFILE_ALIGNED_P.
44184         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44185         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44186         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44187         obstack data is appropriately aligned.
44188         (obstack_int32_grow_fast): Likewise.
44189         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44190         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44191         (add_locale_uint32_array): Likewise.
44193 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44195         * benchtests/Makefile: Remove ARGLIST and RET variables.
44196         ($(objpfx)bench-%.c): Pass only function name to the script.
44197         * benchtests/README: Update documentation.
44198         * benchtests/acos-inputs: Add new directives.
44199         * benchtests/acosh-inputs: Likewise.
44200         * benchtests/asin-inputs: Likewise.
44201         * benchtests/asinh-inputs: Likewise.
44202         * benchtests/atan-inputs: Likewise.
44203         * benchtests/atanh-inputs: Likewise.
44204         * benchtests/cos-inputs: Likewise.
44205         * benchtests/cosh-inputs: Likewise.
44206         * benchtests/exp-inputs: Likewise.
44207         * benchtests/log-inputs: Likewise.
44208         * benchtests/pow-inputs: Likewise.
44209         * benchtests/rint-inputs: Likewise.
44210         * benchtests/sin-inputs: Likewise.
44211         * benchtests/sinh-inputs: Likewise.
44212         * benchtests/tan-inputs: Likewise.
44213         * benchtests/tanh-inputs: Likewise.
44214         * scripts/bench.pl: Add support for new directives.
44216 2013-10-07  Alan Modra  <amodra@gmail.com>
44218         * README: Fix careless merge.
44220 2013-10-05  Alan Modra  <amodra@gmail.com>
44222         * NEWS: Mention powerpc64le support and bugs fixed.
44223         * README: Both big-endian and little-endian powerpc64 supported.
44225 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44227         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44228         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44229         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44230         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44232 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44234         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44235         match prototype.
44237 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44239         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44240         Move -mhard-float appending from
44241         ports/sysdeps/powerpc/powerpc32/Makefile.
44242         [$(with-fp) = yes] (ASFLAGS): Likewise.
44243         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44244         * sysdeps/powerpc/nofpu: Move directory from
44245         ports/sysdeps/powerpc/nofpu.
44246         * sysdeps/powerpc/soft-fp: Move directory from
44247         ports/sysdeps/powerpc/soft-fp.
44248         * sysdeps/powerpc/powerpc32/405: Move directory from
44249         ports/sysdeps/powerpc/powerpc32/405.
44250         * sysdeps/powerpc/powerpc32/440: Move directory from
44251         ports/sysdeps/powerpc/powerpc32/440.
44252         * sysdeps/powerpc/powerpc32/464: Move directory from
44253         ports/sysdeps/powerpc/powerpc32/464.
44254         * sysdeps/powerpc/powerpc32/476: Move directory from
44255         ports/sysdeps/powerpc/powerpc32/476.
44256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44257         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44259         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44261         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44263         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44265         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44266         * README: Update for powerpc-*-linux-gnu software floating point
44267         support in libc.
44269         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44270         case to powerpc/powerpc32*.
44271         * sysdeps/unix/sysv/linux/configure: Regenerated.
44273         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44274         (_FPU_MASK_OM): Define as 0x04.
44275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44277         0x00c10080.
44278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44279         0x0000003c.
44280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44283         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44284         getcontext_e500.
44285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44286         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44287         setcontext_e500.
44288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44289         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44290         and setcontext_e500.
44292 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44294         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44296 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44298         * manual/threads.texi (Default Thread Attributes): Fix typo.
44300 2013-10-04  Will Newton  <will.newton@linaro.org>
44302         * malloc/Makefile: Add tst-memalign.
44303         * malloc/tst-memalign.c: New file.
44305         * malloc/tst-posix_memalign.c: Add comments.
44306         (do_test): Add comments and call free on all potentially
44307         allocated pointers. Add space after cast.
44309         * malloc/tst-pvalloc.c: Add comments.
44310         (do_test): Add comments and call free on all potentially
44311         allocated pointers. Remove duplicate check for NULL pointer.
44312         Add space after cast.
44314         * malloc/tst-valloc.c: Add comments.
44315         (do_test): Add comments and call free on all potentially
44316         allocated pointers. Remove duplicate check for NULL pointer.
44317         Add space after cast.
44319 2013-10-04  Alan Modra  <amodra@gmail.com>
44321         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44322         Use stdint types in rather than __attribute__((mode())).
44323         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44325 2013-10-04  Alan Modra  <amodra@gmail.com>
44327         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44328         Correct handling of unaligned relocs for little-endian.
44329         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44331 2013-10-04  Alan Modra  <amodra@gmail.com>
44333         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44334         * configure: Regenerate.
44335         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44336         * shlib-versions: Likewise.
44338 2013-10-04  Alan Modra  <amodra@gmail.com>
44340         * string/tester.c (test_memrchr): Increment reported test cycle.
44342 2013-10-04  Alan Modra  <amodra@gmail.com>
44344         * string/test-memcpy.c (do_one_test): When reporting errors, print
44345         string address and don't overrun end of string.
44347 2013-10-04  Alan Modra  <amodra@gmail.com>
44349         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44350         insrdi.  Make better use of reg selection to speed exit slightly.
44351         Schedule entry path a little better.  Remove useless "are we done"
44352         checks on entry to main loop.  Handle wrapping around zero address.
44353         Correct main loop count.  Handle single left-over word from main
44354         loop inline rather than by using loop_small.  Remove extra word
44355         case in loop_small caused by wrong loop count.  Add little-endian
44356         support.
44357         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44359         cache hint.
44360         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44361         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44362         support.  Avoid rlwimi.
44363         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44365 2013-10-04  Alan Modra  <amodra@gmail.com>
44367         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44368         insrdi.  Formatting.
44369         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44370         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44371         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44372         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44373         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44374         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44376 2013-10-04  Alan Modra  <amodra@gmail.com>
44378         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44379         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44380         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44381         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44382         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44383         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44384         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44385         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44386         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44387         use of regs.  Use power7 mtocrf.  Tidy function tails.
44389 2013-10-04  Alan Modra  <amodra@gmail.com>
44391         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44392         Formatting.  Consistently use rXXX register defines or rN defines.
44393         Use early exit labels that avoid restoring unused non-volatile regs.
44394         Make cr field use more consistent with rWORDn compares.  Rename
44395         regs used as shift registers for unaligned loop, using rN defines
44396         for short lifetime/multiple use regs.
44397         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44398         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44399         addi 1,1,64 to pop stack frame.  Simplify return value code.
44400         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44402 2013-10-04  Alan Modra  <amodra@gmail.com>
44404         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44405         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44406         rather than rlwimi.
44407         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44408         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44409         little-endian support.  Correct typos.
44410         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44411         rather than rlwimi.
44412         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44413         in loop and entry code to keep "and." results.
44414         (strchr): Add little-endian support.  Comment.  Move cntlzd
44415         earlier in tail.
44416         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44418 2013-10-04  Alan Modra  <amodra@gmail.com>
44420         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44421         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44422         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44423         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44425 2013-10-04  Alan Modra  <amodra@gmail.com>
44427         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44428         (rTMP): Define as r11.
44429         (strcmp): Add little-endian support.  Optimise tail.
44430         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44431         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44432         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44433         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44434         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44435         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44436         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44438 2013-10-04  Alan Modra  <amodra@gmail.com>
44440         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44441         little-endian support.  Remove unnecessary "are we done" tests.
44442         Handle "s" wrapping around zero and extremely large "size".
44443         Correct main loop count.  Handle single left-over word from main
44444         loop inline rather than by using small_loop.  Correct comments.
44445         Delete "zero" tail, use "end_max" instead.
44446         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44448 2013-10-04  Alan Modra  <amodra@gmail.com>
44450         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44451         support.  Don't branch over align.
44452         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44453         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44454         support.  Rearrange tmp reg use to suit.  Comment.
44455         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44457 2013-10-04  Alan Modra  <amodra@gmail.com>
44459         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44461 2013-10-04  Alan Modra  <amodra@gmail.com>
44463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44464         conditional form of branch and link when obtaining pc.
44465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44467 2013-10-04  Alan Modra  <amodra@gmail.com>
44469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44470         HIWORD/LOWORD.
44471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44474 2013-10-04  Alan Modra  <amodra@gmail.com>
44476         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44477         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44478         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44479         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44480         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44481         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44482         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44483         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44484         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44485         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44487 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44488             Alistair Popple <alistair@ozlabs.au.ibm.com>
44489             Alan Modra <amodra@gmail.com>
44491         [BZ #15723]
44492         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44493         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44494         _dl_hwcap access for little-endian.
44495         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44496         destroy vmx regs when saving unaligned.
44497         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44498         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44499         destroy vmx regs when saving unaligned.
44501 2013-10-04  Alan Modra  <amodra@gmail.com>
44503         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44504         Don't use a union to pack hi/low value.
44506 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44508         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44509         for little-endian.
44510         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44511         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44512         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44513         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44514         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44516 2013-10-04  Alan Modra  <amodra@gmail.com>
44518         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44519         constants to usual value for .cst8 section, and remove redundant
44520         high address load.
44521         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44522         constant for 0x1p52.  Load little-endian words of double from
44523         correct stack offsets.
44525 2013-10-04  Alan Modra  <amodra@gmail.com>
44527         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44528         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44529         words of double from correct stack offsets.
44530         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44531         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44532         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44533         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44534         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44535         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44536         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44537         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44538         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44539         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44540         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44541         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44542         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44543         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44544         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44545         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44546         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44548 2013-10-04  Alan Modra  <amodra@gmail.com>
44550         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44551         64-bit int/double union.
44552         (_FPU_SETCW): Likewise.
44553         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44554         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44556 2013-10-04  Alan Modra  <amodra@gmail.com>
44558         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44559         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44561 2013-10-04  Alan Modra  <amodra@gmail.com>
44563         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44564         use vector int constants.
44565         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44567 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44569         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44570         array with long long.
44571         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44572         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44573         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44574         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44575         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44576         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44577         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44578         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44579         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44580         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44581         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44582         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44583         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44585 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44587         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44588         (__signbit): Likewise.  Correct for little-endian.
44589         (__signbitl): Call __signbit.
44590         (lrint): Correct for little-endian.
44591         (lrintf): Call lrint.
44593 2013-10-04  Alan Modra  <amodra@gmail.com>
44595         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44596         union 32-bit int array member with 64-bit int array.
44597         (t515, tm256): Double rather than long double.
44598         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44600 2013-10-04  Alan Modra  <amodra@gmail.com>
44602         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44603         Delete.
44604         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44606         version of math_ldbl.h.
44608 2013-10-04  Alan Modra  <amodra@gmail.com>
44610         [BZ #15734], [BZ #15735]
44611         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44612         all uses of ieee875 long double macros and unions.  Simplify test
44613         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44614         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44615         normalize after ldbl_extract_mantissa, and don't add hidden bit
44616         already handled.  Don't treat low word of ieee854 mantissa like
44617         low word of IBM long double and mask off bit when testing for
44618         zero.
44619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44620         all uses of ieee875 long double macros and unions.  Simplify tests
44621         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44622         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44623         two1022, instead use their values.  Recognise that tests for large
44624         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44625         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44626         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44627         test for 0.0L and nan.  Correct negation.
44628         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44629         ieee875 long double macros and unions.  Correct output for large
44630         magnitude x.  Correct absolute value calculation.
44631         (__erfcl): Likewise.
44632         * math/libm-test.inc: Add tests for errors discovered in IBM long
44633         double versions of fmodl, remainderl, erfl and erfcl.
44635 2013-10-04  Alan Modra  <amodra@gmail.com>
44637         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44638         all uses of ieee854 long double macros and unions.  Simplify tests
44639         for long doubles that are fully specified by the high double.
44640         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44641         Likewise.
44642         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44643         Remove dead code too.
44644         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44645         (__ieee754_ynl): Likewise.
44646         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44647         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44648         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44649         Remove dead code too.
44650         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44651         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44653         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44654         Simplify.
44655         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44656         Simplify.
44657         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44658         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44659         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44660         Comment on variable precision.
44661         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44662         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44663         Likewise.
44664         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44665         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44666         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44667         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44668         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44670 2013-10-04  Alan Modra  <amodra@gmail.com>
44672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44673         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44674         all uses of ieee854 long double macros and unions.
44675         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44677         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44678         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44679         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44680         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44681         Likewise.
44682         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44683         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44684         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44685         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44687         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44688         Simplify sign and nan test too.
44689         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44690         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44691         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44692         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44693         Likewise.
44694         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44695         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44696         Likewise.
44697         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44698         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44699         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44700         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44701         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44702         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44704 2013-10-04  Alan Modra  <amodra@gmail.com>
44706         * stdio-common/printf_size.c (__printf_size): Don't use
44707         union ieee854_long_double in fpnum union.
44708         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44709         signbit macro to retrieve sign from long double.
44710         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44711         retrieve sign from long double.
44712         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44713         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44714         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44715         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44716         * math/test-misc.c (main): Don't use union ieee854_long_double.
44718 2013-10-04  Alan Modra  <amodra@gmail.com>
44720         [BZ #15680]
44721         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44722         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44723         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44724         calculation.  Remove unnecessary test for denormal exponent.
44725         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44726         Correct handling of denormals.  Avoid undefined shift behaviour.
44727         Correct normalisation of low mantissa when low double is denormal.
44728         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44729         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44730         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44731         Correct normalisation of low mantissa.  Test for overflow of high
44732         mantissa and normalise.
44733         (ldbl_nearbyint): Use more readable constant for two52.
44734         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44735         (__mpn_construct_long_double): Fix test for overflow of high
44736         mantissa and correct normalisation.  Avoid undefined shift.
44738 2013-10-04  Alan Modra  <amodra@gmail.com>
44740         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44741         (union ibm_extended_long_double): Define as an array of ieee754_double.
44742         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44743         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44744         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44745         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44746         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44747         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44749         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44750         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44751         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44754 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44756         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44757         page size instead of calling getpagesize.
44759         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44760         (LOCFILE_ALIGN_MASK): Likewise.
44761         (LOCFILE_ALIGN_UP): Likewise.
44762         (LOCFILE_ALIGNED_P): Likewise.
44763         * locale/programs/ld-collate.c (collate_output): Use the new
44764         macros instead of __alignof__ (int32_t).
44765         * locale/weight.h (findidx): Likewise.
44767 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44769         [BZ #431]
44770         * manual/string.texi: Fix strncat and wcsncat.
44772 2013-10-03  Brooks Moses  <bmoses@google.com>
44774         [BZ #15915]
44775         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44776         * Makerules: ...here, and adjust associated comments.
44778 2013-10-02  Will Newton  <will.newton@linaro.org>
44780         * malloc/Makefile: Add tst-pvalloc.
44781         * malloc/tst-pvalloc.c: New file.
44783 2013-10-02  Will Newton  <will.newton@linaro.org>
44785         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44786         improve test coverage.
44788 2013-10-02  Will Newton  <will.newton@linaro.org>
44790         * malloc/Makefile: Add tst-posix_memalign.
44791         * malloc/tst-posix_memalign.c: New file.
44793 2013-10-01  Eric Blake  <eblake@redhat.com>
44795         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44796         Use __THROWNL rather than __THROW on static functions.
44798 2013-09-30  Petr Machata  <pmachata@redhat.com>
44800         * elf/elf.h (R_AARCH64_ABS16): New macro.
44801         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44802         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44803         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44804         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44805         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44806         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44807         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44808         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44809         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44810         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44811         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44812         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44813         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44814         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44815         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44816         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44817         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44818         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44819         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44820         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44821         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44822         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44823         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44824         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44825         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44826         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44827         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44828         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44829         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44830         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44831         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44832         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44833         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44834         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44835         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44836         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44837         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44838         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44839         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44840         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44841         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44842         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44843         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44844         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44845         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44846         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44847         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44848         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44849         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44850         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44851         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44852         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44853         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44854         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44855         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44856         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44857         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44858         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44859         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44860         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44861         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44862         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44863         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44864         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44865         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44866         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44867         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44868         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44869         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44870         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44871         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44872         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44873         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44874         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44875         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44876         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44877         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44878         (R_AARCH64_TLSDESC_LDR): Likewise.
44879         (R_AARCH64_TLSDESC_ADD): Likewise.
44880         (R_AARCH64_TLSDESC_CALL): Likewise.
44882 2013-09-30  Andreas Schwab  <schwab@suse.de>
44884         [BZ #15048]
44885         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44886         the nss database lookup.
44887         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44890 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44892         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44894 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44896         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44897         ${Bash-specific parameter/pattern/string} parameter expansion.
44898         * sysdeps/unix/make-syscalls.sh: Likewise.
44900 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44902         * sysdeps/sh/stackguard-macros.h: New file.
44904 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44908         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44909         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44910         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44911         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44913 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44915         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44916         Fix thread ID register.
44918 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44920         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44921         [POSIX || UNIX98]: Require rather than permitting all symbols from
44922         <time.h>.
44923         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44924         element of struct sched_param.
44925         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44926         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44927         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44928         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44929         constant.
44931 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44933         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44934         argument calculation.
44936 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44938         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44939         Expect macro.
44940         [POSIX] (pthread_attr_t): Do not require type.
44941         [POSIX] (pthread_cond_t): Likewise.
44942         [POSIX] (pthread_condattr_t): Likewise.
44943         [POSIX] (pthread_key_t): Likewise.
44944         [POSIX] (pthread_mutex_t): Likewise.
44945         [POSIX] (pthread_mutexattr_t): Likewise.
44946         [POSIX] (pthread_once_t): Likewise.
44947         [POSIX] (pthread_t): Likewise.
44948         [POSIX-based standards] (pthread_atfork): Expect function.
44950 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44951             Richard Sandiford  <richard@codesourcery.com>
44953         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44954         (swap_endianness_p): New extern variable.
44955         (set_big_endian): New inline function.
44956         (maybe_swap_uint32): Likewise.
44957         (maybe_swap_uint32_array): Likewise.
44958         (maybe_swap_uint32_obstack): Likewise.
44959         * locale/programs/locfile.c: Include <stdbool.h>.
44960         (swap_endianness_p): New variable.
44961         (add_locale_uint32): Call maybe_swap_uint32.
44962         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44963         (write_locale_data): Call maybe_swap_uint32_array.
44964         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44965         maybe_swap_uint32.
44966         (obstack_int32_grow_fast): Likewise.
44967         (output_weightwc): Call maybe_swap_uint32_obstack.
44968         (collate_output): Likewise.
44969         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44970         (OPT_LITTLE_ENDIAN): Likewise.
44971         (options): Add --little-endian and --big-endian options.
44972         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44973         * locale/programs/locarchive.c: Include "locfile.h".
44974         (GET): New macro.
44975         (SET): Likewise.
44976         (INC): Likewise.
44977         (create_archive): Use the new macros to access fields of
44978         structures directly mapped from or written to locale archives.
44979         (oldlocrecentcmp): Likewise.
44980         (enlarge_archive): Likewise.
44981         (insert_name): Likewise.
44982         (add_alias): Likewise.
44983         (add_locale): Likewise.
44984         (delete_locales_from_archive): Likewise.
44985         (show_archive_content): Likewise.
44986         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44987         locale data.
44989 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44991         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44992         http://www.gnu.org/doc/freemanuals.texi.
44993         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44995 2013-09-24  Will Newton  <will.newton@linaro.org>
44997         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44998         macro.
45000 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45002         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45003         unsigned char.
45005 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45007         * manual/threads.texi (POSIX Threads): Fix a typo.
45009 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45011         [BZ #14547]
45012         * string/tst-strcoll-overflow.c: New test case.
45013         * string/Makefile (xtests): Add tst-strcoll-overflow.
45014         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45015         cache if string sizes may cause integer overflow.
45017         [BZ #14547]
45018         * string/strcoll_l.c (coll_seq): New members rule, idx,
45019         save_idx and back_us.
45020         (get_next_seq_nocache): New function.
45021         (do_compare_nocache): New function.
45022         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45023         when malloc fails.
45025 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45027         [BZ #15754]
45028         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45029         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45030         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45032         [BZ #15754]
45033         * elf/Makefile (tests): Add tst-ptrguard1.
45034         (tests-static): Add tst-ptrguard1-static.
45035         (tst-ptrguard1-ARGS): Define.
45036         (tst-ptrguard1-static-ARGS): Define.
45037         * elf/tst-ptrguard1.c: New file.
45038         * elf/tst-ptrguard1-static.c: New file.
45039         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45040         * sysdeps/i386/stackguard-macros.h: Likewise.
45041         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45042         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45043         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45044         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45045         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45046         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45048 2013-09-23  Hector Marco  <hecmargi@upv.es>
45049             Ismael Ripoll  <iripoll@disca.upv.es>
45050             Carlos O'Donell  <carlos@redhat.com>
45052         [BZ #15754]
45053         * sysdeps/generic/stackguard-macros.h: Define
45054         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45055         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45056         Define __pointer_chk_guard_local.
45057         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45058         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45060 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45062         [BZ #15859]
45063         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45065 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45067         * include/string.h (__ffs): Declare as hidden.
45068         * string/ffs.c (__ffs): Define as hidden.
45069         * sysdeps/i386/ffs.c (__ffs): Likewise.
45070         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45071         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45072         * sysdeps/s390/ffs.c (__ffs): Likewise.
45073         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45075 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45077         * NEWS: Mention malloc probes.
45079         * malloc/arena.c (new_heap): New memory_heap_new probe.
45080         (grow_heap): New memory_heap_more probe.
45081         (shrink_heap): New memory_heap_less probe.
45082         (heap_trim): New memory_heap_free probe.
45083         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45084         (systrim): New memory_sbrk_less probe.
45085         * manual/probes.texi: Document them.
45087         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45088         * manual/probes.texi: Document it.
45090         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45091         (__libc_realloc): Add memory_realloc_retry probe.
45092         (__libc_memalign): Add memory_memalign_retry probe.
45093         (__libc_valloc): Add memory_valloc_retry probe.
45094         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45095         (__libc_calloc): Add memory_calloc_retry probe.
45096         * manual/probes.texi: Document them.
45098         * malloc/arena.c (get_free_list): Add probe
45099         memory_arena_reuse_free_list.
45100         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45101         and memory_arena_reuse.
45102         (arena_get2) [!PER_THREAD]: Likewise.
45103         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45104         memory_arena_reuse_realloc.
45105         * manual/probes.texi: Document them.
45107         * malloc/malloc.c (__libc_free): Add
45108         memory_mallopt_free_dyn_thresholds probe.
45109         (__libc_mallopt): Add multiple memory_mallopt probes.
45110         * manual/probes.texi: Document them.
45112         * malloc/malloc.c: Include stap-probe.h.
45113         (__libc_mallopt): Add memory_mallopt probe.
45114         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45115         * manual/probes.texi: New.
45116         * manual/Makefile (chapters): Add probes.
45117         * manual/threads.texi: Set next node.
45119 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45121         [BZ #15963, #13985]
45122         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45123         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45124         Add `Chinese' to `nan' entry name.
45126 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45128         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45129         (POLYNOMIAL): Likewise.
45130         (TAYLOR_SINCOS): Likewise.
45131         (TAYLOR_SLOW): Likewise.
45132         (__sin): Use TAYLOR_SINCOS.
45133         (__cos): Likewise.
45134         (slow): Use TAYLOR_SLOW.
45135         (sloww): Likewise.
45136         (bsloww): Likewise.
45137         (csloww): Likewise.
45139 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45141         * stdlib/strtod_l.c: Fix buffer overrun.
45143 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45145         * benchtests/Makefile (bench): Add sincos.
45146         * benchtests/bench-sincos.c: New file.
45148         * math/libm-test.inc (cos_test_data): New test inputs.
45149         (sin_test_data): Likewise.
45151         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45152         macro.
45153         (__sin): Use it.
45154         (__cos): Likewise.
45155         (slow1): Likewise.
45156         (slow2): Likewise.
45157         (sloww1): Likewise.
45158         (sloww2): Likewise.
45159         (bsloww1): Likewise.
45160         (bsloww2): Likewise.
45161         (cslow2): Likewise.
45162         (csloww1): Likewise.
45163         (csloww2): Likewise.
45165         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45166         function.
45167         (__sin): Use it.
45168         (__cos): Likewise.
45170         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45171         gotos.
45172         (__cos): Likewise.
45174 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45176         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45177         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45178         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45179         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45180         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45181         * elf/cache.c (print_entry): Handle the new cache flags.
45183 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45184             Aldy Hernandez  <aldyh@redhat.com>
45186         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45187         Change condition to [_SOFT_FLOAT].
45188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45200         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45202         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45203         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45204         declaration.
45206 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45208         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45209         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45210         (__longjmp): Use LOAD_GP to load saved GPRs.
45211         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45212         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45213         (__sigsetjmp): Use SAVE_GP to save GPRs.
45215         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45216         Do not append -msoft-float.
45217         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45219 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45221         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45223 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45225         [BZ #15966]
45226         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45227         (_FPU_GETCW): Use initial "__" on variable and field names but not
45228         on macro parameter name.
45229         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45230         parentheses around reference to macro parameter.
45232 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45234         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45235         prototype.
45236         (ctype_startup): Use uint32_t in cast and sizeof for
45237         ctype->charnames.
45239 2013-09-11  Jia Liu  <proljc@gmail.com>
45241         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45242         __daddr_t_defined.
45243         [__FreeBSD__]: Likewise.
45245 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45247         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45248         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45249         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45250         (strchr): Remove __strchr_sse42 ifunc selection.
45251         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45252         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45254 2013-09-11  Will Newton  <will.newton@linaro.org>
45256         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45257         parameter to RES. Remove hardcoded 1000 value.
45258         * benchtests/bench-skeleton.c (main): Pass RES parameter
45259         to TIMING_INIT and multiply result by 1000.
45261 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45265 2013-09-11  Andreas Schwab  <schwab@suse.de>
45267         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45268         if not defined.
45269         (O_TMPFILE) [__USE_GNU]: Define.
45270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45271         Define.
45273 2013-09-11  Will Newton  <will.newton@linaro.org>
45275         [BZ #15857]
45276         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45277         does not overflow.
45279 2013-09-11  Will Newton  <will.newton@linaro.org>
45281         [BZ #15856]
45282         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45283         does not overflow.
45285 2013-09-11  Will Newton  <will.newton@linaro.org>
45287         [BZ #15855]
45288         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45289         does not overflow.
45291 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45293         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45294         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45295         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45296         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45297         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45299 2013-09-10  Allan McRae  <allan@archlinux.org>
45301         [BZ #15748]
45302         * manual/arith.texi (Parsing of Floats): Clarify
45303         cross-reference.
45305         [BZ #15849]
45306         * manual/install.texi (Running make install): Mention
45307         --enable-pt-chown.
45308         * INSTALL: Regenerated.
45310 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45312         * csu/init-first.c (_init): Remove the !SHARED condition around
45313         FPU control word initialization.
45314         * elf/dl-support.c (_dl_fpu_control): New variable.
45315         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45316         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45317         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45318         * math/test-fpucw-static.c: New file.
45319         * math/test-fpucw-ieee.c: New file.
45320         * math/test-fpucw-ieee-static.c: New file.
45321         * math/Makefile (tests): Add `test-fpucw-ieee' and
45322         `$(tests-static)'.
45323         (tests-static): New variable.
45324         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45325         dependency to...
45326         [($(build-shared),yes)]
45327         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45328         ... this.
45329         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45330         New dependency.
45332 2013-09-09  Allan McRae  <allan@archlinux.org>
45334         [BZ #15939]
45335         * manual/string.texi (Collation Functions): Fix typo in
45336         strcoll example.
45337         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45339         [BZ #15893]
45340         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45342         [BZ #15892]
45343         * libio/memstream.c (open_memstream): Fix memory leak.
45344         * libio/wmemstream.c (open_wmemstream): Likewise.
45346         [BZ #15895]
45347         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45349 2013-09-09  Will Newton  <will.newton@linaro.org>
45351         * malloc/Makefile: Add tst-realloc to tests.
45352         * malloc/tst-realloc.c: New file.
45354 2013-09-09  Allan McRae  <allan@archlinux.org>
45356         [BZ #15844]
45357         * COPYING: Update from GNU website to fix FSF address.
45358         * COPYING.LIB: Likewise.
45360 2013-09-06  David S. Miller  <davem@davemloft.net>
45362         * po/zh_TW.po: Update Chinese (traditional) translation from
45363         translation project.
45365 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45366             Joseph Myers  <joseph@codesourcery.com>
45368         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45369         "localeinfo.h".
45370         (obstack_chunk_alloc): New macro.
45371         (obstack_chunk_free): Likewise.
45372         (record_offset): New function.
45373         (init_locale_data): Likewise.
45374         (align_locale_data): Likewise.
45375         (add_locale_empty): Likewise.
45376         (add_locale_raw_data): Likewise.
45377         (add_locale_raw_obstack): Likewise.
45378         (add_locale_string): Likewise.
45379         (add_locale_wstring): Likewise.
45380         (add_locale_uint32): Likewise.
45381         (add_locale_uint32_array): Likewise.
45382         (add_locale_char): Likewise.
45383         (start_locale_structure): Likewise.
45384         (end_locale_structure): Likewise.
45385         (start_locale_prelude): Likewise.
45386         (end_locale_prelude): Likewise.
45387         (write_locale_data): Take locale_file structure rather than an
45388         iovec.
45389         * locale/programs/locfile.h: Include "obstack.h".
45390         (struct locale_file): Change to store locale file contents instead
45391         of header.
45392         (init_locale_data): New prototype.
45393         (align_locale_data): Likewise.
45394         (add_locale_empty): Likewise.
45395         (add_locale_raw_data): Likewise.
45396         (add_locale_raw_obstack): Likewise.
45397         (add_locale_string): Likewise.
45398         (add_locale_wstring): Likewise.
45399         (add_locale_uint32): Likewise.
45400         (add_locale_uint32_array): Likewise.
45401         (add_locale_char): Likewise.
45402         (start_locale_structure): Likewise.
45403         (end_locale_structure): Likewise.
45404         (start_locale_prelude): Likewise.
45405         (end_locale_prelude): Likewise.
45406         (write_locale_data): Update prototype.
45407         * locale/programs/3level.h (struct TABLE): Remove result field.
45408         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45409         Use new locale_file interface.
45410         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45411         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45412         * locale/programs/ld-address.c (address_output): Use new
45413         locale_file interface.
45414         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45415         NO_ADD_LOCALE.
45416         (collate_finish): Don't call collseq_table_finalize.
45417         (collate_output): Use new locale_file interface.
45418         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45419         in file.
45420         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45421         (TABLE): Move defines earlier in file.
45422         (ELEMENT): Likewise.
45423         (DEFAULT): Likewise.
45424         (wctrans_table_add): Move macro and inline function earlier in
45425         file.
45426         (struct wctype_table): Move type earlier in file.
45427         (add_locale_wctype_table): New static prototype.
45428         (struct locale_ctype_t): Use logical types instead of struct iovec
45429         pointers for members.
45430         (ctype_output): Use new locale_file interface.
45431         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45432         new locale_file interface.
45433         (allocate_arrays): Update for use of new locale_file interface.
45434         * locale/programs/ld-identification.c (identification_output): Use
45435         new locale_file interface.
45436         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45437         * locale/programs/ld-messages.c (messages_output): Likewise.
45438         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45439         * locale/programs/ld-name.c (name_output): Likewise.
45440         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45441         * locale/programs/ld-paper.c (paper_output): Likewise.
45442         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45443         * locale/programs/ld-time.c (time_output): Likewise.
45445 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45447         * benchtests/Makefile: Add memrchr benchmark.
45448         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45449         benchmark as memrchr.
45450         * benchtests/bench-memrchr-ifunc.c: New file.
45451         * benchtests/bench-memrchr.c: New file.
45453 2013-09-06   Will Newton  <will.newton@linaro.org>
45455         * benchtests/Makefile (string-bench): Add memcpy.
45457 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45458             Cong Wang  <amwang@redhat.com>
45460         [BZ #15850]
45461         * sysdeps/unix/sysv/linux/bits/in.h
45462         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45463         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45464         before __USE_KERNEL_IPV6_DEFS uses.
45465         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45466         IPPROTO_BEETPH.
45467         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45468         sockaddr_in6, or ipv6_mreq.
45470 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45472         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45473         memory access for final bytes in some large inputs.
45474         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45476 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45478         * string/test-memrchr.c: New file.
45479         * string/test-memrchr-ifunc.c: New file.
45480         * string/Makefile: Add new memrchr testcase.
45482 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45484         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45485         fanotify_init returns EPERM.
45487 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45489         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45490         errors.
45491         (top level): Treat second token from macro or constant entries for
45492         allowed headers as allowed.
45493         * include/complex.h: Condition internal declarations on
45494         [!_ISOMAC].
45495         * include/fenv.h: Condition include of <stdbool.h> and internal
45496         declarations on [!_ISOMAC].
45498 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45500         [BZ #15923]
45501         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45503 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45505         * configure.in (--enable-versioning): Remove configure option.
45506         (libc_cv_asm_symver_directive): Remove configure test.
45507         (libc_cv_ld_version_script_option): Likewise.
45508         (VERSIONING): Remove variable and AC_SUBST.
45509         (DO_VERSIONING): Remove AC_DEFINE.
45510         * configure: Regenerated.
45511         * config.h.in (DO_VERSIONING): Remove macro.
45512         * Makerules [$(versioning) = yes]: Change conditionals to
45513         [$(build-shared) = yes].
45514         * config.make.in (versioning): Remove variable.
45515         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45516         [$(build-shared) = yes].
45517         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45518         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45519         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45520         [$(build-shared) = yes].
45521         * extra-lib.mk [$(versioning) = yes]: Likewise.
45522         * hurd/Makefile [$(versioning) = yes]: Likewise.
45523         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45524         [SHARED].
45525         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45526         [SHARED].
45527         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45528         [SHARED && !NO_HIDDEN].
45529         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45530         [SHARED].
45531         [SHARED && DO_VERSIONING]: Likewise..
45532         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45533         [$(build-shared) = yes].
45534         * manual/install.texi (--disable-versioning): Remove
45535         documentation.
45536         * INSTALL: Regenerated.
45537         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45538         to [SHARED].
45539         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45540         [$(build-shared) = yes].
45541         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45542         * sysdeps/i386/i686/multiarch/strstr-c.c
45543         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45544         [SHARED && !NO_HIDDEN].
45545         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45546         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45547         * sysdeps/powerpc/powerpc32/dl-machine.c
45548         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45549         * sysdeps/powerpc/powerpc32/sysdep.h
45550         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45551         to [SHARED && PIC && !NO_HIDDEN].
45552         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45553         conditional to [SHARED].
45555 2013-09-04   Will Newton  <will.newton@linaro.org>
45557         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45558         * benchtests/bench-string.h: Include bench-timing.h instead
45559         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45560         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45561         call to HP_TIMING_DIFF_INIT.
45562         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45563         instead of hp-timing.h macros.
45564         * benchtests/bench-memchr.c: Likewise.
45565         * benchtests/bench-memcmp.c: Likewise.
45566         * benchtests/bench-memcpy.c: Likewise.
45567         * benchtests/bench-memmem.c: Likewise.
45568         * benchtests/bench-memmove.c: Likewise.
45569         * benchtests/bench-memset.c: Likewise.
45570         * benchtests/bench-rawmemchr.c: Likewise.
45571         * benchtests/bench-strcasecmp.c: Likewise.
45572         * benchtests/bench-strcasestr.c: Likewise.
45573         * benchtests/bench-strcat.c: Likewise.
45574         * benchtests/bench-strchr.c: Likewise.
45575         * benchtests/bench-strcmp.c: Likewise.
45576         * benchtests/bench-strcpy.c: Likewise.
45577         * benchtests/bench-strcpy_chk.c: Likewise.
45578         * benchtests/bench-strlen.c: Likewise.
45579         * benchtests/bench-strncasecmp.c: Likewise.
45580         * benchtests/bench-strncat.c: Likewise.
45581         * benchtests/bench-strncmp.c: Likewise.
45582         * benchtests/bench-strncpy.c: Likewise.
45583         * benchtests/bench-strnlen.c: Likewise.
45584         * benchtests/bench-strpbrk.c: Likewise.
45585         * benchtests/bench-strrchr.c: Likewise.
45586         * benchtests/bench-strspn.c: Likewise.
45587         * benchtests/bench-strstr.c: Likewise.
45589 2013-09-04  Will Newton  <will.newton@linaro.org>
45591         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45593 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45595         [BZ #15427]
45596         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45597         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45598         * math/libm-test.inc (lgamma_test_data): Add more tests.
45599         * sysdeps/i386/fpu/libm-test-ulps: Update.
45600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45602 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45604         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45606         Add ifunc.
45607         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45608         Add strcmp-sse2-unaligned
45609         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45611 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45613         * Versions.def (libc): Add GLIBC_2.19.
45615 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45617         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45618         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45620 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45622         [BZ #14155]
45623         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45624         intermediate calculations in recurrence.
45625         (__ieee754_ynf): Likewise.
45626         * math/libm-test.inc (jn_test_data): Do not allow spurious
45627         underflow exception.  Add more tests.
45628         (yn_test_data): Add more tests.
45629         * sysdeps/i386/fpu/libm-test-ulps: Update.
45630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45632 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45636 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45638         * csu/init-first.c: Fix then/than typos.
45639         * locale/programs/ld-collate.c: Likewise.
45640         * locale/programs/linereader.h: Likewise.
45641         * manual/charset.texi: Likewise.
45642         * manual/filesys.texi: Likewise.
45643         * manual/stdio.texi: Likewise.
45644         * manual/string.texi: Likewise.
45645         * stdlib/fmtmsg.c: Likewise.
45646         * sysdeps/i386/stpncpy.S: Likewise.
45647         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45648         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45650         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45652 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45654         * elf/dl-open.c: Fix typos.
45655         * iconvdata/gbbig5.c: Likewise.
45656         * iconvdata/iso-2022-jp.c: Likewise.
45657         * iconv/gconv_int.h: Likewise.
45658         * iconv/loop.c: Likewise.
45659         * nis/rpcsvc/nis.h: Likewise.
45660         * resolv/ns_name.c: Likewise.
45661         * stdio-common/vfscanf.c: Likewise.
45662         * streams/stropts.h: Likewise.
45663         * sunrpc/rpc_thread.c: Likewise.
45664         * sysdeps/i386/strpbrk.S: Likewise.
45665         * sysdeps/ieee754/k_standard.c: Likewise.
45666         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45668         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45669         * sysdeps/mach/hurd/profil.c: Likewise.
45670         * sysdeps/s390/dl-procinfo.h: Likewise.
45671         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45672         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45673         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45674         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45675         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45677 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45679         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45682 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45684         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45685         aix specific files.
45686         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45687         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45688         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45689         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45690         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45691         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45692         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45693         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45695 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45696             Roland McGrath  <roland@hack.frob.com>
45698         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45699         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45701 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45703         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45704         __executable_start symbol instead of _start.
45706 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45708         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45709         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45710         Move macros to...
45711         * sysdeps/gnu/ldsodefs.h: ... this new file.
45713         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45714         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45715         instead of ELFOSABI_LINUX.
45717         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45718         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45719         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45720         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45721         Likewise.
45722         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45723         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45724         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45725         Likewise.
45726         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45727         (ibm_extended_long_double): Add ieee_nan member.
45728         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45729         (do_test): New function.
45731         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45732         TEST_TRUNC.
45733         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45734         functions, renamed from truncdfsf_test, trunctfsf_test,
45735         trunctfdf_test.
45736         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45737         functions.
45738         (do_test): Run all these.
45740 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45742         * argp/argp-help.c: Fix typos.
45743         * argp/argp-parse.c: Likewise.
45744         * debug/backtracesyms.c: Likewise.
45745         * elf/elf.h: Likewise.
45746         * malloc/malloc.c: Likewise.
45747         * nis/nis_print.c: Likewise.
45748         * resolv/res_comp.c: Likewise.
45749         * stdlib/stdlib.h: Likewise.
45750         * sunrpc/clnt_tcp.c: Likewise.
45751         * sunrpc/clnt_udp.c: Likewise.
45752         * sunrpc/clnt_unix.c: Likewise.
45753         * sysdeps/unix/bsd/ptsname.c: Likewise.
45754         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45755         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45757         Likewise.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45759         Likewise.
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45761         Likewise.
45762         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45764 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45766         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45769 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45771         [BZ #15897]
45772         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45773         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45774         ($(objpfx)bug-dl-leaf): New rule.
45775         ($(objpfx)bug-dl-leaf.so): Likewise.
45776         ($(objpfx)bug-dl-leaf.out): Likewise.
45777         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45778         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45779         * dlfcn/bug-dl-leaf.c: New test.
45780         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45781         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45782         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45783         (dlclose): Likewise.
45784         (dlmopen): Likewise.
45786 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45788         * include/netdb.h [!_ISOMAC]:
45789         Don't include <tls.h>.
45790         (h_errno, __libc_h_errno): Move declaration and macros out of
45791         [_LIBC_REENTRANT].
45793         * include/resolv.h [_RESOLV_H_]:
45794         Don't include <tls.h>.
45795         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45796         * resolv/res_libc.c: Don't include <tls.h>.
45797         (_res): Use __attribute__ ((nocommon)) in place of
45798         __attribute__ ((section (".bss"))).
45800         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45801         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45803         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45805         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45806         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45808         * resolv/res_mkquery.c: Include <sys/time.h>.
45810         * inet/ifreq.c: Moved to ...
45811         * sysdeps/unix/ifreq.c: ... here.
45812         * inet/ifreq.c: New file, true stub version.
45814         * socket/sa_len.c: New file.
45815         * socket/Makefile (aux): Add it.
45816         * sysdeps/unix/sysv/linux/Makefile
45817         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45818         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45819         and #include <socket/sa_len.c>.
45820         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45821         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45823         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45824         * bits/socket.h: ... here.
45826         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45827         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45828         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45830 2013-08-27  Andreas Schwab  <schwab@suse.de>
45832         [BZ #15736]
45833         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45834         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45835         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45836         * string/test-strcasecmp.c (test_main): Run tests in several
45837         locales.
45838         * string/test-strncasecmp.c (test_main): Likewise.
45840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45841         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45842         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45844         (__strncasecmp_ssse3) [PIC]: Likewise.
45846 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45848         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45850         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45851         instead of explicitly declaring xdecrypt.
45852         * nis/nss_nis/nis-publickey.c: Likewise.
45854 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45856         [BZ #15890]
45857         * nscd/aicache.c: Include res_hconf.h.
45858         (addhstaiX): Initialize res_hconf.
45860 2013-08-26  Andreas Schwab  <schwab@suse.de>
45862         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45863         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45865 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45867         * nscd/aicache.c (addhstaiX): Fix indentation.
45869 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45871         * configure.ac: Quote $build_pt_chown test.
45872         * configure: Regenerated.
45874 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45876         [BZ #15532]
45877         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45878         * math/s_cexpf.c (__cexpf): Likewise.
45879         * math/s_cexpl.c (__cexpl): Likewise.
45880         * math/libm-test.inc (cexp_test_data): Correct expected return
45881         value for NaN + i0.  Add another test.
45883 2013-08-22  David S. Miller  <davem@davemloft.net>
45885         * po/ca.po: Update Catalan translation from translation project.
45886         * po/uk.po: Add Ukrainian translations from translation project.
45888 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45890         [BZ #15797]
45891         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45892         is infinite, not alongside NaN test.
45893         * math/s_fdimf.c (__fdimf): Likewise.
45894         * math/s_fdiml.c (__fdiml): Likewise.
45895         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45896         errno is unchanged.
45898 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45900         * argp/argp-help.c: Fix typos.
45901         * crypt/speeds.c: Likewise.
45902         * csu/check_fds.c: Likewise.
45903         * elf/dl-load.c: Likewise.
45904         * elf/dl-open.c: Likewise.
45905         * elf/reldep3.c: Likewise.
45906         * elf/reldep.c: Likewise.
45907         * elf/sprof.c: Likewise.
45908         * iconv/iconv_charmap.c: Likewise.
45909         * iconv/skeleton.c: Likewise.
45910         * iconv/strtab.c: Likewise.
45911         * io/lockf64.c: Likewise.
45912         * libio/libioP.h: Likewise.
45913         * resolv/gai_notify.c: Likewise.
45914         * resolv/ns_name.c: Likewise.
45915         * resolv/ns_samedomain.c: Likewise.
45916         * resolv/res_send.c: Likewise.
45917         * stdlib/random.c: Likewise.
45918         * sunrpc/rpc/xdr.h: Likewise.
45919         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45920         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45921         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45922         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45923         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45924         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45925         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45926         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45927         * sysdeps/mach/hurd/check_fds.c: Likewise.
45928         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45929         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45930         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45931         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45932         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45933         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45934         * sysdeps/pthread/aio_notify.c: Likewise.
45935         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45936         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45937         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45938         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45939         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45941 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45943         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45944         version if bit_Slow_SSE4_2 is set.
45945         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45946         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45948 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45950         [BZ #15867]
45951         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45952         trampoline stack frame information.
45953         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45955         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45956         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45957         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45958         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45959         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45960         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45961         sa_flags value.
45962         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45963         interrupting a syscall and set with option SA_SIGINFO.
45965 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45967         [BZ #15531]
45968         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45969         argument is infinite.
45970         * math/s_cprojf.c (__cprojf): Likewise.
45971         * math/s_cprojl.c (__cprojl): Likewise.
45972         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45973         * math/libm-test.inc (cproj_test_data): Add more tests.
45975         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45977         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45978         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45979         size.  Use __ffs to determine corresponding shift.
45981 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45982             Roland McGrath  <roland@hack.frob.com>
45984         * Makefile (INSTALL): Remove trailing blank lines from output of
45985         makeinfo.
45987 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45989         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45990         Align 32 bit compat elf_greg to 8 bytes.
45992 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45994         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45996 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45998         * string/strcoll_l.c (coll_seq): New structure.
45999         (get_next_seq_cached): New function.
46000         (get_next_seq): New function.
46001         (do_compare): New function.
46002         (STRCOLL): Use GNU style definition.  Simplify implementation
46003         by using get_next_seq, get_next_seq_cached and do_compare.
46005 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46007         [BZ #14699]
46008         CVE-2013-4237
46009         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46010         member.
46011         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46012         member.
46013         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46014         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46015         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46016         conditional.
46017         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46018         GETDENTS_64BIT_ALIGNED.
46019         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46020         * manual/filesys.texi (Reading/Closing Directory): Document
46021         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46022         strongly.
46023         * manual/conf.texi (Limits for Files): Add portability note to
46024         NAME_MAX, PATH_MAX.
46025         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46027 2013-08-13  Andreas Schwab  <schwab@suse.de>
46029         [BZ #15749]
46030         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46031         of fabs.
46032         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46033         LDBL_MAX_EXP >= 16384]: Add tests for it.
46035 2013-08-12  David S. Miller  <davem@davemloft.net>
46037         * version.h (RELEASE): Set to "development".
46038         (VERSION): Set to "2.18.90".
46039         * NEWS: Add 2.19 section.
46041 2013-08-03  David S. Miller  <davem@davemloft.net>
46043         * po/ko.po: Update Korean translation from translation project.
46045 2013-08-01  David S. Miller  <davem@davemloft.net>
46047         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46048         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46049         Bilka.
46051 2013-07-30  David S. Miller  <davem@davemloft.net>
46053         * po/fr.po: Update French translation from translation project.
46055 2013-07-28  David S. Miller  <davem@davemloft.net>
46057         * po/cs.po: Update Czech translation from translation project.
46059         * po/sv.po: Update Swedish translation from translation project.
46061 2013-07-27  David S. Miller  <davem@davemloft.net>
46063         * po/eo.po: Update Esperanto translation from translation project.
46065         * po/vi.po: Update Vietnamese translation from translation project.
46067         * po/de.po: Update German translation from translation project.
46069 2013-07-26  David S. Miller  <davem@davemloft.net>
46071         * po/bg.po: Update Bulgarian translation from translation project.
46073         * po/nl.po: Update Dutch translation from translation project.
46074         * po/pl.po: Update Polish translation from translation project.
46075         * po/ru.po: Update Russian translation from translation project.
46077 2013-07-24  David S. Miller  <davem@davemloft.net>
46079         * po/libc.pot: Update.
46081 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46083         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46084         variable page size.
46085         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46086         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46087         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46089 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46091         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46093 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46094             Andreas Schwab  <schwab@suse.de>
46095             Roland McGrath  <roland@hack.frob.com>
46096             Joseph Myers  <joseph@codesourcery.com>
46097             Carlos O'Donell  <carlos@redhat.com>
46099         [BZ #15755]
46100         * config.h.in: Define HAVE_PT_CHOWN.
46101         * config.make.in (build-pt-chown): New variable.
46102         * configure.in (--enable-pt_chown): New configure option.
46103         * configure: Regenerate.
46104         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46105         build-pt-chown is enabled.
46106         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46107         pt_chown to fix pty ownership.
46108         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46109         CLOSE_ALL_FDS.
46110         * manual/install.texi (Configuring and compiling): Mention
46111         --enable-pt_chown. Add @findex for grantpt.
46112         * INSTALL: Regenerate.
46114 2013-07-20  David S. Miller  <davem@davemloft.net>
46116         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46117         difference between 32-bit and 64-bit.
46119 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46121         [BZ #15711]
46122         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46123         Avoid system header dependency with -ffreestanding.
46124         ($(objpfx)bits/syscall%d): Likewise.
46126 2013-07-13  David S. Miller  <davem@davemloft.net>
46128         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46129         underflows from atanl/atan2l due to bug 15319.
46130         (casinh_test_data): Likewise.
46132 2013-07-07  David S. Miller  <davem@davemloft.net>
46134         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46136 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46138         * sysdeps/i386/fpu/libm-test-ulps: Update.
46139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46141 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46143         * configure.in (--enable-lock-elision): Fix message text.
46144         * INSTALL: Regenerate.
46145         * configure: Regenerate.
46147 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46151 2013-07-03  Andreas Jaeger  <aj@suse.de>
46153         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46154         define.
46155         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46156         (ptrace_peeksiginfo_args): Add.
46157         (__ptrace_peeksiginfo_flags): Add.
46158         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46159         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46160         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46162 2013-07-03  Allan McRae  <allan@archlinux.org>
46164         * sysdeps/i386/fpu/libm-test-ulps: Update.
46166 2013-07-02  David S. Miller  <davem@davemloft.net>
46168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46170 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46174 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46176         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46179 2013-07-02  Andi Kleen <ak@linux.intel.com>
46181         * config.h.in (ENABLE_LOCK_ELISION): Add.
46182         * configure.in (--enable-lock-elision): Add option.
46183         * manual/install.texi: Document --enable lock elision.
46184         * configure: Regenerate
46185         * INSTALL: Regenerate.
46187 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46189         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46190         SSE4.2 strcasecmp for libc.a.
46191         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46193 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46195         [BZ #13304]
46196         * soft-fp/op-common.h (_FP_FMA): New macro.
46197         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46198         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46199         (_FP_MUL_MEAT_1_imm): ... here.
46200         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46201         (_FP_MUL_MEAT_1_wide): ... here.
46202         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46203         (_FP_MUL_MEAT_1_hard): ... here.
46204         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46205         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46206         (_FP_MUL_MEAT_2_wide): ... here.
46207         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46208         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46209         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46210         (_FP_MUL_MEAT_2_gmp): ... here.
46211         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46212         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46213         (_FP_MUL_MEAT_4_wide): ... here.
46214         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46215         (_FP_MUL_MEAT_4_gmp): ... here.
46216         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46217         (_FP_WFRACBITS_DW_S): Likewise.
46218         (_FP_WFRACXBITS_DW_S): Likewise.
46219         (_FP_HIGHBIT_DW_S): Likewise.
46220         (FP_FMA_S): Likewise.
46221         (_FP_FRAC_HIGH_DW_S): Likewise.
46222         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46223         (_FP_WFRACBITS_DW_D): Likewise.
46224         (_FP_WFRACXBITS_DW_D): Likewise.
46225         (_FP_HIGHBIT_DW_D): Likewise.
46226         (FP_FMA_D): Likewise.
46227         (_FP_FRAC_HIGH_DW_D): Likewise.
46228         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46229         (_FP_WFRACBITS_DW_E): Likewise.
46230         (_FP_WFRACXBITS_DW_E): Likewise.
46231         (_FP_HIGHBIT_DW_E): Likewise.
46232         (FP_FMA_E): Likewise.
46233         (_FP_FRAC_HIGH_DW_E): Likewise.
46234         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46235         (_FP_WFRACBITS_DW_Q): Likewise.
46236         (_FP_WFRACXBITS_DW_Q): Likewise.
46237         (_FP_HIGHBIT_DW_Q): Likewise.
46238         (FP_FMA_Q): Likewise.
46239         (_FP_FRAC_HIGH_DW_Q): Likewise.
46240         * soft-fp/fmasf4.c: New file.
46241         * soft-fp/fmadf4.c: Likewise.
46242         * soft-fp/fmatf4.c: Likewise.
46244 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46247         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46248         Silvermont.
46249         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46250         macro.
46251         (index_Slow_SSE4_2): Likewise.
46252         (index_Prefer_PMINUB_for_stringop): Likewise.
46253         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46254         bit_Slow_SSE4_2 is set.
46255         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46256         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46258 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46260         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46261         rtld_global._dl_hwcap2.
46262         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46263         POWER8.
46264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46265         POWER8 feature descriptions defined in _dl_hwcap2.
46266         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46267         string handling for POWER8 feature bits.
46268         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46269         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46270         _dl_powerpc_cap_flags.
46271         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46272         * sysdeps/powerpc/rtld-global-offsets.sym
46273         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46274         _dl_hwcap2 in the rtld_global_ro structure.
46276 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46278         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46279         hardware capabilities in support of AT_HWCAP2.
46280         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46281         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46282         GLRO(dl_hwcap2).
46283         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46284         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46285         explicitly the unknown a_type display mechanism is used.
46286         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46287         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46288         struct member.
46289         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46290         to macro prototype for AT_HWCAP2 support.
46291         * sysdeps/i386/dl-procinfo.h: Likewise.
46292         * sysdeps/s390/dl-procinfo.h: Likewise.
46293         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46294         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46295         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46296         return -1 for unknown a_type display fallback.
46297         * sysdeps/sparc/dl-procinfo.h: Likewise.
46298         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46299         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46301 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46303         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46304         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46306 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46308         [BZ #12492]
46309         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46310         mprotect making __stack_prot writable.
46312 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46313             Joseph Myers  <joseph@codesourcery.com>
46315         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46316         as being properly aligned.
46318 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46320         * dlfcn/modstatic5.c: New file.
46321         * dlfcn/tststatic5.c: New file.
46322         * dlfcn/Makefile (tests): Add tststatic5.
46323         (tests-static): Likewise.
46324         (modules-names): Add modstatic5.
46325         (tststatic5-ENV): New variable.
46326         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46328         [BZ #15022]
46329         * elf/dl-support.c (_dl_main_map): New variable.
46330         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46331         (_dl_nns, _dl_load_adds): Set to 1.
46332         (_dl_initial_searchlist): Refer to _dl_main_map.
46333         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46334         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46335         call to _dl_get_origin.
46336         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46337         around call_map.
46338         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46339         * dlfcn/modstatic3.c: New file.
46340         * dlfcn/tststatic3.c: New file.
46341         * dlfcn/tststatic4.c: New file.
46342         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46343         (tests-static): Likewise.
46344         (modules-names): Add modstatic3.
46345         (tststatic3-ENV, tststatic4-ENV): New variables.
46346         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46347         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46349 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46351         * configure.in (CC): Require GCC version 4.4 or later.
46352         * configure: Regenerated.
46353         * manual/install.texi (Tools for Compilation): Update GCC version
46354         requirement.
46355         * INSTALL: Regenerated.
46357 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46359         [BZ #15674]
46360         * string/test-memcmp.c (check2): New.
46361         (main): Call check2.
46363         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46365 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46367         [BZ #15022]
46368         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46369         over to...
46370         (dl_open_worker) [!SHARED]: ... here.
46372 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46374         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46376 2013-06-25  Richard Henderson  <rth@redhat.com>
46378         * locale/programs/locarchive.c: Include <libc-internal.h>
46380 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46382         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46383         trailing whitespace removed.
46385 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46387         [BZ #10283]
46388         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46389         * locale/programs/locarchive.c: Include libc-mmap.h.
46390         (prepare_address_space): Take two new outputs (the mmap base and len).
46391         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46392         values.
46393         (create_archive): Declare new mmap base and len values for
46394         prepare_address_space, and store the result in ah.
46395         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46396         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46397         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46398         Declare new mmap base and len values for
46399         prepare_address_space, and store the result in new_ah.
46400         (open_archive): Declare new mmap base and len values for
46401         prepare_address_space, and store the result in ah.
46402         (close_archive): If ah->mmap_base is not NULL, use that and
46403         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46404         * sysdeps/generic/libc-mmap.h: New file.
46406 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46408         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46409         (ALIGN_UP): Likewise.
46410         (PTR_ALIGN_DOWN): Likewise.
46411         (PTR_ALIGN_UP): Likewise.
46413 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46415         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46416         entry mapped to PPC_PLATFORM_POWER8.
46417         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46418         POWER8.
46419         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46420         (_dl_string_platform): Add case for exporting platform position for
46421         POWER8.
46422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46423         search path to sysdeps/powerpc/powerpc32/power8 directory.
46424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46425         search path to sysdeps/powerpc/powerpc64/power8 directory.
46426         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46427         power7 directories.
46428         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46429         power7 directories.
46431 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46433         * INSTALL: Regenerate.
46435         * nscd/connections.c (nscd_init): Fix comment.
46437 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46439         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46441         [BZ #15667]
46442         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46443         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46445 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46447         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46448         DL_DST_REQ_STATIC.
46449         (DL_DST_REQ_STATIC): Remove macro.
46451 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46453         [BZ #7006]
46454         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46455         with a shift of 0 bits.
46457 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46459         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46460         $(tststatic-ENV).
46462 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46464         [BZ #15655]
46465         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46467 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46469         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46470         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46471         accepts -fno-tree-loop-distribute-patterns.
46472         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46473         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46474         recursive call.
46475         * string/memset.c (memset): Likewise.
46476         * string/test-memmove.c (simple_memmove): Disable loop transformation
46477         to library calls.
46478         * string/test-memset.c (simple_memset): Likewise.
46479         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46480         * benchtests/bench-memset.c (simple_memset): Likewise.
46481         * configure: Regenerated.
46483 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46485         * math/test-misc.c (main): Ignore fesetround failure when failures
46486         of subsequent rounding tests would be ignored.
46488         [BZ #15654]
46489         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46490         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46491         * math/fegetenv.c (__fegetenv): Return 0.
46492         * math/fegetexcept.c (fegetexcept): Return 0.
46493         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46494         FE_TONEAREST.
46495         * math/feholdexcpt.c (feholdexcept): Return 0.
46496         * math/fesetenv.c (__fesetenv): Return 0.
46497         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46498         argument FE_TONEAREST.
46499         * math/feupdateenv.c (__feupdateenv): Return 0.
46500         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46502 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46504         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46505         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46506         ($(objpfx)rtld-%.os rules): Use them.
46508 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46510         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46511         fields.
46513 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46515         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46516         length of target pattern, then descending length of dependency pattern.
46517         * configure.in (AWK): Require gawk 3.1.2 or newer.
46518         * manual/install.texi (Tools for Compilation): Say that we do.
46519         * configure: Regenerated.
46521         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46522         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46523         * scripts/sysd-rules.awk: ... this new script.
46524         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46525         than a glob-style pattern.
46527 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46529         * math/test-misc.c (main): Do not treat incorrectly rounded
46530         conversions as failure unless ROUNDING_TESTS passes.
46532 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46534         [BZ #15631]
46535         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46536         restore exception state around main square root computation, then
46537         check for inexactness explicitly.
46539         * math/libm-test.inc (fma_test_data): Add another test.
46541 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46543         * manual/threads.texi (Non-POSIX Extensions): New document
46544         node.  Document pthread_getattr_default_np and
46545         pthread_setattr_default_np.
46547         * Versions.def (libpthread): Add GLIBC_2.18.
46548         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46550         Likewise.
46551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46552         Likewise.
46553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46554         Likewise.
46555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46556         Likewise.
46557         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46558         Likewise.
46559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46560         Likewise.
46561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46562         Likewise.
46563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46564         Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46566         Likewise.
46568 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46571         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46573 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46574             H.J. Lu  <hjl.tools@gmail.com>
46576         [BZ #15627]
46577         * sysdeps/x86_64/rtld-memset.c: Remove file.
46578         * sysdeps/x86_64/rtld-memset.S: New file.
46580 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46582         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46583         (test_in_one_mode): Take arguments for whether the rounding mode
46584         is supported for each floating-point type.
46585         (do_test): Pass new arguments to test_in_one_mode using
46586         ROUNDING_TESTS.
46588 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46590         * posix/tst-waitid.c (do_test): Distinguish different instances of
46591         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46592         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46593         before entering the kernel for waitpid.
46595 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46597         * NEWS: Fix note on clock function precision.  Text by Roland
46598         McGrath.
46600 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46602         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46603         it into place only when and if the sanity check passes.
46605 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46607         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46608         output for whether conversion result is exact.  Take argument
46609         indicating whether type is IBM long double.
46610         (round_for_all): Change need_exact field to ibm_ld.
46611         * stdlib/tst-strtod-round.c (struct exactness): New type.
46612         (struct test): Change bool ld_ok field to struct exactness exact.
46613         (TEST): Update all definitions for change to field.
46614         (tests): Regenerate array contents.
46615         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46616         field value.  Check for IBM long double here.
46617         (do_test): Update calls to test_in_one_mode.
46619 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46621         [BZ #12515]
46622         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46623         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46625 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46627         [BZ #15605]
46628         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46629         generated by the compiler on loop optimizations.
46630         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46631         general definitions.
46633 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46635         * math/bug-nextafter.c: Include <math-tests.h>.
46636         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46637         the relevant type.
46638         * math/bug-nexttoward.c: Include <math-tests.h>.
46639         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46640         the relevant type.
46641         * math/test-misc.c: Include <math-tests.h>.
46642         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46643         the relevant type.
46645 2013-06-12  Andreas Jaeger  <aj@suse.de>
46647         * po/ia.po: Update Interlingua translation from translation
46648         project.
46650 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46652         * include/fenv.h: Include stdbool.h.
46653         (struct rm_ctx): New structure.
46654         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46655         Define macro.
46656         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46657         (SET_RESTORE_ROUNDF): Likewise.
46658         (SET_RESTORE_ROUNDL): Likewise.
46659         (SET_RESTORE_ROUND_NOEX): Likewise.
46660         (SET_RESTORE_ROUND_NOEXF): Likewise.
46661         (SET_RESTORE_ROUND_NOEXL): Likewise.
46662         (SET_RESTORE_ROUND_53BIT): Likewise.
46663         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46664         (libc_feresetround_noexf_ctx): Likewise.
46665         (libc_feresetround_noexl_ctx): Likewise.
46666         (libc_feholdsetround_53bit_ctx): Likewise.
46667         (libc_feresetround_53bit_ctx): Likewise.
46668         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46669         (libc_feholdexcept_setround_sse_ctx): New function.
46670         (libc_fesetenv_sse_ctx): Likewise.
46671         (libc_feupdateenv_sse_ctx): Likewise.
46672         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46673         (libc_feholdexcept_setround_387_ctx): Likewise.
46674         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46675         (libc_feholdsetround_387_prec_ctx): Likewise.
46676         (libc_feholdsetround_387_ctx): Likewise.
46677         (libc_feholdsetround_387_53bit_ctx): Likewise.
46678         (libc_feholdsetround_sse_ctx): Likewise.
46679         (libc_feresetround_sse_ctx): Likewise.
46680         (libc_feresetround_387_ctx): Likewise.
46681         (libc_feupdateenv_387_ctx): Likewise.
46682         (libc_feholdexcept_setroundf_ctx): Define macro.
46683         (libc_fesetenvf_ctx): Likewise.
46684         (libc_feupdateenvf_ctx): Likewise.
46685         (libc_feholdsetroundf_ctx): Likewise.
46686         (libc_feresetroundf_ctx): Likewise.
46687         (libc_feholdexcept_setround_ctx): Likewise.
46688         (libc_fesetenv_ctx): Likewise.
46689         (libc_feupdateenv_ctx): Likewise.
46690         (libc_feholdsetround_ctx): Likewise.
46691         (libc_feresetround_ctx): Likewise.
46692         (libc_feholdexcept_setroundl_ctx): Likewise.
46693         (libc_feupdateenvl_ctx): Likewise.
46694         (libc_feholdsetroundl_ctx): Likewise.
46695         (libc_feresetroundl_ctx): Likewise.
46696         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46697         (libc_feresetround_53bit_ctx): Likewise.
46699 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46701         * locale/iso-639.def: Convert to UTF-8.
46703 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46705         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46706         (EXCEPTION_TESTS_double): Likewise.
46707         (EXCEPTION_TESTS_long_double): Likewise.
46708         (EXCEPTION_TESTS): Likewise.
46709         * math/libm-test.inc (test_exceptions): Only test exceptions if
46710         EXCEPTION_TESTS (FLOAT).
46712 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46714         * benchtests/Makefile (string-bench): Add strcpy_chk and
46715         stpcpy_chk.
46716         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46717         * benchtests/bench-stpcpy_chk.c: New file.
46718         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46719         * benchtests/bench-strcpy_chk.c: New file.
46720         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46721         code.
46722         (do_test): Likewise.
46724 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46726         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46727         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46728         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46729         with tabs where appropriate.
46730         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46731         dl-procinfo.h.
46732         [PPC_PLATFORM_PPC440]: Likewise.
46733         [PPC_PLATFORM_PPC464]: Likewise.
46734         [PPC_PLATFORM_PPC476]: Likewise.
46735         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46736         ppc464, and ppc476 platform strings merging from ports/
46737         dl-procinfo.h.
46739 2013-06-11  Andreas Schwab  <schwab@suse.de>
46741         [BZ #14991]
46742         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46743         (from_ucs4_idx): Regenerate.
46744         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46745         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46746         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46747         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46748         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46749         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46750         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46751         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46752         from FROM_LOOP and TO_LOOP specific macros.
46753         (BODY): Handle combining characters.
46754         * iconvdata/BIG5HKSCS.irreversible: Update.
46755         * iconvdata/BIG5HKSCS.precomposed: New file.
46756         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46757         characters.
46758         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46760 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46762         * include/sys/time.h: Fix indentation and add copyright header.
46764         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46765         (do_test): Likewise.
46766         * string/test-memchr.c (do_one_test): Likewise.
46767         (do_test): Likewise.
46768         * string/test-memcmp.c (do_one_test): Likewise.
46769         (do_test): Likewise.
46770         * string/test-memcpy.c (do_one_test): Likewise.
46771         (do_test): Likewise.
46772         * string/test-memmem.c (do_one_test): Likewise.
46773         (do_test): Likewise.
46774         (do_random_tests): Likewise.
46775         * string/test-memmove.c (do_one_test): Likewise.
46776         (do_test): Likewise.
46777         * string/test-memset.c (do_one_test): Likewise.
46778         (do_test): Likewise.
46779         * string/test-rawmemchr.c (do_one_test): Likewise.
46780         (do_test): Likewise.
46781         * string/test-strcasecmp.c (do_one_test): Likewise.
46782         (do_test): Likewise.
46783         * string/test-strcasestr.c (do_one_test): Likewise.
46784         (do_test): Likewise.
46785         * string/test-strcat.c (do_one_test): Likewise.
46786         (do_test): Likewise.
46787         * string/test-strchr.c (do_one_test): Likewise.
46788         (do_test): Likewise.
46789         * string/test-strcmp.c (do_one_test): Likewise.
46790         (do_test): Likewise.
46791         * string/test-strcpy.c (do_one_test): Likewise.
46792         (do_test): Likewise.
46793         * string/test-string.h: Likewise.
46794         (test_init): Likewise.
46795         * string/test-strlen.c (do_one_test): Likewise.
46796         (do_test): Likewise.
46797         * string/test-strncasecmp.c (do_one_test): Likewise.
46798         (do_test): Likewise.
46799         * string/test-strncat.c (do_one_test): Likewise.
46800         (do_test): Likewise.
46801         * string/test-strncmp.c (do_one_test): Likewise.
46802         (do_test_limit): Likewise.
46803         (do_test): Likewise.
46804         * string/test-strncpy.c (do_one_test): Likewise.
46805         (do_test): Likewise.
46806         * string/test-strnlen.c (do_one_test): Likewise.
46807         (do_test): Likewise.
46808         * string/test-strpbrk.c (do_one_test): Likewise.
46809         (do_test): Likewise.
46810         * string/test-strrchr.c (do_one_test): Likewise.
46811         (do_test): Likewise.
46812         * string/test-strspn.c (do_one_test): Likewise.
46813         (do_test): Likewise.
46814         * string/test-strstr.c (do_one_test): Likewise.
46815         (do_test): Likewise.
46817         * benchtests/Makefile (string-bench): Add string benchmarks.
46818         * benchtests/bench-bcopy-ifunc.c: New file.
46819         * benchtests/bench-bcopy.c: New file.
46820         * benchtests/bench-bzero-ifunc.c: New file.
46821         * benchtests/bench-bzero.c: New file.
46822         * benchtests/bench-memccpy-ifunc.c: New file.
46823         * benchtests/bench-memccpy.c: New file.
46824         * benchtests/bench-memchr-ifunc.c: New file.
46825         * benchtests/bench-memchr.c: New file.
46826         * benchtests/bench-memcmp-ifunc.c: New file.
46827         * benchtests/bench-memcmp.c: New file.
46828         * benchtests/bench-memmem-ifunc.c: New file.
46829         * benchtests/bench-memmem.c: New file.
46830         * benchtests/bench-memmove-ifunc.c: New file.
46831         * benchtests/bench-memmove.c: New file.
46832         * benchtests/bench-mempcpy-ifunc.c: New file.
46833         * benchtests/bench-mempcpy.c: New file.
46834         * benchtests/bench-memset-ifunc.c: New file.
46835         * benchtests/bench-memset.c: New file.
46836         * benchtests/bench-rawmemchr-ifunc.c: New file.
46837         * benchtests/bench-rawmemchr.c: New file.
46838         * benchtests/bench-stpcpy-ifunc.c: New file.
46839         * benchtests/bench-stpcpy.c: New file.
46840         * benchtests/bench-stpncpy-ifunc.c: New file.
46841         * benchtests/bench-stpncpy.c: New file.
46842         * benchtests/bench-strcasecmp-ifunc.c: New file.
46843         * benchtests/bench-strcasecmp.c: New file.
46844         * benchtests/bench-strcasestr-ifunc.c: New file.
46845         * benchtests/bench-strcasestr.c: New file.
46846         * benchtests/bench-strcat-ifunc.c: New file.
46847         * benchtests/bench-strcat.c: New file.
46848         * benchtests/bench-strchr-ifunc.c: New file.
46849         * benchtests/bench-strchr.c: New file.
46850         * benchtests/bench-strchrnul-ifunc.c: New file.
46851         * benchtests/bench-strchrnul.c: New file.
46852         * benchtests/bench-strcmp-ifunc.c: New file.
46853         * benchtests/bench-strcmp.c: New file.
46854         * benchtests/bench-strcpy-ifunc.c: New file.
46855         * benchtests/bench-strcpy.c: New file.
46856         * benchtests/bench-strcspn-ifunc.c: New file.
46857         * benchtests/bench-strcspn.c: New file.
46858         * benchtests/bench-strlen-ifunc.c: New file.
46859         * benchtests/bench-strlen.c: New file.
46860         * benchtests/bench-strncasecmp-ifunc.c: New file.
46861         * benchtests/bench-strncasecmp.c: New file.
46862         * benchtests/bench-strncat-ifunc.c: New file.
46863         * benchtests/bench-strncat.c: New file.
46864         * benchtests/bench-strncmp-ifunc.c: New file.
46865         * benchtests/bench-strncmp.c: New file.
46866         * benchtests/bench-strncpy-ifunc.c: New file.
46867         * benchtests/bench-strncpy.c: New file.
46868         * benchtests/bench-strnlen-ifunc.c: New file.
46869         * benchtests/bench-strnlen.c: New file.
46870         * benchtests/bench-strpbrk-ifunc.c: New file.
46871         * benchtests/bench-strpbrk.c: New file.
46872         * benchtests/bench-strrchr-ifunc.c: New file.
46873         * benchtests/bench-strrchr.c: New file.
46874         * benchtests/bench-strspn-ifunc.c: New file.
46875         * benchtests/bench-strspn.c: New file.
46876         * benchtests/bench-strstr-ifunc.c: New file.
46877         * benchtests/bench-strstr.c: New file.
46879         * benchtests/Makefile: Disable parallel execution of targets.
46880         (string-bench): Add memcpy.
46881         (benchset): New variable to store a list of benchmark sets.
46882         (bench-func): Renamed from bench.
46883         (bench-set): New target.
46884         (bench): Depend on bench-func and bench-set.
46885         * benchtests/README: Add section on benchmark sets.
46886         * benchtests/bench-memcpy-ifunc.c: New file.
46887         * benchtests/bench-memcpy.c: New file.
46888         * benchtests/bench-string.h: New file.
46890 2013-06-11  Andreas Schwab  <schwab@suse.de>
46892         [BZ #15577]
46893         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46894         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46895         values in the triple.
46896         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46897         terminator in the group key.
46899 2013-06-11  Andreas Jaeger  <aj@suse.de>
46901         * po/zh_TW.po: Update Chinese (traditional) translation from
46902         translation project.
46904 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46906         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46907         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46908         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46909         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46910         (clock_getcpuclockid): Likewise.
46911         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46912         Add weak_alias and libc_hidden_def.
46913         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46914         * rt/clock_gettime.c (clock_gettime): Rename to
46915         __clock_gettime.  Add weak_alias and libc_hidden_def.
46916         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46917         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46918         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46919         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46920         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46921         Likewise.
46922         * rt/clock_settime.c (clock_settime): Rename to
46923         __clock_settime.  Add weak_alias and libc_hidden_def.
46924         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46926 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46928         * mach/err_boot.sub: Remove trailing whitespace.
46929         * mach/err_ipc.sub: Likewise.
46930         * mach/err_mach.sub: Likewise.
46932         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46933         (ROUNDING_TESTS_double): Likewise.
46934         (ROUNDING_TESTS_long_double): Likewise.
46935         (ROUNDING_TESTS): Likewise.
46936         * math/libm-test.inc: Include <math-tests.h>.
46937         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46938         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46939         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46940         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46942 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46944         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46945         of assigning.
46947 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46949         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46950         otherwise empty TRANS lines.
46951         * sysdeps/gnu/errlist.c: Regenerated.
46953         * catgets/gencat.c (error_print): Use (void) in function
46954         definition.
46955         * crypt/crypt_util.c (__init_des): Likewise.
46956         * crypt/speeds.c (Stop): Likewise.
46957         (main): Likewise.
46958         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46959         * inet/ruserpass.c (token): Likewise.
46960         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46961         * intl/localealias.c (extend_alias_table): Likewise.
46962         * intl/plural-exp.c (init_germanic_plural): Likewise.
46963         * libio/fcloseall.c (__fcloseall): Likewise.
46964         * libio/genops.c (_IO_flush_all): Likewise.
46965         (_IO_flush_all_linebuffered): Likewise.
46966         (_IO_cleanup): Likewise.
46967         (_IO_iter_begin): Likewise.
46968         (_IO_iter_end): Likewise.
46969         (_IO_list_lock): Likewise.
46970         (_IO_list_unlock): Likewise.
46971         (_IO_list_resetlock): Likewise.
46972         * libio/getchar.c (getchar): Likewise.
46973         * libio/getchar_u.c (getchar_unlocked): Likewise.
46974         * libio/getwchar.c (getwchar): Likewise.
46975         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46976         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46977         * login/getpt.c (__getpt): Likewise.
46978         * login/tst-utmp.c (main): Likewise.
46979         * malloc/hooks.c (__malloc_check_init): Likewise.
46980         * malloc/malloc.c (__malloc_stats): Likewise.
46981         * malloc/mtrace.c (tr_break): Likewise.
46982         (mtrace): Likewise.
46983         (muntrace): Likewise.
46984         * misc/fstab.c (endfsent): Likewise.
46985         * misc/getclktck.c (__getclktck): Likewise.
46986         * misc/getdtsz.c (__getdtablesize): Likewise.
46987         * misc/gethostid.c (gethostid): Likewise.
46988         * misc/getpagesize.c (__getpagesize): Likewise.
46989         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46990         (__get_nprocs): Likewise.
46991         (__get_phys_pages): Likewise.
46992         (__get_avphys_pages): Likewise.
46993         * misc/getttyent.c (getttyent): Likewise.
46994         (setttyent): Likewise.
46995         (endttyent): Likewise.
46996         * misc/getusershell.c (getusershell): Likewise.
46997         (endusershell): Likewise.
46998         (setusershell): Likewise.
46999         (initshells): Likewise.
47000         * misc/hsearch.c (__hdestroy): Likewise.
47001         * misc/sync.c (sync): Likewise.
47002         * misc/syslog.c (closelog_internal): Likewise.
47003         (closelog): Likewise.
47004         * misc/ttyslot.c (ttyslot): Likewise.
47005         * misc/vhangup.c (vhangup): Likewise.
47006         * posix/fork.c (__fork): Likewise.
47007         * posix/getegid.c (__getegid): Likewise.
47008         * posix/geteuid.c (__geteuid): Likewise.
47009         * posix/getgid.c (__getgid): Likewise.
47010         * posix/getpid.c (__getpid): Likewise.
47011         * posix/getppid.c (__getppid): Likewise.
47012         * posix/getuid.c (__getuid): Likewise.
47013         * posix/pause.c (pause): Likewise.
47014         * posix/setpgrp.c (setpgrp): Likewise.
47015         * posix/setsid.c (__setsid): Likewise.
47016         * posix/test-vfork.c (noop): Likewise.
47017         * resolv/gethnamaddr.c (_endhtent): Likewise.
47018         (_gethtent): Likewise.
47019         (ht_endhostent): Likewise.
47020         (gethostent): Likewise.
47021         (dns_service): Likewise.
47022         * stdlib/drand48.c (drand48): Likewise.
47023         * stdlib/lrand48.c (lrand48): Likewise.
47024         * stdlib/mrand48.c (mrand48): Likewise.
47025         * stdlib/rand.c (rand): Likewise.
47026         * stdlib/random.c (__random): Likewise.
47027         * stdlib/setenv.c (clearenv): Likewise.
47028         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47029         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47030         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47031         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47032         (__get_nprocs): Likewise.
47033         (__get_phys_pages): Likewise.
47034         (__get_avphys_pages): Likewise.
47035         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47036         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47037         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47038         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47039         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47040         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47041         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47042         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47043         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47044         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47045         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47046         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47047         * sysdeps/posix/clock.c (clock): Likewise.
47048         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47049         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47050         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47051         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47052         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47053         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47054         (__get_nprocs_conf): Likewise.
47055         (__get_phys_pages): Likewise.
47056         (__get_avphys_pages): Likewise.
47057         * time/clock.c (clock): Likewise.
47058         * time/tzset.c (__tzname_max): Likewise.
47060 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47062         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47063         (__bswap_32): Do not use "register".
47064         * crypt/crypt.c (_ufc_doit_r): Likewise.
47065         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47066         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47067         * gmon/gmon.c (__monstartup): Likewise.
47068         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47069         * hurd/hurdmalloc.c (more_memory): Likewise.
47070         (malloc): Likewise.
47071         (free): Likewise.
47072         (realloc): Likewise.
47073         (malloc_fork_prepare): Likewise.
47074         (malloc_fork_parent): Likewise.
47075         (malloc_fork_child): Likewise.
47076         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47077         (_svcauth_des): Likewise.
47078         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47079         * inet/inet_net.c (inet_network): Likewise.
47080         * inet/inet_netof.c (inet_netof): Likewise.
47081         * inet/rcmd.c (__validuser2_sa): Likewise.
47082         * io/fts.c (fts_open): Likewise.
47083         (fts_load): Likewise.
47084         (fts_close): Likewise.
47085         (fts_read): Likewise.
47086         (fts_children): Likewise.
47087         (fts_build): Likewise.
47088         (fts_stat): Likewise.
47089         (fts_sort): Likewise.
47090         (fts_alloc): Likewise.
47091         (fts_lfree): Likewise.
47092         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47093         (_IO_file_xsgetn): Likewise.
47094         (_IO_file_xsgetn_mmap): Likewise.
47095         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47096         (_IO_cookie_write): Likewise.
47097         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47098         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47099         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47100         * malloc/obstack.c (_obstack_begin): Likewise.
47101         (_obstack_begin_1): Likewise.
47102         (_obstack_newchunk): Likewise.
47103         (_obstack_allocated_p): Likewise.
47104         (obstack_free): Likewise.
47105         (_obstack_memory_used): Likewise.
47106         * misc/getttyent.c (getttynam): Likewise.
47107         (getttyent): Likewise.
47108         (skip): Likewise.
47109         (value): Likewise.
47110         * misc/getusershell.c (initshells): Likewise.
47111         * misc/syslog.c (__vsyslog_chk): Likewise.
47112         * misc/ttyslot.c (ttyslot): Likewise.
47113         * nis/nis_hash.c (__nis_hash): Likewise.
47114         * posix/fnmatch_loop.c (FCT): Likewise.
47115         * posix/getconf.c (print_all): Likewise.
47116         (main): Likewise.
47117         * posix/getopt.c (exchange): Likewise.
47118         * posix/glob.c (globfree): Likewise.
47119         (prefix_array): Likewise.
47120         (__glob_pattern_type): Likewise.
47121         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47122         (NS_GET32): Likewise.
47123         (NS_PUT16): Likewise.
47124         (NS_PUT32): Likewise.
47125         * resolv/gethnamaddr.c (getanswer): Likewise.
47126         (gethostbyname2): Likewise.
47127         (gethostbyaddr): Likewise.
47128         (_gethtent): Likewise.
47129         (_gethtbyname2): Likewise.
47130         (_gethtbyaddr): Likewise.
47131         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47132         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47133         * resolv/res_init.c (__res_vinit): Likewise.
47134         (net_mask): Likewise.
47135         * resolv/res_mkquery.c (outchar): Likewise.
47136         (PRINT): Likewise.
47137         * stdio-common/printf_fp.c (outchar): Likewise.
47138         (PRINT): Likewise.
47139         * stdio-common/printf_fphex.c (outchar): Likewise.
47140         (PRINT): Likewise.
47141         * stdio-common/printf_size.c (outchar): Likewise.
47142         (PRINT): Likewise.
47143         * stdio-common/test_rdwr.c (main): Likewise.
47144         * stdio-common/tfformat.c (matches): Likewise.
47145         * stdio-common/vfprintf.c (outchar): Likewise.
47146         (printf_unknown): Likewise.
47147         (buffered_vfprintf): Likewise.
47148         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47149         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47150         (ReadFile): Likewise.
47151         * stdlib/qsort.c (SWAP): Likewise.
47152         (_quicksort): Likewise.
47153         * stdlib/setenv.c (__add_to_environ): Likewise.
47154         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47155         * stdlib/strtol_l.c (__strtol_l): Likewise.
47156         * stdlib/tst-strtod.c (main): Likewise.
47157         * stdlib/tst-strtol.c (main): Likewise.
47158         * stdlib/tst-strtoll.c (main): Likewise.
47159         * string/bits/string2.h (__strcmp_cc): Likewise.
47160         (__strcmp_cg): Likewise.
47161         (__strcspn_c1): Likewise.
47162         (__strcspn_c2): Likewise.
47163         (__strcspn_c3): Likewise.
47164         (__strspn_c1): Likewise.
47165         (__strspn_c2): Likewise.
47166         (__strspn_c3): Likewise.
47167         (__strsep_1c): Likewise.
47168         (__strsep_2c): Likewise.
47169         (__strsep_3c): Likewise.
47170         * string/memccpy.c (__memccpy): Likewise.
47171         * string/stpcpy.c (__stpcpy): Likewise.
47172         * string/strcmp.c (strcmp): Likewise.
47173         * string/strrchr.c (strrchr): Likewise.
47174         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47175         Likewise.
47176         * sysdeps/mach/hurd/getcwd.c
47177         (_hurd_canonicalize_directory_name_internal): Likewise.
47178         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47179         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47180         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47181         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47182         Likewise, in both definitions.
47183         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47184         definitions.
47185         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47186         64] (__bswap_64): Likewise.
47187         * time/test_time.c (main): Likewise.
47188         * time/tzfile.c (__tzfile_read): Likewise.
47189         (__tzfile_compute): Likewise.
47190         * time/tzset.c (__tzset_parse_tz): Likewise.
47191         (tzset_internal): Likewise.
47192         (compute_change): Likewise.
47193         * wcsmbs/wcscat.c (__wcscat): Likewise.
47194         * wcsmbs/wcschr.c (wcschr): Likewise.
47195         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47196         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47197         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47198         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47199         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47200         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47201         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47202         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47203         * wcsmbs/wmemset.c (wmemset): Likewise.
47205 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47207         * scripts/config.guess: Update to version 2013-05-16.
47208         * scripts/config.sub: Update to version 2013-04-24.
47209         * scripts/install-sh: Update to version 2011-11-20.07.
47210         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47211         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47213 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47215         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47216         * elf/sln.c: Likewise.
47217         * hurd/hurd/ioctl.h: Likewise.
47218         * hurd/hurdmalloc.c: Likewise.
47219         * hurd/xattr.c: Likewise.
47220         * include/shlib-compat.h: Likewise.
47221         * inet/ruserpass.c: Likewise.
47222         * libio/iofgets_u.c: Likewise.
47223         * libio/iofgetws_u.c: Likewise.
47224         * locale/programs/ld-identification.c: Likewise.
47225         * locale/programs/ld-time.c: Likewise.
47226         * mach/msg-destroy.c: Likewise.
47227         * nss/nss_files/files-netgrp.c: Likewise.
47228         * resolv/res_data.c: Likewise.
47229         * soft-fp/op-1.h: Likewise.
47230         * soft-fp/op-2.h: Likewise.
47231         * soft-fp/op-4.h: Likewise.
47232         * soft-fp/op-common.h: Likewise.
47233         * stdio-common/printf_fphex.c: Likewise.
47234         * stdlib/strtod_l.c: Likewise.
47235         * sunrpc/rpc/clnt.h: Likewise.
47236         * sysdeps/generic/framestate.c: Likewise.
47237         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47238         * sysdeps/i386/bsd-setjmp.S: Likewise.
47239         * sysdeps/i386/__longjmp.S: Likewise.
47240         * sysdeps/i386/setjmp.S: Likewise.
47241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47242         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47243         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47244         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47246         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47247         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47250         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47251         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47252         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47253         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47254         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47255         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47256         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47257         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47258         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47259         * sysdeps/ieee754/support.c: Likewise.
47260         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47261         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47262         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47263         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47264         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47265         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47266         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47267         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47268         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47269         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47270         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47271         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47272         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47273         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47274         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47275         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47276         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47279 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47281         * posix/transbug.c: Remove executable mode.
47283 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47285         * crypt/speeds.c: Remove trailing whitespace.
47286         * dlfcn/default.c: Likewise.
47287         * elf/ifuncdep2.c: Likewise.
47288         * elf/ifuncmain1.c: Likewise.
47289         * elf/ifuncmain1vis.c: Likewise.
47290         * elf/testobj.h: Likewise.
47291         * elf/tst-stackguard1.c: Likewise.
47292         * gmon/sys/gmon.h: Likewise.
47293         * hurd/hurdmsg.c: Likewise.
47294         * hurd/new-fd.c: Likewise.
47295         * hurd/ports-get.c: Likewise.
47296         * iconvdata/ibm1008_420.c: Likewise.
47297         * inet/tst-getni1.c: Likewise.
47298         * inet/tst-getni2.c: Likewise.
47299         * libio/ioungetc.c: Likewise.
47300         * libio/wfiledoalloc.c: Likewise.
47301         * manual/libm-err-tab.pl: Likewise.
47302         * math/w_dremf.c: Likewise.
47303         * misc/ftruncate.c: Likewise.
47304         * posix/bug-glob2.c: Likewise.
47305         * posix/tst-pcre.c: Likewise.
47306         * posix/wait4.c: Likewise.
47307         * resolv/README: Likewise.
47308         * resolv/res_debug.h: Likewise.
47309         * resolv/tst-inet_ntop.c: Likewise.
47310         * setjmp/bug269-setjmp.c: Likewise.
47311         * soft-fp/extended.h: Likewise.
47312         * soft-fp/op-1.h: Likewise.
47313         * soft-fp/op-2.h: Likewise.
47314         * soft-fp/op-4.h: Likewise.
47315         * soft-fp/op-8.h: Likewise.
47316         * soft-fp/testit.c: Likewise.
47317         * stdio-common/bug16.c: Likewise.
47318         * stdlib/random.c: Likewise.
47319         * sunrpc/rpcsvc/rquota.x: Likewise.
47320         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47321         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47322         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47323         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47324         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47325         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47326         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47327         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47328         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47329         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47330         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47331         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47332         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47333         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47334         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47335         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47336         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47337         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47338         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47339         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47348         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47349         * sysdeps/ieee754/s_lib_version.c: Likewise.
47350         * sysdeps/mach/hurd/check_fds.c: Likewise.
47351         * sysdeps/mach/hurd/getsockname.c: Likewise.
47352         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47353         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47354         * sysdeps/powerpc/bits/link.h: Likewise.
47355         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47356         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47357         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47358         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47359         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47360         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47361         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47362         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47363         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47364         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47365         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47366         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47367         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47368         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47369         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47370         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47372         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47373         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47374         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47375         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47376         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47377         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47378         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47379         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47380         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47381         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47382         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47383         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47385         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47386         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47387         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47388         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47389         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47390         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47391         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47392         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47393         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47394         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47395         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47396         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47397         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47398         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47399         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47400         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47401         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47402         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47403         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47404         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47406         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47407         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47408         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47409         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47410         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47411         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47412         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47413         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47415         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47416         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47417         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47418         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47419         * sysdeps/powerpc/sysdep.h: Likewise.
47420         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47421         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47422         * sysdeps/sh/dl-trampoline.S: Likewise.
47423         * sysdeps/sh/memset.S: Likewise.
47424         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47425         * sysdeps/sh/strlen.S: Likewise.
47426         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47427         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47428         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47429         * sysdeps/sparc/sparc32/rem.S: Likewise.
47430         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47431         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47432         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47433         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47434         * sysdeps/sparc/sparc32/urem.S: Likewise.
47435         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47436         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47437         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47438         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47439         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47440         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47441         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47442         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47443         * sysdeps/unix/bsd/times.c: Likewise.
47444         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47445         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47449         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47450         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47451         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47452         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47453         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47454         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47455         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47456         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47457         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47458         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47459         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47460         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47461         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47462         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47463         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47464         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47465         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47466         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47467         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47468         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47469         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47470         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47472         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47473         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47474         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47475         * sysdeps/x86_64/strcspn.S: Likewise.
47477 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47479         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47480         generated file.  Regenerate properly from gen-translit.pl.
47481         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47482         locale/C-translit.h.
47484 2013-06-05  Andreas Schwab  <schwab@suse.de>
47486         [BZ #15100]
47487         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47488         week as 6 instead of -1.
47489         * time/tst-strptime.c (day_tests): Add test case.
47491 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47493         * sysdeps/generic/math_private.h
47494         (libc_feholdexcept_setround_53bit): Replace with
47495         libc_feholdsetround_53bit.
47496         (libc_feupdateenv_53bit): Replace with
47497         libc_feresetround_53bit.
47498         (SET_RESTORE_ROUND_53BIT): Adjust.
47500 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47502         * string/test-strchrnul.c: Add copyright header.
47504         * posix/tst-getaddrinfo4.c: Increase test timeout.
47506 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47508         [BZ #15536]
47509         * math/libm-test.inc (MAX_EXP): Remove
47510         (MIN_EXP): Define.
47511         (ulp): Use MIN_EXP - MANT_DIG.
47512         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47514 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47516         * po/be.po: Revert last change.
47517         * po/zh_CN.po: Likewise.
47518         * po/header.pot: Likewise.
47520 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47522         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47523         link-libc-deps to empty as target-specific variable.
47524         * Makerules (link-libc-args): New variable.
47525         (libc-for-link): Likewise.
47526         (link-libc-deps): Likewise.
47527         (lib%.so): Depend on $(link-libc-deps).  Link with
47528         $(link-libc-args).
47529         (build-module): Link with $(link-libc-args).
47530         (build-module-asneeded): Likewise.
47531         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47532         list of objects.
47533         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47534         target-specific variable.
47535         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47536         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47537         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47538         libc.
47539         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47540         libc and ld.so.
47541         ($(objpfx)libpcprofile.so): Likewise.
47542         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47543         libc_nonshared.a.
47544         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47545         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47546         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47547         $(link-libc-deps).
47548         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47549         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47550         * login/Makefile ($(objpfx)libutil.so): Likewise.
47551         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47552         * math/Makefile ($(objpfx)libm.so): Likewise.
47553         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47554         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47555         variable instead of depending directly on libc.
47556         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47557         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47558         $(link-libc-deps).
47559         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47560         libc.
47561         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47562         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47563         ($(objpfx)libanl.so): Likewise.
47564         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47565         ld.so.
47566         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47567         $(link-libc-deps).
47568         * sysdeps/i386/fpu/Makefile: Remove file.
47569         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47570         ($(objpfx)libm.so): Remove dependency on ld.so.
47572 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47574         [BZ # 15553]
47575         * nis/yp_xdr.c (XDRMAXNAME): Define.
47576         (XDRMAXRECORD): Define.
47577         (xdr_domainname): Use XDRMAXNAME.
47578         (xdr_mapname): Likewise.
47579         (xdr_peername): Likewise.
47580         (xdr_keydat): Use XDRMAXRECORD.
47581         (xdr_valdat): Likewise.
47583 2013-05-30  Jeff Law  <law@redhat.com>
47585         [BZ #14256]
47586         * manual/errno.texi (ESTALE): Update to account for more than
47587         just NFS file systems.
47588         * sysdeps/gnu/errlist.c: Regenerated.
47590 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47592         [BZ #15465]
47593         * elf/Makefile (tests): Add tst-null-argv.
47594         (modules-names):  Add tst-null-argv-lib.
47595         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47596         (tst-null-argv-ENV): Set environment for tst-null-argv.
47597         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47598         (RTLD_PROGNAME): New macro.
47599         * elf/tst-null-argv.c: New test case.
47600         * elf/tst-null-argv-lib.c: Library for test case.
47601         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47602         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47603         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47604         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47605         * elf/dl-init.c (call_init): Likewise.
47606         (_dl_init): Likewise.
47607         * elf/dl-load.c (print_search_path): Likewise.
47608         (_dl_map_object): Likewise.
47609         * elf/dl-lookup.c (do_lookup_x): Likewise.
47610         (add_dependency): Likewise.
47611         (_dl_lookup_symbol_x): Likewise.
47612         (_dl_debug_bindings): Likewise.
47613         * elf/dl-open.c (_dl_show_scope): Likewise.
47614         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47615         * elf/dl-version.c (match_symbol): Likewise.
47616         (_dl_check_map_versions): Likewise.
47617         * elf/rtld.c (dl_main): Likewise.
47618         (print_unresolved): Use RTLD_PROGNAME.
47619         (print_missing_version): Likewise.
47620         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47621         (elf_machine_rela): Likewise.
47622         * sysdeps/powerpc/powerpc32/dl-machine.c
47623         (__process_machine_rela): Likewise.
47624         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47625         Likewise.
47626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47627         Likewise.
47628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47629         Likewise.
47630         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47631         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47632         Likewise.
47633         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47634         Likewise.
47635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47637 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47639         * po/be.po: Add descriptive title.
47640         * po/zh_CN.po: Likewise.
47641         * po/header.pot: Likewise.
47643 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47645         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47646         error message.
47647         (enlarge_archive): Likewise.
47649 2013-05-28  Ben North  <ben@redfrontdoor.org>
47651         * manual/arith.texi (frexp): It is the magnitude of the return
47652         value which lies in [0.5, 1), not the return value itself.
47654 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47658 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47660         * stdio-common/bug26.c (main): Correct fscanf template.
47662         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47663         declare _dl_skip_args.
47665         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47666         Don't declare.
47668         * manual/platform.texi: Add missing @end deftypefun.
47670 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47672         [BZ #15529]
47673         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47674         bit of mantissa of 2^16382.
47675         * math/libm-test.inc (hypot_test_data): Add more tests.
47677         * math/libm-test.inc: Add drem and pow10 to list of tested
47678         functions.
47679         (pow10_test): New function.
47680         (drem_test): Likewise.
47681         (drem_test_tonearest): Likewise.
47682         (drem_test_towardzero): Likewise.
47683         (drem_test_downward): Likewise.
47684         (drem_test_upward): Likewise.
47685         (main): Call the new functions.
47687         * math/libm-test.inc (finite_test_data): Remove.
47688         (finite_test): Run tests from isfinite_test_data.
47689         (gamma_test_data): Remove.
47690         (gamma_test): Run tests from lgamma_test_data.
47691         * sysdeps/i386/fpu/libm-test-ulps: Update.
47692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47694 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47696         * manual/platform.texi: Add PowerPC PPR function set documentation.
47697         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47698         implementation.
47700 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47702         * math/libm-test.inc (MAX_EXP): Define.
47703         (ULPDIFF): Define.
47704         (ulp): New function.
47705         (check_float_internal): Use ULPDIFF.
47706         (cpow_test): Disable failing test.
47707         (check_ulp): Test ulp() implemetnation.
47708         (main): Call check_ulp before starting tests.
47710 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47712         * math/gen-libm-test.pl (generate_testfile): Do not handle
47713         START_DATA and END_DATA.
47714         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47715         END_DATA.
47716         (acos_tonearest_test_data): Likewise.
47717         (acos_towardzero_test_data): Likewise.
47718         (acos_downward_test_data): Likewise.
47719         (acos_upward_test_data): Likewise.
47720         (acosh_test_data): Likewise.
47721         (asin_test_data): Likewise.
47722         (asin_tonearest_test_data): Likewise.
47723         (asin_towardzero_test_data): Likewise.
47724         (asin_downward_test_data): Likewise.
47725         (asin_upward_test_data): Likewise.
47726         (asinh_test_data): Likewise.
47727         (atan_test_data): Likewise.
47728         (atanh_test_data): Likewise.
47729         (atan2_test_data): Likewise.
47730         (cabs_test_data): Likewise.
47731         (cacos_test_data): Likewise.
47732         (cacosh_test_data): Likewise.
47733         (carg_test_data): Likewise.
47734         (casin_test_data): Likewise.
47735         (casinh_test_data): Likewise.
47736         (catan_test_data): Likewise.
47737         (catanh_test_data): Likewise.
47738         (cbrt_test_data): Likewise.
47739         (ccos_test_data): Likewise.
47740         (ccosh_test_data): Likewise.
47741         (ceil_test_data): Likewise.
47742         (cexp_test_data): Likewise.
47743         (cimag_test_data): Likewise.
47744         (clog_test_data): Likewise.
47745         (clog10_test_data): Likewise.
47746         (conj_test_data): Likewise.
47747         (copysign_test_data): Likewise.
47748         (cos_test_data): Likewise.
47749         (cos_tonearest_test_data): Likewise.
47750         (cos_towardzero_test_data): Likewise.
47751         (cos_downward_test_data): Likewise.
47752         (cos_upward_test_data): Likewise.
47753         (cosh_test_data): Likewise.
47754         (cosh_tonearest_test_data): Likewise.
47755         (cosh_towardzero_test_data): Likewise.
47756         (cosh_downward_test_data): Likewise.
47757         (cosh_upward_test_data): Likewise.
47758         (cpow_test_data): Likewise.
47759         (cproj_test_data): Likewise.
47760         (creal_test_data): Likewise.
47761         (csin_test_data): Likewise.
47762         (csinh_test_data): Likewise.
47763         (csqrt_test_data): Likewise.
47764         (ctan_test_data): Likewise.
47765         (ctan_tonearest_test_data): Likewise.
47766         (ctan_towardzero_test_data): Likewise.
47767         (ctan_downward_test_data): Likewise.
47768         (ctan_upward_test_data): Likewise.
47769         (ctanh_test_data): Likewise.
47770         (ctanh_tonearest_test_data): Likewise.
47771         (ctanh_towardzero_test_data): Likewise.
47772         (ctanh_downward_test_data): Likewise.
47773         (ctanh_upward_test_data): Likewise.
47774         (erf_test_data): Likewise.
47775         (erfc_test_data): Likewise.
47776         (exp_test_data): Likewise.
47777         (exp_tonearest_test_data): Likewise.
47778         (exp_towardzero_test_data): Likewise.
47779         (exp_downward_test_data): Likewise.
47780         (exp_upward_test_data): Likewise.
47781         (exp10_test_data): Likewise.
47782         (exp2_test_data): Likewise.
47783         (expm1_test_data): Likewise.
47784         (fabs_test_data): Likewise.
47785         (fdim_test_data): Likewise.
47786         (finite_test_data): Likewise.
47787         (floor_test_data): Likewise.
47788         (fma_test_data): Likewise.
47789         (fma_towardzero_test_data): Likewise.
47790         (fma_downward_test_data): Likewise.
47791         (fma_upward_test_data): Likewise.
47792         (fmax_test_data): Likewise.
47793         (fmin_test_data): Likewise.
47794         (fmod_test_data): Likewise.
47795         (fpclassify_test_data): Likewise.
47796         (frexp_test_data): Likewise.
47797         (gamma_test_data): Likewise.
47798         (hypot_test_data): Likewise.
47799         (ilogb_test_data): Likewise.
47800         (isfinite_test_data): Likewise.
47801         (isgreater_test_data): Likewise.
47802         (isgreaterequal_test_data): Likewise.
47803         (isinf_test_data): Likewise.
47804         (isless_test_data): Likewise.
47805         (islessequal_test_data): Likewise.
47806         (islessgreater_test_data): Likewise.
47807         (isnan_test_data): Likewise.
47808         (isnormal_test_data): Likewise.
47809         (issignaling_test_data): Likewise.
47810         (isunordered_test_data): Likewise.
47811         (j0_test_data): Likewise.
47812         (j1_test_data): Likewise.
47813         (jn_test_data): Likewise.
47814         (ldexp_test_data): Likewise.
47815         (lgamma_test_data): Likewise.
47816         (lrint_test_data): Likewise.
47817         (lrint_tonearest_test_data): Likewise.
47818         (lrint_towardzero_test_data): Likewise.
47819         (lrint_downward_test_data): Likewise.
47820         (lrint_upward_test_data): Likewise.
47821         (llrint_test_data): Likewise.
47822         (llrint_tonearest_test_data): Likewise.
47823         (llrint_towardzero_test_data): Likewise.
47824         (llrint_downward_test_data): Likewise.
47825         (llrint_upward_test_data): Likewise.
47826         (log_test_data): Likewise.
47827         (log10_test_data): Likewise.
47828         (log1p_test_data): Likewise.
47829         (log2_test_data): Likewise.
47830         (logb_test_data): Likewise.
47831         (logb_downward_test_data): Likewise.
47832         (lround_test_data): Likewise.
47833         (llround_test_data): Likewise.
47834         (modf_test_data): Likewise.
47835         (nearbyint_test_data): Likewise.
47836         (nextafter_test_data): Likewise.
47837         (nexttoward_test_data): Likewise.
47838         (pow_test_data): Likewise.
47839         (pow_tonearest_test_data): Likewise.
47840         (pow_towardzero_test_data): Likewise.
47841         (pow_downward_test_data): Likewise.
47842         (pow_upward_test_data): Likewise.
47843         (remainder_test_data): Likewise.
47844         (remainder_tonearest_test_data): Likewise.
47845         (remainder_towardzero_test_data): Likewise.
47846         (remainder_downward_test_data): Likewise.
47847         (remainder_upward_test_data): Likewise.
47848         (remquo_test_data): Likewise.
47849         (rint_test_data): Likewise.
47850         (rint_tonearest_test_data): Likewise.
47851         (rint_towardzero_test_data): Likewise.
47852         (rint_downward_test_data): Likewise.
47853         (rint_upward_test_data): Likewise.
47854         (round_test_data): Likewise.
47855         (scalb_test_data): Likewise.
47856         (scalbn_test_data): Likewise.
47857         (scalbln_test_data): Likewise.
47858         (signbit_test_data): Likewise.
47859         (sin_test_data): Likewise.
47860         (sin_tonearest_test_data): Likewise.
47861         (sin_towardzero_test_data): Likewise.
47862         (sin_downward_test_data): Likewise.
47863         (sin_upward_test_data): Likewise.
47864         (sincos_test_data): Likewise.
47865         (sinh_test_data): Likewise.
47866         (sinh_tonearest_test_data): Likewise.
47867         (sinh_towardzero_test_data): Likewise.
47868         (sinh_downward_test_data): Likewise.
47869         (sinh_upward_test_data): Likewise.
47870         (sqrt_test_data): Likewise.
47871         (tan_test_data): Likewise.
47872         (tan_tonearest_test_data): Likewise.
47873         (tan_towardzero_test_data): Likewise.
47874         (tan_downward_test_data): Likewise.
47875         (tan_upward_test_data): Likewise.
47876         (tanh_test_data): Likewise.
47877         (tgamma_test_data): Likewise.
47878         (trunc_test_data): Likewise.
47879         (y0_test_data): Likewise.
47880         (y1_test_data): Likewise.
47881         (yn_test_data): Likewise.
47882         (significand_test_data): Likewise.
47884         * math/gen-libm-test.pl (@functions): Remove variable.
47885         (generate_testfile): Don't handle START and END lines.
47886         * math/libm-test.inc (START): New macro.
47887         (END): Likewise.
47888         (END_COMPLEX): Likewise.
47889         (acos_test): Use END macro without arguments.
47890         (acos_test_tonearest): Likewise.
47891         (acos_test_towardzero): Likewise.
47892         (acos_test_downward): Likewise.
47893         (acos_test_upward): Likewise.
47894         (acosh_test): Likewise.
47895         (asin_test): Likewise.
47896         (asin_test_tonearest): Likewise.
47897         (asin_test_towardzero): Likewise.
47898         (asin_test_downward): Likewise.
47899         (asin_test_upward): Likewise.
47900         (asinh_test): Likewise.
47901         (atan_test): Likewise.
47902         (atanh_test): Likewise.
47903         (atan2_test): Likewise.
47904         (cabs_test): Likewise.
47905         (cacos_test): Use END_COMPLEX macro without arguments.
47906         (cacosh_test): Likewise.
47907         (carg_test): Use END macro without arguments.
47908         (casin_test): Use END_COMPLEX macro without arguments.
47909         (casinh_test): Likewise.
47910         (catan_test): Likewise.
47911         (catanh_test): Likewise.
47912         (cbrt_test): Use END macro without arguments.
47913         (ccos_test): Use END_COMPLEX macro without arguments.
47914         (ccosh_test): Likewise.
47915         (ceil_test): Use END macro without arguments.
47916         (cexp_test): Use END_COMPLEX macro without arguments.
47917         (cimag_test): Use END macro without arguments.
47918         (clog_test): Use END_COMPLEX macro without arguments.
47919         (clog10_test): Likewise.
47920         (conj_test): Likewise.
47921         (copysign_test): Use END macro without arguments.
47922         (cos_test): Likewise.
47923         (cos_test_tonearest): Likewise.
47924         (cos_test_towardzero): Likewise.
47925         (cos_test_downward): Likewise.
47926         (cos_test_upward): Likewise.
47927         (cosh_test): Likewise.
47928         (cosh_test_tonearest): Likewise.
47929         (cosh_test_towardzero): Likewise.
47930         (cosh_test_downward): Likewise.
47931         (cosh_test_upward): Likewise.
47932         (cpow_test): Use END_COMPLEX macro without arguments.
47933         (cproj_test): Likewise.
47934         (creal_test): Use END macro without arguments.
47935         (csin_test): Use END_COMPLEX macro without arguments.
47936         (csinh_test): Likewise.
47937         (csqrt_test): Likewise.
47938         (ctan_test): Likewise.
47939         (ctan_test_tonearest): Likewise.
47940         (ctan_test_towardzero): Likewise.
47941         (ctan_test_downward): Likewise.
47942         (ctan_test_upward): Likewise.
47943         (ctanh_test): Likewise.
47944         (ctanh_test_tonearest): Likewise.
47945         (ctanh_test_towardzero): Likewise.
47946         (ctanh_test_downward): Likewise.
47947         (ctanh_test_upward): Likewise.
47948         (erf_test): Use END macro without arguments.
47949         (erfc_test): Likewise.
47950         (exp_test): Likewise.
47951         (exp_test_tonearest): Likewise.
47952         (exp_test_towardzero): Likewise.
47953         (exp_test_downward): Likewise.
47954         (exp_test_upward): Likewise.
47955         (exp10_test): Likewise.
47956         (exp2_test): Likewise.
47957         (expm1_test): Likewise.
47958         (fabs_test): Likewise.
47959         (fdim_test): Likewise.
47960         (finite_test): Likewise.
47961         (floor_test): Likewise.
47962         (fma_test): Likewise.
47963         (fma_test_towardzero): Likewise.
47964         (fma_test_downward): Likewise.
47965         (fma_test_upward): Likewise.
47966         (fmax_test): Likewise.
47967         (fmin_test): Likewise.
47968         (fmod_test): Likewise.
47969         (fpclassify_test): Likewise.
47970         (frexp_test): Likewise.
47971         (gamma_test): Likewise.
47972         (hypot_test): Likewise.
47973         (ilogb_test): Likewise.
47974         (isfinite_test): Likewise.
47975         (isgreater_test): Likewise.
47976         (isgreaterequal_test): Likewise.
47977         (isinf_test): Likewise.
47978         (isless_test): Likewise.
47979         (islessequal_test): Likewise.
47980         (islessgreater_test): Likewise.
47981         (isnan_test): Likewise.
47982         (isnormal_test): Likewise.
47983         (issignaling_test): Likewise.
47984         (isunordered_test): Likewise.
47985         (j0_test): Likewise.
47986         (j1_test): Likewise.
47987         (jn_test): Likewise.
47988         (ldexp_test): Likewise.
47989         (lgamma_test): Likewise.
47990         (lrint_test): Likewise.
47991         (lrint_test_tonearest): Likewise.
47992         (lrint_test_towardzero): Likewise.
47993         (lrint_test_downward): Likewise.
47994         (lrint_test_upward): Likewise.
47995         (llrint_test): Likewise.
47996         (llrint_test_tonearest): Likewise.
47997         (llrint_test_towardzero): Likewise.
47998         (llrint_test_downward): Likewise.
47999         (llrint_test_upward): Likewise.
48000         (log_test): Likewise.
48001         (log10_test): Likewise.
48002         (log1p_test): Likewise.
48003         (log2_test): Likewise.
48004         (logb_test): Likewise.
48005         (logb_test_downward): Likewise.
48006         (lround_test): Likewise.
48007         (llround_test): Likewise.
48008         (modf_test): Likewise.
48009         (nearbyint_test): Likewise.
48010         (nextafter_test): Likewise.
48011         (nexttoward_test): Likewise.
48012         (pow_test): Likewise.
48013         (pow_test_tonearest): Likewise.
48014         (pow_test_towardzero): Likewise.
48015         (pow_test_downward): Likewise.
48016         (pow_test_upward): Likewise.
48017         (remainder_test): Likewise.
48018         (remainder_test_tonearest): Likewise.
48019         (remainder_test_towardzero): Likewise.
48020         (remainder_test_downward): Likewise.
48021         (remainder_test_upward): Likewise.
48022         (remquo_test): Likewise.
48023         (rint_test): Likewise.
48024         (rint_test_tonearest): Likewise.
48025         (rint_test_towardzero): Likewise.
48026         (rint_test_downward): Likewise.
48027         (rint_test_upward): Likewise.
48028         (round_test): Likewise.
48029         (scalb_test): Likewise.
48030         (scalbn_test): Likewise.
48031         (scalbln_test): Likewise.
48032         (signbit_test): Likewise.
48033         (sin_test): Likewise.
48034         (sin_test_tonearest): Likewise.
48035         (sin_test_towardzero): Likewise.
48036         (sin_test_downward): Likewise.
48037         (sin_test_upward): Likewise.
48038         (sincos_test): Likewise.
48039         (sinh_test): Likewise.
48040         (sinh_test_tonearest): Likewise.
48041         (sinh_test_towardzero): Likewise.
48042         (sinh_test_downward): Likewise.
48043         (sinh_test_upward): Likewise.
48044         (sqrt_test): Likewise.
48045         (tan_test): Likewise.
48046         (tan_test_tonearest): Likewise.
48047         (tan_test_towardzero): Likewise.
48048         (tan_test_downward): Likewise.
48049         (tan_test_upward): Likewise.
48050         (tanh_test): Likewise.
48051         (tgamma_test): Likewise.
48052         (trunc_test): Likewise.
48053         (y0_test): Likewise.
48054         (y1_test): Likewise.
48055         (yn_test): Likewise.
48056         (significand_test): Likewise.
48058 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48060         [BZ #15381]
48061         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48063 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48065         [BZ #14894]
48066         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48067         __ppc_mdoio and __ppc_mdoom.
48068         * manual/platform.texi: Document new functions __ppc_yield,
48069         __ppc_mdoio and __ppc_mdoom.
48071 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48073         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48074         (main): Mention "tls" pseudo-hwcap is legacy.
48075         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48077 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48079         * math/gen-libm-test.pl (parse_args): Output only string of
48080         arguments as text for test name, not full call or descriptions of
48081         tests for extra outputs.
48082         (generate_testfile): Do not pass function name to parse_args.
48083         Generate this_func variable from START.
48084         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48085         field to arg_str.
48086         (struct test_ff_f_data): Likewise.
48087         (test_ff_f_data_nexttoward): Likewise.
48088         (struct test_fi_f_data): Likewise.
48089         (struct test_fl_f_data): Likewise.
48090         (struct test_if_f_data): Likewise.
48091         (struct test_fff_f_data): Likewise.
48092         (struct test_c_f_data): Likewise.
48093         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48094         (struct test_fF_f1_data): Likewise.
48095         (struct test_ffI_f1_data): Likewise.
48096         (struct test_c_c_data): Rename test_name field to arg_str.
48097         (struct test_cc_c_data): Likewise.
48098         (struct test_f_i_data): Likewise.
48099         (struct test_ff_i_data): Likewise.
48100         (struct test_f_l_data): Likewise.
48101         (struct test_f_L_data): Likewise.
48102         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48103         and extra2_name.
48104         (COMMON_TEST_SETUP): New macro.
48105         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48106         (COMMON_TEST_CLEANUP): Likewise.
48107         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48108         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48109         macros.
48110         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48111         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48112         macros.
48113         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48114         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48115         cleanup macros.
48116         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48117         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48118         macros.
48119         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48120         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48121         macros.
48122         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48123         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48124         cleanup macros.
48125         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48126         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48127         cleanup macros.
48128         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48129         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48130         cleanup macros.
48131         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48132         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48133         macros.
48134         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48135         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48136         macros.
48137         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48138         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48139         macros.
48140         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48141         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48142         cleanup macros.
48143         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48144         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48145         cleanup macros.
48146         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48147         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48148         macros.
48149         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48150         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48151         cleanup macros.
48152         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48153         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48154         macros.
48155         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48156         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48157         macros.
48158         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48159         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48160         cleanup macros.
48161         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48163 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48165         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48166         to _sifields.sigfault.
48167         (si_addr_lsb): Define new macro.
48168         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48169         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48170         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48172 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48174         [BZ #15441]
48175         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48176         returns -1.
48177         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48178         null return -1.
48179         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48180         loading the domain.
48182 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48184         * math/gen-libm-test.pl (parse_args): Do not include expected
48185         result in test name.
48186         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48187         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48188         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48189         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48190         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48193 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48195         * benchtests/Makefile: Sort function entries.
48197         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48198         tanh, asinh, acosh, atanh.
48199         * benchtests/acos-inputs: New file.
48200         * benchtests/acosh-inputs: New file.
48201         * benchtests/asin-inputs: New file.
48202         * benchtests/asinh-inputs: New file.
48203         * benchtests/atanh-inputs: New file.
48204         * benchtests/cosh-inputs: New file.
48205         * benchtests/log-inputs: New file.
48206         * benchtests/sinh-inputs: New file.
48207         * benchtests/tanh-inputs: New file.
48209 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48211         [BZ #15339]
48212         * posix/tst-getaddrinfo4.c: New test.
48213         * posix/Makefile (tests): Add it.
48215 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48217         [BZ #15339]
48218         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48219         when no services were used.
48220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48221         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48223 2013-05-21  Andreas Schwab  <schwab@suse.de>
48225         [BZ #15014]
48226         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48227         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48228         successful.
48229         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48230         redundant variable declarations and reallocation of buffer when
48231         parsing as IPv6 address.  Always set NSS status when called from
48232         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48233         buffer too small.  Correct computation of needed size.
48234         * nss/Makefile (tests): Add test-digits-dots.
48235         * nss/test-digits-dots.c: New test.
48237 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48239         * benchtests/Makefile: Remove instructions for adding
48240         benchmark tests.
48241         * benchtests/README: New file to explain how to execute and
48242         enhance the benchmark tests.
48244 2013-05-21  Andreas Schwab  <schwab@suse.de>
48246         [BZ #15493]
48247         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48248         * setjmp/tst-sigsetjmp.c: New test.
48250 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48252         * sysdeps/x86_64/memset.S (memset): New implementation.
48253         (__bzero): Likewise.
48254         (__memset_tail): New function.
48256 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48258         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48259         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48260         __memcpy_sse2_unaligned ifunc selection.
48261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48262         Add memcpy-sse2-unaligned.S.
48263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48264         Add: __memcpy_sse2_unaligned.
48266 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48268         [BZ #15490]
48269         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48270         math_force_eval before restoring floating-point envrionment.
48271         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48272         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48273         Likewise.
48274         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48275         <math_private.h>.
48276         (__nearbyintl): Use math_force_eval before restoring
48277         floating-point environment.
48278         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48280         * math/gen-libm-test.pl (special_functions): Remove.
48281         (parse_args): Don't handle TEST_extra.  Handle functions with no
48282         return value.
48283         * math/libm-test.inc (struct test_sincos_data): Replace with
48284         struct test_fFF_11_data.
48285         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48286         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48287         (sincos_test_data): Change element type to struct
48288         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48289         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48290         RUN_TEST_LOOP_sincos.
48291         * math/README.libm-test: Don't mention special handling of
48292         individual functions.
48293         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48295         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48296         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48300         * math/gen-libm-test.pl (get_variable): Remove function.
48301         (parse_args): Don't show pointer parameters to call in test
48302         names.  Use "extra output N" in test names for extra outputs
48303         rather than naming variables.
48305 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48307         [BZ #15488]
48308         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48309         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48310         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48311         double tests.
48312         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48313         disable.
48314         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48315         check_long_double.
48317         * math/gen-libm-test.pl (@tests): Remove variable.
48318         ($count): Likewise.
48319         (new_test): Remove function.
48320         (show_exceptions): New function.
48321         (special_functions): Use show_exceptions instead of new_test.
48322         (parse_args): Likewise.
48323         (generate_testfile): Pass only function name in generated call to
48324         print_max_error or print_complex_max_error.
48325         (get_ulps): Do not handle complex tests specially.
48326         (output_test): Rename to ...
48327         (get_all_ulps_for_test): ... this.  Return a string rather than
48328         printing to a file.  Require ulps to be present.
48329         (output_ulps): Generate arrays rather than #defines.
48330         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48331         (struct ulp_data): New type.
48332         (BUILD_COMPLEX_ULP): Remove macro.
48333         (compare_ulp_data): New function.
48334         (find_ulps): Likewise.
48335         (find_test_ulps): Likewise.
48336         (find_function_ulps): Likewise.
48337         (find_complex_function_ulps): Likewise.
48338         (print_max_error): Determine allowed ulps using
48339         find_function_ulps.
48340         (print_complex_max_error): Determine allowed ulps using
48341         find_complex_function_ulps.
48342         (check_float_internal): Determine max ulps using find_test_ulps.
48343         (check_float): Do not take max_ulp parameter.  Update call to
48344         check_float_internal.
48345         (check_complex): Likewise.
48346         (check_int): Do not take max_ulp parameter.
48347         (check_long): Likewise.
48348         (check_bool): Likewise.
48349         (check_longlong): Likewise.
48350         (struct test_f_f_data): Remove max_ulp field.
48351         (struct test_ff_f_data): Likewise.
48352         (struct test_ff_f_data_nexttoward): Likewise.
48353         (struct test_fi_f_data): Likewise.
48354         (struct test_fl_f_data): Likewise.
48355         (struct test_if_f_data): Likewise.
48356         (struct test_fff_f_data): Likewise.
48357         (struct test_c_f_data): Likewise.
48358         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48359         (struct test_fF_f1_data): Likewise.
48360         (struct test_ffI_f1_data): Likewise.
48361         (struct test_c_c_data): Remove max_ulp field.
48362         (struct test_cc_c_data): Likewise.
48363         (struct test_f_i_data): Likewise.
48364         (struct test_ff_i_data): Likewise.
48365         (struct test_f_l_data): Likewise.
48366         (struct test_f_L_data): Likewise.
48367         (struct test_sincos_data): Likewise.
48368         (RUN_TEST_f_f): Do not handle ulps.
48369         (RUN_TEST_LOOP_f_f): Likewise.
48370         (RUN_TEST_2_f): Likewise.
48371         (RUN_TEST_LOOP_2_f): Likewise.
48372         (RUN_TEST_fff_f): Likewise.
48373         (RUN_TEST_LOOP_fff_f): Likewise.
48374         (RUN_TEST_c_f): Likewise.
48375         (RUN_TEST_LOOP_c_f): Likewise.
48376         (RUN_TEST_f_f1): Likewise.
48377         (RUN_TEST_LOOP_f_f1): Likewise.
48378         (RUN_TEST_fF_f1): Likewise.
48379         (RUN_TEST_LOOP_fF_f1): Likewise.
48380         (RUN_TEST_fI_f1): Likewise.
48381         (RUN_TEST_LOOP_fI_f1): Likewise.
48382         (RUN_TEST_ffI_f1): Likewise.
48383         (RUN_TEST_LOOP_ffI_f1): Likewise.
48384         (RUN_TEST_c_c): Likewise.
48385         (RUN_TEST_LOOP_c_c): Likewise.
48386         (RUN_TEST_cc_c): Likewise.
48387         (RUN_TEST_LOOP_cc_c): Likewise.
48388         (RUN_TEST_f_i): Likewise.
48389         (RUN_TEST_LOOP_f_i): Likewise.
48390         (RUN_TEST_f_i_tg): Likewise.
48391         (RUN_TEST_LOOP_f_i_tg): Likewise.
48392         (RUN_TEST_ff_i_tg): Likewise.
48393         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48394         (RUN_TEST_f_b): Likewise.
48395         (RUN_TEST_LOOP_f_b): Likewise.
48396         (RUN_TEST_f_b_tg): Likewise.
48397         (RUN_TEST_LOOP_f_b_tg): Likewise.
48398         (RUN_TEST_f_l): Likewise.
48399         (RUN_TEST_LOOP_f_l): Likewise.
48400         (RUN_TEST_f_L): Likewise.
48401         (RUN_TEST_LOOP_f_L): Likewise.
48402         (RUN_TEST_sincos): Likewise.
48403         (RUN_TEST_LOOP_sincos): Likewise.
48405 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48407         [BZ #15480]
48408         [BZ #15485]
48409         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48410         main case of finite arguments, set rounding mode to FE_TONEAREST
48411         and discard exceptions.
48412         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48413         exceptions.
48414         (remainder_tonearest_test_data): New variable.
48415         (remainder_test_tonearest): New function.
48416         (remainder_towardzero_test_data): New variable.
48417         (remainder_test_towardzero): New function.
48418         (remainder_downward_test_data): New variable.
48419         (remainder_test_downward): New function.
48420         (remainder_upward_test_data): New variable.
48421         (remainder_test_upward): New function.
48422         (main): Call the new test functions.
48424         * math/libm-test.inc (struct test_f_f1_data): Remove field
48425         extra_init.
48426         (struct test_fF_f1_data): Likewise.
48427         (struct test_ffI_f1_data): Likewise.
48428         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48429         based on value of EXTRA_EXPECTED.
48430         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48431         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48432         EXTRA_VAR based on value of EXTRA_EXPECTED.
48433         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48434         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48435         EXTRA_VAR based on value of EXTRA_EXPECTED.
48436         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48437         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48438         EXTRA_VAR based on value of EXTRA_EXPECTED.
48439         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48440         * math/gen-libm-test.pl (parse_args): Don't output initializers
48441         for extra output values.
48443         * math/libm-test.inc (check_int): Expect result to be exactly
48444         equal to expected value and do not handle ulps.
48445         (check_long): Likewise.
48446         (check_longlong): Likewise.
48448         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48449         exceptions.
48450         (cimag_test_data): Likewise.
48451         (conj_test_data): Likewise.
48452         (copysign_test_data): Likewise.
48453         (cproj_test_data): Likewise.
48454         (creal_test_data): Likewise.
48455         (fabs_test_data): Likewise.
48456         (fdim_test_data): Likewise.
48457         (finite_test_data): Likewise.
48458         (floor_test_data): Likewise.
48459         (fmax_test_data): Likewise.
48460         (fmin_test_data): Likewise.
48461         (fmod_test_data): Likewise.
48462         (fpclassify_test_data): Likewise.
48463         (frexp_test_data): Likewise.
48464         (ilogb_test_data): Likewise.
48465         (isfinite_test_data): Likewise.
48466         (isgreater_test_data): Likewise.
48467         (isgreaterequal_test_data): Likewise.
48468         (isinf_test_data): Likewise.
48469         (isless_test_data): Likewise.
48470         (islessequal_test_data): Likewise.
48471         (islessgreater_test_data): Likewise.
48472         (isnan_test_data): Likewise.
48473         (isnormal_test_data): Likewise.
48474         (issignaling_test_data): Likewise.
48475         (isunordered_test_data): Likewise.
48476         (ldexp_test_data): Likewise.
48477         (lrint_test_data): Likewise.
48478         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48479         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48480         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48481         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48482         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48483         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48484         test input.
48485         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48486         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48487         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48488         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48489         that test input.
48490         (lrint_downward_test_data): Test for "inexact" exceptions.
48491         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48492         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48493         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48494         test input.
48495         (lrint_upward_test_data): Test for "inexact" exceptions.
48496         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48497         test input.
48498         (llrint_test_data): Test for "inexact" exceptions.
48499         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48500         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48501         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48502         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48503         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48504         (llrint_downward_test_data): Test for "inexact" exceptions.
48505         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48506         (llrint_upward_test_data): Test for "inexact" exceptions.
48507         (logb_test_data): Likewise.
48508         (logb_downward_test_data): Likewise.
48509         (nextafter_test_data): Likewise.
48510         (nexttoward_test_data): Likewise.
48511         (remainder_test_data): Likewise.
48512         (remquo_test_data): Likewise.
48513         (scalbn_test_data): Likewise.
48514         (scalbln_test_data): Likewise.
48515         (signbit_test_data): Likewise.
48516         (sqrt_test_data): Likewise.
48517         (significand_test_data): Likewise.
48519 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48521         [BZ #15424]
48522         * benchtests/bench-modf.c (struct args): Mark arg0 as
48523         volatile.
48524         * scripts/bench.pl: Mark members of struct args as volatile.
48526 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48528         [BZ # 15497]
48529         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48530         negative infinity on POWER6 or lower.
48531         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48533 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48535         [BZ #15442]
48536         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48537         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48538         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48539         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48540         (_FP_SETQNAN): New macro.
48541         (_FP_SETQNAN_SEMIRAW): Likewise.
48542         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48543         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48544         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48545         (FP_EXTEND): Use _FP_FRAC_SNANP.
48546         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48547         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48548         into account.
48549         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48550         New macro.
48551         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48552         Likewise.
48554 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48556         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48557         with DIVIDE_BY_ZERO_EXCEPTION.
48558         (gamma_test_data): Likewise.
48559         (lgamma_test_data): Likewise.
48560         (log_test_data): Likewise.
48561         (log10_test_data): Likewise.
48562         (log2_test_data): Likewise.
48563         (tgamma_test_data): Likewise.
48565         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48566         (acos_test_tonearest): Likewise.
48567         (acos_test_towardzero): Likewise.
48568         (acos_test_downward): Likewise.
48569         (acos_test_upward): Likewise.
48570         (acosh_test): Likewise.
48571         (asin_test): Likewise.
48572         (asin_test_tonearest): Likewise.
48573         (asin_test_towardzero): Likewise.
48574         (asin_test_downward): Likewise.
48575         (asin_test_upward): Likewise.
48576         (asinh_test): Likewise.
48577         (atan_test): Likewise.
48578         (atanh_test): Likewise.
48579         (atan2_test): Likewise.
48580         (cabs_test): Likewise.
48581         (cacos_test): Likewise.
48582         (cacosh_test): Likewise.
48583         (casin_test): Likewise.
48584         (casinh_test): Likewise.
48585         (catan_test): Likewise.
48586         (catanh_test): Likewise.
48587         (cbrt_test): Likewise.
48588         (ccos_test): Likewise.
48589         (ccosh_test): Likewise.
48590         (cexp_test): Likewise.
48591         (clog_test): Likewise.
48592         (clog10_test): Likewise.
48593         (cos_test): Likewise.
48594         (cos_test_tonearest): Likewise.
48595         (cos_test_towardzero): Likewise.
48596         (cos_test_downward): Likewise.
48597         (cos_test_upward): Likewise.
48598         (cosh_test): Likewise.
48599         (cosh_test_tonearest): Likewise.
48600         (cosh_test_towardzero): Likewise.
48601         (cosh_test_downward): Likewise.
48602         (cosh_test_upward): Likewise.
48603         (cpow_test): Likewise.
48604         (csin_test): Likewise.
48605         (csinh_test): Likewise.
48606         (csqrt_test): Likewise.
48607         (ctan_test): Likewise.
48608         (ctan_test_tonearest): Likewise.
48609         (ctan_test_towardzero): Likewise.
48610         (ctan_test_downward): Likewise.
48611         (ctan_test_upward): Likewise.
48612         (ctanh_test): Likewise.
48613         (ctanh_test_tonearest): Likewise.
48614         (ctanh_test_towardzero): Likewise.
48615         (ctanh_test_downward): Likewise.
48616         (ctanh_test_upward): Likewise.
48617         (erf_test): Likewise.
48618         (erfc_test): Likewise.
48619         (exp_test): Likewise.
48620         (exp_test_tonearest): Likewise.
48621         (exp_test_towardzero): Likewise.
48622         (exp_test_downward): Likewise.
48623         (exp_test_upward): Likewise.
48624         (exp10_test): Likewise.
48625         (exp2_test): Likewise.
48626         (expm1_test): Likewise.
48627         (fmod_test): Likewise.
48628         (gamma_test): Likewise.
48629         (hypot_test): Likewise.
48630         (j0_test): Likewise.
48631         (j1_test): Likewise.
48632         (jn_test): Likewise.
48633         (lgamma_test): Likewise.
48634         (log_test): Likewise.
48635         (log10_test): Likewise.
48636         (log1p_test): Likewise.
48637         (log2_test): Likewise.
48638         (logb_test_downward): Likewise.
48639         (pow_test): Likewise.
48640         (pow_test_tonearest): Likewise.
48641         (pow_test_towardzero): Likewise.
48642         (pow_test_downward): Likewise.
48643         (pow_test_upward): Likewise.
48644         (remainder_test): Likewise.
48645         (remquo_test): Likewise.
48646         (sin_test): Likewise.
48647         (sin_test_tonearest): Likewise.
48648         (sin_test_towardzero): Likewise.
48649         (sin_test_downward): Likewise.
48650         (sin_test_upward): Likewise.
48651         (sincos_test): Likewise.
48652         (sinh_test): Likewise.
48653         (sinh_test_tonearest): Likewise.
48654         (sinh_test_towardzero): Likewise.
48655         (sinh_test_downward): Likewise.
48656         (sinh_test_upward): Likewise.
48657         (sqrt_test): Likewise.
48658         (tan_test): Likewise.
48659         (tan_test_tonearest): Likewise.
48660         (tan_test_towardzero): Likewise.
48661         (tan_test_downward): Likewise.
48662         (tan_test_upward): Likewise.
48663         (tanh_test): Likewise.
48664         (tgamma_test): Likewise.
48665         (y0_test): Likewise.
48666         (y1_test): Likewise.
48667         (yn_test): Likewise.
48669         * math/gen-libm-test.pl (adjust_arg): Remove function.
48670         (special_function): Remove argument $in_func.  Only handle
48671         generating output for tables of tests, not inside functions.
48672         (parse_args): Likewise.
48673         (generate_testfile): Remove variable $in_func.  Update call to
48674         parse_args.
48675         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48676         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48677         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48678         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48679         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48680         (MAX_VALUE_INIT): Rename macro to max_value.
48681         (MIN_VALUE_INIT): Rename macro to min_value.
48682         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48683         (plus_zero): Remove variable.
48684         (minus_zero): Likewise.
48685         (plus_infty): Likewise.
48686         (minus_infty): Likewise.
48687         (qnan_value): Likewise.
48688         (max_value): Likewise.
48689         (min_value): Likewise.
48690         (min_subnorm_value): Likewise.
48692 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48694         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48695         uint64_t or uint32_t usage.
48696         * crypt/sha256-block.c: Likewise.
48697         * crypt/sha256-crypt.c: Likewise.
48698         * crypt/sha256.c: Likewise.
48699         * crypt/sha512-block.c: Likewise.
48700         * crypt/sha512-crypt.c: Likewise.
48701         * crypt/sha512.c: Likewise.
48702         * debug/backtrace-tst.c: Likewise.
48703         * debug/pcprofiledump.c: Likewise.
48704         * elf/cache.c: Likewise.
48705         * elf/dl-cache.c: Likewise.
48706         * elf/dl-misc.c: Likewise.
48707         * elf/dl-profile.c: Likewise.
48708         * elf/dl-support.c: Likewise.
48709         * elf/ldconfig.c: Likewise.
48710         * elf/sprof.c: Likewise.
48711         * iconv/dummy-repertoire.c: Likewise.
48712         * iconv/iconv_charmap.c: Likewise.
48713         * iconv/skeleton.c: Likewise.
48714         * iconvdata/8bit-generic.c: Likewise.
48715         * iconvdata/cp737.h: Likewise.
48716         * iconvdata/cp775.h: Likewise.
48717         * iconvdata/ibm1008.h: Likewise.
48718         * iconvdata/ibm1025.h: Likewise.
48719         * iconvdata/ibm1046.h: Likewise.
48720         * iconvdata/ibm1097.h: Likewise.
48721         * iconvdata/ibm1112.h: Likewise.
48722         * iconvdata/ibm1122.h: Likewise.
48723         * iconvdata/ibm1123.h: Likewise.
48724         * iconvdata/ibm1124.h: Likewise.
48725         * iconvdata/ibm1129.h: Likewise.
48726         * iconvdata/ibm1130.h: Likewise.
48727         * iconvdata/ibm1132.h: Likewise.
48728         * iconvdata/ibm1133.h: Likewise.
48729         * iconvdata/ibm1137.h: Likewise.
48730         * iconvdata/ibm1140.h: Likewise.
48731         * iconvdata/ibm1141.h: Likewise.
48732         * iconvdata/ibm1142.h: Likewise.
48733         * iconvdata/ibm1143.h: Likewise.
48734         * iconvdata/ibm1144.h: Likewise.
48735         * iconvdata/ibm1145.h: Likewise.
48736         * iconvdata/ibm1146.h: Likewise.
48737         * iconvdata/ibm1147.h: Likewise.
48738         * iconvdata/ibm1148.h: Likewise.
48739         * iconvdata/ibm1149.h: Likewise.
48740         * iconvdata/ibm1153.h: Likewise.
48741         * iconvdata/ibm1154.h: Likewise.
48742         * iconvdata/ibm1155.h: Likewise.
48743         * iconvdata/ibm1156.h: Likewise.
48744         * iconvdata/ibm1157.h: Likewise.
48745         * iconvdata/ibm1158.h: Likewise.
48746         * iconvdata/ibm1160.h: Likewise.
48747         * iconvdata/ibm1161.h: Likewise.
48748         * iconvdata/ibm1162.h: Likewise.
48749         * iconvdata/ibm1163.h: Likewise.
48750         * iconvdata/ibm1164.h: Likewise.
48751         * iconvdata/ibm1166.h: Likewise.
48752         * iconvdata/ibm1167.h: Likewise.
48753         * iconvdata/ibm12712.h: Likewise.
48754         * iconvdata/ibm1390.h: Likewise.
48755         * iconvdata/ibm1399.h: Likewise.
48756         * iconvdata/ibm16804.h: Likewise.
48757         * iconvdata/ibm4517.h: Likewise.
48758         * iconvdata/ibm4899.h: Likewise.
48759         * iconvdata/ibm4909.h: Likewise.
48760         * iconvdata/ibm4971.h: Likewise.
48761         * iconvdata/ibm5347.h: Likewise.
48762         * iconvdata/ibm803.h: Likewise.
48763         * iconvdata/ibm856.h: Likewise.
48764         * iconvdata/ibm901.h: Likewise.
48765         * iconvdata/ibm902.h: Likewise.
48766         * iconvdata/ibm9030.h: Likewise.
48767         * iconvdata/ibm9066.h: Likewise.
48768         * iconvdata/ibm921.h: Likewise.
48769         * iconvdata/ibm922.h: Likewise.
48770         * iconvdata/ibm9448.h: Likewise.
48771         * iconvdata/isiri-3342.h: Likewise.
48772         * iconvdata/jis0201.h: Likewise.
48773         * include/link.h: Likewise.
48774         * include/netdb.h: Likewise.
48775         * inet/check_native.c: Likewise.
48776         * inet/check_pf.c: Likewise.
48777         * inet/getipv4sourcefilter.c: Likewise.
48778         * inet/getnameinfo.c: Likewise.
48779         * inet/getsourcefilter.c: Likewise.
48780         * inet/htonl.c: Likewise.
48781         * inet/setipv4sourcefilter.c: Likewise.
48782         * inet/setsourcefilter.c: Likewise.
48783         * inet/test-inet6_opt.c: Likewise.
48784         * inet/tst-network.c: Likewise.
48785         * locale/C-collate.c: Likewise.
48786         * locale/C-ctype.c: Likewise.
48787         * locale/C-time.c: Likewise.
48788         * locale/C-translit.h: Likewise.
48789         * locale/loadarchive.c: Likewise.
48790         * locale/programs/3level.h: Likewise.
48791         * locale/programs/charmap.c: Likewise.
48792         * locale/programs/charmap.h: Likewise.
48793         * locale/programs/ld-address.c: Likewise.
48794         * locale/programs/ld-collate.c: Likewise.
48795         * locale/programs/ld-ctype.c: Likewise.
48796         * locale/programs/ld-identification.c: Likewise.
48797         * locale/programs/ld-measurement.c: Likewise.
48798         * locale/programs/ld-messages.c: Likewise.
48799         * locale/programs/ld-monetary.c: Likewise.
48800         * locale/programs/ld-name.c: Likewise.
48801         * locale/programs/ld-numeric.c: Likewise.
48802         * locale/programs/ld-paper.c: Likewise.
48803         * locale/programs/ld-telephone.c: Likewise.
48804         * locale/programs/ld-time.c: Likewise.
48805         * locale/programs/linereader.c: Likewise.
48806         * locale/programs/locale.c: Likewise.
48807         * locale/programs/locarchive.c: Likewise.
48808         * locale/programs/locfile.h: Likewise.
48809         * locale/programs/repertoire.c: Likewise.
48810         * locale/programs/simple-hash.c: Likewise.
48811         * locale/programs/simple-hash.h: Likewise.
48812         * malloc/memusage.c: Likewise.
48813         * malloc/memusagestat.c: Likewise.
48814         * nis/nis_defaults.c: Likewise.
48815         * nis/nis_hash.c: Likewise.
48816         * nis/nis_print.c: Likewise.
48817         * nis/nis_xdr.c: Likewise.
48818         * nscd/connections.c: Likewise.
48819         * nscd/hstcache.c: Likewise.
48820         * nscd/nscd_gethst_r.c: Likewise.
48821         * nscd/nscd_getserv_r.c: Likewise.
48822         * nscd/nscd_helper.c: Likewise.
48823         * nscd/servicescache.c: Likewise.
48824         * nss/makedb.c: Likewise.
48825         * nss/nss_db/db-XXX.c: Likewise.
48826         * nss/nss_db/db-initgroups.c: Likewise.
48827         * nss/nss_db/db-netgrp.c: Likewise.
48828         * nss/nss_files/files-network.c: Likewise.
48829         * nss/nss_files/files-parse.c: Likewise.
48830         * posix/bug-regex5.c: Likewise.
48831         * posix/fnmatch_loop.c: Likewise.
48832         * posix/regcomp.c: Likewise.
48833         * posix/regexec.c: Likewise.
48834         * posix/tst-rfc3484-2.c: Likewise.
48835         * posix/tst-rfc3484-3.c: Likewise.
48836         * posix/tst-rfc3484.c: Likewise.
48837         * resolv/nss_dns/dns-canon.c: Likewise.
48838         * resolv/nss_dns/dns-network.c: Likewise.
48839         * resolv/res_init.c: Likewise.
48840         * resolv/res_mkquery.c: Likewise.
48841         * resolv/tst-aton.c: Likewise.
48842         * stdlib/cxa_atexit.c: Likewise.
48843         * stdlib/cxa_finalize.c: Likewise.
48844         * stdlib/gen-fpioconst.c: Likewise.
48845         * stdlib/strtol_l.c: Likewise.
48846         * string/tst-endian.c: Likewise.
48847         * sunrpc/auth_des.c: Likewise.
48848         * sunrpc/clnt_udp.c: Likewise.
48849         * sunrpc/rtime.c: Likewise.
48850         * sunrpc/svcauth_des.c: Likewise.
48851         * sunrpc/xdr.c: Likewise.
48852         * sunrpc/xdr_intXX_t.c: Likewise.
48853         * sunrpc/xdr_rec.c: Likewise.
48854         * sysdeps/generic/ldconfig.h: Likewise.
48855         * sysdeps/generic/ldsodefs.h: Likewise.
48856         * sysdeps/generic/memusage.h: Likewise.
48857         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48858         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48859         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48861         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48863         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48864         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48865         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48866         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48867         * sysdeps/posix/getaddrinfo.c: Likewise.
48868         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48869         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48870         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48871         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48872         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48873         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48874         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48875         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48876         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48877         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48878         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48879         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48880         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48881         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48882         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48883         * sysdeps/x86_64/dl-tls.h: Likewise.
48884         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48885         * time/alt_digit.c: Likewise.
48886         * time/era.c: Likewise.
48887         * wcsmbs/tst-c16c32-1.c: Likewise.
48889 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48891         * math/libm-test.inc (struct test_sincos_data): New type.
48892         (RUN_TEST_LOOP_sincos): New macro.
48893         (sincos_test_data): New variable.
48894         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48896 2013-05-16  Richard Henderson  <rth@redhat.com>
48898         * math/atest-exp2.c (LIMB64): New macro.
48899         (CONSTSZ): New macro.
48900         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48901         (hexdig): Move ...
48902         (print_mpn_fp): ... to function scope.
48903         (read_mpn_hex): Remove.
48904         (get_log2): Remove.
48905         (exp2_mpn): Use mp_log2.
48906         (main): Use mp_exp1.
48908 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48910         * math/libm-test.inc: Remove comment about not testing "inexact"
48911         exceptions.
48912         (INEXACT_EXCEPTION): New macro.
48913         (NO_INEXACT_EXCEPTION): Likewise.
48914         (INVALID_EXCEPTION_OK): Update value.
48915         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48916         (OVERFLOW_EXCEPTION_OK): Likewise.
48917         (UNDERFLOW_EXCEPTION_OK): Likewise.
48918         (IGNORE_ZERO_INF_SIGN): Likewise.
48919         (ERRNO_UNCHANGED): Likewise.
48920         (ERRNO_EDOM): Likewise.
48921         (ERRNO_ERANGE): Likewise.
48922         (test_exceptions): Handle testing "inexact" exceptions.
48923         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48924         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48925         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48926         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48927         INEXACT_EXCEPTION.
48928         (rint_towardzero_test_data): Likewise.
48929         (rint_downward_test_data): Likewise.
48930         (rint_upward_test_data): Likewise.
48932         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48933         with OVERFLOW_EXCEPTION.
48934         (exp10_test_data): Likewise.
48935         (exp2_test_data): Likewise.
48936         (expm1_test_data): Likewise.
48937         (lgamma_test_data): Likewise.
48938         (pow_test_data): Likewise.
48939         (tgamma_test_data): Likewise.
48940         (yn_test_data): Remove duplicate test of overflow.
48942         * math/libm-test.inc (struct test_cc_c_data): New type.
48943         (RUN_TEST_LOOP_cc_c): New macro.
48944         (cpow_test_data): New variable.
48945         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48947         * math/libm-test.inc (struct test_f_L_data): New type.
48948         (RUN_TEST_LOOP_f_L): New macro.
48949         (llrint_test_data): New variable.
48950         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48951         (llrint_tonearest_test_data): New variable.
48952         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48953         (llrint_towardzero_test_data): New variable.
48954         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48955         (llrint_downward_test_data): New variable.
48956         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48957         (llrint_upward_test_data): New variable.
48958         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48959         (llround_test_data): New variable.
48960         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48962 2013-05-13  Peter Collingbourne  <pcc@google.com>
48964         * math/atest-exp2.c (get_log2): Remove const attribute.
48966 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48968         * math/libm-test.inc (struct test_f_l_data): New type.
48969         (RUN_TEST_LOOP_f_l): New macro.
48970         (lrint_test_data): New variable.
48971         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48972         (lrint_tonearest_test_data): New variable.
48973         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48974         (lrint_towardzero_test_data): New variable.
48975         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48976         (lrint_downward_test_data): New variable.
48977         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48978         (lrint_upward_test_data): New variable.
48979         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48980         (lround_test_data): New variable.
48981         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48983 2013-05-15  Peter Collingbourne  <pcc@google.com>
48985         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48986         (EXTRACT_WORDS64) Use where appropriate.
48987         (INSERT_WORDS64) Likewise.
48989         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48990         constraints with x constraints.
48991         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48993         * malloc/obstack.c (_obstack_compat): Add initializer.
48995 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48997         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48998         si_trapno and add si_addr_lsb to _sifields.sigfault.
48999         (si_trapno): Remove macro.
49000         (si_addr_lsb): Define new macro.
49001         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49003 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49005         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49006         instead of TEST_f_l.
49007         (llrint_test_tonearest): Likewise.
49008         (llrint_test_towardzero): Likewise.
49009         (llrint_test_downward): Likewise.
49010         (llrint_test_upward): Likewise.
49011         (llround_test): Likewise.
49013         * math/libm-test.inc (struct test_f_i_data): Add comment.
49014         (RUN_TEST_LOOP_f_b): New macro.
49015         (RUN_TEST_LOOP_f_b_tg): Likewise.
49016         (finite_test_data): New variable.
49017         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49018         (isfinite_test_data): New variable.
49019         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49020         (isinf_test_data): New variable.
49021         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49022         (isnan_test_data): New variable.
49023         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49024         (isnormal_test_data): New variable.
49025         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49026         (issignaling_test_data): New variable.
49027         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49028         (signbit_test_data): New variable.
49029         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49031         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49032         with INVALID_EXCEPTION.
49033         (acosh_test_data): Likewise.
49034         (asin_test_data): Likewise.
49035         (atanh_test_data): Likewise.
49036         (fmod_test_data): Likewise.
49037         (log_test_data): Likewise.
49038         (log10_test_data): Likewise.
49039         (log2_test_data): Likewise.
49040         (pow_test_data): Likewise.
49041         (sqrt_test_data): Likewise.
49042         (y0_test_data): Likewise.
49043         (y1_test_data): Likewise.
49044         (yn_test_data): Likewise.
49046         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49047         function contents.
49049         * math/libm-test.inc (struct test_ff_i_data): New type.
49050         (RUN_TEST_LOOP_ff_i_tg): New macro.
49051         (isgreater_test_data): New variable.
49052         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49053         (isgreaterequal_test_data): New variable.
49054         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49055         (isless_test_data): New variable.
49056         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49057         (islessequal_test_data): New variable.
49058         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49059         (islessgreater_test_data): New variable.
49060         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49061         (isunordered_test_data): New variable.
49062         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49064 2013-05-14  David S. Miller  <davem@davemloft.net>
49066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49068 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49070         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49072         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49073         extra_test to int.
49074         (struct test_f_i_data): Change type of max_ulp to int.
49076         * math/libm-test.inc (test_ffI_f1_data): New type.
49077         (RUN_TEST_LOOP_ffI_f1): New macro.
49078         (remquo_test_data): New variable.
49079         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49081         * setjmp/tst-setjmp-fp.c: New file.
49082         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49083         (link-libm): New variable.
49084         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49086         * math/libm-test.inc (struct test_f_i_data): New type.
49087         (RUN_TEST_LOOP_f_i): New macro.
49088         (RUN_TEST_LOOP_f_i_tg): Likewise.
49089         (fpclassify_test_data): New variable.
49090         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49091         (ilogb_test_data): New variable.
49092         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49094         * math/libm-test.inc (scalbln_test): Correct function name in END
49095         call.
49097         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49098         (RUN_TEST_LOOP_fI_f1): New macro.
49099         (frexp_test_data): New variable.
49100         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49102         * math/libm-test.inc (struct test_fF_f1_data): New type.
49103         (RUN_TEST_LOOP_fF_f1): New macro.
49104         (modf_test_data): New variable.
49105         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49107         * math/libm-test.inc (struct test_f_f1_data): New type.
49108         (RUN_TEST_LOOP_f_f1): New macro.
49109         (gamma_test_data): New variable.
49110         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49111         (lgamma_test_data): New variable.
49112         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49114 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49116         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49117         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49118         (main): Comment "tls" pseudo-hwcap.
49120 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49122         * math/libm-test.inc (struct test_fl_f_data): New type.
49123         (RUN_TEST_LOOP_fl_f): New variable.
49124         (scalbln_test_data): New variable.
49125         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49127         * math/libm-test.inc (struct test_fi_f_data): New type.
49128         (RUN_TEST_LOOP_fi_f): New macro.
49129         (ldexp_test_data): New variable.
49130         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49131         (scalbn_test_data): New variable.
49132         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49134         * math/libm-test.inc (struct test_c_f_data): New type.
49135         (RUN_TEST_LOOP_c_f): New macro.
49136         (cabs_test_data): New variable.
49137         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49138         (carg_test_data): New variable.
49139         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49140         (cimag_test_data): New variable.
49141         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49142         (creal_test_data): New variable.
49143         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49145         * math/libm-test.inc (struct test_if_f_data): New type.
49146         (RUN_TEST_LOOP_if_f): New macro.
49147         (jn_test_data): New variable.
49148         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49149         (yn_test_data): New variable.
49150         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49152         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49154 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49156         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49157         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49159 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49161         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49162         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49163         (bench-deps): Add bench-timing.h.
49164         * benchtests-bench-skeleton.c: Include bench-timing.h.
49165         (main): Use TIMING_* macros instead of clock_gettime.
49166         * benchtests/bench-timing.h: New file.
49168         [BZ #14582]
49169         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49170         Renamed from _LIB_VERSION.
49171         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49173 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49175         * math/libm-test.inc (struct test_fff_f_data): New type.
49176         (RUN_TEST_LOOP_fff_f): New macro.
49177         (fma_test_data): New variable.
49178         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49179         (fma_towardzero_test_data): New variable.
49180         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49181         (fma_downward_test_data): New variable.
49182         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49183         (fma_upward_test_data): New variable.
49184         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49186         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49187         (struct test_c_c_data): New type.
49188         (RUN_TEST_LOOP_c_c): New macro.
49189         (cacos_test_data): New variable.
49190         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49191         (cacosh_test_data): New variable.
49192         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49193         (casin_test_data): New variable.
49194         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49195         (casinh_test_data): New variable.
49196         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49197         (catan_test_data): New variable.
49198         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49199         (catanh_test_data): New variable.
49200         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49201         (ccos_test_data): New variable.
49202         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49203         (ccosh_test_data): New variable.
49204         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49205         (cexp_test_data): New variable.
49206         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49207         (clog_test_data): New variable.
49208         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49209         (clog10_test_data): New variable.
49210         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49211         (conj_test_data): New variable.
49212         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49213         (cproj_test_data): New variable.
49214         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49215         (csin_test_data): New variable.
49216         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49217         (csinh_test_data): New variable.
49218         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49219         (csqrt_test_data): New variable.
49220         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49221         (ctan_test_data): New variable.
49222         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49223         (ctan_tonearest_test_data): New variable.
49224         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49225         (ctan_towardzero_test_data): New variable.
49226         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49227         (ctan_downward_test_data): New variable.
49228         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49229         (ctan_upward_test_data): New variable.
49230         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49231         (ctanh_test_data): New variable.
49232         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49233         (ctanh_tonearest_test_data): New variable.
49234         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49235         (ctanh_towardzero_test_data): New variable.
49236         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49237         (ctanh_downward_test_data): New variable.
49238         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49239         (ctanh_upward_test_data): New variable.
49240         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49241         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49242         of BUILD_COMPLEX.
49244         * math/libm-test.inc (struct test_ff_f_data): New type.
49245         (struct test_ff_f_data_nexttoward): Likewise.
49246         (RUN_TEST_LOOP_2_f): New macro.
49247         (RUN_TEST_LOOP_ff_f): Likewise.
49248         (atan2_test_data): New variable.
49249         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49250         (copysign_test_data): New variable.
49251         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49252         (fdim_test_data): New variable.
49253         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49254         (fmax_test_data): New variable.
49255         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49256         (fmin_test_data): New variable.
49257         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49258         (fmod_test_data): New variable.
49259         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49260         (hypot_test_data): New variable.
49261         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49262         (nextafter_test_data): New variable.
49263         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49264         (nexttoward_test_data): New variable.
49265         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49266         (pow_test_data): New variable.
49267         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49268         (pow_tonearest_test_data): New variable.
49269         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49270         (pow_towardzero_test_data): New variable.
49271         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49272         (pow_downward_test_data): New variable.
49273         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49274         (pow_upward_test_data): New variable.
49275         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49276         (remainder_test_data): New variable.
49277         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49278         (scalb_test_data): New variable.
49279         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49280         * sysdeps/i386/fpu/libm-test-ulps: Update.
49282 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49284         * math/libm-test.inc (fma_test): Use max_value instead of local
49285         variable fltmax.
49286         (nextafter_test): Likewise.
49288         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49289         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49290         (acos_downward_test_data): New variable.
49291         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49292         (acos_upward_test_data): New variable.
49293         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49294         (acosh_test_data): New variable.
49295         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49296         (asin_test_data): New variable.
49297         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49298         (asin_tonearest_test_data): New variable.
49299         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49300         (asin_towardzero_test_data): New variable.
49301         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49302         (asin_downward_test_data): New variable.
49303         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49304         (asin_upward_test_data): New variable.
49305         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49306         (asinh_test_data): New variable.
49307         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49308         (atan_test_data): New variable.
49309         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49310         (atanh_test_data): New variable.
49311         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49312         (cbrt_test_data): New variable.
49313         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49314         (ceil_test_data): New variable.
49315         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49316         (cos_test_data): New variable.
49317         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49318         (cos_tonearest_test_data): New variable.
49319         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49320         (cos_towardzero_test_data): New variable.
49321         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49322         (cos_downward_test_data): New variable.
49323         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49324         (cos_upward_test_data): New variable.
49325         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49326         (cosh_test_data): New variable.
49327         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49328         (cosh_tonearest_test_data): New variable.
49329         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49330         (cosh_towardzero_test_data): New variable.
49331         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49332         (cosh_downward_test_data): New variable.
49333         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49334         (cosh_upward_test_data): New variable.
49335         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49336         (erf_test_data): New variable.
49337         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49338         (erfc_test_data): New variable.
49339         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49340         (exp_test_data): New variable.
49341         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49342         (exp_tonearest_test_data): New variable.
49343         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49344         (exp_towardzero_test_data): New variable.
49345         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49346         (exp_downward_test_data): New variable.
49347         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49348         (exp_upward_test_data): New variable.
49349         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49350         (exp10_test_data): New variable.
49351         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49352         (exp2_test_data): New variable.
49353         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49354         (expm1_test_data): New variable.
49355         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49356         (fabs_test_data): New variable.
49357         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49358         (floor_test_data): New variable.
49359         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49360         (j0_test_data): New variable.
49361         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49362         (j1_test_data): New variable.
49363         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49364         (log_test_data): New variable.
49365         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49366         (log10_test_data): New variable.
49367         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49368         (log1p_test_data): New variable.
49369         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49370         (log2_test_data): New variable.
49371         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49372         (logb_test_data): New variable.
49373         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49374         (logb_downward_test_data): New variable.
49375         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49376         (nearbyint_test_data): New variable.
49377         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49378         (rint_test_data): New variable.
49379         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49380         (rint_tonearest_test_data): New variable.
49381         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49382         (rint_towardzero_test_data): New variable.
49383         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49384         (rint_downward_test_data): New variable.
49385         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49386         (rint_upward_test_data): New variable.
49387         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49388         (round_test_data): New variable.
49389         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49390         (sin_test_data): New variable.
49391         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49392         (sin_tonearest_test_data): New variable.
49393         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49394         (sin_towardzero_test_data): New variable.
49395         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49396         (sin_downward_test_data): New variable.
49397         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49398         (sin_upward_test_data): New variable.
49399         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49400         (sinh_test_data): New variable.
49401         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49402         (sinh_tonearest_test_data): New variable.
49403         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49404         (sinh_towardzero_test_data): New variable.
49405         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49406         (sinh_downward_test_data): New variable.
49407         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49408         (sinh_upward_test_data): New variable.
49409         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49410         (sqrt_test_data): New variable.
49411         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49412         (tan_test_data): New variable.
49413         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49414         (tan_tonearest_test_data): New variable.
49415         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49416         (tan_towardzero_test_data): New variable.
49417         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49418         (tan_downward_test_data): New variable.
49419         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49420         (tan_upward_test_data): New variable.
49421         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49422         (tanh_test_data): New variable.
49423         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49424         (tgamma_test_data): New variable.
49425         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49426         (trunc_test_data): New variable.
49427         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49428         (y0_test_data): New variable.
49429         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49430         (y1_test_data): New variable.
49431         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49432         (significand_test_data): New variable.
49433         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49435 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49437         [BZ #12387]
49438         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49440 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49442         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49444 2013-05-10  Andreas Jaeger  <aj@suse.de>
49446         [BZ #15448]
49447         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49448         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49450 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49452         * math/gen-libm-test.pl (adjust_arg): New function.
49453         (special_functions): Handle generating output in both functions
49454         and arrays.
49455         (parse_args): Likewise.
49456         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49457         $in_func argument to parse_args.
49458         * math/libm-test.inc (struct test_f_f_data): New type.
49459         (IF_ROUND_INIT_): New macro.
49460         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49461         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49462         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49463         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49464         (ROUND_RESTORE_): Likewise.
49465         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49466         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49467         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49468         (ROUND_RESTORE_FE_UPWARD): Likewise.
49469         (RUN_TEST_LOOP_f_f): New macro.
49470         (acos_test_data): New variable.
49471         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49472         (acos_tonearest_test_data): New variable.
49473         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49475 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49477         * benchtests/bench-skeleton.c (startup): Fix coding style.
49479 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49481         [BZ #6809]
49482         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49483         negative infinity argument.
49484         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49485         negative infinity argument.
49486         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49487         negative infinity argument.
49488         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49489         domain errors.
49491 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49493         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49494         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49495         * iconv/iconv_prog.c (main): Likewise.
49496         * locale/programs/charmap-dir.c (charmap_readdir)
49497         (fopen_uncompressed): Likewise.
49498         * locale/programs/locfile.c (siblings_uncached)
49499         (write_locale_data): Use lstat64 instead of lstat.
49500         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49501         stat.
49503 2013-05-10  Andreas Jaeger  <aj@suse.de>
49505         [BZ #15395]
49506         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49507         localization.
49508         Include <locale.h>.
49510 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49512         * elf/dl-close.c (_dl_close_worker): Add comments.
49514 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49516         [BZ #15359]
49517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49518         high part of pi/2.
49519         (__ieee754_rem_pio2l): Update comments.
49521         [BZ #15429]
49522         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49523         high part of pi/2.
49524         (__ieee754_rem_pio2l): Update comments.
49526         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49527         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49529         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49530         M_PI_4l.
49532         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49533         (M_PI_34_LOG10El): Likewise.
49534         (M_PI2_LOG10El): Likewise.
49535         (M_PI4_LOG10El): Likewise.
49536         (M_PI_LOG10El): Likewise.
49538 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49542 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49544         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49545         (MINUS_ZERO_INIT): Likewise.
49546         (PLUS_INFTY_INIT): Likewise.
49547         (MINUS_INFTY_INIT): Likewise.
49548         (QNAN_VALUE_INIT): Likewise.
49549         (MAX_VALUE_INIT): Likewise.
49550         (MIN_VALUE_INIT): Likewise.
49551         (MIN_SUBNORM_VALUE_INIT): Likewise.
49552         (plus_zero): Initialize with PLUS_ZERO_INIT.
49553         (minus_zero): Initialize with MINUS_ZERO_INIT.
49554         (plus_infty): Initialize with PLUS_INFTY_INIT.
49555         (minus_infty): Initialize with MINUS_INFTY_INIT.
49556         (qnan_value): Initialize with QNAN_VALUE_INIT.
49557         (max_value): Initialize with MAX_VALUE_INIT.
49558         (min_value): Initialize with MIN_VALUE_INIT.
49559         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49561         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49562         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49563         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49564         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49566         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49567         (RUN_TEST_2_f): Likewise.
49568         (RUN_TEST_ff_f): Likewise.
49569         (RUN_TEST_fi_f): Likewise.
49570         (RUN_TEST_fl_f): Likewise.
49571         (RUN_TEST_fff_f): Likewise.
49572         (RUN_TEST_c_f): Likewise.
49573         (RUN_TEST_f_f1): Likewise.
49574         (RUN_TEST_fF_f1): Likewise.
49575         (RUN_TEST_fI_f1): Likewise.
49576         (RUN_TEST_ffI_f1): Likewise.
49577         (RUN_TEST_c_c): Likewise.
49578         (RUN_TEST_cc_c): Likewise.
49579         (RUN_TEST_f_i): Likewise.
49580         (RUN_TEST_f_i_tg): Likewise.
49581         (RUN_TEST_ff_i_tg): Likewise.
49582         (RUN_TEST_f_b): Likewise.
49583         (RUN_TEST_f_b_tg): Likewise.
49584         (RUN_TEST_f_l): Likewise.
49585         (RUN_TEST_f_L): Likewise.
49586         (RUN_TEST_sincos): Likewise.
49587         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49588         whether to show exceptions.  Do not include ");\n" in return
49589         value.
49590         (special_functions): Output call to RUN_TEST_sincos instead of
49591         check_float calls.  Update calls to new_test.
49592         (parse_args): Output call to single RUN_TEST_* macro instead of
49593         check_* calls and other assignments.  Update calls to new_test.
49595         [BZ #2546]
49596         [BZ #2560]
49597         [BZ #5159]
49598         [BZ #15426]
49599         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49600         input to result for tgamma overflow.
49601         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49602         (gamma_coeff): New variable.
49603         (NCOEFF): New macro.
49604         (gamma_positive): New function.
49605         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49606         underflow here.  Use gamma_positive instead of exp (lgamma) for
49607         other arguments.
49608         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49609         (gamma_coeff): New variable.
49610         (NCOEFF): New macro.
49611         (gammaf_positive): New function.
49612         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49613         underflow here.  Use gamma_positive instead of exp (lgamma) for
49614         other arguments.
49615         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49616         (gamma_coeff): New variable.
49617         (NCOEFF): New macro.
49618         (gammal_positive): New function.
49619         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49620         underflow here.  Use gamma_positive instead of exp (lgamma) for
49621         other arguments.
49622         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49623         (gamma_coeff): New variable.
49624         (NCOEFF): New macro.
49625         (gammal_positive): New function.
49626         (__ieee754_gammal_r): Handle positive infinity, overflow and
49627         underflow here.  Handle NaN the same as positive infinity.  Remove
49628         check x < 0xffffffff for negative integers.  Use gamma_positive
49629         instead of exp (lgamma) for other arguments.
49630         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49631         (gamma_coeff): New variable.
49632         (NCOEFF): New macro.
49633         (gammal_positive): New function.
49634         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49635         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49636         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49638         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49639         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49640         * sysdeps/generic/math_private.h (__gamma_productf): New
49641         prototype.
49642         (__gamma_product): Likewise.
49643         (__gamma_productl): Likewise.
49644         * math/Makefile (libm-calls): Add gamma_product.
49645         * math/libm-test.inc (tgamma_test): Add more tests.
49646         * sysdeps/i386/fpu/libm-test-ulps: Update.
49647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49649 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49651         * benchtests/bench-skeleton.c (main): Preheat CPU.
49653 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49655         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49657 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49659         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49660         and _dl_skip_args_internal.
49662 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49664         * manual/message.texi (Message Translation): Talk about users.
49665         Message to key mapping impacts design.
49667 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49669         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49671         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49673         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49674         * sysdeps/wordsize-64/glob64.c: ... here.
49676         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49677         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49678         New macros.
49680         * debug/getlogin_r_chk.c: Moved to ...
49681         * login/getlogin_r_chk.c: ... here.
49682         * debug/Makefile (routines): Move getlogin_r_chk to ...
49683         * login/Makefile (routines): ... here.
49684         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49685         * login/Versions (libc: GLIBC_2.4): ... here.
49687         * io/poll.c (__poll): Renamed from poll.
49688         Add libc_hidden_def.
49689         (poll): Define as weak alias.
49691         * debug/ptsname_r_chk.c: Moved to ...
49692         * login/ptsname_r_chk.c: ... here.
49693         * debug/Makefile (routines): Move ptsname_r_chk to ...
49694         * login/Makefile (routines): ... here.
49695         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49696         * login/Versions (libc: GLIBC_2.4): ... here.
49698         * posix/getlogin.c: Moved to ...
49699         * login/getlogin.c: ... here.
49700         * posix/getlogin_r.c: Moved to ...
49701         * login/getlogin_r.c: ... here.
49702         * posix/getlogin_r.c: Moved to ...
49703         * login/getlogin_r.c: ... here.
49704         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49705         * login/Makefile (routines): ... here.
49706         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49707         * login/Versions (libc: GLIBC_2.0): ... here.
49709         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49710         (setrlimit): Define as weak alias.
49712         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49713         Call __ names for open, ftruncate, and close.
49714         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49715         (truncate): Define as weak alias.
49717 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49719         * math/gen-libm-test.pl (parse_args): Initialize x before each
49720         test of frexp, modf and remquo.
49722         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49723         test signgam value.
49725 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49727         [BZ #15418]
49728         [BZ #15419]
49729         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49730         internal tests.
49731         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49733 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49735         * elf/dl-writev.h: New file.
49736         * elf/dl-misc.c: Include it.
49737         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49738         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49740 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49742         * math/libm-test.inc (noXFails): Remove variable.
49743         (noXPasses): Likewise.
49744         (BUILD_COMPLEX_INT): Remove macro.
49745         (print_screen): Remove xfail argument.
49746         (print_screen_max_error): Likewise.
49747         (update_stats): Likewise.
49748         (print_max_error): Likewise.  Update calls to other affected
49749         functions.
49750         (print_complex_max_error): Likewise.
49751         (test_single_exception): Update calls to print_screen.
49752         (test_single_errno): Likewise.
49753         (check_float_internal): Remove xfail argument.  Update calls to
49754         other affected functions.
49755         (check_float): Likewise.
49756         (check_complex): Likewise.
49757         (check_int): Likewise.
49758         (check_long): Likewise.
49759         (check_bool): Likewise.
49760         (check_longlong): Likewise.
49761         (main): Don't print noXFails and noXPasses.
49762         * math/gen-libm-test.pl (top level): Don't mention expected
49763         failure handling in comment.
49764         (new_test): Don't handle expected failures.
49765         (parse_args): Don't mention expected failure handling in comment.
49766         (generate_testfile): Don't handle expected failures.
49767         (parse_ulps): Likewise.
49768         (print_ulps_file): Likewise.
49769         (get_failure): Remove function.
49770         (output_test): Don't handle expected failures.
49771         * make/README.libm-test: Don't mention expected failure handling.
49773         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49774         (minus_zero): Likewise.
49775         (plus_infty): Likewise.
49776         (minus_infty): Likewise.
49777         (qnan_value): Likewise.
49778         (max_value): Likewise.
49779         (min_value): Likewise.
49780         (min_subnorm_value): Likewise.
49781         (initialize): Do not initialize those variables dynamically.
49783 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49785         * io/open.c (__open_2): Moved to ...
49786         * io/open_2.c: ... this new file.
49787         * io/open64.c (__open64_2): Moved to ...
49788         * io/open64_2.c: ... this new file.
49789         * io/openat.c (__openat_2): Moved to ...
49790         * io/openat_2.c: ... this new file.
49791         * io/openat64.c (__openat64_2): Moved to ...
49792         * io/openat64_2.c: ... this new file.
49793         * io/Makefile (routines): Add them.
49794         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49795         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49796         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49797         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49798         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49799         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49800         (__openat64): Add hidden_ver.
49801         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49802         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49804         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49805         Separately conditionalize setting of GLRO(dl_sysinfo) so
49806         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49807         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49809 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49811         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49813         definition.
49814         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49815         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49816         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49817         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49818         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49820 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49822         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49823         test signgam value.
49825         * math/libm-test.inc (hypot_test): Do not use
49826         IGNORE_ZERO_INF_SIGN.
49828 2013-05-03  Andreas Jaeger  <aj@suse.de>
49830         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49831         Linux 3.9.
49832         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49833         (PF_MAX): Adjust for VSOCK change.
49835 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49839 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49841         [BZ #15264]
49842         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49843         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49844         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49846 2013-05-02  David S. Miller  <davem@davemloft.net>
49848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49850 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49852         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49854 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49856         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49858 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49860         [BZ #14952]
49861         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49862         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49863         Use __attribute__ ((__gnu_inline__)).
49864         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49865         Don't use __attribute__ ((__gnu_inline__)).
49867 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49869         [BZ #15423]
49870         * math/s_catan.c (__catan): Handle small real or imaginary part of
49871         input specially to avoid spurious underflow.
49872         * math/s_catanf.c (__catanf): Likewise.
49873         * math/s_catanh.c (__catanh): Likewise.
49874         * math/s_catanhf.c (__catanhf): Likewise.
49875         * math/s_catanhl.c (__catanhl): Likewise.
49876         * math/s_catanl.c (__catanl): Likewise.
49877         * math/libm-test.inc (catan_test): Add more tests.
49878         (catanh_test): Likewise.
49879         * sysdeps/i386/fpu/libm-test-ulps: Update.
49880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49882 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49886 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49888         [BZ #15416]
49889         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49890         accurately for denominator in atan2.
49891         * math/s_catanf.c (__catanf): Likewise.
49892         * math/s_catanh.c (__catanh): Likewise.
49893         * math/s_catanhf.c (__catanhf): Likewise.
49894         * math/s_catanhl.c (__catanhl): Likewise.
49895         * math/s_catanl.c (__catanl): Likewise.
49896         * math/libm-test.inc (catan_test): Add more tests.
49897         (catanh_test): Likewise.
49898         * sysdeps/i386/fpu/libm-test-ulps: Update.
49899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49901 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49903         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49905         * benchtests/Makefile (bench): Remove slow benchmarks.
49906         * benchtests/atan-inputs: Add slow benchmark inputs.
49907         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49908         (BENCH_FUNC): Accept variant offset.
49909         (VARIANT): Define.
49910         * benchtests/bench-skeleton.c (main): Run benchmark for each
49911         variant.
49912         * benchtests/cos-inputs: Add slow benchmark inputs.
49913         * benchtests/exp-inputs: Likewise.
49914         * benchtests/pow-inputs: Likewise.
49915         * benchtests/sin-inputs: Likewise.
49916         * benchtests/slowatan-inputs: Remove.
49917         * benchtests/slowatan.c: Remove.
49918         * benchtests/slowcos-inputs: Remove.
49919         * benchtests/slowcos.c: Remove.
49920         * benchtests/slowexp-inputs: Remove.
49921         * benchtests/slowexp.c: Remove.
49922         * benchtests/slowpow-inputs: Remove.
49923         * benchtests/slowpow.c: Remove.
49924         * benchtests/slowsin-inputs: Remove.
49925         * benchtests/slowsin.c: Remove.
49926         * benchtests/slowtan-inputs: Remove.
49927         * benchtests/slowtan.c: Remove.
49928         * benchtests/tan-inputs: Add slow benchmark inputs.
49929         * scripts/bench.pl: Parse comments and directives.
49931         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49932         in CPPFLAGS.
49933         ($(objpfx)bench-%.c): Remove *-ITER.
49934         * benchtests/bench-modf.c: Remove definition of ITER.
49935         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49936         (main): Loop for DURATION seconds instead of fixed number of
49937         iterations.
49938         * scripts/bench.pl: Don't expect iterations in parameters.
49940 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49942         * io/fchdir.c (__fchdir): Renamed from fchdir.
49943         (fchdir): Define as weak alias.
49945 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49947         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49948         (ERRNO_EDOM): Likewise.
49949         (ERRNO_ERANGE): Likewise.
49950         (noErrnoTests): New variable.
49951         (init_max_error): Set errno to 0.
49952         (test_single_errno): New function.
49953         (test_errno): Likewise.
49954         (check_float_internal): Call test_errno.  Set errno to 0.
49955         (check_complex): Refer to errno tests in comment.
49956         (check_int): Call test_errno.  Set errno to 0.
49957         (check_long): Likewise.
49958         (check_bool): Likewise.
49959         (check_longlong): Likewise.
49960         (cos_test): Use ERRNO_* flags for errno tests instead of
49961         check_int.
49962         (expm1_test): Likewise.
49963         (fmod_test): Likewise.
49964         (ilogb_test): Likewise.
49965         (lgamma_test): Likewise.
49966         (pow_test): Likewise.
49967         (remainder_test): Likewise.
49968         (sin_test): Likewise.
49969         (tan_test): Likewise.
49970         (yn_test): Likewise.
49971         (initialize): Set errno to 0.
49972         (main): Print number of errno tests.
49973         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49975 2013-04-29  Andreas Jaeger  <aj@suse.de>
49977         [BZ #15084]
49978         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49979         and RES_USEVC.
49981         [BZ #15085]
49982         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49983         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49984         unimplemented.
49986         [BZ #15380]
49987         * stdlib/random.c (__initstate): Return NULL if
49988         __initstate fails.
49990         [BZ #15086]
49991         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49992         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49993         RES_SNGLKUPREOP.
49995 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49999 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50001         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50002         of individual tests.
50003         (casin_test): Likewise.
50004         (casinh_test): Likewise.
50006 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50008         [BZ #15409]
50009         * math/s_catan.c (__catan): Handle arguments with large real or
50010         imaginary part separately without squaring.
50011         * math/s_catanf.c (__catanf): Likewise.
50012         * math/s_catanh.c (__catanh): Likewise.
50013         * math/s_catanhf.c (__catanhf): Likewise.
50014         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50015         and redefine.
50016         (__catanhl): Handle arguments with large real or imaginary part
50017         separately without squaring.
50018         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50019         and redefine.
50020         (__catanl): Handle arguments with large real or imaginary part
50021         separately without squaring.
50022         * math/libm-test.inc (catan_test): Add more tests.
50023         (catanh_test): Likewise.
50024         * sysdeps/i386/fpu/libm-test-ulps: Update.
50025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50027 2013-04-27  Andreas Jaeger  <aj@suse.de>
50029         [BZ #15007]
50030         * stdlib/stdlib.h: Update guards for qecvt.
50031         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50032         <stdlib.h>.
50034 2013-04-27  Allan McRae  <allan@archlinux.org>
50036         * sysdeps/i386/fpu/libm-test-ulps: Update.
50038 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50040         [BZ #15406]
50041         * math/s_catan.c: Include <float.h>.
50042         (__catan): Ensure underflow exception occurs for underflowed
50043         result.
50044         * math/s_catanf.c: Include <float.h>.
50045         (__catanf): Ensure underflow exception occurs for underflowed
50046         result.
50047         * math/s_catanh.c: Include <float.h>.
50048         (__catanh): Ensure underflow exception occurs for underflowed
50049         result.
50050         * math/s_catanhf.c: Include <float.h>.
50051         (__catanhf): Ensure underflow exception occurs for underflowed
50052         result.
50053         * math/s_catanhl.c: Include <float.h>.
50054         (__catanhl): Ensure underflow exception occurs for underflowed
50055         result.
50056         * math/s_catanl.c: Include <float.h>.
50057         (__catanl): Ensure underflow exception occurs for underflowed
50058         result.
50059         * math/libm-test.inc (catan_test): Add more tests.
50060         (catanh_test): Likewise.
50062         [BZ #15405]
50063         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50064         underflowed result.
50065         * math/s_ccoshf.c (__ccoshf): Likewise.
50066         * math/s_ccoshl.c (__ccoshl): Likewise.
50067         * math/s_csin.c (__csin): Likewise.
50068         * math/s_csinf.c (__csinf): Likewise.
50069         * math/s_csinh.c (__csinh): Likewise.
50070         * math/s_csinhf.c (__csinhf): Likewise.
50071         * math/s_csinhl.c (__csinhl): Likewise.
50072         * math/s_csinl.c (__csinl): Likewise.
50073         * math/libm-test.inc (ccos_test): Add more tests.
50074         (ccosh_test): Likewise.
50075         (csin_test): Likewise.
50076         (csinh_test): Likewise.
50078 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50080         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50081         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50082         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50083         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50084         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50085         powerpc/power5+/fpu folders.
50086         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50089 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50093 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50095         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50096         additions to variable.
50097         [$(config-machine) = x86_64] (modules-names): Likewise.
50098         ($(objpfx)tst-audit3): Remove dependency.
50099         ($(objpfx)tst-audit3.out): Likewise.
50100         ($(objpfx)tst-audit4): Likewise.
50101         ($(objpfx)tst-audit4.out): Likewise.
50102         ($(objpfx)tst-audit5): Likewise.
50103         ($(objpfx)tst-audit5.out): Likewise.
50104         ($(objpfx)tst-audit6): Likewise.
50105         ($(objpfx)tst-audit6.out): Likewise.
50106         ($(objpfx)tst-audit7): Likewise.
50107         ($(objpfx)tst-audit7.out): Likewise.
50108         (tst-audit3-ENV): Remove variable.
50109         (tst-audit4-ENV): Likewise.
50110         (tst-audit5-ENV): Likewise.
50111         (tst-audit6-ENV): Likewise.
50112         (tst-audit7-ENV): Likewise.
50113         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50114         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50115         addition to variable.
50116         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50119         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50120         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50121         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50122         tst-audit3, tst-audit4 and tst-audit5.
50123         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50124         tst-audit6 and tst-audit7.
50125         [$(subdir) = elf] (modules-names): Add audit modules for those
50126         tests.
50127         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50128         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50129         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50130         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50131         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50132         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50133         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50134         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50135         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50136         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50137         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50138         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50139         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50140         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50141         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50142         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50143         Likewise.
50144         [$(subdir) = elf && $(config-cflags-avx) = yes]
50145         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50146         [$(subdir) = elf && $(config-cflags-avx) = yes]
50147         (CFLAGS-tst-auditmod4a.c): Likewise.
50148         [$(subdir) = elf && $(config-cflags-avx) = yes]
50149         (CFLAGS-tst-auditmod4b.c): Likewise.
50150         [$(subdir) = elf && $(config-cflags-avx) = yes]
50151         (CFLAGS-tst-auditmod6b.c): Likewise.
50152         [$(subdir) = elf && $(config-cflags-avx) = yes]
50153         (CFLAGS-tst-auditmod6c.c): Likewise.
50154         [$(subdir) = elf && $(config-cflags-avx) = yes]
50155         (CFLAGS-tst-auditmod7b.c): Likewise.
50156         * elf/tst-audit3.c: Move to ...
50157         * sysdeps/x86_64/tst-audit3.c: ... here.
50158         * elf/tst-audit4.c: Move to ...
50159         * sysdeps/x86_64/tst-audit4.c: ... here.
50160         * elf/tst-audit5.c: Move to ...
50161         * sysdeps/x86_64/tst-audit5.c: ... here.
50162         * elf/tst-audit6.c: Move to ...
50163         * sysdeps/x86_64/tst-audit6.c: ... here.
50164         * elf/tst-audit7.c: Move to ...
50165         * sysdeps/x86_64/tst-audit7.c: ... here.
50166         * elf/tst-auditmod3a.c: Move to ...
50167         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50168         * elf/tst-auditmod3b.c: Move to ...
50169         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50170         * elf/tst-auditmod4a.c: Move to ...
50171         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50172         * elf/tst-auditmod4b.c: Move to ...
50173         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50174         * elf/tst-auditmod5a.c: Move to ...
50175         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50176         * elf/tst-auditmod5b.c: Move to ...
50177         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50178         * elf/tst-auditmod6a.c: Move to ...
50179         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50180         * elf/tst-auditmod6b.c: Move to ...
50181         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50182         * elf/tst-auditmod6c.c: Move to ...
50183         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50184         * elf/tst-auditmod7a.c: Move to ...
50185         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50186         * elf/tst-auditmod7b.c: Move to ...
50187         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50189 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50191         [BZ #15366]
50192         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50193         define unconditionally.
50194         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50195         define unconditionally.
50196         (INT8_C, INT16_C, etc.): Likewise.
50198 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50200         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50201         __ehdr_start with hidden visibility.
50203         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50205 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50207         * math/libm-test.inc (cos_test): Use accurate hex constants.
50208         (sincost_test): Likewise.
50210 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50212         * math/libm-test.inc (catan_test): Add more tests.
50213         (catanh_test): Likewise.
50215         * math/s_catanf.c (__catanf): Use suffixed floating-point
50216         constants.
50217         * math/s_catanhf.c (__catanhf): Likewise.
50218         * math/s_catanhl.c (__catanhl): Likewise.
50219         * math/s_catanl.c (__catanl): Likewise.
50221         [BZ #15394]
50222         * math/s_catan.c (__catan): Calculate imaginary part of result
50223         with log1p not log unless computing log of number close to 0.
50224         * math/s_catanf.c (__catanf): Likewise.
50225         * math/s_catanl.c (__catanl): Likewise.
50226         * math/s_catanh.c (__catanh): Calculate real part of result with
50227         log1p not log unless computing log of number close to 0.
50228         * math/s_catanhf.c (__catanhf): Likewise.
50229         * math/s_catanhl.c (__catanhl): Likewise.
50230         * math/libm-test.inc (catan_test): Add more tests.
50231         (catanh_test): Likewise.
50232         * sysdeps/i386/fpu/libm-test-ulps: Update.
50233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50235 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50237         * benchtests/Makefile: Mention files in which fast and slow
50238         paths of math functions are implemented.
50240 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50242         * sysdeps/posix/timespec_get.c: New file.
50244 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50246         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50247         POWER.
50248         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50249         for POWER.
50250         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50251         powerpc/power5/fpu folders.
50252         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50253         * benchtests/Makefile: Add modf testcase.
50254         * benchtests/bench-modf.c: New file: Benchmark test for mo
50256 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50258         [BZ #14888]
50259         * time/Makefile (tests): Add tst-strptime-whitespace.
50260         * time/strptime_l.c (get_number): Use ISSPACE.
50261         (__strptime_internal): Likewise.
50262         * time/tst-strptime-whitespace.c: New test case.
50264 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50266         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50267         member.
50268         (_nss_files_init): Set it here.
50270 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50272         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50273         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50274         unsigned.
50276 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50278         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50280 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50282         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50283         size just once.
50285 2013-04-21  David S. Miller  <davem@davemloft.net>
50287         * po/ru.po: Update Russion translation from translation project.
50289 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50291         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50292         and setfsgid.
50294 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50296         * configure.in: Remove i386 configure warning. Remove i386 case.
50297         * configure: Regenerate.
50298         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50299         Add example to error message.
50300         * sysdeps/i386/configure: Regenerate.
50302 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50304         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50305         slowtan.
50306         * benchtests/cos-inputs: New file.
50307         * benchtests/slowcos-inputs: New file.
50308         * benchtests/slowcos.c: New file.
50309         * benchtests/slowtan-inputs: New file.
50310         * benchtests/slowtan.c: New file.
50311         * benchtests/tan-inputs: New file.
50313 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50315         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50316         considered kosher.
50318 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50320         * benchtests/Makefile: Include cppflags-iterator.mk to add
50321         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50323         * Makefile.in (bench-clean): New target.
50324         * benchtests/Makefile (bench-clean): Likewise.
50326 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50328         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50330 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50332         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50334 2013-04-15  Andreas Schwab  <schwab@suse.de>
50336         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50338         * nscd/pwdcache.c (cache_addpw): Likewise.
50339         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50340         more than recsize.
50342 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50344         * benchtests/Makefile (bench): Write all output to
50345         bench-out.tmp together.
50347 2013-04-15  Andreas Schwab  <schwab@suse.de>
50349         * nscd/nscd.c (main): Don't fork again after closing files.
50351 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50353         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50355         * benchtests/Rules (bench-deps): Collect dependencies into a
50356         single variable.  Add Makefile to dependencies.
50357         ($(objpfx)bench-%.c): Depend on bench-deps.
50359 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50360             Xavier Roche  <roche+kml2@exalead.com>
50362         [BZ #15361]
50363         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50364         just that it's a file descriptor.
50365         * manual/llio.texi (Synchronizing AIO Operations): Update description
50366         for EBADF error from aio_fsync.
50368 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50370         * Rules (bench): Move target definition...
50371         * benchtests/Makefile: ... here.
50373 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50375         * math/libm-test.inc (cos_test): Fix PI/2 test.
50376         (sincos_test): Likewise.
50377         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50378         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50380 2013-04-11  Andreas Schwab  <schwab@suse.de>
50382         [BZ #13988]
50383         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50384         accept exponent character only when digits were seen.
50385         * stdio-common/Makefile (tests): Add bug26.
50386         * stdio-common/bug26.c: New file.
50388         [BZ #14293]
50389         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50390         non-freeable.
50392 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50394         * Makeconfig (rtld-prefix): Define built linker prefix.
50395         * Rules (run-bench): Use it.
50396         * math/Makefile (run-regen-ulps): Likewise.
50398         * Rules (bench): Remove eval.
50400 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50401             Roland McGrath  <roland@hack.frob.com>
50402             Ondrej Bilka  <neleai@seznam.cz>
50404         [BZ #15346]
50405         * time/getdate.c: Include ctype.h and alloca.h.
50406         (__getdate_r): Trim leading and trailing spaces of input.
50407         * time/tst-getdate.c (tests): Add tests with leading and
50408         trailing spaces.
50410 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50412         [BZ #14280]
50413         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50414         when computing value.
50416 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50418         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50419         Use testrun.sh to run libm tests.
50421         [BZ #15309]
50422         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50424 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50426         [BZ #15264]
50427         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50429 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50431         * Makefile.in (regen-ulps): New target.
50432         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50433         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50434         [ifneq (no,$(PERL)] (regen-ulps): New target.
50435         [ifeq (no,$(PERL)] (regen-ulps): New target.
50436         * math/libm-test.inc (ulps_file_name): Define.
50437         (output_dir): New variable.
50438         (options): Add "output-dir" option.
50439         (parse_opt): Handle 'o' case.
50440         (main): If output_dir is non-NULL use it as a prefix
50441         otherwise use "".
50442         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50444 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50446         [BZ #10060, #10062]
50447         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50448         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50449         fail configure if __sync_val_compare_and_swap is not inlined.
50450         * sysdeps/i386/configure: Regenerate.
50451         * configure.in: Build for i686 when configured for i386.
50452         * configure: Regenerate.
50453         * README: Remove i386 reference.
50455 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50457         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50458         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50460 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50462         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50463         (lmsnanval): New variables.
50464         (F): Add conversion tests.
50465         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50466         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50468         * stdio-common/tstdiomisc.c (F): Properly collect individual
50469         tests' results.
50471         [BZ #14686, #15336]
50472         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50473         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50474         Instead, use input NaN values or generate a qNaN by arithmetic
50475         operation.  Also fix bugs to comply with the standard.
50476         * math/libm-test.inc (remainder_test): Add more tests.
50478         [BZ #15335, #15342]
50479         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50480         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50481         input NaN values or generate a qNaN by arithmetic operation.
50483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50484         unreachable code.
50486         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50487         definitions.
50489 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50491         [BZ #14478]
50492         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50493         underflowed result.
50494         * math/s_cexpf.c (__cexpf): Likewise.
50495         * math/s_cexpl.c (__cexpl): Likewise.
50496         * math/libm-test.inc (cexp_test): Add more tests.
50498 2013-04-03  Andreas Schwab  <schwab@suse.de>
50500         [BZ #15330]
50501         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50502         order arrays from heap if bigger than alloca cutoff.
50504 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50506         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50507         (SNAN_TESTS_double): Refer to GCC PR56831.
50508         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50509         GCC PR56828.
50511 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50513         * Rules (bench): Move bench.out after the run is complete.
50515         * Rules (bench): Echo currently running benchmark.
50517         * benchtests/Makefile (bench): Add atan and slowatan.
50518         * benchtests/atan-inputs: New file.
50519         * benchtests/slowatan-inputs: New file.
50520         * benchtests/slowatan.c: New file.
50522         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50523         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50524         its value.
50526         [BZ #15305]
50527         * sysdeps/unix/sysv/linux/kernel-features.h
50528         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50529         __ASSUME_XFS_RESTRICTED_CHOWN.
50530         * sysdeps/unix/sysv/linux/pathconf.c
50531         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50532         Save and restore errno.
50534 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50536         [BZ #15327]
50537         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50538         arguments using __kernel_casinh.
50539         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50540         arguments using __kernel_casinhf.
50541         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50542         arguments using __kernel_casinhl.
50543         * math/libm-test.inc (cacosh_test): Add more tests.
50544         * sysdeps/i386/fpu/libm-test-ulps: Update.
50545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50547 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50549         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50552         * bench/Makefile (bench): Add sin and slowsin.
50553         * benchtests/sin-inputs: New file.
50554         * benchtests/slowsin-inputs: New file.
50555         * benchtests/slowsin.c: New file.
50557         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50558         (bench): Add slowexp and slowpow.
50559         (exp-ITER): Increase iterations.
50560         (pow-ITER): Likewise.
50561         * benchtests/exp-inputs: Change input.
50562         * benchtests/pow-inputs: Likewise.
50563         * benchtests/slowexp-inputs: New file.
50564         * benchtests/slowexp.c: New file.
50565         * benchtests/slowpow-inputs: New file.
50566         * benchtests/slowpow.c: New file.
50568 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50570         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50571         instructions.
50572         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50573         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50574         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50575         * benchtests/Makefile: Add rint benchtest.
50576         * benchtests/rint-inputs: Input for rint benchtest.
50578 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50580         * Versions.def (libm): Add GLIBC_2.18.
50581         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50582         hidden libm prototypes.
50583         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50584         * math/Makefile (libm-calls): Add s_issignaling.
50585         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50586         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50587         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50588         declaration.
50589         * math/math.h [__USE_GNU] (issignaling): New macro.
50590         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50591         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50593         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50594         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50596         * manual/arith.texi (issignaling): New section.
50597         * manual/libm-err-tab.pl (@all_functions): Update comment.
50598         * math/gen-libm-test.pl (parse_args): Apply special handling for
50599         issignaling.
50600         * math/libm-test.inc (print_float, issignaling_test): New
50601         functions.
50602         (check_float_internal): Add issignaling checks.
50603         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50604         default definition.
50605         * sysdeps/powerpc/math-tests.h: New file.
50606         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50607         tests.
50608         * math/test-snan.c (TEST_FUNC): Likewise.
50610 2013-03-30  David S. Miller  <davem@davemloft.net>
50612         * po/de.po: Update from translation team.
50614 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50616         [BZ #10357]
50617         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50618         imaginary part less than 1.0 and real part less than 0.5
50619         specially.
50620         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50621         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50622         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50623         (cacos_test): Add more tests.
50624         (casin_test): Likewise.
50625         (casinh_test): Likewise.
50626         * sysdeps/i386/fpu/libm-test-ulps: Update.
50627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50629 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50631         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50632         ONE with its value.
50634         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50635         (__pow_mp): Replace ONE and MONE with their values.
50636         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50637         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50638         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50639         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50640         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50641         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50643         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50645         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50646         (__pow_mp): Replace ZERO and MZERO with their values.
50647         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50648         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50649         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50651         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50652         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50653         (__sqr): Likewise.
50655         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50657         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50659 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50661         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50662         Declare with __attribute__ ((weak)).
50663         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50664         Call __call_tls_dtors only if it's not NULL.
50666 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50668         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50669         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50670         magic __ehdr_start linker symbol if it's defined.
50671         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50672         them up here if it was already done.
50674         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50675         (_dl_aux_init): Use const in cast when setting it.
50676         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50677         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50678         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50680         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50681         Declare them here.
50682         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50683         * csu/libc-tls.c: Nor here.
50684         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50686         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50687         (__libc_message): Never call vsyslog.
50689 2013-03-28  Alan Modra  <amodra@gmail.com>
50691         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50692         Define as empty.
50693         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50694         Likewise.
50696 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50698         [BZ #15214]
50699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50700         underflow.
50701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50703 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50705         [BZ #15304]
50706         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50707         Don't add gid passed as argument.
50709         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50711 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50713         [BZ #15307]
50714         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50715         imaginary part between 1.0 and 1.5 and real part less than 0.5
50716         specially.
50717         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50718         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50719         * math/libm-test.inc (cacos_test): Add more tests.
50720         (casin_test): Likewise.
50721         (casinh_test): Likewise.
50722         * sysdeps/i386/fpu/libm-test-ulps: Update.
50723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50725 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50727         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50728         constants.
50729         (norm): Likewise.
50730         (denorm): Likewise.
50731         (__dbl_mp): Likewise.
50732         (add_magnitudes): Likewise.
50733         (sub_magnitudes): Likewise.
50734         (__add): Likewise.
50735         (__sub): Likewise.
50736         (__mul): Likewise.
50737         (__sqr): Likewise.
50738         (__inv): Likewise.
50739         (__dvd): Likewise.
50741         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50742         commented code.
50743         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50744         (__dubcos): Likewise.
50745         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50746         (__ieee754_acos): Likewise.
50747         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50748         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50749         (__exp1): Likewise.
50750         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50752         (log1): Likewise.
50753         (my_log2): Likewise.
50754         (checkint): Likewise.
50755         * sysdeps/ieee754/dbl-64/e_remainder.c
50756         (__ieee754_remainder): Likewise.
50757         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50759         (bsloww): Likewise.
50760         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50762         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50763         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50764         MANTISSA_STORE_T to store computations on mantissa.  Use
50765         macros for rounding and division.
50766         (denorm): Likewise.
50767         (__dbl_mp): Likewise.
50768         (add_magnitudes): Likewise.
50769         (sub_magnitudes): Likewise.
50770         (__mul): Likewise.
50771         (__sqr): Likewise.
50772         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50773         powers of two in terms of TWOPOW macro.
50774         (mp_no): Make type of mantissa as MANTISSA_T.
50775         [!RADIXI]: Define RADIXI.
50776         [!TWO52]: Define TWO52.
50777         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50779 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50781         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50782         llroundl symbol when building for PPC32.
50784 2013-03-24  Mark H Weaver  <mhw@netris.org>
50786         * manual/arith.texi (Normalization Functions): Fix prototypes for
50787         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50789 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50791         [BZ #13889]
50792         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50793         high value to check if expl overflow.
50794         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50795         to check for underflow and overflow.
50796         * math/libm-test.inc: Add exp test.
50798 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50800         [BZ #11120]
50801         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50802         with NOT_IN_libc.
50804 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50806         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50807         symbol.
50809 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50811         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50812         wrap blocks consisting of several statements.
50814         * sysdeps/generic/math-tests.h: New file.
50815         * sysdeps/i386/fpu/math-tests.h: Likewise.
50816         * math/test-snan.c: Include it.
50817         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50819 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50821         [BZ #15285]
50822         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50823         (__ieee754_j0l): Do not improve calculations using cos of twice
50824         input for inputs above LDBL_MAX / 2.0L.
50825         (__ieee754_y0l): Likewise.
50826         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50827         (__ieee754_j1l): Do not improve calculations using cos of twice
50828         input for inputs above LDBL_MAX / 2.0L.
50829         (__ieee754_y1l): Likewise.
50830         * math/libm-test.inc (j0_test): Add another test.
50831         (j1_test): Likewise.
50832         (y0_test): Likewise.
50833         (y1_test): Likewise.
50834         * sysdeps/i386/fpu/libm-test-ulps: Update.
50836 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50838         * Rules ($(objpfx)bench-%.c): Include code from a C source
50839         file.
50841 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50843         [BZ #15287]
50844         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50845         imaginary part 1.0 and real part less than 0.5 specially.
50846         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50847         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50848         * math/libm-test.inc (cacos_test): Add more tests.
50849         (casin_test): Likewise.
50850         (casinh_test): Likewise.
50851         * sysdeps/i386/fpu/libm-test-ulps: Update.
50852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50854 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50856         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50857         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50859 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50861         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50862         * config.make.in (config-cflags-sse4): Remove variable.
50863         (config-cflags-avx): Likewise.
50864         (config-cflags-sse2avx): Likewise.
50865         (config-cflags-novzeroupper): Likewise.
50866         (config-asflags-i686): Likewise.
50867         (have-mfma4): Likewise.
50868         (have-as-vis3): Likewise.
50869         (MIG): Likewise.
50870         * configure.in (MIG): Do not AC_SUBST.
50871         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50872         (libc_cv_cc_sse4): Do not AC_SUBST.
50873         (libc_cv_cc_avx): Likewise.
50874         (libc_cv_cc_sse2avx): Likewise.
50875         (libc_cv_cc_novzeroupper): Likewise.
50876         (libc_cv_cc_fma4): Likewise.
50877         (libc_cv_as_i686): Likewise.
50878         (libc_cv_sparc_as_vis3): Likewise.
50879         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50880         LIBC_CONFIG_VAR.
50881         (config-asflags-i686): Likewise.
50882         (config-cflags-avx): Likewise.
50883         (config-cflags-sse2avx): Likewise.
50884         (have-mfma4): Likewise.
50885         (config-cflags-novzeroupper): Likewise.
50886         * sysdeps/mach/configure.in (MIG): Likewise.
50887         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50888         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50889         LIBC_CONFIG_VAR.
50890         (config-cflags-avx): Likewise.
50891         (config-cflags-sse2avx): Likewise.
50892         (have-mfma4): Likewise.
50893         (config-cflags-novzeroupper): Likewise.
50894         * configure: Regenerated.
50895         * sysdeps/i386/configure: Likewise.
50896         * sysdeps/mach/configure: Likewise.
50897         * sysdeps/sparc/configure: Likewise.
50898         * sysdeps/x86_64/configure: Likewise.
50900 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50902         [BZ #14812]
50903         * locale/programs/localedef.c (options): Put N_ translation marker
50904         on argument names, not just descriptions.
50906 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50908         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50910 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50912         [BZ #14176]
50913         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50915 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50917         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50918         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50919         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50920         [!BEFORE_ABORT] (before_abort): New function.
50921         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50922         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50923         (writev_for_fatal): New function.
50924         (WRITEV_FOR_FATAL): New macro; call that.
50925         (backtrace_and_maps): New function.
50926         (BEFORE_ABORT): New macro; call that.
50927         (struct str_list): Type removed.
50928         (__libc_message, __libc_fatal): Functions removed.
50929         Include <sysdeps/posix/libc_fatal.c> instead.
50931 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50933         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50934         constants.
50935         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50936         double constants.
50938 2013-03-19  Andreas Schwab  <schwab@suse.de>
50940         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50941         * sysdeps/gnu/configure: Regenerate.
50943         * configure.in: Substitute libc_cv_rtlddir.
50944         * configure: Regenerate.
50945         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50946         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50947         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50948         * elf/Makefile (install-others, CFLAGS-interp.c)
50949         (ldso_install, common-ldd-rewrite): Likewise.
50950         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50951         $(inst_slibdir)/$(rtld-installed-name).
50952         * scripts/rellns-sh: Add -p option.
50953         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50954         for source.
50956 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50958         * manual/nptl.texi: Renamed to ...
50959         * manual/threads.texi: ... this.
50960         * manual/Makefile (chapters): Update.
50962 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50964         [BZ #14812]
50965         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50966         on argument names, not just descriptions.
50967         * malloc/memusagestat.c (options): Likewise.
50968         * nss/getent.c (options): Likewise.
50970 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50972         [BZ #14812]
50973         * iconv/iconv_prog.c (options): Put N_ translation marker
50974         on argument names, not just descriptions.
50975         * iconv/iconvconfig.c (options): Likewise.
50977 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50979         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50980         implementation which is faster on all x86_64 architectures.
50981         Tested on AMD, Intel Nehalem, SNB, IVB.
50982         * sysdeps/x86_64/strnlen.S: Likewise.
50984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50985         Remove all multiarch strlen and strnlen versions.
50986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50987         Remove strlen and strnlen related parts.
50989         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50990         Inline strlen part.
50991         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50993         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50994         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50995         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50996         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50997         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50998         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51000 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51002         * manual/memory.texi (Malloc Tunable Parameters):
51003         Sort parameters alphabetically. Add comments for missing entries.
51005 2013-03-17  David S. Miller  <davem@davemloft.net>
51007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51009 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51011         [BZ #15283]
51012         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51013         for arguments at most half maximum finite value.
51014         * math/libm-test.inc (j0_test): Add more tests.
51015         (j1_test): Likewise.
51016         (y0_test): Likewise.
51017         (y1_test): Likewise.
51018         * sysdeps/i386/fpu/libm-test-ulps: Update.
51019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51021         [BZ #14155]
51022         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51023         1 / x and functions P and Q for arguments above 0x1p256L.
51024         (__ieee754_y0l): Likewise.
51025         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51026         (__ieee754_y1l): Likewise.
51027         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51028         (j1_test): Likewise.
51029         (y0_test): Likewise.
51030         (y1_test): Likewise.
51032 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51034         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51035         variable.
51037 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51039         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51040         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51041         zero since it's initialized to EXEC_PAGESIZE.
51043         * sysdeps/unix/sysv/linux/ldsodefs.h
51044         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51045         * sysdeps/generic/ldsodefs.h: ... here.
51047 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51049         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51051         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51052         math/test-snan.c.
51053         * math/test-snan.c: Renamed from
51054         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51055         * math/Makefile (tests): Add test-snan.
51056         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51057         test-powerpc-snan.
51059         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51060         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51061         functions.
51062         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51063         __builtin_nan family of functions.
51064         * math/libm-test.inc (initialize): Initialize qnan_value with
51065         __builtin_nan family of functions.
51066         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51067         Remove variables.
51068         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51069         Remove functions.
51070         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51071         storage class.  Initialize qNaN_var and sNaN_var with
51072         __builtin_nan and __builtin_nans families of functions,
51073         respectively.
51075         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51076         (sqrt_test): Remove duplicate test with qNaN input.
51077         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51078         (round_test, signbit_test, significand_test): Note missing +/-Inf
51079         as well as qNaN tests.
51081         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51082         qNaN_var.  Fix a few strings, too.
51083         * math/libm-test.inc (nan_value): Rename to qnan_value.
51084         * math/gen-libm-test.pl (%beautify): Adjust to that.
51085         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51086         * math/test-misc.c (main): Likewise.
51087         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51088         to __qnan_bytes, and __qnan_union, respectively.
51089         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51090         Likewise.
51091         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51092         and lqnanval, respectively.
51093         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51094         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51095         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51096         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51098         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51099         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51100         doubles.
51102         * math/test-misc.c (main): Fix copy'n'pastos.
51103         * misc/tst-efgcvt.c (special): Likewise.
51105         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51106         Remove declarations.
51108 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51110         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51111         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51112         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51113         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51115 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51117         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51118         macro to return vdso values correctly in IFUNC implementations.
51119         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51120         Optimization by using IFUNC.
51122 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51123             Richard Henderson  <rth@redhat.com>
51124             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51126         * Makefile.in (bench): New target.
51127         * NEWS: Mention the benchmark framework.
51128         * Rules (bench): Likewise.
51129         (binaries-bench): Generate binaries for functions to
51130         benchmark.
51131         * benchtests/Makefile: New makefile for benchmark tests.
51132         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51133         programs.
51134         * benchtests/exp-inputs: New input file for EXP function.
51135         * benchtests/pow-inputs: New input file for POW function.
51136         * scripts/bench.pl: New script to generate source files for
51137         benchmark programs.
51139 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51141         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51142         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51143         computations on mantissa.  Use macros for rounding and
51144         division.
51145         (denorm): Likewise.
51146         (__dbl_mp): Likewise.
51147         (add_magnitudes): Likewise.
51148         (sub_magnitudes): Likewise.
51149         (__mul): Likewise.
51150         (__sqr): Likewise.
51151         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51152         powers of two in terms of TWOPOW macro.
51153         (mp_no): Make type of mantissa as MANTISSA_T.
51154         [!RADIXI]: Define RADIXI.
51155         [!TWO52]: Define TWO52.
51156         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51158         * manual/nptl.texi (cindex): Modify threads to pthreads.
51160 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51162         * sysdeps/x86_64/preconfigure: Regenerated.
51164 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51166         [BZ #14155]
51167         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51168         0x1p28 and above.
51169         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51170         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51171         0x1p28 and above.
51172         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51173         * math/libm-test.inc (j0_test): Do not allow one spurious
51174         underflow exception.
51175         (y1_test): Likewise.
51177 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51179         * manual/Makefile (chapters): Add nptl.
51180         * manual/debug.texi (Debugging Support): Add link to Threads
51181         chapter.
51182         * manual/nptl.texi: New file.
51184         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51186 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51188         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51189         for non-NULL pointer before the memory validity test. Pointed
51190         out by Holger Brunck <holger.brunck@keymile.com>.
51192 2013-03-13  Andreas Schwab  <schwab@suse.de>
51194         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51195         instead of .os.
51197 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51199         * timezone/zic.c: Update from tzcode 2013b.
51201 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51203         * manual/install.texi (Configuring and compiling):
51204         Mention i686 and i586.
51205         * INSTALL: Regenerate.
51207 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51209         * sysdeps/init_array/elf-init.c: New file.
51210         * csu/elf-init.c
51211         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51212         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51214         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51215         __gmon_start__ as global, but as static with a .preinit_array pointer.
51216         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51217         * sysdeps/init_array/crti.S: New file, empty except for comments.
51218         * sysdeps/init_array/crtn.S: Likewise.
51220 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51222         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51223         definining bcopy.
51224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51225         Remove Prefer_SSE_for_memop.
51226         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51227         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51228         HAS_PREFER_SSE_FOR_MEMOP.
51229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51230         memset-x86-64.
51231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51232         Remove bzero, memset ifunc support.
51233         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51234         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51235         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51236         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51238 2013-03-11  Andreas Schwab  <schwab@suse.de>
51240         [BZ #15234]
51241         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51242         by SHLIB_COMPAT.
51243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51244         (GLIBC_2.16): Remove pthread_atfork.
51246 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51248         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51249         (ptestcases.h): Likewise.
51251 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51253         * Makeconfig ($(common-objpfx)config.status): Depend on
51254         sysdeps/*/preconfigure{,.in} too.
51256 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51258         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51259         (__free_hook): Use void * instead of __malloc_ptr_t.
51260         (__malloc_hook): Likewise.
51261         (__realloc_hook): Likewise.
51262         (__memalign_hook): Likewise.
51263         (__after_morecore_hook): Likewise.
51264         * malloc/arena.c (save_malloc_hook): Likewise.
51265         (save_free_hook): Likewise.
51266         * malloc/hooks.c (malloc_hook_ini): Likewise.
51267         (realloc_hook_ini): Likewise.
51268         (memalign_hook_ini): Likewise.
51269         * malloc/malloc.c (malloc_hook_ini): Likewise.
51270         (realloc_hook_ini): Likewise.
51271         (memalign_hook_ini): Likewise.
51272         (__free_hook): Likewise.
51273         (__malloc_hook): Likewise.
51274         (__realloc_hook): Likewise.
51275         (__memalign_hook): Likewise.
51276         (__libc_malloc): Likewise.
51277         (__libc_free): Likewise.
51278         (__libc_realloc): Likewise.
51279         (__libc_memalign): Likewise.
51280         (__libc_valloc): Likewise.
51281         (__libc_pvalloc): Likewise.
51282         (__libc_calloc): Likewise.
51283         (__posix_memalign): Likewise.
51284         * malloc/morecore.c (__sbrk): Likewise.
51285         (__default_morecore): Likewise.
51287         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51289         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51290         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51291         __malloc_ptrdiff_t.
51293         * malloc/malloc.h (__malloc_size_t): Remove macro.
51294         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51295         __malloc_size_t.
51296         (old_memalign_hook): Likewise.
51297         (old_realloc_hook): Likewise.
51298         (struct hdr): Likewise.
51299         (flood): Likewise.
51300         (mallochook): Likewise.
51301         (memalignhook): Likewise.
51302         (reallochook): Likewise.
51303         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51304         (tr_old_realloc_hook): Likewise.
51305         (tr_old_memalign_hook): Likewise.
51306         (tr_mallochook): Likewise.
51307         (tr_reallochook): Likewise.
51308         (tr_memalignhook): Likewise.
51310 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51312         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51313         default_ldbl_pack and using as default implementation.
51314         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51315         implementation.
51316         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51317         redundant definition.
51318         (ldbl_insert_mantissa): Likewise.
51319         (ldbl_canonicalize): Likewise.
51320         (ldbl_nearbyint): Likewise.
51321         (ldbl_pack): Rename to ldbl_pack_ppc.
51322         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51323         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51324         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51326 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51329         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51330         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51331         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51333         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51334         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51335         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51337 2013-03-07  Andreas Jaeger  <aj@suse.de>
51339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51340         bits/mman-linux.h.
51342 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51344         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51345         Include mpa.h and declare __MPEXP.
51346         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51347         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51348         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51349         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51350         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51351         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51352         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51354         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51355         (__slowpow): Use long double EXPL and LOGL functions to
51356         compute POW.
51357         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51358         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51359         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51360         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51361         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51362         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51364         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51365         intermediate variable to calculate exponent.
51366         (__sqr): Likewise.
51367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51368         Likewise.
51369         (__sqr): Likewise.
51371         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51372         [!NO__SQR]: Define __sqr.
51373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51374         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51375         sysdeps/ieee754/dbl-64/mpa.c.
51376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51378         [BZ #12723]
51379         * posix/Makefile (tests): Add tst-pathconf.
51380         * posix/tst-pathconf.c: New test case.
51381         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51382         _PC_PIPE_BUF.
51383         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51385 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51387         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51389 2013-03-06  Andreas Jaeger  <aj@suse.de>
51391         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51392         definition via __MAP_ANONYMOUS.
51394         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51395         it's not part of Linux headers.
51397         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51398         (MAP_HUGE_MASK): Define.
51400         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51401         Define.
51402         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51403         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51404         Define.
51405         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51406         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51407         Define.
51408         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51409         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51410         Define.
51411         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51413         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51414         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51415         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51416         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51417         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51418         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51420         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51421         Handle f2fs.
51423         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51424         Handle f2fs and efivarfs.
51426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51427         f2fs.
51429         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51430         (EFIVARFS_MAGIC): Add.
51431         (F2FS_LINK_MAX): Add.
51433 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51435         * stdio-common/vfprintf.c: Replace __builtin_expect with
51436         __glibc_unlikely.
51438 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51440         [BZ #13550]
51441         * sysdeps/generic/bp-sym.h: Remove file.
51442         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51443         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51444         <bp-sym.h> and <bp-asm.h>.
51445         (__longjmp): Don't use BP_SYM.
51446         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51447         and <bp-asm.h>.
51448         (memcpy): Don't use BP_SYM.
51449         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51450         <bp-sym.h> and <bp-asm.h>.
51451         (memcpy): Don't use BP_SYM.
51452         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51453         <bp-asm.h>.
51454         (memcpy): Don't use BP_SYM.
51455         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51456         <bp-asm.h>.
51457         (memset): Don't use BP_SYM.
51458         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51459         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51460         (__bzero): Don't use BP_SYM.
51461         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51462         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51463         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51464         <bp-sym.h> and <bp-asm.h>.
51465         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51466         pointers.
51467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51468         <bp-sym.h> and <bp-asm.h>.
51469         (memcpy): Don't use BP_SYM.
51470         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51471         <bp-sym.h> and <bp-asm.h>.
51472         (memset): Don't use BP_SYM.
51473         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51474         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51475         (__bzero): Don't use BP_SYM.
51476         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51477         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51478         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51479         <bp-sym.h> and <bp-asm.h>.
51480         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51481         pointers.
51482         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51483         <bp-sym.h> and <bp-asm.h>.
51484         (memcpy): Don't use BP_SYM.
51485         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51486         <bp-sym.h> and <bp-asm.h>.
51487         (memset): Don't use BP_SYM.
51488         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51489         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51490         (__bzero): Don't use BP_SYM.
51491         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51492         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51493         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51494         <bp-sym.h> and <bp-asm.h>.
51495         (__memchr): Don't use BP_SYM.
51496         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51497         <bp-sym.h> and <bp-asm.h>.
51498         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51499         pointers.
51500         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51501         <bp-sym.h> and <bp-asm.h>.
51502         (memcpy): Don't use BP_SYM.
51503         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51504         <bp-sym.h> and <bp-asm.h>.
51505         (__mempcpy): Don't use BP_SYM.
51506         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51507         <bp-sym.h> and <bp-asm.h>.
51508         (__memrchr): Don't use BP_SYM.
51509         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51510         <bp-sym.h> and <bp-asm.h>.
51511         (memset): Don't use BP_SYM.
51512         (__bzero): Likewise.
51513         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51514         <bp-sym.h> and <bp-asm.h>.
51515         (__rawmemchr): Don't use BP_SYM.
51516         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51517         <bp-sym.h> and <bp-asm.h>.
51518         (__STRCMP): Don't use BP_SYM.
51519         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51520         <bp-sym.h> and <bp-asm.h>.
51521         (strchr): Don't use BP_SYM.
51522         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51523         <bp-sym.h> and <bp-asm.h>.
51524         (__strchrnul): Don't use BP_SYM.
51525         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51526         <bp-sym.h> and <bp-asm.h>.
51527         (strlen): Don't use BP_SYM.
51528         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51529         <bp-sym.h> and <bp-asm.h>.
51530         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51531         pointers.
51532         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51533         <bp-sym.h> and <bp-asm.h>.
51534         (__strnlen): Don't use BP_SYM.
51535         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51536         <bp-sym.h> and <bp-asm.h>.
51537         (__GI__setjmp): Don't use BP_SYM.
51538         (_setjmp): Likewise.
51539         (__sigsetjmp): Likewise.
51540         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51541         (L(start_addresses)): Don't use BP_SYM.
51542         (_start): Likewise.
51543         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51544         <bp-asm.h>.
51545         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51546         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51547         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51548         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51549         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51550         <bp-asm.h>.
51551         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51552         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51553         about bounded pointers.
51554         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51555         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51556         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51557         <bp-asm.h>.
51558         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51559         about bounded pointers.  Remove GKM FIXME comments.
51560         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51561         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51562         <bp-asm.h>.
51563         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51564         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51565         Remove GKM FIXME comments.
51566         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51567         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51568         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51569         <bp-asm.h>.
51570         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51571         about bounded pointers.  Remove GKM FIXME comment.
51572         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51573         and <bp-asm.h>.
51574         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51575         pointers.
51576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51577         <bp-sym.h> and <bp-asm.h>.
51578         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51580         <bp-sym.h> and <bp-asm.h>.
51581         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51582         comment.
51584 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51586         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51587         call free(NULL).
51589 2013-03-05  David S. Miller  <davem@davemloft.net>
51591         * po/es.po: Update from translation team.
51593 2013-03-05  Andreas Jaeger  <aj@suse.de>
51595         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51596         <bits/mman-linux.h>.
51597         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51598         is fine.
51599         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51600         <bits/mman-linux.h> to end of file.
51601         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51602         is fine.
51603         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51604         <bits/mman-linux.h> to end of file.
51605         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51606         is fine.
51607         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51608         <bits/mman-linux.h> to end of file.
51610         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51611         (MCL_CURRENT, MCL_FUTURE): Define here.
51613 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51615         [BZ #15232]
51616         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51617         attribute_hidden.
51618         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51620 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51622         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51623         fourth parameter needed for rt_sigprocmask syscall.
51624         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51625         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51626         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51627         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51628         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51629         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51631 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51633         [BZ #13550]
51634         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51635         comment about bounded pointers.
51636         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51637         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51639 2013-03-04  Andreas Jaeger  <aj@suse.de>
51641         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51642         common definitions.
51644         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51645         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51646         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51647         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51648         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51649         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51651 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51653         [BZ #15055]
51654         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51655         __ieee754_sqrl instead of __sqrl.
51657 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51659         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51660         * sysdeps/powerpc/fpu_control.h: ... here.
51661         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51662         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51663         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51664         * sysdeps/powerpc/bits/mathinline.h: ... here.
51666 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51668         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51669         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51670         to just [NEED_DL_SYSINFO_DSO].
51671         * elf/dl-support.c: Likewise.
51672         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51673         * elf/rtld.c (dl_main): Likewise.
51674         * elf/setup-vdso.h (setup_vdso): Likewise.
51675         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51676         * sysdeps/unix/sysv/linux/dl-sysdep.c
51677         (_dl_discover_osversion): Likewise.
51679 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51681         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51682         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51684 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51686         * NEWS: Mention libm performance improvements and non-x86 PI
51687         futex support.
51689         * csu/libc-start.c (__pthread_initialize_minimal): Change
51690         function arguments.
51691         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51693 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51695         [BZ #13550]
51696         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51697         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51698         <bp-sym.h> and <bp-asm.h>.
51699         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51700         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51701         and <bp-asm.h>.
51702         (memcpy): Don't use BP_SYM.
51703         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51704         <bp-asm.h>.
51705         (__mpn_add_n): Don't use BP_SYM.
51706         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51707         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51708         and <bp-asm.h>.
51709         (__mpn_addmul_1): Don't use BP_SYM.
51710         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51711         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51712         <bp-sym.h>.
51713         (_setjmp): Don't use BP_SYM.
51714         (__novmx_setjmp): Likewise.
51715         (__GI__setjmp): Likewise.
51716         (__vmx_setjmp): Likewise.
51717         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51718         <bp-sym.h>.
51719         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51720         (__bzero): Don't use BP_SYM.
51721         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51722         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51723         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51724         <bp-sym.h> and <bp-asm.h>.
51725         (memcpy): Don't use BP_SYM.
51726         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51727         <bp-sym.h> and <bp-asm.h>.
51728         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51729         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51730         <bp-sym.h> and <bp-asm.h>.
51731         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51732         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51733         <bp-asm.h>.
51734         (__mpn_lshift): Don't use BP_SYM.
51735         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51736         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51737         <bp-asm.h>.
51738         (memset): Don't use BP_SYM.
51739         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51740         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51741         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51742         <bp-asm.h>.
51743         (__mpn_mul_1): Don't use BP_SYM.
51744         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51746         <bp-sym.h> and <bp-asm.h>.
51747         (memcmp): Don't use BP_SYM.
51748         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51749         <bp-sym.h> and <bp-asm.h>.
51750         (memcpy): Don't use BP_SYM.
51751         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51752         <bp-sym.h> and <bp-asm.h>.
51753         (memset): Don't use BP_SYM.
51754         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51755         <bp-sym.h> and <bp-asm.h>.
51756         (strncmp): Don't use BP_SYM.
51757         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51758         <bp-sym.h> and <bp-asm.h>.
51759         (memcpy): Don't use BP_SYM.
51760         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51761         <bp-sym.h> and <bp-asm.h>.
51762         (memset): Don't use BP_SYM.
51763         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51764         <bp-sym.h> and <bp-asm.h>.
51765         (__memchr): Don't use BP_SYM.
51766         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51767         <bp-sym.h> and <bp-asm.h>.
51768         (memcmp): Don't use BP_SYM.
51769         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51770         <bp-sym.h> and <bp-asm.h>.
51771         (memcpy): Don't use BP_SYM.
51772         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51773         <bp-sym.h> and <bp-asm.h>.
51774         (__mempcpy): Don't use BP_SYM.
51775         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51776         <bp-sym.h> and <bp-asm.h>.
51777         (__memrchr): Don't use BP_SYM.
51778         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51779         <bp-sym.h> and <bp-asm.h>.
51780         (memset): Don't use BP_SYM.
51781         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51782         <bp-sym.h> and <bp-asm.h>.
51783         (__rawmemchr): Don't use BP_SYM.
51784         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51785         <bp-sym.h> and <bp-asm.h>.
51786         (__STRCMP): Don't use BP_SYM.
51787         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51788         <bp-sym.h> and <bp-asm.h>.
51789         (strchr): Don't use BP_SYM.
51790         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51791         <bp-sym.h> and <bp-asm.h>.
51792         (__strchrnul): Don't use BP_SYM.
51793         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51794         <bp-sym.h> and <bp-asm.h>.
51795         (strlen): Don't use BP_SYM.
51796         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51797         <bp-sym.h> and <bp-asm.h>.
51798         (strncmp): Don't use BP_SYM.
51799         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51800         <bp-sym.h> and <bp-asm.h>.
51801         (__strnlen): Don't use BP_SYM.
51802         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51803         <bp-asm.h>.
51804         (__mpn_rshift): Don't use BP_SYM.
51805         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51806         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51807         <bp-sym.h> and <bp-asm.h>.
51808         (__sigsetjmp): Don't use BP_SYM.
51809         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51810         (L(start_addresses)): Don't use BP_SYM.
51811         (_start): Likewise.
51812         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51813         <bp-asm.h>.
51814         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51815         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51816         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51817         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51818         <bp-asm.h>.
51819         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51820         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51821         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51822         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51823         <bp-asm.h>.
51824         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51825         comments.
51826         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51827         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51828         <bp-asm.h>.
51829         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51830         FIXME comments.
51831         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51832         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51833         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51834         <bp-asm.h>.
51835         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51836         comment.
51837         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51838         and <bp-asm.h>.
51839         (strncmp): Don't use BP_SYM,
51840         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51841         <bp-asm.h>.
51842         (__mpn_sub_n): Don't use BP_SYM.
51843         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51844         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51845         and <bp-asm.h>.
51846         (__mpn_submul_1): Don't use BP_SYM.
51847         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51849         <bp-sym.h> and <bp-asm.h>.
51850         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51852         <bp-sym.h> and <bp-asm.h>.
51853         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51854         comment.
51856 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51858         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51859         Use ZK to minimize writes to Z.
51860         (sub_magnitudes): Simplify code a bit.
51861         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51862         Use ZK to minimize writes to Z.
51863         (sub_magnitudes): Simplify code a bit.
51865 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51867         * csu/gmon-start.c: Add special exception to license text.
51869 2013-02-27  Richard Henderson  <rth@redhat.com>
51871         * scripts/config.guess: Update from config.git.
51872         * scripts/config.sub: Likewise.
51874 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51876         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51878         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51880         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51882         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51884         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51886 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51888         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51889         [$(build-shared = yes].
51891 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51893         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51894         (__mul): Reduce iterations for calculating mantissa.
51896         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51897         MPTWO.
51898         (__mpranred): Likewise.
51900         [BZ #15160]
51901         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51902         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51904 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51906         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51907         Define __attribute__.
51909 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51911         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51912         unused.
51913         * posix/regex_internal.h (__attribute): Remove.
51914         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51915         (re_string_context_at): Likewise.
51916         (bitset_not): Use __attribute__ and mark function as possibly
51917         unused.
51918         (bitset_merge): Likewise.
51919         (bitset_mask): Likewise.
51920         (re_string_char_size_at): Likewise.
51921         (re_string_wchar_at): Likewise.
51922         (re_string_elem_size_at): Likewise.
51924 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51926         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51927         code.
51928         (cc32): Likewise.
51930         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51931         (__acr): Likewise.
51932         (__cpy): Likewise.
51933         (norm): Likewise.
51934         (denorm): Likewise.
51935         (__dbl_mp): Likewise.
51936         (add_magnitudes): Likewise.
51937         (sub_magnitudes): Likewise.
51938         (__mul): Likewise.
51939         (__inv): Likewise.
51941         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51942         style.
51944         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51945         style.
51947         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51948         code.
51950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51951         up changes with default code.
51952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51953         Likewise.
51955 2013-02-24  Allan McRae  <allan@archlinux.org>
51957         * manual/socket.texi (The Internet Namespace): Order menu items
51958         to match that in the file.
51960         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51961         node listing of the info page menu.
51963 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51965         [BZ #13550]
51966         * sysdeps/i386/bp-asm.h: Remove file.
51967         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51968         (PARMS): Do not use macros from bp-asm.h.
51969         (S1): Likewise.
51970         (S2): Likewise.
51971         (SIZE): Likewise.
51972         (__mpn_add_n): Do not use BP_SYM
51973         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51974         "bp-asm.h".
51975         (PARMS): Do not use macros from bp-asm.h.
51976         (S1): Likewise.
51977         (SIZE): Likewise.
51978         (__mpn_addmul_1): Do not use BP_SYM
51979         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51980         "bp-asm.h".
51981         (PARMS): Do not use macros from bp-asm.h.
51982         (SIGMSK): Likewise.
51983         (_setjmp): Likewise.  Do not use BP_SYM.
51984         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51985         "bp-asm.h".
51986         (PARMS): Do not use macros from bp-asm.h.
51987         (SIGMSK): Likewise.
51988         (setjmp): Likewise.  Do not use BP_SYM.
51989         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51990         "bp-asm.h".
51991         (PARMS): Do not use macros from bp-asm.h.
51992         (__frexp): Do not use BP_SYM.
51993         (frexp): Likewise.
51994         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51995         "bp-asm.h".
51996         (PARMS): Do not use macros from bp-asm.h.
51997         (__frexpf): Do not use BP_SYM.
51998         (frexpf): Likewise.
51999         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52000         "bp-asm.h".
52001         (PARMS): Do not use macros from bp-asm.h.
52002         (__frexpl): Do not use BP_SYM.
52003         (frexpl): Likewise.
52004         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52005         "bp-asm.h".
52006         (PARMS): Do not use macros from bp-asm.h.
52007         (__remquo): Do not use BP_SYM.
52008         (remquo): Likewise.
52009         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52010         "bp-asm.h".
52011         (PARMS): Do not use macros from bp-asm.h.
52012         (__remquof): Do not use BP_SYM.
52013         (remquof): Likewise.
52014         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52015         "bp-asm.h".
52016         (PARMS): Do not use macros from bp-asm.h.
52017         (__remquol): Do not use BP_SYM.
52018         (remquol): Likewise.
52019         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52020         "bp-asm.h".
52021         (PARMS): Do not use macros from bp-asm.h.
52022         (DEST): Likewise.
52023         (SRC): Likewise.
52024         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52025         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52026         "bp-asm.h".
52027         (PARMS): Do not use macros from bp-asm.h.
52028         (strlen): Do not use BP_SYM.
52029         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52030         "bp-asm.h".
52031         (PARMS): Do not use macros from bp-asm.h.
52032         (S1): Likewise.
52033         (S2): Likewise.
52034         (SIZE): Likewise.
52035         (__mpn_add_n): Do not use BP_SYM.
52036         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52037         "bp-asm.h".
52038         (PARMS): Do not use macros from bp-asm.h.
52039         (S1): Likewise.
52040         (SIZE): Likewise.
52041         (__mpn_addmul_1): Do not use BP_SYM.
52042         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52043         weak_alias.
52044         (bzero): Likewise.
52045         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52046         "bp-asm.h".
52047         (PARMS): Do not use macros from bp-asm.h.
52048         (S): Likewise.
52049         (SIZE): Likewise.
52050         (__mpn_lshift): Do not use BP_SYM.
52051         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52052         "bp-asm.h".
52053         (PARMS): Do not use macros from bp-asm.h.
52054         (DEST): Likewise.
52055         (SRC): Likewise.
52056         (LEN): Likewise.
52057         (memcpy): Likewise.  Do not use BP_SYM.
52058         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52059         libc_hidden_def and weak_alias.
52060         (mempcpy): Do not use BP_SYM in weak_alias.
52061         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52062         "bp-asm.h".
52063         (PARMS): Do not use macros from bp-asm.h.
52064         (DEST): Likewise.
52065         (LEN): Likewise.
52066         [!BZERO_P] (CHR): Likewise.
52067         (memset): Likewise.  Do not use BP_SYM.
52068         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52069         "bp-asm.h".
52070         (PARMS): Do not use macros from bp-asm.h.
52071         (S1): Likewise.
52072         (SIZE): Likewise.
52073         (__mpn_mul_1): Do not use BP_SYM.
52074         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52075         "bp-asm.h".
52076         (PARMS): Do not use macros from bp-asm.h.
52077         (S): Likewise.
52078         (SIZE): Likewise.
52079         (__mpn_rshift): Do not use BP_SYM.
52080         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52081         "bp-asm.h".
52082         (PARMS): Do not use macros from bp-asm.h.
52083         (STR): Likewise.
52084         (CHR): Likewise.
52085         (strchr): Likewise.  Do not use BP_SYM.
52086         (index): Do not use BP_SYM in weak_alias.
52087         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52088         "bp-asm.h".
52089         (PARMS): Do not use macros from bp-asm.h.
52090         (DEST): Likewise.
52091         (SRC): Likewise.
52092         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52093         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52094         "bp-asm.h".
52095         (PARMS): Do not use macros from bp-asm.h.
52096         (strlen): Do not use BP_SYM.
52097         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52098         "bp-asm.h".
52099         (PARMS): Do not use macros from bp-asm.h.
52100         (S1): Likewise.
52101         (S2): Likewise.
52102         (SIZE): Likewise.
52103         (__mpn_sub_n): Do not use BP_SYM.
52104         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52105         "bp-asm.h".
52106         (PARMS): Do not use macros from bp-asm.h.
52107         (S1): Likewise.
52108         (SIZE): Likewise.
52109         (__mpn_submul_1): Do not use BP_SYM.
52110         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52111         "bp-asm.h".
52112         (PARMS): Do not use macros from bp-asm.h.
52113         (S1): Likewise.
52114         (S2): Likewise.
52115         (SIZE): Likewise.
52116         (__mpn_add_n): Do not use BP_SYM.
52117         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52118         weak_alias.
52119         (bzero): Likewise.
52120         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52121         "bp-asm.h".
52122         (PARMS): Do not use macros from bp-asm.h.
52123         (BLK2): Likewise.
52124         (LEN): Likewise.
52125         (memcmp): Do not use BP_SYM.
52126         (bcmp): Do not use BP_SYM in weak_alias.
52127         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52128         "bp-asm.h".
52129         (PARMS): Do not use macros from bp-asm.h.
52130         (DEST): Likewise.
52131         (SRC): Likewise.
52132         (LEN): Likewise.
52133         (memcpy): Likewise.  Do not use BP_SYM.
52134         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52135         "bp-asm.h".
52136         (PARMS): Do not use macros from bp-asm.h.
52137         (DEST): Likewise.
52138         (SRC): Likewise.
52139         (LEN): Likewise.
52140         (memmove): Likewise.  Do not use BP_SYM.
52141         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52142         "bp-asm.h".
52143         (PARMS): Do not use macros from bp-asm.h.
52144         (DEST): Likewise.
52145         (SRC): Likewise.
52146         (LEN): Likewise.
52147         (__mempcpy): Likewise.  Do not use BP_SYM.
52148         (mempcpy): Do not use BP_SYM in weak_alias.
52149         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52150         "bp-asm.h".
52151         (PARMS): Do not use macros from bp-asm.h.
52152         (DEST): Likewise.
52153         (LEN): Likewise.
52154         [!BZERO_P] (CHR): Likewise.
52155         (memset): Likewise.  Do not use BP_SYM.
52156         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52157         "bp-asm.h".
52158         (PARMS): Do not use macros from bp-asm.h.
52159         (STR2): Likewise.
52160         (strcmp): Do not use BP_SYM.
52161         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52162         "bp-asm.h".
52163         (PARMS): Do not use macros from bp-asm.h.
52164         (STR): Likewise.
52165         (DELIM): Likewise.
52166         [USE_AS_STRTOK_R] (SAVE): Likewise.
52167         (FUNCTION): Likewise.  Do not use BP_SYM.
52168         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52169         aliases.
52170         (strtok_r): Likewise.
52171         (__GI___strtok_r): Likewise.
52172         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52173         (PARMS): Do not use macros from bp-asm.h.
52174         (S): Likewise.
52175         (SIZE): Likewise.
52176         (__mpn_lshift): Do not use BP_SYM.
52177         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52178         (PARMS): Do not use macros from bp-asm.h.
52179         (STR): Likewise.
52180         (CHR): Likewise.
52181         (__memchr): Do not use BP_SYM.
52182         (memchr): Do not use BP_SYM in weak_alias.
52183         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52184         (PARMS): Do not use macros from bp-asm.h.
52185         (BLK2): Likewise.
52186         (LEN): Likewise.
52187         (memcmp): Do not use BP_SYM.
52188         (bcmp): Do not use BP_SYM in weak_alias.
52189         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52190         (PARMS): Do not use macros from bp-asm.h.
52191         (S1): Likewise.
52192         (SIZE): Likewise.
52193         (__mpn_mul_1): Do not use BP_SYM.
52194         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52195         "bp-asm.h".
52196         (PARMS): Do not use macros from bp-asm.h.
52197         (STR): Likewise.
52198         (CHR): Likewise.
52199         (__rawmemchr): Do not use BP_SYM.
52200         (rawmemchr): Do not use BP_SYM in weak_alias.
52201         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52202         (PARMS): Do not use macros from bp-asm.h.
52203         (S): Likewise.
52204         (SIZE): Likewise.
52205         (__mpn_rshift): Do not use BP_SYM.
52206         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52207         (PARMS): Do not use macros from bp-asm.h.
52208         (SIGMSK): Likewise.
52209         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52210         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52211         (_start): Do not use BP_SYM.
52212         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52213         (PARMS): Do not use macros from bp-asm.h.
52214         (DEST): Likewise.
52215         (SRC): Likewise.
52216         (__stpcpy): Likewise.  Do not use BP_SYM.
52217         (stpcpy): Do not use BP_SYM in weak_alias.
52218         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52219         "bp-asm.h".
52220         (PARMS): Do not use macros from bp-asm.h.
52221         (DEST): Likewise.
52222         (SRC): Likewise.
52223         (LEN): Likewise.
52224         (__stpncpy): Likewise.  Do not use BP_SYM.
52225         (stpncpy): Do not use BP_SYM in weak_alias.
52226         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52227         (PARMS): Do not use macros from bp-asm.h.
52228         (STR): Likewise.
52229         (CHR): Likewise.
52230         (strchr): Likewise.  Do not use BP_SYM.
52231         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52232         "bp-asm.h".
52233         (PARMS): Do not use macros from bp-asm.h.
52234         (STR): Likewise.
52235         (CHR): Likewise.
52236         (__strchrnul): Likewise.  Do not use BP_SYM.
52237         (strchrnul): Do not use BP_SYM in weak_alias.
52238         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52239         "bp-asm.h".
52240         (PARMS): Do not use macros from bp-asm.h.
52241         (STOP): Likewise.
52242         (strcspn): Do not use BP_SYM.
52243         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52244         "bp-asm.h".
52245         (PARMS): Do not use macros from bp-asm.h.
52246         (STR): Likewise.
52247         (STOP): Likewise.
52248         (strpbrk): Likewise.  Do not use BP_SYM.
52249         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52250         "bp-asm.h".
52251         (PARMS): Do not use macros from bp-asm.h.
52252         (STR): Likewise.
52253         (CHR): Likewise.
52254         (strrchr): Likewise.  Do not use BP_SYM.
52255         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52256         (PARMS): Do not use macros from bp-asm.h.
52257         (SKIP): Likewise.
52258         (strspn): Do not use BP_SYM.
52259         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52260         (PARMS): Do not use macros from bp-asm.h.
52261         (STR): Likewise.
52262         (DELIM): Likewise.
52263         (SAVE): Likewise.
52264         (FUNCTION): Likewise.  Do not use BP_SYM.
52265         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52266         aliases.
52267         (strtok_r): Likewise.
52268         (__GI___strtok_r): Likewise.
52269         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52270         (PARMS): Do not use macros from bp-asm.h.
52271         (S1): Likewise.
52272         (S2): Likewise.
52273         (SIZE): Likewise.
52274         (__mpn_sub_n): Do not use BP_SYM.
52275         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52276         "bp-asm.h".
52277         (PARMS): Do not use macros from bp-asm.h.
52278         (S1): Likewise.
52279         (SIZE): Likewise.
52280         (__mpn_submul_1): Do not use BP_SYM.
52281         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52282         <bp-sym.h>.
52283         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52284         and <bp-asm.h>.
52285         (PARMS): Do not use macros from bp-asm.h.
52286         (FLAGS): Likewise.
52287         (PTID): Likewise.
52288         (TLS): Likewise.
52289         (CTID): Likewise.
52290         (__clone): Do not use BP_SYM.
52291         (clone): Do not use BP_SYM in weak_alias.
52292         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52293         and <bp-asm.h>.
52294         (PARMS): Do not use macros from bp-asm.h.
52295         (LEN): Likewise.
52296         (__mmap64): Do not use BP_SYM.
52297         (mmap64): Do not use BP_SYM in weak_alias.
52298         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52299         <bp-sym.h> and <bp-asm.h>.
52300         (PARMS): Do not use macros from bp-asm.h.
52301         (__posix_fadvise64_l64): Do not use BP_SYM.
52302         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52303         (PARMS): Do not use macros from bp-asm.h.
52304         (NSOPS): Likewise.
52305         (semtimedop): Do not use BP_SYM.
52306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52307         and <bp-asm.h>.
52309 2013-02-21  Allan McRae  <allan@archlinux.org>
52311         * manual/message.texi (Charset conversion in gettext):
52312         Move @end statement to beginning of line.
52314 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52317         static.
52318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52319         Likewise.
52321         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52322         (denorm): Likewise.
52323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52324         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52326 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52328         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52329         tail-call to the resolved function if pltexit isn't needed.
52331 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52334         or Y being zero as being unlikely.
52335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52336         Likewise.
52338 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52340         * manual/nss.texi (System Databases and Name Service Switch):
52341         Remove frobnicate @pxref.
52343 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52345         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52346         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52348 2013-02-20  Petr Machata  <pmachata@redhat.com>
52350         * elf/elf.h (R_ARM_TARGET1): New macro.
52351         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52352         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52353         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52354         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52355         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52356         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52357         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52358         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52359         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52360         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52361         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52362         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52363         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52364         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52365         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52366         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52367         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52368         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52369         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52370         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52371         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52372         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52373         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52374         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52375         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52376         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52377         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52378         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52379         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52380         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52381         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52382         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52383         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52384         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52385         (R_ARM_THM_GOT_BREL12): Likewise.
52386         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52387         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52388         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52389         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52390         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52391         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52392         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52393         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52394         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52396 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52398         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52399         __attribute_used__ to __attribute__ ((unused)).
52401 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52403         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52404         powerpc mpa.c.
52405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52406         comment formatting.
52407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52409 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52411         [BZ #13550]
52412         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52413         Remove macro.
52414         (ENTER): Remove both macro definitions.
52415         (LEAVE): Likewise.
52416         (CHECK_BOUNDS_LOW): Likewise.
52417         (CHECK_BOUNDS_HIGH): Likewise.
52418         (CHECK_BOUNDS_BOTH): Likewise.
52419         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52420         (RETURN_BOUNDED_POINTER): Likewise.
52421         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52422         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52423         (POP_ERRNO_LOCATION_RETURN): Likewise.
52424         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52425         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52426         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52427         macros.
52428         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52429         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52430         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52431         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52432         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52433         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52434         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52435         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52436         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52437         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52438         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52439         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52440         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52441         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52442         removed macros.
52443         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52444         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52445         macros.
52446         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52447         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52448         * sysdeps/i386/i586/memset.S (memset): Likewise.
52449         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52450         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52451         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52452         macros.
52453         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52454         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52455         Change uses of L(2) to L(out).
52456         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52457         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52458         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52459         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52460         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52461         removed macros.
52462         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52463         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52464         macros.
52465         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52466         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52467         (RETURN): Do not use macro LEAVE.
52468         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52469         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52470         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52471         * sysdeps/i386/i686/memset.S (memset): Likewise.
52472         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52473         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52474         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52475         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52476         Likewise.
52477         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52478         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52479         L(1_2) and L(1_3) into L(1).
52480         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52481         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52482         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52483         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52484         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52485         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52486         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52487         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52488         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52489         macros.
52490         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52491         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52492         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52493         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52494         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52495         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52496         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52497         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52498         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52499         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52500         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52501         * sysdeps/i386/strspn.S (strspn): Likewise.
52502         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52503         conditional code.
52504         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52505         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52506         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52507         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52508         L(1_3) into L(1_1).
52509         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52510         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52511         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52512         macros.
52513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52515 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52517         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52518         macro.
52520 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52522         * math/atest-exp.c (exp_mpn): Remove ROUND.
52523         * math/atest-exp2.c (exp_mpn): Likewise.
52524         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52526         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52527         * stdlib/tst-tls-atexit-lib.c: Likewise.
52528         * stdlib/tst-tls-atexit.c: Likewise.
52530 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52532         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52533         and __attribute_alloc_size__.
52535 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52537         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52538         __attribute_alloc_size__.
52539         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52540         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52542 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52544         * include/programs/xmalloc.h: New file.
52545         * catgets/gencat.c: Include it.
52546         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52547         * elf/pldd.c: Likewise.
52548         * iconv/iconv_charmap.c: Likewise.
52549         * iconv/iconvconfig.c: Likewise.
52550         * iconv/strtab.c: Likewise.
52551         * locale/programs/locale.c: Likewise.
52552         * locale/programs/localedef.h: Likewise.
52553         * locale/programs/simple-hash.c: Likewise.
52554         * nscd/nscd.h: Likewise.
52555         * nss/makedb.c: Likewise.
52556         * sysdeps/generic/ldconfig.h: Likewise.
52558 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52560         * Versions.def: Add GLIBC_2.18.
52561         * include/link.h (struct link_map): New member l_tls_dtor_count.
52562         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52563         (__call_tls_dtors): Likewise.
52564         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52565         __cxa_thread_atexit_impl.
52566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52567         Likewise.
52568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52569         Likewise.
52570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52571         Likewise.
52572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52573         Likewise.
52574         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52576         Likewise.
52577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52578         Likewise.
52579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52581         Likewise.
52582         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52583         (tests): Add test case tst-tls-atexit.
52584         (modules-names): Add shared library for tst-tls-atexit.
52585         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52586         (GLIBC_PRIVATE): Add __call_tls_dtors.
52587         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52588         for libstdc++.
52589         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52590         * stdlib/tst-tls-atexit.c: New test case.
52591         * stdlib/tst-tls-atexit-lib.c: New test case.
52593         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52595         * elf/Versions (ld): Add _dl_find_dso_for_object.
52596         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52597         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52598         (dl_open_worker): Use _dl_find_dso_for_object.
52599         * elf/dl-sym.c (do_sym): Likewise.
52600         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52602 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52604         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52605         Syntactic changes only.
52606         (_dl_runtime_profile): Do a tail-call to the resolved function.
52608 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52610         [BZ #13550]
52611         * sysdeps/x86_64/bp-asm.h: Remove file.
52612         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52613         <bp-sym.h> and <bp-asm.h>.
52614         (__clone): Do not use BP_SYM.
52615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52616         <bp-sym.h> and <bp-asm.h>.
52617         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52618         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52619         "bp-asm.h".
52620         (_setjmp): Do not use BP_SYM.
52621         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52622         "bp-asm.h".
52623         (setjmp): Do not use BP_SYM.
52624         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52625         libc_hidden_def.
52626         (mempcpy): Do not use BP_SYM in weak_alias.
52627         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52628         "bp-asm.h".
52629         (strchr): Do not use BP_SYM.
52630         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52631         "bp-asm.h".
52632         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52633         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52634         (_start): Do not use BP_SYM.
52635         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52636         "bp-asm.h".
52637         (strcat): Do not use BP_SYM.
52638         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52639         "bp-asm.h".
52640         (STRCMP): Do not use BP_SYM.
52641         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52642         "bp-asm.h".
52643         (STRCPY): Do not use BP_SYM.
52644         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52645         "bp-asm.h".
52646         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52647         "bp-asm.h".
52648         (FUNCTION): Do not use BP_SYM.
52649         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52650         weak_alias.
52651         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52653 2013-02-17  Andreas Jaeger  <aj@suse.de>
52655         * time/Versions: Sort entries.
52656         * string/Versions: Likewise.
52657         * resolv/Versions: Likewise.
52658         * posix/Versions: Likewise.
52659         * iconv/Versions: Likewise.
52660         * elf/Versions: Likewise.
52661         * wcsmbs/Versions: Likewise.
52663 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52665         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52666         loop termination condition.
52668         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52669         variable to calculate EZ.
52670         (__sqr): Likewise.
52672         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52673         the lower precision input.
52675 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52677         [BZ #13550]
52678         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52679         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52680         (run-via-rtld-prefix): Do not handle %-bp tests.
52681         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52682         (all-object-suffixes): Remove .ob.
52683         (bppfx): Remove variable.
52684         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52685         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52686         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52687         [$(build-bounded) = yes] (libtype.ob): Likewise.
52688         * Makerules (elide-routines.ob): Remove variable.
52689         (do-tests-clean): Do not handle *-bp.out.
52690         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52691         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52692         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52693         (tests): Do not include $(tests-bp.out).
52694         (xtests): Do not include $(xtests-bp.out).
52695         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52696         [$(build-bounded) = yes] ($(addprefix
52697         $(objpfx),$(binaries-bounded))): Remove rule.
52698         ($(objpfx)%-bp.out): Remove rule.
52699         * config.make.in (build-bounded): Remove variable.
52700         * crypt/Makefile [$(build-bounded) = yes]
52701         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52702         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52703         append to variable.
52704         [$(build-bounded) = yes] (install-lib): Likewise.
52705         [$(build-bounded) = yes] (generated): Likewise.
52706         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52707         Remove rule.
52708         * intl/Makefile [$(build-bounded) = yes]
52709         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52710         * math/Makefile [$(build-bounded) = yes]
52711         ($(tests:%=$(objpfx)%-bp): Likewise.
52712         * misc/Makefile [$(build-bounded) = yes]
52713         ($(objpfx)tst-tsearch-bp): Likewise.
52714         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52715         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52716         Remove dependency.
52717         * string/Makefile (o-objects.ob): Remove variable.
52718         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52719         (CFLAGS-.ob): Remove variable.
52720         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52721         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52722         both definitions of variable.
52723         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52724         (ASFLAGS-.ob): Remove variable.
52726 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52728         [BZ #13550]
52729         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52730         Remove __BOUNDED_POINTERS__ from condition.
52731         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52732         * string/bits/string2.h [!__NO_STRING_INLINES &&
52733         !__BOUNDED_POINTERS__]: Likewise.
52734         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52735         Likewise.
52736         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52737         Remove conditional code.
52738         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52739         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52740         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52741         condition.
52743         [BZ #13550]
52744         * csu/libc-start.c: Do not include <bp-sym.h>.
52745         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52746         * elf/dl-open.c: Do not include <bp-sym.h>.
52747         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52748         * math/fegetenv.c: Do not include <bp-sym.h>.
52749         (fegetenv): Do not use BP_SYM in versioned symbols.
52750         * nptl/sysdeps/pthread/bits/libc-lockP.h
52751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52752         <bp-sym.h>.
52753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52754         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52756         (__pthread_mutex_destroy): Likewise.
52757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52758         (__pthread_mutex_lock): Likewise.
52759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52760         (__pthread_mutex_trylock): Likewise.
52761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52762         (__pthread_mutex_unlock): Likewise.
52763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52764         (__pthread_mutexattr_init): Likewise.
52765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52766         (__pthread_mutexattr_destroy): Likewise.
52767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52768         (__pthread_mutexattr_settype): Likewise.
52769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52770         (__pthread_rwlock_init): Likewise.
52771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52772         (__pthread_rwlock_destroy): Likewise.
52773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52774         (__pthread_rwlock_rdlock): Likewise.
52775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52776         (__pthread_rwlock_tryrdlock): Likewise.
52777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52778         (__pthread_rwlock_wrlock): Likewise.
52779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52780         (__pthread_rwlock_trywrlock): Likewise.
52781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52782         (__pthread_rwlock_unlock): Likewise.
52783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52784         (__pthread_key_create): Likewise.
52785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52786         (__pthread_setspecific): Likewise.
52787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52788         (__pthread_getspecific): Likewise.
52789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52790         Likewise.
52791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52792         (_pthread_cleanup_push_defer): Likewise.
52793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52794         (_pthread_cleanup_pop_restore): Likewise.
52795         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52796         (pthread_setcancelstate): Likewise.
52797         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52798         <bp-sym.h>.
52799         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52800         (memchr): Do not use BP_SYM in weak_alias.
52801         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52802         (fegetenv): Do not use BP_SYM in versioned symbols.
52803         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52804         (fesetenv): Do not use BP_SYM in versioned symbols.
52805         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52806         (feupdateenv): Do not use BP_SYM in versioned symbols.
52807         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52808         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52809         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52810         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52811         (open64): Do not use BP_SYM in weak_alias.
52812         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52813         (fegetenv): Do not use BP_SYM in versioned symbols.
52814         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52815         (fesetenv): Do not use BP_SYM in versioned symbols.
52816         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52817         (feupdateenv): Do not use BP_SYM in versioned symbols.
52818         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52819         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52820         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52821         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52822         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52823         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52824         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52825         <bp-sym.h>.
52826         (__libc_start_main): Do not use BP_SYM.
52828 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52831         redundant return line.
52832         (norm): Likewise.
52833         (denorm): Likewise.
52834         (dbl_mp): Likewise.
52835         (sub_magnitudes): Likewise.
52836         (__add): Likewise.
52837         (__sub): Likewise.
52838         (__mul): Likewise.
52839         (__inv): Likewise.
52840         (__dvd): Likewise.
52841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52842         (norm): Likewise.
52843         (denorm): Likewise.
52844         (dbl_mp): Likewise.
52845         (sub_magnitudes): Likewise.
52846         (__add): Likewise.
52847         (__sub): Likewise.
52848         (__mul): Likewise.
52849         (__inv): Likewise.
52850         (__dvd): Likewise.
52852         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52853         instead of __mul.
52854         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52855         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52856         (cc32): Likewise.
52858         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52859         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52861         of __mul for squares.
52862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52863         function
52864         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52865         Likewise.
52866         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52867         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52869 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52871         [BZ #13550]
52872         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52873         code.
52874         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52875         prototype or function definition.  Rename ubp_* variables and
52876         parameters.  Remove argv definitions conditional on
52877         [__BOUNDED_POINTERS__].
52878         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52879         * elf/dl-runtime.c (_dl_fixup): Likewise.
52880         * include/set-hooks.h (RUN_HOOK): Likewise.
52881         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52882         definition.
52883         * string/strcpy.c (strcpy): Do not use __unbounded.
52884         * sysdeps/generic/frame.h (struct layout): Likewise.
52885         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52886         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52887         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52888         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52889         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52890         (__backtrace): Likewise.
52891         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52892         use __ptrvalue.
52893         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52894         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52895         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52896         Likewise.
52897         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52898         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52899         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52900         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52901         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52902         Do not use __unbounded.
52903         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52904         Rename __unboundedrlimits parameter to rlimits in prototype.
52905         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52906         Do not use __unbounded.
52907         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52908         not use __ptrvalue.
52909         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52910         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52911         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52912         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52913         __ptrvalue or __unbounded.
52914         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52915         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52916         use __unbounded.
52917         (__new_msgctl): Do not use __ptrvalue.
52918         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52919         __unbounded.
52920         (__libc_msgrcv): Do not use __ptrvalue.
52921         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52922         startup_info): Do not use __unbounded.
52923         (__libc_start_main): Likewise.  Rename ubp_* variables and
52924         parameters.  Remove argv definitions conditional on
52925         [__BOUNDED_POINTERS__].
52926         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52927         __ptrvalue.
52928         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52929         use __unbounded.
52930         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52931         or __ptrvalue.
52932         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52933         use __unbounded.
52934         (__new_shmctl): Do not use __ptrvalue.
52935         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52936         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52937         Likewise.
52938         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52939         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52940         (__libc_sigaction): Likewise.
52941         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52942         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52943         Likewise.
52944         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52946 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52948         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52950         * string/mempcpy.c: Implement by calling memcpy.
52952 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52957         evaluation.
52959         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52960         values in the mantissa.
52962         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52963         minimize writes to Z.
52964         (sub_magnitudes): Simplify code a bit.
52966 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52968         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52969         from the message.  The linker prefixes all warnings with that already.
52971 2013-02-12  Andreas Schwab  <schwab@suse.de>
52973         [BZ #15078]
52974         * posix/regexec.c (extend_buffers): Add parameter min_len.
52975         (check_matching): Pass minimum needed length.
52976         (clean_state_log_if_needed): Likewise.
52977         (get_subexp): Likewise.
52978         * posix/Makefile (tests): Add bug-regex34.
52979         (bug-regex34-ENV): Define.
52980         * posix/bug-regex34.c: New file.
52982         [BZ #11561]
52983         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52984         elements compare against the byte sequence of it, not its name.
52985         * posix/Makefile (tests): Add bug-regex35.
52986         (bug-regex35-ENV): Define.
52987         * posix/bug-regex35.c: New file.
52989 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52991         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52992         comment.
52993         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52994         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52995         (CHECK_EOL): Add undef.
52997 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52999         * bits/stdlib-bsearch.h: New file.
53000         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53001         * stdlib/stdlib.h: Likewise.
53003 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53005         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53006         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53007         declaration.
53008         * manual/search.texi (Array Search Function): Add missing const in
53009         lfind prototype.
53010         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53011         declaration to use rlim_t.
53012         (Basic Scheduling Functions): Remove erroneous const from
53013         sched_getparam prototype.  Remove erroneous * from
53014         sched_get_priority_max and sched_get_priority_min prototypes.
53015         (Resource Usage): Fix summary @comment on vtimes to refer to
53016         sys/vtimes.h rather than vtimes.h.
53017         Add missing *s in vtimes prototype.
53018         (Limits on Resources): Fix ulimit prototype to return long int.
53019         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53020         prototypes to use long int rather than double.
53021         (BSD Random): Fix initstate and setstate to use char *, not void *.
53022         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53023         prototype to make second argument 'struct aiocb64 *const[]'.
53024         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53025         (Status of AIO Operations): Remove erroneous const in aio_return and
53026         aio_return64 prototypes.
53027         (Synchronizing I/O): Fix sync prototype to return void.
53028         * manual/startup.texi (Suboptions): Remove an erroneous const in
53029         getsubopt prototype.
53030         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53031         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53032         use size_t rather than int.
53033         (Scanning All Users): Likewise for getpwent_r.
53034         (Setting Groups): Add missing const to setgroups prototype.
53035         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53036         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53037         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53038         'const void *' rather than 'const char *'.
53039         (Host Address Functions): Likewise for inet_ntop.
53040         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53041         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53042         ssize_t for return value.
53043         (Sending Data): Likewise for send, sendto, sendmsg.
53044         (Socket Option Functions): Add a missing const in setsockopt prototype.
53045         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53046         use wchar_t for the argument.
53047         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53048         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53049         take no arguments.
53050         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53051         double/float/long double for second argument.
53052         Fix return types of significand, significandf, significandl.
53053         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53054         argument in fchmod prototype.
53055         (File Owner): Use uid_t and gid_t in fchown prototype.
53056         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53057         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53058         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53059         use 'const struct dirent **' as argument types to CMP function pointer
53060         argument.
53061         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53062         (File Times): Fix summary magic @comment for struct utimbuf and utime
53063         to refer to utime.h, not time.h.
53064         * manual/string.texi (Argz Functions): Add missing const in
53065         argz_extract and argz_next prototypes.
53066         (Finding Tokens in a String): Likewise for basename.
53067         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53068         (Copying and Concatenation): Fix typo in wmemmove prototype.
53069         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53070         (Signal Stack): Remove erroneous const in sigstack prototype.
53071         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53072         prototype.
53073         (Simple Calendar Time): Likewise for stime.
53074         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53075         prototype.
53076         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53077         say sys/sysctl.h instead.
53078         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53079         and vsyslog prototypes.
53081 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53083         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53084         Remove.
53086 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53088         * misc/sys/mman.h: Fix typo in mremap comment.
53090 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53092         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53093         the '\0' terminator.
53095 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53097         [BZ #13550]
53098         * debug/segfault.c: Don't include <bp-checks.h>.
53099         * sysdeps/generic/bp-checks.h: Remove file.
53100         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53101         (__GETDENTS): Don't use CHECK_N.
53102         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53103         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53104         (__getgroups): Don't use CHECK_N.
53105         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53106         (setgroups): Don't use CHECK_N.
53107         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53108         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53109         (__libc_msgrcv): Don't use CHECK_N.
53110         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53111         (__libc_msgsnd): Don't use CHECK_N.
53112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53113         <bp-checks.h>.
53114         (__libc_pread): Don't use CHECK_N.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53116         include <bp-checks.h>.
53117         (__libc_pread64): Don't use CHECK_N.
53118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53119         include <bp-checks.h>.
53120         (__libc_pwrite): Don't use CHECK_N.
53121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53122         include <bp-checks.h>.
53123         (__libc_pwrite64): Don't use CHECK_N.
53124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53125         <bp-checks.h>.
53126         (__libc_pread): Don't use CHECK_N.
53127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53128         include <bp-checks.h>.
53129         (__libc_pread64): Don't use CHECK_N.
53130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53131         include <bp-checks.h>.
53132         (__libc_pwrite): Don't use CHECK_N.
53133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53134         include <bp-checks.h>.
53135         (__libc_pwrite64): Don't use CHECK_N.
53136         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53137         (do_pread): Don't use CHECK_N.
53138         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53139         (do_pread64): Don't use CHECK_N.
53140         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53141         (do_pwrite): Don't use CHECK_N.
53142         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53143         (do_pwrite64): Don't use CHECK_N.
53144         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53145         (__libc_readv): Don't use CHECK_N.
53146         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53147         (semop): Don't use CHECK_N.
53148         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53149         <bp-checks.h>.
53150         (semtimedop): Don't use CHECK_N.
53151         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53152         (__libc_pread): Don't use CHECK_N.
53153         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53154         <bp-checks.h>.
53155         (__libc_pread64): Don't use CHECK_N.
53156         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53157         <bp-checks.h>.
53158         (__libc_pwrite): Don't use CHECK_N.
53159         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53160         <bp-checks.h>.
53161         (__libc_pwrite64): Don't use CHECK_N.
53162         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53163         <bp-checks.h>.
53164         (__libc_msgrcv): Don't use CHECK_N.
53165         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53166         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53167         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53168         (__libc_writev): Don't use CHECK_N.
53170 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53172         * string/strcpy.c: Removed unused variable.
53174         * Makeconfig (+sysdep-includes): Define with := rather than =.
53175         Use an existing include/ subdir of each sysdeps dir before it.
53177 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53179         * nscd/connection.c (register_traced_file): Comment function.
53180         [HAVE_INOTIFY] (union __inev): Define.
53181         [HAVE_INOTIFY] (inotify_check_files): New function.
53182         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53183         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53184         clear_db_cache.
53185         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53187 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53189         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53190         loaded if not already and that a failure is permanent.
53192 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53194         [BZ #15006]
53195         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53196         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53198 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53200         [BZ #13550]
53201         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53202         (CHECK_1_NULL_OK): Likewise.
53203         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53204         (__fxstat): Do not use CHECK_1.
53205         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53206         <bp-checks.h>.
53207         (___fxstat64): Do not use CHECK_1.
53208         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53209         <bp-checks.h>.
53210         (__fxstatat): Do not use CHECK_1.
53211         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53212         <bp-checks.h>.
53213         (__fxstatat64): Do not use CHECK_1.
53214         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53215         <bp-checks.h>.
53216         (__fxstat): Do not use CHECK_1.
53217         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53218         <bp-checks.h>.
53219         (__fxstatat): Do not use CHECK_1.
53220         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53221         <bp-checks.h>.
53222         (__getresgid): Do not use CHECK_1.
53223         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53224         <bp-checks.h>.
53225         (__getresuid): Do not use CHECK_1.
53226         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53227         <bp-checks.h>.
53228         (__lxstat): Do not use CHECK_1.
53229         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53230         <bp-checks.h>.
53231         (__old_msgctl): Do not use CHECK_1.
53232         (__new_msgctl): Likewise.
53233         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53234         <bp-checks.h>.
53235         (__new_setrlimit): Do not use CHECK_1.
53236         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53237         <bp-checks.h>.
53238         (__old_shmctl): Do not use CHECK_1.
53239         (__new_shmctl): Likewise.
53240         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53241         <bp-checks.h>.
53242         (__xstat): Do not use CHECK_1.
53243         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53244         (__lxstat): Do not use CHECK_1.
53245         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53246         <bp-checks.h>.
53247         (___lxstat64): Do not use CHECK_1.
53248         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53249         (__old_msgctl): Do not use CHECK_1.
53250         (__new_msgctl): Likewise.
53251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53252         <bp-checks.h>.
53253         (__gettimeofday): Do not use CHECK_1.
53254         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53255         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53256         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53257         <bp-checks.h>.
53258         (__gettimeofday): Do not use CHECK_1.
53259         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53260         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53261         (__new_shmctl): Do not use CHECK_1.
53262         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53263         <bp-checks.h>.
53264         (do_sigtimedwait): Do not use CHECK_1.
53265         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53266         <bp-checks.h>.
53267         (do_sigwaitinfo): Do not use CHECK_1.
53268         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53269         <bp-checks.h>.
53270         (msgctl): Do not use CHECK_1.
53271         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53272         <bp-checks.h>.
53273         (shmctl): Do not use CHECK_1.
53274         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53275         (ustat): Do not use CHECK_1.
53276         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53277         <bp-checks.h>.
53278         (__fxstat): Do not use CHECK_1.
53279         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53280         <bp-checks.h>.
53281         (__fxstatat): Do not use CHECK_1.
53282         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53283         <bp-checks.h>.
53284         (__lxstat): Do not use CHECK_1.
53285         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53286         <bp-checks.h>.
53287         (__xstat): Do not use CHECK_1.
53288         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53289         (__xstat): Do not use CHECK_1.
53290         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53291         (___xstat64): Do not use CHECK_1.
53293         [BZ #13550]
53294         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53295         definitions.
53296         (CHECK_BOUNDS_HIGH): Likewise.
53297         * string/strcpy.c: Do not include <bp-checks.h>.
53298         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53300 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53302         * nscd/nscd-client.h (__nscd_drop_map_ref):
53303         Add __attribute__ ((unused)).
53304         * nis/nss-nisplus.h (niserr2nss): Likewise.
53306         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53307         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53309         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53310         Remove inline keyword.
53311         * include/rounding-mode.h (round_away): Likewise.
53312         * libio/wfileops.c (adjust_wide_data): Likewise.
53313         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53314         (__m128i_strloadu_tolower): Likewise.
53315         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53316         (__m128i_strloadu_tolower): Likewise.
53317         * time/mktime.c (ydhms_diff): Likewise.
53318         * locale/elem-hash.h (elem_hash): Likewise.
53319         * locale/setlocale.c (setdata): Likewise.
53320         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53321         (re_string_wchar_at): Likewise.
53322         (bitset_not, bitset_merge, bitset_mask): Likewise.
53323         [!(__GNUC__ > 3)] (inline): Remove macro.
53324         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53325         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53326         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53327         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53328         * string/memcmp.c (memcmp_bytes): Likewise.
53329         * locale/programs/locarchive.c (compute_hashval): Likewise.
53330         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53331         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53332         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53333         * nss/getent.c (print_rpc, print_protocols): Likewise.
53334         (print_passwd, print_group, print_aliases): Likewise.
53335         * nis/nss-nisplus.h (niserr2nss): Likewise.
53336         * nscd/connections.c (restart_p): Likewise.
53337         Change return type to bool.
53339 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53341         * Makeconfig (all-Depend-files): Add existing
53342         $(sorted-subdirs:=/Depend) files.
53343         (all-subdirs): Remove nss.
53344         * sysdeps/unix/inet/Subdirs: Add it here instead.
53345         * hesiod/Depend: New file.
53347         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53348         instead of calling alloca.
53350         * io/lseek.c (__lseek): Rename to __libc_lseek.
53351         Define __lseek as an alias.
53353         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53355 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53357         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53358         else clause and remove check for non-standard endianness.
53360 2013-02-04  David S. Miller  <davem@davemloft.net>
53362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53364 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53366         [BZ #13550]
53367         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53368         (__ubp_memchr): Remove prototype.
53369         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53370         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53371         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53372         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53373         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53374         Remove alias.
53375         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53376         (__ubp_memchr): Likewise.
53377         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53378         (__ubp_memchr): Likewise.
53379         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53380         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53381         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53382         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53383         CHECK_STRING.
53384         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53385         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53386         (__getcwd): Do not use CHECK_STRING.
53387         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53388         <bp-checks.h>.
53389         (__real_chown): Do not use CHECK_STRING.
53390         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53391         <bp-checks.h>.
53392         (fchownat): Do not use CHECK_STRING.
53393         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53394         CHECK_STRING.
53395         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53396         <bp-checks.h>.
53397         (__lchown): Do not use CHECK_STRING.
53398         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53399         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53400         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53401         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53403         include <bp-checks.h>.
53404         (truncate64): Do not use CHECK_STRING.
53405         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53406         <bp-checks.h>.
53407         (__real_chown): Do not use CHECK_STRING.
53408         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53409         <bp-checks.h>.
53410         (__lchown): Do not use CHECK_STRING.
53411         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53412         <bp-checks.h>.
53413         (__chown): Do not use CHECK_STRING.
53414         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53415         <bp-checks.h>.
53416         (truncate64): Do not use CHECK_STRING.
53417         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53418         Likewise.
53419         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53420         (__xmknod): Do not use CHECK_STRING.
53421         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53422         <bp-checks.h>.
53423         (__xmknodat): Do not use CHECK_STRING.
53424         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53425         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53427 2013-02-04  Andreas Schwab  <schwab@suse.de>
53429         [BZ #14142]
53430         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53431         * include/netdb.h: Likewise for h_errno.
53432         * elf/tst-stackguard1.c: Include <tls.h>.
53434 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53436         * elf/link.h (struct link_map): Extend the l_addr comment.
53437         * include/link.h (struct link_map): Likewise.
53439 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53441         [BZ #13550]
53442         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53443         (BOUNDED_1): Remove macro.
53444         * debug/backtrace.c: Don't include <bp-checks.h>.
53445         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53446         (__backtrace): Likewise.
53447         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53448         <bp-checks.h>.
53449         (__backtrace): Don't use BOUNDED_1.
53450         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53451         <bp-checks.h>.
53452         (__backtrace): Don't use BOUNDED_1.
53453         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53454         (__backtrace): Don't use BOUNDED_1.
53455         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53456         (shmat): Don't use BOUNDED_N.
53458 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53460         [BZ #13550]
53461         * sysdeps/generic/bp-start.h: Remove file.
53462         * csu/libc-start.c: Don't include <bp-start.h>.
53463         (LIBC_START_MAIN): Set up __environ directly instead of using
53464         INIT_ARGV_and_ENVIRON.
53465         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53466         <bp-start.h>.
53468         [BZ #13550]
53469         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53470         definitions.
53471         (CHECK_FCNTL): Likewise.
53472         (CHECK_N_PAGES): Likewise.
53474         [BZ #13550]
53475         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53476         definitions.
53477         (CHECK_SIGSET_NULL_OK): Likewise.
53478         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53479         <bp-checks.h>.
53480         (sigpending): Don't use CHECK_SIGSET.
53481         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53482         <bp-checks.h>.
53483         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53484         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53485         <bp-checks.h>.
53486         (do_sigsuspend): Don't use CHECK_SIGSET.
53487         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53488         use CHECK_SIGSET.
53489         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53490         (do_sigwait): Don't use CHECK_SIGSET.
53491         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53492         use CHECK_SIGSET.
53493         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53494         include <bp-checks.h>.
53495         (sigpending): Don't use CHECK_SIGSET.
53496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53497         include <bp-checks.h>.
53498         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53499         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53500         <bp-checks.h>.
53501         (sigpending): Don't use CHECK_SIGSET.
53502         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53503         <bp-checks.h>.
53504         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53506         [BZ #13550]
53507         * sysdeps/generic/bp-semctl.h: Remove file.
53508         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53509         <bp-checks.h> and <bp-semctl.h>.
53510         (__old_semctl): Don't use CHECK_SEMCTL.
53511         (__new_semctl): Likewise.
53512         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53513         and <bp-semctl.h>.
53514         (__old_semctl): Don't use CHECK_SEMCTL.
53515         (__new_semctl): Likewise.
53516         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53517         <bp-checks.h> and <bp-semctl.h>.
53518         (__old_semctl): Don't use CHECK_SEMCTL.
53519         (__new_semctl): Likewise.
53520         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53521         <bp-checks.h> and <bp-semctl.h>.
53522         (semctl): Don't use CHECK_SEMCTL.
53524         [BZ #13550]
53525         * Makerules (elide-bp-thunks): Remove variable.
53526         (elide-routines.oS): Don't use $(elide-bp-thunks).
53527         (elide-routines.os): Likewise.
53528         (elide-routines.o): Likewise.
53529         (elide-routines.op): Likewise.
53530         (elide-routines.og): Likewise.
53531         (objects): Don't use $(bp-thunks).
53532         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53533         include.
53534         (common-generated): Do not add s-proto-bp.d.
53535         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53536         (int): Likewise.
53537         (typ): Likewise.
53538         Do not generate makefile rules for bounded-pointer thunks.
53539         * sysdeps/generic/bp-thunks.h: Remove file.
53540         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53541         * sysdeps/unix/s-proto-bp.S: Likewise.
53543         [BZ #15062]
53544         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53545         parts of result separately when argument is not close to line from
53546         -i to i and one part of argument is small.
53547         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53548         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53549         * math/libm-test.inc (cacos_test): Add more tests.
53550         (casin_test): Likewise.
53551         (casinh_test): Likewise.
53552         * sysdeps/i386/fpu/libm-test-ulps: Update.
53553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53555 2013-01-31  David S. Miller  <davem@davemloft.net>
53557         * po/de.po: Update from translation team.
53559 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53561         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53563 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53565         * configure.in (_AC_PROG_CC_C89): New definition.
53566         * configure: Regenerate.
53568         * configure.in (AC_PROG_CPP): New definition.
53569         * configure: Regenerate.
53571 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53573         * debug/tst-backtrace.h: New file.
53574         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53575         (ret): Remove variable.
53576         (x): Likewise.
53577         (FAIL): Remove macro.
53578         (NO_INLINE): Likewise.
53579         (fn1): Use match function instead of strstr.
53580         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53581         (ret): Remove variable.
53582         (x): Likewise.
53583         (FAIL): Remove macro.
53584         (NO_INLINE): Likewise.
53585         (fn): Use match function instead of strstr.
53586         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53587         (ret): Remove variable.
53588         (x): Likewise.
53589         (FAIL): Remove macro.
53590         (NO_INLINE): Likewise.
53591         (handle_signal): Use match function instead of strstr.
53592         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53593         (ret): Remove variable.
53594         (x): Likewise.
53595         (FAIL): Remove macro.
53596         (NO_INLINE): Likewise.
53597         (handle_signal): Use match function instead of strstr.
53599 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53601         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53603 2013-01-23  David S. Miller  <davem@davemloft.net>
53605         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53606         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53607         argument of CAS if possible.
53608         * sysdeps/sparc/sparc64/bits/atomic.h
53609         (__arch_compare_and_exchange_val_32_acq): Likewise.
53610         (__arch_compare_and_exchange_val_64_acq): Likewise.
53612 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53614         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53615         * sysdeps/posix/ulimit.c: ... this.
53616         Include <limits.h>.
53617         * sysdeps/unix/bsd/ulimit.c: Remove file.
53619 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53621         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53622         (LDFLAGS-tst-array5): Likewise.
53624 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53626         [BZ #15036]
53627         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53628         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53629         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53630         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53632 2013-01-21  David S. Miller  <davem@davemloft.net>
53634         * sysdeps/sparc/backtrace.c: New file.
53635         * sysdeps/sparc/sparc32/backtrace.h: New file.
53636         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53637         * sysdeps/sparc/sparc64/backtrace.h: New file.
53638         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53639         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53640         -funwind-tables.
53642 2013-01-21  Andreas Schwab  <schwab@suse.de>
53644         [BZ #15020]
53645         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53646         closed its stdout.
53648 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53651         "mpa2.h".
53652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53654 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53655             Mark Mitchell  <mark@codesourcery.com>
53656             Tom de Vries  <tom@codesourcery.com>
53657             Paul Pluzhnikov  <ppluzhnikov@google.com>
53659         * debug/tst-backtrace2.c: New file.
53660         * debug/tst-backtrace3.c: Likewise.
53661         * debug/tst-backtrace4.c: Likewise.
53662         * debug/tst-backtrace5.c: Likewise.
53663         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53664         (CFLAGS-tst-backtrace3.c): Likewise.
53665         (CFLAGS-tst-backtrace4.c): Likewise.
53666         (CFLAGS-tst-backtrace5.c): Likewise.
53667         (LDFLAGS-tst-backtrace2): Likewise.
53668         (LDFLAGS-tst-backtrace3): Likewise.
53669         (LDFLAGS-tst-backtrace4): Likewise.
53670         (LDFLAGS-tst-backtrace5): Likewise.
53671         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53672         tst-backtrace4 and tst-backtrace5.
53674 2013-01-18  Anton Blanchard  <anton@samba.org>
53675             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53677         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53678         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53679         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53680         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53682         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53683         "+r" and remove output regs list as redundant.  Add explicit inline
53684         asm to specify register of return val to work around compiler codegen
53685         bug.  Remove (int) cast on return value.  Add return type parameter to
53686         use in macro so that this macro does not truncate return value for
53687         64-bit values.
53688         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53689         pass to INTERNAL_VSYSCALL_NCS.
53690         (INLINE_VSYSCALL): Add 'long int' as return type to
53691         INTERNAL_VSYSCALL_NCS macro invocation.
53692         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53693         INTERNAL_VSYSCALL_NCS macro invocation.
53694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53696 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53698         [BZ #14496]
53699         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53700         Fix application of SIMD FP exception mask.
53702         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53703         mp_no from a power of two.
53704         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53705         __mpexp_twomm1.  Use __pow_mp.
53707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53708         multiplication.
53710 2013-01-17  David S. Miller  <davem@davemloft.net>
53712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53714 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53716         [BZ #15023]
53717         * include/complex.h: Condition contents on [!_COMPLEX_H].
53718         (__kernel_casinhf): New prototype.
53719         (__kernel_casinh): Likewise.
53720         (__kernel_casinhl): Likewise.
53721         * math/Makefile (libm_calls): Add k_casinh.
53722         * math/k_casinh.c: New file.
53723         * math/k_casinhf.c: Likewise.
53724         * math/k_casinhl.c: Likewise.
53725         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53726         finite nonzero arguments.
53727         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53728         finite nonzero arguments.
53729         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53730         finite nonzero arguments.
53731         * math/s_casinh.c: Do not include <float.h>.
53732         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53733         * math/s_casinhf.c: Do not include <float.h>.
53734         (__casinhf): Move code for finite nonzero arguments to
53735         k_casinhf.c.
53736         * math/s_casinhl.c: Do not include <float.h>.
53737         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53738         redefine.
53739         (__casinhl): Move code for finite nonzero arguments to
53740         k_casinhl.c.
53741         * math/libm-test.inc (cacos_test): Add more tests.
53742         * sysdeps/i386/fpu/libm-test-ulps: Update.
53743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53745 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53747         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53748         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53749         [!HAVE_MREMAP]: Remove [defined linux] case.
53750         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53752 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53754         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53756 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53758         * elf/elf.h (R_386_SIZE32): New relocation.
53759         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53760         R_386_SIZE32.
53761         (elf_machine_rela): Likewise.
53762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53763         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53765 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53767         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53768         (FP_FAST_FMA): Do not define.
53769         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53770         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53771         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53772         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53773         !_SOFT_FLOAT]: Likewise.
53774         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53775         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53776         value.
53777         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53778         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53779         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53780         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53781         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53782         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53783         file.
53785 2013-01-16  Andreas Schwab  <schwab@suse.de>
53787         [BZ #14327]
53788         * include/stdlib.h (__mktemp): Add declaration.
53789         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53790         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53792 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53794         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53795         definitions.
53796         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53797         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53798         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53799         definitions here.
53800         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53801         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53802         definitions.
53803         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53804         and ONE.
53805         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53806         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53807         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53808         definitions.
53809         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53810         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53811         definitions.
53812         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53814         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53816 2013-01-15  David S. Miller  <davem@davemloft.net>
53818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53819         trunc{,f} to libm-sysdep_routes.
53820         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53822         file.
53823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53825         file.
53826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53827         file.
53828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53830         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53831         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53832         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53833         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53834         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53835         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53838         nearbyint{,f} to libm-sysdep_routes.
53839         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53841         New file.
53842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53843         file.
53844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53845         New file.
53846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53847         file.
53848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53850         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53851         file.
53852         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53854         file.
53855         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53856         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53857         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53859         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53860         libc_feholdexcept and libc_fesetenv.
53862 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53864         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53866 2013-01-14  David S. Miller  <davem@davemloft.net>
53868         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53869         (SPARC_ASM_VIS2_IFUNC): Likewise.
53870         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53872         use of 'siam' instruction.
53873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53874         Likewise.
53875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53876         Likewise.
53877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53878         Likewise.
53879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53880         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53881         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53882         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53884         file.
53885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53886         file.
53887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53888         file.
53889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53890         file.
53891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53896         new VIS2 routines.
53897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53900         Likewise.
53901         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53906         routines to libm-sysdep_routines.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53910         fdim/fdimf to libm-sysdep_routines.
53911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53912         file.
53913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53915         file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53919         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53920         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53921         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53922         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53924 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53926         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53927         to optimize copies.
53929         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53934         local variable MPTWO.
53935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53936         Likewise.
53938 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53940         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53941         GLOB_NOESCAPE.
53943 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53945         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53947 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53949         * manual/pattern.texi (glob_t): Document gl_flags.
53950         (glob64_t): Likewise.
53952 2013-01-11  David S. Miller  <davem@davemloft.net>
53954         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53955         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53956         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53957         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53958         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53959         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53960         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53961         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53962         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53963         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53964         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53965         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53966         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53968         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53969         sparc V9 rather than using V8 code.
53970         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53971         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53973         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53974         Move to...
53975         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53976         Here.
53978 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53980         [BZ #14941]
53981         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53982         not in the main loop.
53983         * configure: Regenerated.
53985 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53987         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53988         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53989         to just #else.
53990         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53991         [!__GLIBC_HAVE_LONG_LONG] case.
53992         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53993         condition to just #else.
53994         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53995         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53996         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53997         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53998         unconditional.
53999         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54000         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54001         #elif condition to just #else.
54002         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54003         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54004         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54005         #elif condition to just #else.
54007 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54009         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54010         (EF_MIPS_ARCH_64): Fix value.
54011         (EF_MIPS_ARCH_32R2): New.
54012         (EF_MIPS_ARCH_64R2): New.
54014 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54016         * Makeconfig (+link-pie-before-libc): New.
54017         (+link-pie-after-libc): Likewise.
54018         (+link-pie-tests): Likewise.
54019         (+link-pie): Rewritten.
54020         (link-before-libc): Remove $(config-LDFLAGS).
54021         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54022         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54023         (config-LDFLAGS): Renamed to ...
54024         (rtld-LDFLAGS): This.
54025         (rtld-tests-LDFLAGS): New macro.
54026         (link-libc-rpath-link): Likewise.
54027         (link-libc-tests-rpath-link): Likewise.
54028         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54029         (link-libc): Prepand $(link-libc-rpath-link).
54030         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54031         (test-program-prefix): New macro.
54032         (test-via-rtld-prefix): Likewise.
54033         (test-program-cmd): Likewise.
54034         (host-test-program-cmd): Likewise.
54035         * Makefile ($(common-objpfx)testrun.sh): Replace
54036         $(run-program-prefix) with $(test-program-prefix).
54037         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54038         $(rtld-LDFLAGS).
54039         ($(common-objpfx)shlib.lds): Likewise.
54040         (build-module-helper): Likewise.
54041         ($(common-objpfx)format.lds): Likewise.
54042         * Rules (binaries-pie-tests): New.
54043         (binaries-pie-notests): Likewise.
54044         (binaries-pie): Rewritten.
54045         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54046         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54047         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54048         (make-test-out): Replace $(host-built-program-cmd) with
54049         $(host-test-program-cmd).
54050         * config.make.in (build-hardcoded-path-in-tests): New variable.
54051         * configure.in (--enable-hardcoded-path-in-tests): New configure
54052         option.
54053         (hardcoded_path_in_tests): New AC_SUBST.
54054         * configure: Regenerated.
54055         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54056         $(built-program-cmd) with $(test-program-cmd).
54057         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54058         (test_program_cmd): This.
54059         * elf/Makefile ($(objpfx)order.out): Run test with
54060         $(test-program-prefix).
54061         ($(objpfx)order2.out): Likewise.
54062         ($(objpfx)tst-initorder.out): Likewise.
54063         ($(objpfx)tst-initorder2.out): Likewise.
54064         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54065         $(test-program-cmd).
54066         ($(objpfx)tst-array1-static.out): Likewise.
54067         ($(objpfx)tst-array2.out): Likewise.
54068         ($(objpfx)tst-array3.out): Likewise.
54069         ($(objpfx)tst-array4.out): Likewise.
54070         ($(objpfx)tst-array5.out): Likewise.
54071         ($(objpfx)tst-array5-static.out): Likewise.
54072         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54073         $(test-program-cmd).
54074         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54075         $(run-program-prefix) with $(test-program-prefix).
54076         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54077         (test_program_prefix): This.
54078         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54079         $(run-program-prefix) with $(test-program-prefix).
54080         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54081         (test_program_prefix): This.
54082         * iconvdata/tst-tables.sh: Likewise.
54083         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54084         $(run-program-prefix) with $(test-program-prefix).
54085         ($(objpfx)tst-translit.out): Likewise.
54086         ($(objpfx)tst-gettext2.out): Likewise.
54087         ($(objpfx)tst-gettext4.out): Likewise.
54088         ($(objpfx)tst-gettext6.out): Likewise.
54089         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54090         (test_program_prefix): This.
54091         * intl/tst-gettext2.sh: Likewise.
54092         * intl/tst-gettext4.sh  Likewise.
54093         * intl/tst-gettext6.sh: Likewise.
54094         * intl/tst-translit.sh: Likewise.
54095         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54096         with $(test-program-cmd).
54097         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54098         $(run-program-prefix) with $(test-program-prefix).
54099         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54100         (test_program_prefix): This.
54101         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54102         $(run-program-prefix) with $(test-program-prefix).
54103         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54104         (test_program_prefix): This.
54105         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54106         * posix/Makefile ($(objpfx)globtest.out): Replace
54107         $(run-via-rtld-prefix) and $(test-wrapper) with
54108         $(test-program-prefix) and $(test-via-rtld-prefix).
54109         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54110         $(test-program-prefix).
54111         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54112         $(host-test-program-cmd).
54113         (tst-spawn-ARGS): Likewise.
54114         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54115         $(test-program-prefix).
54116         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54117         (test_via_rtld_prefix): This.
54118         (test_wrapper): Renamed to ...
54119         (test_program_prefix): This.
54120         (run_program_prefix): Replaced by test_program_prefix.
54121         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54122         (test_program_prefix): This.
54123         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54124         with $(host-test-program-cmd).
54125         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54126         $(run-program-prefix) with $(test-program-prefix).
54127         ($(objpfx)tst-printf.out): Likewise.
54128         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54129         $(test-program-cmd).
54130         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54131         (test_program_prefix): This.
54132         * stdio-common/tst-unbputc.sh: Likewise.
54133         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54134         $(run-program-prefix) with $(test-program-prefix).
54135         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54136         (test_program_prefix): This.
54137         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54138         $(built-program-cmd) with $(test-program-cmd).
54140 2013-01-11  Andreas Jaeger  <aj@suse.de>
54142         [BZ #15003]
54143         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54144         value. Sync with Linux 3.7.
54146 2013-01-10  David S. Miller  <davem@davemloft.net>
54148         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54149         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54150         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54152 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54154         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54155         never set.
54156         * configure: Regenerated.
54158 2013-01-10  David S. Miller  <davem@davemloft.net>
54160         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54161         sparc V9 rather than using V8 code.
54162         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54163         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54165 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54167         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54168         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54169         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54170         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54171         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54172         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54173         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54174         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54175         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54176         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54177         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54178         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54179         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54180         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54181         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54182         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54183         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54184         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54185         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54186         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54187         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54188         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54189         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54190         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54191         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54192         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54193         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54195 2013-01-10  David S. Miller  <davem@davemloft.net>
54197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54199 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54201         * posix/Makefile (tests-static): New variable.
54202         (tests): Add $(tests-static).
54203         (tst-exec-static-ARGS): New variable.
54204         (tst-spawn-static-ARGS): Likewise.
54205         * posix/tst-exec-static.c: New file.
54206         * posix/tst-spawn-static.c: Likewise.
54207         * posix/tst-exec.c: Support run directly.
54208         * posix/tst-spawn.c: Likewise.
54210 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54212         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54213         long.
54214         * math/bits/mathcalls.h (llrint): Likewise.
54215         (llround): Likewise.
54216         * stdlib/stdlib.h (struct drand48_data): Likewise.
54217         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54218         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54219         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54220         Likewise.
54221         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54222         Likewise.
54223         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54224         (elf_greg_t): Likewise.
54225         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54226         (__jmp_buf): Likewise.
54227         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54228         definitions.
54229         (llrint): Likewise, for all definitions.
54230         (llrintl): Likewise.
54232         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54233         Remove [__GNUC__] condition.
54234         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54235         condition to just [__USE_ISOC99].
54236         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54238 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54240         [BZ #14200]
54241         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54242         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54243         defined.
54244         (_POSIX_V6_ILP32_OFF32): Likewise.
54245         (_XBS5_ILP32_OFF32): Likewise.
54246         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54247         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54249 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54251         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54254         doubles __mpexp_twomm1.  Adjust usage.
54255         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54256         Remove.
54258 2013-01-10  Andreas Schwab  <schwab@suse.de>
54260         [BZ #14964]
54261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54262         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54264 2013-01-09  David S. Miller  <davem@davemloft.net>
54266         [BZ #15003]
54267         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54268         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54269         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54270         (TCP_FASTOPEN): Define.
54271         (tcp_repair_opt): New structure.
54272         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54273         enum values.
54274         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54275         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54276         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54277         (tcp_cookie_transactions): New structure.
54279 2013-01-09  Anton Blanchard  <anton@samba.org>
54281         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54282         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54283         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54284         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54286 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54288         * include/features.h (__USE_ANSI): Remove.
54290 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54292         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54294         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54296 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54298         * sysdeps/s390/fpu/libm-test-ulps: Update.
54300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54302         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54303         (__acr): Likewise.
54304         (__cpy): Likewise.
54305         (norm): Likewise.
54306         (denorm): Likewise.
54307         (__mp_dbl): Likewise.
54308         (__dbl_mp): Likewise.
54309         (add_magnitudes): Likewise.
54310         (sub_magnitudes): Likewise.
54311         (__add): Likewise.
54312         (__sub): Likewise.
54313         (__mul): Likewise.
54314         (__inv): Likewise.
54315         (__dvd): Likewise.
54316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54317         (__acr): Likewise.
54318         (__cpy): Likewise.
54319         (norm): Likewise.
54320         (denorm): Likewise.
54321         (__mp_dbl): Likewise.
54322         (__dbl_mp): Likewise.
54323         (add_magnitudes): Likewise.
54324         (sub_magnitudes): Likewise.
54325         (__add): Likewise.
54326         (__sub): Likewise.
54327         (__mul): Likewise.
54328         (__inv): Likewise.
54329         (__dvd): Likewise.
54330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54331         (__acr): Likewise.
54332         (__cpy): Likewise.
54333         (norm): Likewise.
54334         (denorm): Likewise.
54335         (__mp_dbl): Likewise.
54336         (__dbl_mp): Likewise.
54337         (add_magnitudes): Likewise.
54338         (sub_magnitudes): Likewise.
54339         (__add): Likewise.
54340         (__sub): Likewise.
54341         (__mul): Likewise.
54342         (__inv): Likewise.
54343         (__dvd): Likewise.
54345 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54347         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54348         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54349         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54350         2 && __USE_EXTERN_INLINES]: Likewise.
54352 2013-01-08  Andreas Jaeger  <aj@suse.de>
54354         [BZ# 14985]
54355         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54356         Remove.
54357         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54358         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54360 2013-01-07  Anton Blanchard  <anton@samba.org>
54362         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54363         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54364         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54365         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54366         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54367         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54368         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54369         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54371         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54374         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54377         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54378         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54379         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54380         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54381         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54382         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54383         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54385         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54386         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54387         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54388         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54389         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54390         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54391         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54392         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54396         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54397         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54400         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54401         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54402         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54403         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54404         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54406 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54408         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54409         (__MALLOC_PMT): Likewise.
54410         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54411         [__GNUC__], only on [_LIBC].
54412         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54413         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54414         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54415         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54416         forward declaration.
54417         (realloc_hook_ini): Likewise.
54418         (memalign_hook_ini): Likewise.
54419         (__libc_memalign): Do not use __MALLOC_PMT in variable
54420         declaration.
54421         (__libc_valloc): Likewise.
54422         (__libc_pvalloc): Likewise.
54423         (__libc_calloc): Likewise.
54424         (__posix_memalign): Likewise.
54426         [BZ #14996]
54427         * math/s_casinh.c: Include <float.h>.
54428         (__casinh): Do not do computation with squaring and square root
54429         for large arguments.
54430         * math/s_casinhf.c: Include <float.h>.
54431         (__casinhf): Do not do computation with squaring and square root
54432         for large arguments.
54433         * math/s_casinhl.c: Include <float.h>.
54434         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54435         (__casinhl): Do not do computation with squaring and square root
54436         for large arguments.
54437         * math/libm-test.inc (casin_test): Add more tests.
54438         (casinh_test): Likewise.
54439         * sysdeps/i386/fpu/libm-test-ulps: Update.
54440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54442 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54444         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54445         (__x86_64_raw_data_cache_size): Likewise.
54446         (__x86_64_data_cache_size_half): Likewise.
54447         (__x86_64_raw_data_cache_size_half): Likewise.
54448         (__x86_64_shared_cache_size): Likewise.
54449         (__x86_64_raw_shared_cache_size): Likewise.
54450         (__x86_64_shared_cache_size_half): Likewise.
54451         (__x86_64_raw_shared_cache_size_half): Likewise.
54452         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54453         to ...
54454         (__x86_data_cache_size): This.
54455         (__x86_64_raw_data_cache_size): Renamed to ...
54456         (__x86_raw_data_cache_size): This.
54457         (__x86_64_data_cache_size_half): Renamed to ...
54458         (__x86_data_cache_size_half): This.
54459         (__x86_64_raw_data_cache_size_half): Renamed to ...
54460         (__x86_raw_data_cache_size_half): This.
54461         (__x86_64_shared_cache_size): Renamed to ...
54462         (__x86_shared_cache_size): This.
54463         (__x86_64_raw_shared_cache_size): Renamed to ...
54464         (__x86_raw_shared_cache_size): This.
54465         (__x86_64_shared_cache_size_half): Renamed to ...
54466         (__x86_shared_cache_size_half): This.
54467         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54468         (__x86_raw_shared_cache_size_half): This.
54469         * sysdeps/x86_64/memcpy.S: Updated.
54470         * sysdeps/x86_64/memset.S: Likewise.
54471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54472         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54473         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54475 2013-01-04  David S. Miller  <davem@davemloft.net>
54477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54479 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54481         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54482         1 to avoid redefinition warning.
54483         (__USE_GNU): Don't define.
54484         (init_signaling_nan): Protoize.
54486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54488 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54490         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54492         (__cpymn): Likewise.
54493         (norm): Remove commented code.
54494         (denorm): Likewise.
54495         (__mp_dbl): Likewise.
54496         (__inv): Likewise.
54497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54498         (__cpymn): Likewise.
54499         (norm): Remove commented code.
54500         (denorm): Likewise.
54501         (__mp_dbl): Likewise.
54502         (__inv): Likewise.
54504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54505         mp_no value for 1.0 and 2.0.
54506         (norm): Use RADIXI instead of radixi.d.
54507         (denorm): Likewise.
54508         (__mul): Use 0.0 instead of zero.d.
54509         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54510         mp_no value for 1.0 and 2.0.
54511         (norm): Use RADIXI instead of radixi.d.
54512         (denorm): Likewise.
54513         (__mul): Use 0.0 instead of zero.d.
54515 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54517         [BZ #14994]
54518         * math/s_casinh.c (__casinh): Reduce finite argument to first
54519         quadrant then set signs of results at the end.
54520         * math/s_casinhf.c (__casinhf): Likewise.
54521         * math/s_casinhl.c (__casinhl): Likewise.
54522         * math/libm-test.inc (casin_test): Add more tests.
54523         (casinh_test): Likewise.
54524         * sysdeps/i386/fpu/libm-test-ulps: Update.
54525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54527 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54529         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54531         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54533         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54534         declarations.
54535         (denorm): Likewise.
54536         (__mp_dbl): Likewise.
54537         (__inv): Likewise.
54539         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54540         and adjust the header comment.
54542         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54543         variable name from declaration.
54545 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54547         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54548         Initialize COMMON_CPUID_INDEX_7 element.
54549         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54550         (CPUID_RTM): Likewise.
54551         (HAS_RTM): Likewise.
54552         (COMMON_CPUID_INDEX_7): New enum.
54554 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54556         [BZ #14981]
54557         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54558         size is zero, record memory as freed.
54560 2013-01-03  Andreas Jaeger  <aj@suse.de>
54562         * po/ia.po: Add new Interlingua translation.
54564 2012-01-03  Allan McRae  <allan@archlinux.org>
54566         * locale/programs/localedef.c: Fix description of '--posix' flag.
54568 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54570         * NEWS: Update dates in second copyright notice.
54571         * README: Update copyright dates in example.
54572         * manual/libc.texinfo: Update copyright dates.
54573         * scripts/test-installation.pl: Update copyright date in --version
54574         output.
54576         * hurd/ctty-input.c: Fix copyright notice formatting.
54577         * hurd/ctty-output.c: Likewise.
54578         * hurd/dtable.c: Likewise.
54579         * hurd/hurd-raise.c: Likewise.
54580         * hurd/hurdprio.c: Likewise.
54581         * hurd/msgportdemux.c: Likewise.
54582         * misc/sys/file.h: Likewise.
54583         * misc/sys/ioctl.h: Likewise.
54584         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54585         * sysdeps/mach/hurd/chdir.c: Likewise.
54586         * sysdeps/mach/hurd/fchdir.c: Likewise.
54587         * sysdeps/mach/hurd/rename.c: Likewise.
54588         * sysdeps/mach/hurd/rmdir.c: Likewise.
54589         * sysdeps/mach/hurd/seekdir.c: Likewise.
54590         * sysdeps/mach/hurd/setsid.c: Likewise.
54591         * sysdeps/posix/wait3.c: Likewise.
54593         * All files with FSF copyright notices: Update copyright dates
54594         using scripts/update-copyrights.
54595         * intl/plural.c: Regenerated.
54596         * locale/programs/charmap-kw.h: Likewise.
54597         * locale/programs/locfile-kw.h: Likewise.
54599 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54601         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54602         four values.
54604         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54605         calculation loop and add branch prediction.
54607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54608         check access beyond bounds of m1np.
54610         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54611         MPTWO.
54612         (__inv): Remove local variable MPTWO to use the global
54613         constant.
54614         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54616         variable MPTWO.
54617         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54618         MP3HALFS static const.
54620 2013-01-01  David S. Miller  <davem@davemloft.net>
54622         * po/ca.po: Update from translation team.
54624 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54626         * scripts/update-copyrights: New file.
54627         * Makeconfig: Reformat copyright notice.
54628         * ctype/ctype.h: Likewise.
54629         * debug/swprintf_chk.c: Likewise.
54630         * elf/dl-cache.c: Likewise.
54631         * elf/dl-debug.c: Likewise.
54632         * elf/dl-object.c: Likewise.
54633         * grp/initgroups.c: Likewise.
54634         * hurd/Makefile: Likewise.
54635         * hurd/hurd/signal.h: Likewise.
54636         * hurd/hurdfault.c: Likewise.
54637         * hurd/hurdioctl.c: Likewise.
54638         * hurd/hurdlookup.c: Likewise.
54639         * hurd/intr-msg.c: Likewise.
54640         * iconv/gconv_open.c: Likewise.
54641         * libio/swprintf.c: Likewise.
54642         * locale/lc-ctype.c: Likewise.
54643         * locale/nl_langinfo.c: Likewise.
54644         * mach/Machrules: Likewise.
54645         * mach/Makefile: Likewise.
54646         * malloc/obstack.h: Likewise.
54647         * manual/Makefile: Likewise.
54648         * manual/tsort.awk: Likewise.
54649         * misc/bits/stab.def: Likewise.
54650         * nis/nis_print_group_entry.c: Likewise.
54651         * nis/nis_table.c: Likewise.
54652         * nis/nss_compat/compat-pwd.c: Likewise.
54653         * nis/nss_compat/compat-spwd.c: Likewise.
54654         * po/Makefile: Likewise.
54655         * posix/fnmatch.c: Likewise.
54656         * posix/regex.h: Likewise.
54657         * resolv/Makefile: Likewise.
54658         * resolv/nss_dns/dns-network.c: Likewise.
54659         * resolv/res_hconf.c: Likewise.
54660         * scripts/gen-sorted.awk: Likewise.
54661         * soft-fp/soft-fp.h: Likewise.
54662         * stdio-common/printf.h: Likewise.
54663         * stdlib/monetary.h: Likewise.
54664         * stdlib/random.c: Likewise.
54665         * stdlib/random_r.c: Likewise.
54666         * sysdeps/generic/Makefile: Likewise.
54667         * sysdeps/gnu/Makefile: Likewise.
54668         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54669         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54670         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54671         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54673         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54674         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54675         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54676         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54677         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54678         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54679         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54680         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54681         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54682         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54683         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54684         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54685         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54686         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54687         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54688         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54689         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54690         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54691         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54692         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54693         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54694         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54695         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54696         * sysdeps/mach/hurd/errnos.awk: Likewise.
54697         * sysdeps/mach/hurd/fork.c: Likewise.
54698         * sysdeps/mach/hurd/getcwd.c: Likewise.
54699         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54700         * sysdeps/mach/hurd/mmap.c: Likewise.
54701         * sysdeps/mach/hurd/utimes.c: Likewise.
54702         * sysdeps/mach/hurd/xmknod.c: Likewise.
54703         * sysdeps/posix/profil.c: Likewise.
54704         * sysdeps/posix/readdir_r.c: Likewise.
54705         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54706         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54707         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54708         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54709         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54710         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54711         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54712         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54714         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54715         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54716         * sysdeps/pthread/lio_listio.c: Likewise.
54717         * sysdeps/sparc/dl-procinfo.h: Likewise.
54718         * sysdeps/unix/i386/sysdep.S: Likewise.
54719         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54720         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54721         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54722         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54724         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54725         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54726         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54728         * sysdeps/wordsize-32/divdi3.c: Likewise.
54729         * time/sys/time.h: Likewise.
54730         * wcsmbs/Makefile: Likewise.
54732 2013-01-01  David S. Miller  <davem@davemloft.net>
54734         * po/fr.po: Update from translation team.
54736         * catgets/gencat.c: Update copyright year.
54737         * csu/version.c: Likewise.
54738         * debug/catchsegv.sh: Likewise.
54739         * debug/pcprofiledump.c: Likewise.
54740         * debug/xtrace.sh: Likewise.
54741         * elf/ldconfig.c: Likewise.
54742         * elf/ldd.bash.in: Likewise.
54743         * elf/pldd.c: Likewise.
54744         * elf/sotruss.ksh: Likewise.
54745         * elf/sprof.c: Likewise.
54746         * iconv/iconv_prog.c: Likewise.
54747         * iconv/iconvconfig.c: Likewise.
54748         * locale/programs/locale.c: Likewise.
54749         * locale/programs/localedef.c: Likewise.
54750         * login/programs/pt_chown.c: Likewise.
54751         * malloc/memusage.sh: Likewise.
54752         * malloc/memusagestat.c: Likewise.
54753         * malloc/mtrace.pl: Likewise.
54754         * nscd/nscd.c: Likewise.
54755         * nss/getent.c: Likewise.
54756         * nss/makedb.c: Likewise.
54757         * posix/getconf.c: Likewise.
54759 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54761         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54762         numbers.
54764 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54766         * math/bits/mathcalls.h (modf): Use __nonnull.
54768 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54770         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54771         (split): Use macro CN instead of the bare value.
54772         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54773         could be used.
54774         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54775         instead of the bare value.
54776         (power1): Likewise.
54778 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54780         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54781         __ATAN_TWOM.
54782         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54784         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54785         their values.
54786         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54787         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54788         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54789         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54791 2012-12-28  Andreas Jaeger  <aj@suse.de>
54793         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54794         values are from Linux 3.7.
54796         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54797         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54799 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54801         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54802         TRUE case.
54804         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54805         (norm): Likewise.
54806         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54807         variables with preprocessor constants.
54808         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54809         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54810         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54812 2012-12-27  Bruno Haible  <bruno@clisp.org>
54814         [BZ #14317]
54815         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54816         only if needed.
54818 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54821         and use variable directly.
54822         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54824         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54825         MPONE.
54826         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54827         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54828         variable MPONE.
54829         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54830         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54831         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54832         include directive.  Remove local variable MPONE.
54833         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54834         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54835         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54837 2012-12-25  David S. Miller  <davem@davemloft.net>
54839         * version.h (RELEASE): Set to "development".
54840         (VERSION): Set to "2.17.90".
54841         * NEWS: Add 2.18 section.
54843 2012-12-21  David S. Miller  <davem@davemloft.net>
54845         * po/hr.po: Update from translation team.
54847 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54849         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54851 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54853         * NEWS:  Mention new memcpy for MIPS.
54855 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54857         * manual/contrib.texi (Contributors): Spelling correction.
54859 2012-12-15  David S. Miller  <davem@davemloft.net>
54861         * po/ru.po: Update from translation team.
54863 2012-12-13  David S. Miller  <davem@davemloft.net>
54865         * NEWS: Mention IFUNC testsuite enhancements.
54867         * po/pl.po: Update from translation team.
54868         * po/bg.po: Likewise.
54870         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54871         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54873 2012-12-11  David S. Miller  <davem@davemloft.net>
54875         * po/sv.po: Update from translation team.
54877         * po/vi.po: Update from translation team.
54879         * po/cs.po: Update from translation team.
54881         * po/de.po: Update from translation team.
54882         * po/eo.po: Likewise.
54883         * po/nl.po: Likewise.
54885 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54887         [BZ #14246]
54888         * manual/argp.texi (Argp Helper Functions): Move node to follow
54889         Argp Parsing State.
54891         [BZ #14872]
54892         * manual/conf.texi (Limits on File System Capacity): Mention if
54893         terminating null is included in the max size.
54895 2012-12-10  Andreas Jaeger  <aj@suse.de>
54897         * po/cs.po: Update from translation team.
54899 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54901         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54902         void pointer and cast to uintptr_t.
54903         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54904         path.
54905         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54906         * sysdeps/s390/s390-64/memset.S: Likewise.
54908 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54910         [BZ #14833]
54911         * menual/message.texi (Message Translation): Fix typos.
54912         (Helper programs for gettext): Likewise.
54914 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54916         [BZ #14898]
54917         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54918         Change to -1.
54920 2012-12-07  David S. Miller  <davem@davemloft.net>
54922         * po/libc.pot: Update.
54924 2012-12-07  Richard Henderson  <rth@redhat.com>
54926         [BZ #10114]
54927         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54928         normal/normal case to before the switch.
54929         (_FP_DIV): Likewise.
54931 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54932             Mike Frysinger  <vapier@gentoo.org>
54934         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54935         check for __NR_fadvise64_64.
54937 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54939         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54940         0, not just to plain "0" as a statement.
54941         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54942         with cw.
54944 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54946         * NEWS: Use sourceware.org in Bugzilla URL.
54948 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54951         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54953         * stdio-common/tst-put-error.c (do_test): Add newline to the
54954         padded test to ensure flush.
54956 2012-12-05  Jeff Law  <law@redhat.com>
54958         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54960 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54962         * README: Don't refer to ports add-on as distributed separately.
54963         Mention AArch64 in list of systems supported in the ports add-on.
54965         * LICENSES: Add more non-FSF copyright and license notices.
54967         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54968         ((unused)).
54970         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54972         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54973         10000 as width of padded output.
54975 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54977         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54980         variable LX with __attribute__ ((unused)).
54981         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54982         Likewise.
54983         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54984         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54985         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54986         with __attribute__ ((unused)).
54988 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54990         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54992 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54994         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54995         (CFLAGS-nldbl-acos.c): New variable.
54996         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54997         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54998         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54999         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55000         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55001         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55002         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55003         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55004         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55005         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55006         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55007         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55008         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55009         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55010         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55011         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55012         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55013         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55014         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55015         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55016         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55017         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55018         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55019         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55020         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55021         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55022         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55023         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55024         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55025         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55026         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55027         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55028         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55029         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55030         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55031         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55032         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55033         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55034         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55035         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55036         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55037         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55038         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55039         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55040         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55041         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55042         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55043         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55044         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55045         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55046         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55047         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55048         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55049         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55050         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55051         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55052         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55053         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55054         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55055         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55056         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55057         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55058         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55059         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55060         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55061         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55062         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55063         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55064         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55065         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55066         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55067         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55068         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55069         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55070         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55071         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55072         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55073         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55074         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55075         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55076         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55077         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55078         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55079         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55080         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55081         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55082         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55083         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55084         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55085         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55086         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55087         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55088         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55089         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55090         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55091         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55092         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55095         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55097         [BZ #14914]
55098         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55099         whole low double instead of just low 47 bits when splitting values
55100         into two parts.
55102 2012-12-03  Allan McRae  <allan@archlinux.org>
55104         * manual/stdio.texi (Predefined Printf Handlers): Remove
55105         @hsep and @vsep usage.
55107 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55109         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55110         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55112 2012-12-03  Jeff Law  <law@redhat.com>
55114         * time/sys/time.h (settimeofday): Do not mark TV argument
55115         as __nonnull.
55117 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55119         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55120         when currently writing and seek to current position when not.
55121         * libio/Makefile (tests): Remove bug-fclose1.
55122         * libio/bug-fclose1.c: Delete.
55124 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55126         * manual/arith.texi (feenableexcept): Fix typo.
55127         (fedisableexcept): Likewise.
55129 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55131         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55132         second, differently-typed declaration, rather than a cast.
55134 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55136         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55137         * include/rpc/svc.h: ... here.
55139 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55141         [BZ #13013]
55142         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55143         depending n and resplen2 to catch cases where answer
55144         equals answerp2.
55146 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55148         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55149         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55151 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55155 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55157         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55159 2012-11-28  Jeff Law  <law@redhat.com>
55161         [BZ #13761]
55162         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55163         dataset_temporary.  Track alloca usage into alloca_used.
55164         If dataset is large allocate and release it via malloc/free.
55166 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55168         [BZ #14197]
55169         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55171 2012-11-28  David S. Miller  <davem@davemloft.net>
55173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55175 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55177         [BZ #14803]
55178         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55179         of pi/2 rounded to nearest to 64 bits.
55180         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55181         nearest to 64 bits.
55182         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55183         bits.
55185 2012-11-28  Jeff Law <law@redhat.com>
55186             Martin Osvald <mosvald@redhat.com>
55188         [BZ #14889]
55189         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55190         * sunrpc/svc.c: Include time.h.
55191         (__svc_accept_failed): New function.
55192         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55193         any reason other than EINTR, call __svc_accept_failed.
55194         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55195         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55197 2012-11-28  Andreas Schwab  <schwab@suse.de>
55199         * scripts/abilist.awk: Also handle indirect functions in .opd
55200         section.
55202 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55204         [BZ #13881]
55205         * sysdeps/x86/fpu/powl_helper.c: New file.
55206         * sysdeps/x86/fpu/Makefile: Likewise.
55207         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55208         (p3): New object.
55209         (__ieee754_powl): Use __powl_helper for finite arguments except
55210         integer exponents below 8.
55211         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55212         (p3): New object.
55213         (__ieee754_powl): Use __powl_helper for finite arguments except
55214         integer exponents below 8.
55215         * math/libm-test.inc (pow_test): Add more tests and enable some
55216         previously disabled tests.
55217         * sysdeps/i386/fpu/libm-test-ulps: Update.
55218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55220 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55221             Carlos O'Donell  <carlos_odonell@mentor.com>
55223         * nss/makedb.c (is_prime): Assert that input is odd and greater
55224         than 4.  Note that fact in a comment too.
55225         (next_prime): Add 4 to input.
55227 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55229         [BZ #11741]
55230         * libio/Makefile (tests): Add test case tst-fwrite-error.
55231         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55232         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55233         * libio/tst-fwrite-error.c: New test case.
55235 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55237         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55238         before casting to void *.
55239         * include/libc-internal.h (__pointer_type): New macro.
55240         (__integer_if_pointer_type_sub): Likewise.
55241         (__integer_if_pointer_type): Likewise.
55242         (cast_to_integer): Likewise.
55243         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55244         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55245         before casting to atomic64_t.
55246         (atomic_exchange_acq): Likewise.
55247         (__arch_exchange_and_add_body): Likewise.
55248         (__arch_add_body): Likewise.
55249         (atomic_add_negative): Likewise.
55250         (atomic_add_zero): Likewise.
55252 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55254         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55255         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55256         (add_fdes): Likewise.
55257         (linear_search_fdes): Likewise.
55258         (binary_search_unencoded_fdes): Likewise.
55260 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55262         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55264 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55266         * configure.in: Autodetect C++ header directories.
55267         * configure: Regenerated.
55269 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55271         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55273 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55277 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55279         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55280         LDBL_MANT_DIG == 106]: Disable some tests.
55281         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55282         Likewise.
55283         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55284         Likewise.
55286         [BZ #14871]
55287         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55288         input for small inputs.  Return +/- pi/2 for large inputs.
55289         * math/libm-test.inc (atan_test): Add more tests.
55291         * sysdeps/generic/unwind-dw2-fde-glibc.c
55292         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55293         __attribute__ ((unused)).
55295         [BZ #14645]
55296         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55297         x * y if x and y are nonzero and z is zero.
55299         [BZ #14811]
55300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55301         nonzero exponents with absolute value below 0x1p-117 to +/-
55302         0x1p-117.
55304         [BZ #14869]
55305         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55306         up arguments below 2**-450, not just those below 2**-500.
55307         * math/libm-test.inc (hypot_test): Add another test.
55309         [BZ #14868]
55310         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55311         Return a+b for ratio over 2**120, not 2**60.
55312         * math/libm-test.inc (hypot_test): Add another test.
55314         * math/libm-test.inc (clog_test): Use
55315         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55316         (clog10_test): Likewise.
55318         [BZ #6778]
55319         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55321 2012-11-22  Andreas Schwab  <schwab@suse.de>
55323         * sysdeps/i386/fpu/libm-test-ulps: Update.
55325 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55327         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55328         printf output with newline.
55330 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55332         [BZ #14865]
55333         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55334         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55335         -z nodlopen, -z initfirst and -z execstack support.
55336         * configure: Regenerated.
55338         * elf/elf.h (DF_1_NODIRECT): New macro.
55339         (DF_1_IGNMULDEF): Likewise.
55340         (DF_1_NOKSYMS): Likewise.
55341         (DF_1_NOHDR): Likewise.
55342         (DF_1_EDITED): Likewise.
55343         (DF_1_NORELOC): Likewise.
55344         (DF_1_SYMINTPOSE): Likewise.
55345         (DF_1_GLOBAUDIT): Likewise.
55346         (DF_1_SINGLETON): Likewise.
55347         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55348         DT_1_SUPPORTED_MASK bits.
55349         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55351 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55353         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55355 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55357         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55358         macro.
55360         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55361         (sendmmsg): Move declarations...
55362         * socket/sys/socket.h: ... here.
55363         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55364         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55365         include it from...
55366         * socket/recvmmsg.c: ... this new file.
55367         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55368         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55369         definition of __sendmmsg hidden.
55370         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55371         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55372         Move ENOSYS stub into and include it from...
55373         * socket/sendmmsg.c: ... this new file.
55374         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55375         (sysdep_routines): Move recvmmsg and sendmmsg...
55376         * socket/Makefile (routines): ... here.
55377         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55378         (GLIBC_PRIVATE): Add __sendmmsg.
55379         * include/sys/socket.h (__sendmmsg): Add declarations.
55380         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55381         sendmmsg.
55383 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55385         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55386         variable I1 with __attribute__ ((unused)).
55387         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55389 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55391         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55392         DUMMY variables with __attribute__ ((unused)).
55394         * bits/byteswap.h: Include <bits/types.h>.
55395         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55397 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55399         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55400         string_t.  Do not manually set errno.
55401         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55402         length with __strnlen.  Make sure to both set errno and return it on
55403         failure.
55405 2012-11-19  David S. Miller  <davem@davemloft.net>
55407         With help from Joseph Myers.
55408         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55409         very large arguments properly.
55410         * math/libm-test.inc (atan_test): New tests.
55411         (atan2_test): New tests.
55412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55415 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55417         [BZ #14856]
55418         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55419         Define to 3.
55421         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55422         [POSIX] (EADDRNOTAVAIL): Likewise.
55423         [POSIX] (EAFNOSUPPORT): Likewise.
55424         [POSIX] (EALREADY): Likewise.
55425         [POSIX] (ECONNABORTED): Likewise.
55426         [POSIX] (ECONNREFUSED): Likewise.
55427         [POSIX] (ECONNRESET): Likewise.
55428         [POSIX] (EDESTADDRREQ): Likewise.
55429         [POSIX] (EDQUOT): Likewise.
55430         [POSIX] (EHOSTUNREACH): Likewise.
55431         [POSIX] (EIDRM): Likewise.
55432         [POSIX] (EISCONN): Likewise.
55433         [POSIX] (ELOOP): Likewise.
55434         [POSIX] (EMULTIHOP): Likewise.
55435         [POSIX] (ENETDOWN): Likewise.
55436         [POSIX] (ENETUNREACH): Likewise.
55437         [POSIX] (ENOBUFS): Likewise.
55438         [POSIX] (ENODATA): Likewise.
55439         [POSIX] (ENOLINK): Likewise.
55440         [POSIX] (ENOMSG): Likewise.
55441         [POSIX] (ENOPROTOOPT): Likewise.
55442         [POSIX] (ENOSR): Likewise.
55443         [POSIX] (ENOSTR): Likewise.
55444         [POSIX] (ENOTCONN): Likewise.
55445         [POSIX] (ENOTSOCK): Likewise.
55446         [POSIX] (EOPNOTSUPP): Likewise.
55447         [POSIX] (EOVERFLOW): Likewise.
55448         [POSIX] (EPROTO): Likewise.
55449         [POSIX] (EPROTONOSUPPORT): Likewise.
55450         [POSIX] (EPROTOTYPE): Likewise.
55451         [POSIX] (ESTALE): Likewise.
55452         [POSIX] (ETIME): Likewise.
55453         [POSIX] (ETXTBSY): Likewise.
55454         [POSIX] (EWOULDBLOCK): Likewise.
55455         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55456         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55457         [POSIX] (SEEK_CUR): Likewise.
55458         [POSIX] (SEEK_END): Likewise.
55459         [POSIX || UNIX98] (mode_t): Do not require.
55460         [POSIX] (off_t): Likewise.
55461         [POSIX] (pid_t): Likewise.
55462         [POSIX] (sys/stat.h): Do not allow header.
55463         [POSIX] (unistd.h): Likewise.
55464         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55465         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55466         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55467         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55468         require.
55469         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55470         sigevent): Specify elements.
55471         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55472         entry.
55473         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55474         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55476         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55477         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55478         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55479         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55480         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55481         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55482         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55483         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55484         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55485         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55486         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55488         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55489         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55490         Likewise.
55491         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55492         Likewise.
55493         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55494         Likewise.
55495         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55496         Likewise.
55497         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55498         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55499         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55500         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55501         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55502         Specify lower bound on value.
55503         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55504         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55505         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55506         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55507         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55508         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55509         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55510         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55511         value.
55512         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55513         as optional.
55514         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55515         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55516         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55517         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55518         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55519         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55520         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55521         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55522         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55523         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55524         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55525         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55526         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55527         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55528         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55529         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55530         entry.
55531         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55532         optional.
55533         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55534         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55535         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55536         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55537         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55539         Likewise.
55540         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55541         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55542         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55543         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55544         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55545         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55547         as optional.
55548         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55549         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55550         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55551         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55552         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55553         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55554         specify as optional.
55555         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55556         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55557         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55558         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55559         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55560         [XPG3] (NL_LANGMAX): Likewise.
55561         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55562         [POSIX || XPG3] (NL_NMAX): Likewise.
55563         [POSIX || XPG3] (NL_SETMAX): Likewise.
55564         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55565         [XPG3] (NZERO): Likewise.
55566         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55567         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55568         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55569         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55570         (REG_ERANGE): Expect.
55571         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55572         optional-constant.
55573         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55574         Use (void) in prototype.
55575         [POSIX] (*_t): Allow.
55576         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55577         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55578         (WRDE_BADVAL): Expect.
55580         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55581         expect.
55582         [XPG3 || XPG4] (O_RSYNC): Likewise.
55583         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55584         Likewise.
55585         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55586         [XPG3 || XPG4] (sigqueue): Likewise.
55587         [XPG3 || XPG4] (sigtimedwait): Likewise.
55588         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55589         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55590         [XPG3 || XPG4] (vsnprintf): Likewise.
55591         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55592         Likewise.
55593         [XPG3 || XPG4] (blksize_t): Likewise.
55594         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55595         Likewise.
55596         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55597         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55598         [XPG3 || XPG4] (struct itimerspec): Likewise.
55599         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55600         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55601         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55602         [XPG3 || XPG4] (clockid_t): Likewise.
55603         [XPG3 || XPG4] (timer_t): Likewise.
55604         [XPG3 || XPG4] (clock_getres): Likewise.
55605         [XPG3 || XPG4] (clock_gettime): Likewise.
55606         [XPG3 || XPG4] (clock_settime): Likewise.
55607         [XPG3 || XPG4] (nanosleep): Likewise.
55608         [XPG3 || XPG4] (timer_create): Likewise.
55609         [XPG3 || XPG4] (timer_delete): Likewise.
55610         [XPG3 || XPG4] (timer_gettime): Likewise.
55611         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55612         [XPG3 || XPG4] (timer_settime): Likewise.
55613         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55614         [XPG3 || XPG4] (getlogin_r): Likewise.
55615         [XPG3 || XPG4] (pread): Likewise.
55616         [XPG3 || XPG4] (pthread_atfork): Likewise.
55617         [XPG3 || XPG4] (pwrite): Likewise.
55619         [BZ #14835]
55620         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55621         <bits/siginfo.h>.
55623 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55625         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55626         finalizing MALLSTREAM.
55628         * sysdeps/mach/hurd/syncfs.c: New file.
55630 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55632         [BZ #14719]
55633         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55634         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55635         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55636         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55637         (_nss_dns_gethostbyname4_r): Likewise.
55638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55639         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55641 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55643         [BZ #13763]
55644         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55646 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55648         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55649         * elf/cache.c (print_entry): Print ",AArch64" for
55650         FLAG_AARCH64_LIB64
55652         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55653         * elf/cache.c (print_entry): Print ",hard-float" for
55654         FLAG_ARM_LIBHF.
55656 2012-11-18  David S. Miller  <davem@davemloft.net>
55658         With help from Joseph Myers.
55659         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55660         cutoff to 2**-13.
55661         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55662         cutoff to 2**-25.
55663         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55664         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55665         small.
55666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55667         * math/libm-test.inc (y0_test): New tests.
55668         (y1_test): New tests.
55669         * sysdeps/i386/fpu/libm-test-ulps: Update.
55670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55673 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55675         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55676         64-bit targets.
55677         * configure: Regenerated.
55679 2012-11-17  David S. Miller  <davem@davemloft.net>
55681         [BZ #14811]
55682         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55683         nonzero exponents with absolute value below 0x1p-128 to +/-
55684         0x1p-128.
55686 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55688         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55690         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55692         * posix/getconf-speclist.c: New file.
55693         * posix/posix-envs.def: Likewise.
55694         * posix/confstr.c (START_ENV_GROUP): New macro.
55695         (END_ENV_GROUP): Likewise.
55696         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55697         (KNOWN_PRESENT_ENV_STRING): Likewise.
55698         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55699         (UNKNOWN_ENVIRONMENT): Likewise.
55700         (confstr): Include posix-envs.def instead of handling
55701         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55702         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55703         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55704         (END_ENV_GROUP): Likewise.
55705         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55706         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55707         (UNKNOWN_ENVIRONMENT): Likewise.
55708         (__sysconf): Include posix-envs.def instead of handling associated
55709         cases directly here.
55710         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55711         preprocessing getconf-speclist.c rather than running getconf or
55712         generating empty file.
55714 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55716         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55718 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55720         [BZ #14672]
55721         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55723 2012-11-16  David S. Miller  <davem@davemloft.net>
55725         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55726         smaller than LDBL_EPSILON/2.0L, just return xm1.
55728 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55730         * elf/tst-array1.c (init): Set constructor priority to 1000.
55731         (fini): Set destructor priority to 1000.
55732         * elf/tst-array2dep.c: Likewise.
55734 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55736         [BZ #11741]
55737         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55738         (_IO_new_file_xsputn): Also return EOF if none of the input
55739         data was written when overflow failed.
55740         * libio/iopadn.c (_IO_padn): Likewise.
55741         * libio/iowpadn.c (_IO_wpadn): Likewise.
55742         * stdio-common/tst-put-error.c: Add copyright notice.
55743         (do_test): Add case for printing padded string.
55744         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55745         _IO_padn returned error.
55746         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55747         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55748         return EOF.
55750 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55752         * libio/libioP.h: Add comment note that the references to C++
55753         bits are now obsolete.
55755 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55757         * math/libm-test.inc (check_complex): Use asprintf.
55759 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55761         * debug/pcprofiledump.c (print_version): Update copyright year.
55762         * malloc/memusagestat.c (print_version): Likewise.
55764 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55766         [BZ #14831]
55767         * elf/Makefile (tests): Add tst-audit8.
55768         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55769         ($(objpfx)tst-audit8.out): New target.
55770         (tst-audit8-ENV): New variable.
55771         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55772         audit if l_reloc_result is NULL.
55773         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55774         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55775         * elf/tst-audit8.c: New file.
55777 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55779         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55780         * misc/Makefile (CFLAGS-select.c): Define.
55781         * posix/Makefile (CFLAGS-pause.c): Define.
55783 2012-11-13  David S. Miller  <davem@davemloft.net>
55785         * crypt/Makefile: Move test targets after toplevel Rules
55786         inclusion.  Grab any necessary sysdep routines when linking.
55787         * crypt/md5.c (md5_process_block): Remove define, we will always
55788         name it __md5_process_block.
55789         (md5_finish_ctx): Update md5_process_block call.
55790         (md5_stream): Likewise.
55791         (md5_process_bytes): Likewise.
55792         (md5_process_block): Rename to __md5_process_block and move to ...
55793         * crypt/md5-block.c: ... here.
55794         * crypt/sha256.c (sha256_process_block): Move to ...
55795         * crypt/sha256-block.c: ... here.
55796         * crypt/sha512.c (sha512_process_block): Move to ...
55797         * crypt/sha512-block.c: ... here.
55798         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55799         path.
55800         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55801         * sysdeps/sparc/sparc64/multiarch/Makefile
55802         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55803         crypt subdir.
55804         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55805         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55806         multiarch changes.
55807         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55808         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55809         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55810         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55811         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55812         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55813         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55814         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55816         file.
55817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55818         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55819         file.
55820         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55822 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55824         * timezone/tzselect.ksh: Update from tzcode git revision
55825         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55826         * timezone/zdump.c: Likewise.
55827         * timezone/zic.c: Likewise.
55828         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55829         in TZVERSION setting, not $(PKGVERSION).
55830         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55831         REPORT_BUGS_TO settings.
55833         [BZ #14838]
55834         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55835         macro.
55837 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55839         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55840         detection to immediately after _FP_ROUND().
55841         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55842         bits are 0.
55844 2012-11-11  David S. Miller  <davem@davemloft.net>
55846         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55847         inttypes.h
55848         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55849         __close rather than their public counterparts.
55851 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55853         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55854         file.
55855         [UNIX98] (sem_timedwait): Do not expect.
55856         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55857         [XPG4 || UNIX98] (sockatmark): Do not expect.
55858         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55859         (clock_getcpuclockid): Do not expect.
55860         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55861         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55862         Do not expect.
55863         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55864         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55865         [UNIX98] (vwscanf): Likewise.
55866         [UNIX98] (vswscanf): Likewise.
55868 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55870         * timezone/version.h: Remove file.
55871         * timezone/README: Do not refer to version.h.
55872         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55873         $(objpfx)version.h.
55874         ($(objpfx)zdump.o): Likewise.
55875         ($(objpfx)version.h): New target.
55877         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55878         2012i.
55879         * timezone/README: Don't mention modification to tzselect.ksh.
55880         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55881         work on unmodified tzselect.ksh.  Substitute version numbers in
55882         tzselect.ksh.
55884         * Makefile (format-me): Remove.
55885         (INSTALL): Adjust indentation.  Use commands directly instead of
55886         using $(format-me).
55888         * aclocal.m4 (ACX_PKGVERSION): New macro.
55889         (ACX_BUGURL): Likewise.
55890         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55891         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55892         (REPORT_BUGS_TO): Likewise.
55893         * configure: Regenerated.
55894         * config.h.in (PKGVERSION): New macro.
55895         (REPORT_BUGS_TO): Likewise.
55896         * config.make.in (PKGVERSION): New variable.
55897         (PKGVERSION_TEXI): Likewise.
55898         (REPORT_BUGS_TO): Likewise.
55899         (REPORT_BUGS_TEXI): Likewise.
55900         * Makefile (format-me): Use -I$(common-objpfx)manual.
55901         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55902         ($(common-objpfx)manual/%): New target.
55903         (manual/%): Remove target.
55904         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55905         (print_version): Use PKGVERSION.
55906         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55907         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55908         and REPORT_BUGS_TO.
55909         ($(objpfx)xtrace): Likewise.
55910         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55911         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55912         (print_version): Use PKGVERSION.
55913         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55914         (do_version): Use PKGVERSION.
55915         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55916         REPORT_BUGS_TO.
55917         (common-ldd-rewrite): Likewise.
55918         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55919         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55920         (print_version): Use PKGVERSION.
55921         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55922         * elf/pldd.c (argp_program_bug_address): Remove variable.
55923         (more_help): New function.
55924         (argp): Use more_help.
55925         (print_version): Use PKGVERSION.
55926         * elf/sln.c (main): Use PKGVERSION.
55927         (usage): Use REPORT_BUGS_TO.
55928         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55929         (top level): Use PKGVERSION.
55930         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55931         (print_version): Use PKGVERSION.
55932         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55933         (print_version): Use PKGVERSION.
55934         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55935         (print_version): Use PKGVERSION.
55936         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55937         (print_version): Use PKGVERSION.
55938         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55939         (print_version): Use PKGVERSION.
55940         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55941         (print_version): Use PKGVERSION.
55942         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55943         and BUGURL.
55944         ($(objpfx)memusage): Likewise.
55945         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55946         (do_version): Use PKGVERSION.
55947         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55948         (print_version): Use PKGVERSION.
55949         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55950         ($PKGVERSION): New variable.
55951         ($REPORT_BUGS_TO): Likewise.
55952         (usage): Use $REPORT_BUGS_TO.
55953         (top level): Use $PKGVERSION.
55954         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55955         ($(objpfx)pkgvers.texi): New rule.
55956         ($(objpfx)stamp-pkgvers): Likewise.
55957         * manual/install.texi: Include pkgvers.texi.
55958         (--with-pkgversion): Document new configure option.
55959         (--with-bugurl): Likewise.
55960         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55961         than necessarily for this particular distribution.  Use
55962         REPORT_BUGS_TO for where to report bugs.
55963         * INSTALL: Regenerated.
55964         * manual/libc.texinfo: Include pkgvers.texi.
55965         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55966         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55967         (print_version): Use PKGVERSION.
55968         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55969         (print_version): Use PKGVERSION.
55970         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55971         (print_version): Use PKGVERSION.
55972         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55973         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55974         macro.
55975         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55976         (print_version): Use PKGVERSION.
55977         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55978         (print_version): Use PKGVERSION.
55979         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55980         and PKGVERSION.
55982         * timezone/checktab.awk: Update from tzcode 2012i.
55983         * timezone/ialloc.c: Likewise.
55984         * timezone/private.h: Likewise.
55985         * timezone/scheck.c: Likewise.
55986         * timezone/tzfile.h: Likewise.
55987         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55988         (TZVERSION): Hardcode tzcode version number.
55989         * timezone/zdump.c: Update from tzcode 2012i.
55990         * timezone/zic.c: Likewise.
55991         * timezone/version.h: New file.
55992         * timezone/README: Describe version.h.  Update upstream location.
55994         [BZ #14824]
55995         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55996         (mktemp): Enable declaration.
55997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56001         Likewise.
56002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56003         Likewise.
56004         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56005         Likewise.
56006         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56007         Likewise.
56008         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56009         Likewise.
56010         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56011         Likewise.
56013         [BZ #14821]
56014         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56015         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56016         for copies of such integer values.
56017         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56018         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56020 2012-11-09  Andreas Jaeger  <aj@suse.de>
56022         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56023         definitions and declarations that are provided by
56024         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56026 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56028         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56029         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56030         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56031         definition.
56033 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56035         * elf/elf.h: Update comment before AArch64 relocations.
56037 2012-11-07  David S. Miller  <davem@davemloft.net>
56039         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56040         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56041         (__start_context): Declare.
56042         (__makecontext_ret): Delete.
56043         (__makecontext): Hook up __start_context instead of
56044         __makecontext_ret.
56045         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56046         (sysdep_routines): Add __start_context when in stdlib.
56048 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56050         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56051         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56052         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56053         hardcoded "nm".
56054         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56055         (READELF): New variable.  Use it instead of hardcoded "readelf".
56057 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56059         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56060         * sysdeps/x86/Makefile: Here.
56061         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56062         * sysdeps/x86/tst-xmmymm.sh: This.
56064 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56066         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56067         expectations.
56068         [UNIX98] (pthread_barrier_t): Do not expect.
56069         [UNIX98] (pthread_barrierattr_t): Likewise.
56070         [UNIX98] (pthread_spinlock_t): Likewise.
56071         [UNIX98] (pthread_barrier_destroy): Likewise.
56072         [UNIX98] (pthread_barrier_init): Likewise.
56073         [UNIX98] (pthread_barrier_wait): Likewise.
56074         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56075         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56076         [UNIX98] (pthread_barrierattr_init): Likewise.
56077         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56078         [UNIX98] (pthread_getcpuclockid): Likewise.
56079         [UNIX98] (pthread_mutex_timedlock): Likewise.
56080         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56081         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56082         [UNIX98] (pthread_sigmask): Likewise.
56083         [UNIX98] (pthread_spin_destroy): Likewise.
56084         [UNIX98] (pthread_spin_init): Likewise.
56085         [UNIX98] (pthread_spin_lock): Likewise.
56086         [UNIX98] (pthread_spin_trylock): Likewise.
56087         [UNIX98] (pthread_spin_unlock): Likewise.
56088         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56089         Do not expect.
56090         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56091         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56092         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56093         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56094         [XPG3 || XPG4] (pthread_key_t): Likewise.
56095         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56096         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56097         [XPG3 || XPG4] (pthread_once_t): Likewise.
56098         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56099         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56100         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56101         [XPG3 || XPG4] (pthread_t): Likewise.
56103         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56104         not expect.
56105         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56107         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56108         Change function return type to int.
56110         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56111         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56112         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56113         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56114         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56115         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56116         [!POSIX] (posix_madvise): Likewise.
56117         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56118         && !UNIX98].
56119         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56120         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56121         (mode_t): Likewise.
56122         (posix_mem_offset): Likewise.
56123         (posix_typed_mem_get_info): Likewise.
56124         (posix_typed_mem_open): Likewise.
56126         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56127         Change condition to [XOPEN2K8].
56129         * conform/conformtest.pl: Preprocess allow-header data with -x c
56130         instead of from stdin.
56131         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56132         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56133         [C99-based standards] (cerfc): Likewise.
56134         [C99-based standards] (cexp2): Likewise.
56135         [C99-based standards] (cexpm1): Likewise.
56136         [C99-based standards] (clog10): Likewise.
56137         [C99-based standards] (clog1p): Likewise.
56138         [C99-based standards] (clog2): Likewise.
56139         [C99-based standards] (clgamma): Likewise.
56140         [C99-based standards] (ctgamma): Likewise.
56141         [C99-based standards] (cerff): Likewise.
56142         [C99-based standards] (cerfcf): Likewise.
56143         [C99-based standards] (cexp2f): Likewise.
56144         [C99-based standards] (cexpm1f): Likewise.
56145         [C99-based standards] (clog10f): Likewise.
56146         [C99-based standards] (clog1pf): Likewise.
56147         [C99-based standards] (clog2f): Likewise.
56148         [C99-based standards] (clgammaf): Likewise.
56149         [C99-based standards] (ctgammaf): Likewise.
56150         [C99-based standards] (cerfl): Likewise.
56151         [C99-based standards] (cerfcl): Likewise.
56152         [C99-based standards] (cexp2l): Likewise.
56153         [C99-based standards] (cexpm1l): Likewise.
56154         [C99-based standards] (clog10l): Likewise.
56155         [C99-based standards] (clog1pl): Likewise.
56156         [C99-based standards] (clog2l): Likewise.
56157         [C99-based standards] (clgammal): Likewise.
56158         [C99-based standards] (ctgammal): Likewise.
56159         * conform/data/inttypes.h-data [C99-based standards]: Include
56160         stdint.h-data.  Remove all expectations for stdint.h contents.
56161         [C99-based standards] (PRI*): Do not allow.
56162         [C99-based standards] (SCN*): Likewise.
56163         [C99-based standards] (*_t): Likewise.
56164         [C99-based-standards] (PRId8): Expect macro.
56165         [C99-based-standards] (PRIi8): Likewise.
56166         [C99-based-standards] (PRIo8): Likewise.
56167         [C99-based-standards] (PRIu8): Likewise.
56168         [C99-based-standards] (PRIx8): Likewise.
56169         [C99-based-standards] (PRIX8): Likewise.
56170         [C99-based-standards] (SCNd8): Likewise.
56171         [C99-based-standards] (SCNi8): Likewise.
56172         [C99-based-standards] (SCNo8): Likewise.
56173         [C99-based-standards] (SCNu8): Likewise.
56174         [C99-based-standards] (SCNx8): Likewise.
56175         [C99-based-standards] (PRIdLEAST8): Likewise.
56176         [C99-based-standards] (PRIiLEAST8): Likewise.
56177         [C99-based-standards] (PRIoLEAST8): Likewise.
56178         [C99-based-standards] (PRIuLEAST8): Likewise.
56179         [C99-based-standards] (PRIxLEAST8): Likewise.
56180         [C99-based-standards] (PRIXLEAST8): Likewise.
56181         [C99-based-standards] (SCNdLEAST8): Likewise.
56182         [C99-based-standards] (SCNiLEAST8): Likewise.
56183         [C99-based-standards] (SCNoLEAST8): Likewise.
56184         [C99-based-standards] (SCNuLEAST8): Likewise.
56185         [C99-based-standards] (SCNxLEAST8): Likewise.
56186         [C99-based-standards] (PRIdFAST8): Likewise.
56187         [C99-based-standards] (PRIiFAST8): Likewise.
56188         [C99-based-standards] (PRIoFAST8): Likewise.
56189         [C99-based-standards] (PRIuFAST8): Likewise.
56190         [C99-based-standards] (PRIxFAST8): Likewise.
56191         [C99-based-standards] (PRIXFAST8): Likewise.
56192         [C99-based-standards] (SCNdFAST8): Likewise.
56193         [C99-based-standards] (SCNiFAST8): Likewise.
56194         [C99-based-standards] (SCNoFAST8): Likewise.
56195         [C99-based-standards] (SCNuFAST8): Likewise.
56196         [C99-based-standards] (SCNxFAST8): Likewise.
56197         [C99-based-standards] (PRId16): Likewise.
56198         [C99-based-standards] (PRIi16): Likewise.
56199         [C99-based-standards] (PRIo16): Likewise.
56200         [C99-based-standards] (PRIu16): Likewise.
56201         [C99-based-standards] (PRIx16): Likewise.
56202         [C99-based-standards] (PRIX16): Likewise.
56203         [C99-based-standards] (SCNd16): Likewise.
56204         [C99-based-standards] (SCNi16): Likewise.
56205         [C99-based-standards] (SCNo16): Likewise.
56206         [C99-based-standards] (SCNu16): Likewise.
56207         [C99-based-standards] (SCNx16): Likewise.
56208         [C99-based-standards] (PRIdLEAST16): Likewise.
56209         [C99-based-standards] (PRIiLEAST16): Likewise.
56210         [C99-based-standards] (PRIoLEAST16): Likewise.
56211         [C99-based-standards] (PRIuLEAST16): Likewise.
56212         [C99-based-standards] (PRIxLEAST16): Likewise.
56213         [C99-based-standards] (PRIXLEAST16): Likewise.
56214         [C99-based-standards] (SCNdLEAST16): Likewise.
56215         [C99-based-standards] (SCNiLEAST16): Likewise.
56216         [C99-based-standards] (SCNoLEAST16): Likewise.
56217         [C99-based-standards] (SCNuLEAST16): Likewise.
56218         [C99-based-standards] (SCNxLEAST16): Likewise.
56219         [C99-based-standards] (PRIdFAST16): Likewise.
56220         [C99-based-standards] (PRIiFAST16): Likewise.
56221         [C99-based-standards] (PRIoFAST16): Likewise.
56222         [C99-based-standards] (PRIuFAST16): Likewise.
56223         [C99-based-standards] (PRIxFAST16): Likewise.
56224         [C99-based-standards] (PRIXFAST16): Likewise.
56225         [C99-based-standards] (SCNdFAST16): Likewise.
56226         [C99-based-standards] (SCNiFAST16): Likewise.
56227         [C99-based-standards] (SCNoFAST16): Likewise.
56228         [C99-based-standards] (SCNuFAST16): Likewise.
56229         [C99-based-standards] (SCNxFAST16): Likewise.
56230         [C99-based-standards] (PRId32): Likewise.
56231         [C99-based-standards] (PRIi32): Likewise.
56232         [C99-based-standards] (PRIo32): Likewise.
56233         [C99-based-standards] (PRIu32): Likewise.
56234         [C99-based-standards] (PRIx32): Likewise.
56235         [C99-based-standards] (PRIX32): Likewise.
56236         [C99-based-standards] (SCNd32): Likewise.
56237         [C99-based-standards] (SCNi32): Likewise.
56238         [C99-based-standards] (SCNo32): Likewise.
56239         [C99-based-standards] (SCNu32): Likewise.
56240         [C99-based-standards] (SCNx32): Likewise.
56241         [C99-based-standards] (PRIdLEAST32): Likewise.
56242         [C99-based-standards] (PRIiLEAST32): Likewise.
56243         [C99-based-standards] (PRIoLEAST32): Likewise.
56244         [C99-based-standards] (PRIuLEAST32): Likewise.
56245         [C99-based-standards] (PRIxLEAST32): Likewise.
56246         [C99-based-standards] (PRIXLEAST32): Likewise.
56247         [C99-based-standards] (SCNdLEAST32): Likewise.
56248         [C99-based-standards] (SCNiLEAST32): Likewise.
56249         [C99-based-standards] (SCNoLEAST32): Likewise.
56250         [C99-based-standards] (SCNuLEAST32): Likewise.
56251         [C99-based-standards] (SCNxLEAST32): Likewise.
56252         [C99-based-standards] (PRIdFAST32): Likewise.
56253         [C99-based-standards] (PRIiFAST32): Likewise.
56254         [C99-based-standards] (PRIoFAST32): Likewise.
56255         [C99-based-standards] (PRIuFAST32): Likewise.
56256         [C99-based-standards] (PRIxFAST32): Likewise.
56257         [C99-based-standards] (PRIXFAST32): Likewise.
56258         [C99-based-standards] (SCNdFAST32): Likewise.
56259         [C99-based-standards] (SCNiFAST32): Likewise.
56260         [C99-based-standards] (SCNoFAST32): Likewise.
56261         [C99-based-standards] (SCNuFAST32): Likewise.
56262         [C99-based-standards] (SCNxFAST32): Likewise.
56263         [C99-based-standards] (PRId64): Likewise.
56264         [C99-based-standards] (PRIi64): Likewise.
56265         [C99-based-standards] (PRIo64): Likewise.
56266         [C99-based-standards] (PRIu64): Likewise.
56267         [C99-based-standards] (PRIx64): Likewise.
56268         [C99-based-standards] (PRIX64): Likewise.
56269         [C99-based-standards] (SCNd64): Likewise.
56270         [C99-based-standards] (SCNi64): Likewise.
56271         [C99-based-standards] (SCNo64): Likewise.
56272         [C99-based-standards] (SCNu64): Likewise.
56273         [C99-based-standards] (SCNx64): Likewise.
56274         [C99-based-standards] (PRIdLEAST64): Likewise.
56275         [C99-based-standards] (PRIiLEAST64): Likewise.
56276         [C99-based-standards] (PRIoLEAST64): Likewise.
56277         [C99-based-standards] (PRIuLEAST64): Likewise.
56278         [C99-based-standards] (PRIxLEAST64): Likewise.
56279         [C99-based-standards] (PRIXLEAST64): Likewise.
56280         [C99-based-standards] (SCNdLEAST64): Likewise.
56281         [C99-based-standards] (SCNiLEAST64): Likewise.
56282         [C99-based-standards] (SCNoLEAST64): Likewise.
56283         [C99-based-standards] (SCNuLEAST64): Likewise.
56284         [C99-based-standards] (SCNxLEAST64): Likewise.
56285         [C99-based-standards] (PRIdFAST64): Likewise.
56286         [C99-based-standards] (PRIiFAST64): Likewise.
56287         [C99-based-standards] (PRIoFAST64): Likewise.
56288         [C99-based-standards] (PRIuFAST64): Likewise.
56289         [C99-based-standards] (PRIxFAST64): Likewise.
56290         [C99-based-standards] (PRIXFAST64): Likewise.
56291         [C99-based-standards] (SCNdFAST64): Likewise.
56292         [C99-based-standards] (SCNiFAST64): Likewise.
56293         [C99-based-standards] (SCNoFAST64): Likewise.
56294         [C99-based-standards] (SCNuFAST64): Likewise.
56295         [C99-based-standards] (SCNxFAST64): Likewise.
56296         [C99-based-standards] (PRIdMAX): Likewise.
56297         [C99-based-standards] (PRIiMAX): Likewise.
56298         [C99-based-standards] (PRIoMAX): Likewise.
56299         [C99-based-standards] (PRIuMAX): Likewise.
56300         [C99-based-standards] (PRIxMAX): Likewise.
56301         [C99-based-standards] (PRIXMAX): Likewise.
56302         [C99-based-standards] (SCNdMAX): Likewise.
56303         [C99-based-standards] (SCNiMAX): Likewise.
56304         [C99-based-standards] (SCNoMAX): Likewise.
56305         [C99-based-standards] (SCNuMAX): Likewise.
56306         [C99-based-standards] (SCNxMAX): Likewise.
56307         [C99-based-standards] (PRIdPTR): Likewise.
56308         [C99-based-standards] (PRIiPTR): Likewise.
56309         [C99-based-standards] (PRIoPTR): Likewise.
56310         [C99-based-standards] (PRIuPTR): Likewise.
56311         [C99-based-standards] (PRIxPTR): Likewise.
56312         [C99-based-standards] (PRIXPTR): Likewise.
56313         [C99-based-standards] (SCNdPTR): Likewise.
56314         [C99-based-standards] (SCNiPTR): Likewise.
56315         [C99-based-standards] (SCNoPTR): Likewise.
56316         [C99-based-standards] (SCNuPTR): Likewise.
56317         [C99-based-standards] (SCNxPTR): Likewise.
56318         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56319         allow.
56320         * conform/data/stdint.h-data: Update comments to clarify
56321         requirements.
56322         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56323         type.
56324         [C99-based standards] (INT8_MAX): Likewise.
56325         [C99-based standards] (INT16_MIN): Likewise.
56326         [C99-based standards] (INT16_MAX): Likewise.
56327         [C99-based standards] (INT32_MIN): Likewise.
56328         [C99-based standards] (INT32_MAX): Likewise.
56329         [C99-based standards] (INT64_MIN): Likewise.
56330         [C99-based standards] (INT64_MAX): Likewise.
56331         [C99-based standards] (UINT8_MAX): Likewise.
56332         [C99-based standards] (UINT16_MAX): Likewise.
56333         [C99-based standards] (UINT32_MAX): Likewise.
56334         [C99-based standards] (UINT64_MAX): Likewise.
56335         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56336         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56337         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56338         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56339         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56340         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56341         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56342         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56343         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56344         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56345         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56346         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56347         [C99-based standards] (INT_FAST8_MIN): Likewise.
56348         [C99-based standards] (INT_FAST8_MAX): Likewise.
56349         [C99-based standards] (INT_FAST16_MIN): Likewise.
56350         [C99-based standards] (INT_FAST16_MAX): Likewise.
56351         [C99-based standards] (INT_FAST32_MIN): Likewise.
56352         [C99-based standards] (INT_FAST32_MAX): Likewise.
56353         [C99-based standards] (INT_FAST64_MIN): Likewise.
56354         [C99-based standards] (INT_FAST64_MAX): Likewise.
56355         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56356         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56357         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56358         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56359         [C99-based standards] (INTPTR_MIN): Likewise.
56360         [C99-based standards] (INTPTR_MAX): Likewise.
56361         [C99-based standards] (UINTPTR_MAX): Likewise.
56362         [C99-based standards] (INTMAX_MIN): Likewise.
56363         [C99-based standards] (INTMAX_MAX): Likewise.
56364         [C99-based standards] (UINTMAX_MAX): Likewise.
56365         [C99-based standards] (PTRDIFF_MIN): Likewise.
56366         [C99-based standards] (PTRDIFF_MAX): Likewise.
56367         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56368         [C99-based standards] (SIZE_MAX): Likewise.
56369         [C99-based standards] (WCHAR_MAX): Likewise.
56370         [C99-based standards] (WINT_MAX): Likewise.
56371         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56372         constraint on value.
56373         [C99-based standards] (WCHAR_MIN): Likewise.
56374         [C99-based standards] (WINT_MIN): Likewise.
56375         [C99-based standards] (*_t): Allow.
56376         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56377         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56378         Include math.h-data and complex.h-data.  Remove all expectations
56379         of math.h and complex.h contents.
56380         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56381         at end of line.
56382         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56383         (struct tm): Expect tag.
56384         [C99-based-standards] (wcstof): Expect function.
56385         [C99-based-standards] (wcstold): Likewise.
56386         [C99-based-standards] (wcstoll): Likewise.
56387         [C99-based-standards] (wcstoull): Likewise.
56388         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56389         macro-int-constant.  Specify type.
56390         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56391         constraint on value.
56392         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56393         Specify type.
56394         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56395         Specify value.
56396         [ISO C standards]: Do not allow headers.
56397         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56398         wcs[abcdefghijklmnopqrstuvwxyz]*.
56399         [ISO C standards] (*_t): Do not allow.
56400         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56401         Expect function.
56402         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56403         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56404         Specify type.
56405         [ISO C standards]: Do not allow headers.
56406         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56407         is[abcdefghijklmnopqrstuvwxyz]*.
56408         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56409         to[abcdefghijklmnopqrstuvwxyz]*.
56410         [ISO C standards] (*_t): Do not allow.
56411         * conform/data/stdalign.h-data: New file.
56412         * conform/data/stdbool.h-data: Likewise.
56413         * conform/data/stdnoreturn.h-data: Likewise.
56415 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56417         [BZ #14815]
56418         * manual/filesys.texi (Directory Entries): Typo fix.
56419         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56421 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56423         * elf/elf.h (EM_AARCH64): New macro.
56424         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56425         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56426         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56427         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56428         (R_AARCH64_TLSDESC): Likewise.
56429         (NT_ARM_TLS): Likewise.
56430         (NT_ARM_HW_BREAK): Likewise.
56431         (NT_ARM_HW_WATCH): Likewise.
56433 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56435         [BZ #14811]
56436         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56437         (__ieee754_powl): Saturate nonzero exponents with absolute value
56438         below 0x1p-79 to +/- 0x1p-79.
56439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56440         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56441         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56442         nonzero exponents with absolute value below 0x1p-32 to +/-
56443         0x1p-32.
56444         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56445         (__ieee754_powl): Saturate nonzero exponents with absolute value
56446         below 0x1p-79 to +/- 0x1p-79.
56447         * math/libm-test.inc (pow_test): Add more tests.
56449 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56451         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56452         _dl_s390_cap_flags with kernel. Increase string length.
56453         (_dl_s390_platforms): Add z196 and zEC12.
56455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56457         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56458         Change XOPEN21K to XOPEN2K.
56460 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56462         * string/memmove.c: Use memcpy when possible.
56464 2012-11-06  Andreas Jaeger  <aj@suse.de>
56466         * po/eo.po: Update from translation team.
56468 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #14793]
56471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56472         exponent and small x and y exponents, scale x or y up.  Increase
56473         by 2 the exponent used in scaling up.
56474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56476         * math/libm-test.inc (fma_test): Add more tests.
56477         (fma_test_towardzero): Likewise.
56478         (fma_test_downward): Likewise.
56479         (fma_test_upward): Likewise.
56481 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #14805]
56484         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56485         fenv_t *.
56487         [BZ #14801]
56488         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56489         namespace for names of struct fields.
56490         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56491         fenv_t fields.
56492         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56493         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56495 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56497         [BZ #3665]
56498         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56500 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56502         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56503         PTR_DEMANGLE.
56505         [BZ #5246]
56506         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56507         PTR_DEMANGLE.
56509 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56511         [BZ #14797]
56512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56513         definitely overflow as x * y not x * y + z.
56514         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56516         * math/libm-test.inc (fma_test): Add more tests.
56517         (fma_test_towardzero): Likewise.
56518         (fma_test_downward): Likewise.
56519         (fma_test_upward): Likewise.
56521 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56523         [BZ #157]
56525         * include/stub-tag.h: Remove file.
56526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56527         '#include' of it.
56528         * manual/maint.texi (Porting): Don't reference it.
56529         * Makerules ($(objpfx)stubs): Likewise.
56530         * dirent/closedir.c: Don't include <stub-tag.h>.
56531         * dirent/dirfd.c: Likewise.
56532         * dirent/fdopendir.c: Likewise.
56533         * dirent/getdents.c: Likewise.
56534         * dirent/getdents64.c: Likewise.
56535         * dirent/opendir.c: Likewise.
56536         * dirent/readdir.c: Likewise.
56537         * dirent/readdir64.c: Likewise.
56538         * dirent/readdir64_r.c: Likewise.
56539         * dirent/readdir_r.c: Likewise.
56540         * dirent/rewinddir.c: Likewise.
56541         * dirent/seekdir.c: Likewise.
56542         * dirent/telldir.c: Likewise.
56543         * gmon/profil.c: Likewise.
56544         * grp/setgroups.c: Likewise.
56545         * inet/if_index.c: Likewise.
56546         * io/access.c: Likewise.
56547         * io/chdir.c: Likewise.
56548         * io/chmod.c: Likewise.
56549         * io/chown.c: Likewise.
56550         * io/close.c: Likewise.
56551         * io/dup.c: Likewise.
56552         * io/dup2.c: Likewise.
56553         * io/dup3.c: Likewise.
56554         * io/euidaccess.c: Likewise.
56555         * io/faccessat.c: Likewise.
56556         * io/fchdir.c: Likewise.
56557         * io/fchmod.c: Likewise.
56558         * io/fchmodat.c: Likewise.
56559         * io/fchown.c: Likewise.
56560         * io/fchownat.c: Likewise.
56561         * io/fcntl.c: Likewise.
56562         * io/flock.c: Likewise.
56563         * io/fstatfs.c: Likewise.
56564         * io/fstatfs64.c: Likewise.
56565         * io/fstatvfs.c: Likewise.
56566         * io/fstatvfs64.c: Likewise.
56567         * io/futimens.c: Likewise.
56568         * io/fxstat.c: Likewise.
56569         * io/fxstat64.c: Likewise.
56570         * io/fxstatat.c: Likewise.
56571         * io/fxstatat64.c: Likewise.
56572         * io/getcwd.c: Likewise.
56573         * io/isatty.c: Likewise.
56574         * io/lchmod.c: Likewise.
56575         * io/lchown.c: Likewise.
56576         * io/link.c: Likewise.
56577         * io/linkat.c: Likewise.
56578         * io/lseek.c: Likewise.
56579         * io/lseek64.c: Likewise.
56580         * io/lxstat64.c: Likewise.
56581         * io/mkdir.c: Likewise.
56582         * io/mkdirat.c: Likewise.
56583         * io/mkfifo.c: Likewise.
56584         * io/mkfifoat.c: Likewise.
56585         * io/open.c: Likewise.
56586         * io/open64.c: Likewise.
56587         * io/openat.c: Likewise.
56588         * io/openat64.c: Likewise.
56589         * io/pipe.c: Likewise.
56590         * io/pipe2.c: Likewise.
56591         * io/poll.c: Likewise.
56592         * io/posix_fadvise.c: Likewise.
56593         * io/posix_fadvise64.c: Likewise.
56594         * io/posix_fallocate.c: Likewise.
56595         * io/posix_fallocate64.c: Likewise.
56596         * io/read.c: Likewise.
56597         * io/readlink.c: Likewise.
56598         * io/readlinkat.c: Likewise.
56599         * io/rmdir.c: Likewise.
56600         * io/sendfile.c: Likewise.
56601         * io/sendfile64.c: Likewise.
56602         * io/statfs.c: Likewise.
56603         * io/statfs64.c: Likewise.
56604         * io/statvfs.c: Likewise.
56605         * io/statvfs64.c: Likewise.
56606         * io/symlink.c: Likewise.
56607         * io/symlinkat.c: Likewise.
56608         * io/ttyname.c: Likewise.
56609         * io/ttyname_r.c: Likewise.
56610         * io/umask.c: Likewise.
56611         * io/unlink.c: Likewise.
56612         * io/unlinkat.c: Likewise.
56613         * io/utime.c: Likewise.
56614         * io/utimensat.c: Likewise.
56615         * io/write.c: Likewise.
56616         * io/xmknod.c: Likewise.
56617         * io/xmknodat.c: Likewise.
56618         * io/xstat.c: Likewise.
56619         * io/xstat64.c: Likewise.
56620         * login/getpt.c: Likewise.
56621         * login/grantpt.c: Likewise.
56622         * login/unlockpt.c: Likewise.
56623         * math/e_acoshl.c: Likewise.
56624         * math/e_acosl.c: Likewise.
56625         * math/e_asinl.c: Likewise.
56626         * math/e_atan2l.c: Likewise.
56627         * math/e_atanhl.c: Likewise.
56628         * math/e_coshl.c: Likewise.
56629         * math/e_expl.c: Likewise.
56630         * math/e_fmodl.c: Likewise.
56631         * math/e_gammal_r.c: Likewise.
56632         * math/e_hypotl.c: Likewise.
56633         * math/e_j0l.c: Likewise.
56634         * math/e_j1l.c: Likewise.
56635         * math/e_jnl.c: Likewise.
56636         * math/e_lgammal_r.c: Likewise.
56637         * math/e_log10l.c: Likewise.
56638         * math/e_log2l.c: Likewise.
56639         * math/e_logl.c: Likewise.
56640         * math/e_powl.c: Likewise.
56641         * math/e_rem_pio2l.c: Likewise.
56642         * math/e_sinhl.c: Likewise.
56643         * math/e_sqrtl.c: Likewise.
56644         * math/fclrexcpt.c: Likewise.
56645         * math/fedisblxcpt.c: Likewise.
56646         * math/feenablxcpt.c: Likewise.
56647         * math/fegetenv.c: Likewise.
56648         * math/fegetexcept.c: Likewise.
56649         * math/fegetround.c: Likewise.
56650         * math/feholdexcpt.c: Likewise.
56651         * math/fesetenv.c: Likewise.
56652         * math/fesetround.c: Likewise.
56653         * math/feupdateenv.c: Likewise.
56654         * math/fgetexcptflg.c: Likewise.
56655         * math/fraiseexcpt.c: Likewise.
56656         * math/fsetexcptflg.c: Likewise.
56657         * math/ftestexcept.c: Likewise.
56658         * math/k_cosl.c: Likewise.
56659         * math/k_rem_pio2l.c: Likewise.
56660         * math/k_sinl.c: Likewise.
56661         * math/k_tanl.c: Likewise.
56662         * math/s_asinhl.c: Likewise.
56663         * math/s_atanl.c: Likewise.
56664         * math/s_cbrtl.c: Likewise.
56665         * math/s_erfl.c: Likewise.
56666         * math/s_expm1l.c: Likewise.
56667         * math/s_log1pl.c: Likewise.
56668         * math/s_tanhl.c: Likewise.
56669         * misc/acct.c: Likewise.
56670         * misc/brk.c: Likewise.
56671         * misc/chflags.c: Likewise.
56672         * misc/chroot.c: Likewise.
56673         * misc/fchflags.c: Likewise.
56674         * misc/fgetxattr.c: Likewise.
56675         * misc/flistxattr.c: Likewise.
56676         * misc/fremovexattr.c: Likewise.
56677         * misc/fsetxattr.c: Likewise.
56678         * misc/fsync.c: Likewise.
56679         * misc/ftruncate.c: Likewise.
56680         * misc/futimes.c: Likewise.
56681         * misc/futimesat.c: Likewise.
56682         * misc/getdomain.c: Likewise.
56683         * misc/getdtsz.c: Likewise.
56684         * misc/gethostid.c: Likewise.
56685         * misc/gethostname.c: Likewise.
56686         * misc/getloadavg.c: Likewise.
56687         * misc/getpagesize.c: Likewise.
56688         * misc/getsysstats.c: Likewise.
56689         * misc/getxattr.c: Likewise.
56690         * misc/gtty.c: Likewise.
56691         * misc/ioctl.c: Likewise.
56692         * misc/lgetxattr.c: Likewise.
56693         * misc/listxattr.c: Likewise.
56694         * misc/llistxattr.c: Likewise.
56695         * misc/lremovexattr.c: Likewise.
56696         * misc/lsetxattr.c: Likewise.
56697         * misc/lutimes.c: Likewise.
56698         * misc/madvise.c: Likewise.
56699         * misc/mincore.c: Likewise.
56700         * misc/mlock.c: Likewise.
56701         * misc/mlockall.c: Likewise.
56702         * misc/mmap.c: Likewise.
56703         * misc/mprotect.c: Likewise.
56704         * misc/msync.c: Likewise.
56705         * misc/munlock.c: Likewise.
56706         * misc/munlockall.c: Likewise.
56707         * misc/munmap.c: Likewise.
56708         * misc/preadv.c: Likewise.
56709         * misc/preadv64.c: Likewise.
56710         * misc/ptrace.c: Likewise.
56711         * misc/pwritev.c: Likewise.
56712         * misc/pwritev64.c: Likewise.
56713         * misc/readv.c: Likewise.
56714         * misc/reboot.c: Likewise.
56715         * misc/remap_file_pages.c: Likewise.
56716         * misc/removexattr.c: Likewise.
56717         * misc/revoke.c: Likewise.
56718         * misc/select.c: Likewise.
56719         * misc/setdomain.c: Likewise.
56720         * misc/setegid.c: Likewise.
56721         * misc/seteuid.c: Likewise.
56722         * misc/sethostid.c: Likewise.
56723         * misc/sethostname.c: Likewise.
56724         * misc/setregid.c: Likewise.
56725         * misc/setreuid.c: Likewise.
56726         * misc/setxattr.c: Likewise.
56727         * misc/sstk.c: Likewise.
56728         * misc/stty.c: Likewise.
56729         * misc/swapoff.c: Likewise.
56730         * misc/swapon.c: Likewise.
56731         * misc/sync.c: Likewise.
56732         * misc/syncfs.c: Likewise.
56733         * misc/syscall.c: Likewise.
56734         * misc/truncate.c: Likewise.
56735         * misc/ualarm.c: Likewise.
56736         * misc/usleep.c: Likewise.
56737         * misc/ustat.c: Likewise.
56738         * misc/utimes.c: Likewise.
56739         * misc/vhangup.c: Likewise.
56740         * misc/writev.c: Likewise.
56741         * posix/_exit.c: Likewise.
56742         * posix/alarm.c: Likewise.
56743         * posix/execve.c: Likewise.
56744         * posix/fexecve.c: Likewise.
56745         * posix/fork.c: Likewise.
56746         * posix/fpathconf.c: Likewise.
56747         * posix/getaddrinfo.c: Likewise.
56748         * posix/getegid.c: Likewise.
56749         * posix/geteuid.c: Likewise.
56750         * posix/getgid.c: Likewise.
56751         * posix/getgroups.c: Likewise.
56752         * posix/getlogin.c: Likewise.
56753         * posix/getlogin_r.c: Likewise.
56754         * posix/getpgid.c: Likewise.
56755         * posix/getpid.c: Likewise.
56756         * posix/getppid.c: Likewise.
56757         * posix/getresgid.c: Likewise.
56758         * posix/getresuid.c: Likewise.
56759         * posix/getsid.c: Likewise.
56760         * posix/getuid.c: Likewise.
56761         * posix/glob64.c: Likewise.
56762         * posix/nanosleep.c: Likewise.
56763         * posix/pathconf.c: Likewise.
56764         * posix/pause.c: Likewise.
56765         * posix/posix_madvise.c: Likewise.
56766         * posix/pread.c: Likewise.
56767         * posix/pread64.c: Likewise.
56768         * posix/pwrite.c: Likewise.
56769         * posix/pwrite64.c: Likewise.
56770         * posix/sched_getaffinity.c: Likewise.
56771         * posix/sched_getp.c: Likewise.
56772         * posix/sched_gets.c: Likewise.
56773         * posix/sched_primax.c: Likewise.
56774         * posix/sched_primin.c: Likewise.
56775         * posix/sched_rr_gi.c: Likewise.
56776         * posix/sched_setaffinity.c: Likewise.
56777         * posix/sched_setp.c: Likewise.
56778         * posix/sched_sets.c: Likewise.
56779         * posix/sched_yield.c: Likewise.
56780         * posix/setgid.c: Likewise.
56781         * posix/setlogin.c: Likewise.
56782         * posix/setpgid.c: Likewise.
56783         * posix/setresgid.c: Likewise.
56784         * posix/setresuid.c: Likewise.
56785         * posix/setsid.c: Likewise.
56786         * posix/setuid.c: Likewise.
56787         * posix/sleep.c: Likewise.
56788         * posix/spawni.c: Likewise.
56789         * posix/sysconf.c: Likewise.
56790         * posix/times.c: Likewise.
56791         * posix/wait.c: Likewise.
56792         * posix/wait3.c: Likewise.
56793         * posix/wait4.c: Likewise.
56794         * posix/waitpid.c: Likewise.
56795         * resolv/gai_sigqueue.c: Likewise.
56796         * resource/getpriority.c: Likewise.
56797         * resource/getrlimit.c: Likewise.
56798         * resource/getrusage.c: Likewise.
56799         * resource/nice.c: Likewise.
56800         * resource/setpriority.c: Likewise.
56801         * resource/setrlimit.c: Likewise.
56802         * resource/ulimit.c: Likewise.
56803         * rt/aio_cancel.c: Likewise.
56804         * rt/aio_fsync.c: Likewise.
56805         * rt/aio_read.c: Likewise.
56806         * rt/aio_sigqueue.c: Likewise.
56807         * rt/aio_suspend.c: Likewise.
56808         * rt/aio_write.c: Likewise.
56809         * rt/clock_getres.c: Likewise.
56810         * rt/clock_gettime.c: Likewise.
56811         * rt/clock_nanosleep.c: Likewise.
56812         * rt/clock_settime.c: Likewise.
56813         * rt/lio_listio.c: Likewise.
56814         * rt/mq_close.c: Likewise.
56815         * rt/mq_getattr.c: Likewise.
56816         * rt/mq_notify.c: Likewise.
56817         * rt/mq_open.c: Likewise.
56818         * rt/mq_receive.c: Likewise.
56819         * rt/mq_send.c: Likewise.
56820         * rt/mq_setattr.c: Likewise.
56821         * rt/mq_timedreceive.c: Likewise.
56822         * rt/mq_timedsend.c: Likewise.
56823         * rt/mq_unlink.c: Likewise.
56824         * rt/shm_open.c: Likewise.
56825         * rt/shm_unlink.c: Likewise.
56826         * rt/timer_create.c: Likewise.
56827         * rt/timer_delete.c: Likewise.
56828         * rt/timer_getoverr.c: Likewise.
56829         * rt/timer_gettime.c: Likewise.
56830         * rt/timer_settime.c: Likewise.
56831         * setjmp/__longjmp.c: Likewise.
56832         * setjmp/setjmp.c: Likewise.
56833         * signal/kill.c: Likewise.
56834         * signal/killpg.c: Likewise.
56835         * signal/raise.c: Likewise.
56836         * signal/sigaction.c: Likewise.
56837         * signal/sigaltstack.c: Likewise.
56838         * signal/sigblock.c: Likewise.
56839         * signal/sigignore.c: Likewise.
56840         * signal/sigintr.c: Likewise.
56841         * signal/signal.c: Likewise.
56842         * signal/sigpause.c: Likewise.
56843         * signal/sigpending.c: Likewise.
56844         * signal/sigqueue.c: Likewise.
56845         * signal/sigreturn.c: Likewise.
56846         * signal/sigset.c: Likewise.
56847         * signal/sigsetmask.c: Likewise.
56848         * signal/sigstack.c: Likewise.
56849         * signal/sigsuspend.c: Likewise.
56850         * signal/sigtimedwait.c: Likewise.
56851         * signal/sigvec.c: Likewise.
56852         * signal/sigwait.c: Likewise.
56853         * signal/sigwaitinfo.c: Likewise.
56854         * signal/sysv_signal.c: Likewise.
56855         * socket/accept.c: Likewise.
56856         * socket/accept4.c: Likewise.
56857         * socket/bind.c: Likewise.
56858         * socket/connect.c: Likewise.
56859         * socket/getpeername.c: Likewise.
56860         * socket/getsockname.c: Likewise.
56861         * socket/getsockopt.c: Likewise.
56862         * socket/isfdtype.c: Likewise.
56863         * socket/listen.c: Likewise.
56864         * socket/recv.c: Likewise.
56865         * socket/recvfrom.c: Likewise.
56866         * socket/recvmsg.c: Likewise.
56867         * socket/send.c: Likewise.
56868         * socket/sendmsg.c: Likewise.
56869         * socket/sendto.c: Likewise.
56870         * socket/setsockopt.c: Likewise.
56871         * socket/shutdown.c: Likewise.
56872         * socket/sockatmark.c: Likewise.
56873         * socket/socket.c: Likewise.
56874         * socket/socketpair.c: Likewise.
56875         * stdio-common/ctermid.c: Likewise.
56876         * stdio-common/cuserid.c: Likewise.
56877         * stdio-common/remove.c: Likewise.
56878         * stdio-common/rename.c: Likewise.
56879         * stdio-common/renameat.c: Likewise.
56880         * stdio-common/tempname.c: Likewise.
56881         * stdlib/getcontext.c: Likewise.
56882         * stdlib/makecontext.c: Likewise.
56883         * stdlib/setcontext.c: Likewise.
56884         * stdlib/swapcontext.c: Likewise.
56885         * stdlib/system.c: Likewise.
56886         * streams/fattach.c: Likewise.
56887         * streams/fdetach.c: Likewise.
56888         * streams/getmsg.c: Likewise.
56889         * streams/getpmsg.c: Likewise.
56890         * streams/putmsg.c: Likewise.
56891         * streams/putpmsg.c: Likewise.
56892         * sysdeps/unix/bsd/getpt.c: Likewise.
56893         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56894         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56895         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56897         Likewise.
56898         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56899         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56900         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56901         * sysvipc/msgctl.c: Likewise.
56902         * sysvipc/msgget.c: Likewise.
56903         * sysvipc/msgrcv.c: Likewise.
56904         * sysvipc/msgsnd.c: Likewise.
56905         * sysvipc/semctl.c: Likewise.
56906         * sysvipc/semget.c: Likewise.
56907         * sysvipc/semop.c: Likewise.
56908         * sysvipc/semtimedop.c: Likewise.
56909         * sysvipc/shmat.c: Likewise.
56910         * sysvipc/shmctl.c: Likewise.
56911         * sysvipc/shmdt.c: Likewise.
56912         * sysvipc/shmget.c: Likewise.
56913         * termios/tcdrain.c: Likewise.
56914         * termios/tcflow.c: Likewise.
56915         * termios/tcflush.c: Likewise.
56916         * termios/tcgetattr.c: Likewise.
56917         * termios/tcgetpgrp.c: Likewise.
56918         * termios/tcsendbrk.c: Likewise.
56919         * termios/tcsetattr.c: Likewise.
56920         * termios/tcsetpgrp.c: Likewise.
56921         * time/adjtime.c: Likewise.
56922         * time/clock.c: Likewise.
56923         * time/getitimer.c: Likewise.
56924         * time/gettimeofday.c: Likewise.
56925         * time/setitimer.c: Likewise.
56926         * time/settimeofday.c: Likewise.
56927         * time/stime.c: Likewise.
56928         * time/time.c: Likewise.
56930 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56932         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56933         /usr/old/bin.
56935         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56936         instead of spaces.
56937         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56939 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56941         [BZ #14796]
56942         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56943         FE_TONEAREST before applying Dekker multiplication and Knuth
56944         addition.  Clear inexact exceptions and check for exact zero
56945         results afterwards.
56946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56949         * math/libm-test.inc (fma_test): Add more tests.
56950         (fma_test_towardzero): Likewise.
56951         (fma_test_downward): Likewise.
56952         (fma_test_upward): Likewise.
56953         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56954         function.
56955         (libc_fesetround): New macro.
56956         (libc_fesetroundf): Likewise.
56957         (libc_fesetroundl): Likewise.
56958         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56959         function.
56960         (libc_fesetround_387): Likewise.
56961         (libc_fesetroundf): New macro.
56962         (libc_fesetround): Likewise.
56963         (libc_fesetroundl): Likewise.
56964         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56965         function.
56966         (libc_fesetroundf): New macro.
56967         (libc_fesetround): Likewise.
56968         (libc_fesetroundl): Likewise.
56969         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56970         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56971         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56972         libm_hidden_ver.
56973         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56974         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56975         libm_hidden_def.
56976         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56977         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56978         libm_hidden_ver.
56979         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56980         libm_hidden_def.
56982         [BZ #3439]
56983         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56984         integer constant usable in #if and use that to give value to enum
56985         constant.
56986         (FE_DIVBYZERO): Likewise.
56987         (FE_UNDERFLOW): Likewise.
56988         (FE_OVERFLOW): Likewise.
56989         (FE_INVALID): Likewise.
56990         (FE_INVALID_SNAN): Likewise.
56991         (FE_INVALID_ISI): Likewise.
56992         (FE_INVALID_IDI): Likewise.
56993         (FE_INVALID_ZDZ): Likewise.
56994         (FE_INVALID_IMZ): Likewise.
56995         (FE_INVALID_COMPARE): Likewise.
56996         (FE_INVALID_SOFTWARE): Likewise.
56997         (FE_INVALID_SQRT): Likewise.
56998         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56999         (FE_TONEAREST): Likewise.
57000         (FE_TOWARDZERO): Likewise.
57001         (FE_UPWARD): Likewise.
57002         (FE_DOWNWARD): Likewise.
57003         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57004         (FE_DIVBYZERO): Likewise.
57005         (FE_OVERFLOW): Likewise.
57006         (FE_UNDERFLOW): Likewise.
57007         (FE_INEXACT): Likewise.
57008         (FE_TONEAREST): Likewise.
57009         (FE_DOWNWARD): Likewise.
57010         (FE_UPWARD): Likewise.
57011         (FE_TOWARDZERO): Likewise.
57012         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57013         (FE_UNDERFLOW): Likewise.
57014         (FE_OVERFLOW): Likewise.
57015         (FE_DIVBYZERO): Likewise.
57016         (FE_INVALID): Likewise.
57017         (FE_TONEAREST): Likewise.
57018         (FE_TOWARDZERO): Likewise.
57019         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57020         (FE_OVERFLOW): Likewise.
57021         (FE_UNDERFLOW): Likewise.
57022         (FE_DIVBYZERO): Likewise.
57023         (FE_INEXACT): Likewise.
57024         (FE_TONEAREST): Likewise.
57025         (FE_TOWARDZERO): Likewise.
57026         (FE_UPWARD): Likewise.
57027         (FE_DOWNWARD): Likewise.
57028         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57029         (FE_DIVBYZERO): Likewise.
57030         (FE_OVERFLOW): Likewise.
57031         (FE_UNDERFLOW): Likewise.
57032         (FE_INEXACT): Likewise.
57033         (FE_TONEAREST): Likewise.
57034         (FE_DOWNWARD): Likewise.
57035         (FE_UPWARD): Likewise.
57036         (FE_TOWARDZERO): Likewise.
57038 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57040         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57042 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57044         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57045         commands.  Quote $PWD.
57046         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57047         -x" by "export".
57048         (remove_newlines): Remove.
57050 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57052         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57053         * stdlib/stdlib.h (atof): Moved to ...
57054         * include/bits/stdlib-float.h: Here.  New file.
57055         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57056         * stdlib/bits/stdlib-float.h: New file.
57057         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57058         -mno-sse -mno-mmx.
57059         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57060         <xmmintrin.h>.
57062 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57064         * conform/conformtest.pl (@headers): Add fenv.h.
57065         * conform/data/fenv.h-data: New file.
57066         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57067         include of <math/fenv.h>.
57069         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57070         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57071         && !UNIX98].  Enables tests for XOPEN2K8.
57072         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57073         POSIX2008]: Likewise.
57075         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57076         (struct rusage): Do not expect type or its members.
57078         [BZ #3439]
57079         * math/math.h (FP_NAN): Define macro to integer constant usable in
57080         #if and use that to give value to enum constant.
57081         (FP_INFINITE): Likewise.
57082         (FP_ZERO): Likewise.
57083         (FP_SUBNORMAL): Likewise.
57084         (FP_NORMAL): Likewise.
57086 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57088         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57089         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57090         arguments.
57092 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57094         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57095         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57096         autoconf-time if not.
57097         * configure.in: Remove AC_PREREQ.
57099 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57101         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57102         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57103         of the internal implementation.
57105 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57107         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57108         except include of <misc/sys/syslog.h>.
57110 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57113         function returns with a NULL context exit with zero.
57115 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57117         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57119 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57121         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57122         (run_program_cmd): This.
57123         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57124         (tst_langinfo): New variable.  Use it.
57126 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57128         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57129         floating point opcodes.
57131 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57133         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57134         variable.
57136         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57138         * sysdeps/mach/hurd/powerpc: Remove directory.
57139         * sysdeps/mach/powerpc: Likewise.
57141 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57143         * scripts/check-local-headers.sh: Ignore c++ headers.
57145 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57147         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57148         __libc_cleanup_region_start argument.
57150 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57152         [BZ #14784]
57153         [BZ #14785]
57154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57155         x * y using scaling, not as x * y + z.
57156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57157         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57158         * math/libm-test.inc (fma_test): Add more tests.
57159         (fma_test_towardzero): Likewise.
57160         (fma_test_downward): Likewise.
57161         (fma_test_upward): Likewise.
57163 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57165         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57167 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57169         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57170         New variable.
57172 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57174         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57176 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57179         Fix sort order.
57180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57181         Likewise.
57183 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57186         Fix the order of the list for glibc 2.17.
57187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57188         Likewise.
57190 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57194 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57196         [BZ #14610]
57197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57198         for low part of x being zero before using __atanl (y).
57199         * math/libm-test.inc (atan2_test): Add another test.
57201         * manual/install.texi (Configuring and compiling): Document
57202         general use of test-wrapper and test-wrapper-env.
57203         * INSTALL: Regenerated.
57205         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57206         (__fma): Do not extract and scale down low bits on after-rounding
57207         systems when result rounded to normal precision would have normal
57208         exponent.
57209         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57210         (__fmal): Do not extract and scale down low bits on after-rounding
57211         systems when result rounded to normal precision would have normal
57212         exponent.
57213         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57214         (__fmal): Do not extract and scale down low bits on after-rounding
57215         systems when result rounded to normal precision would have normal
57216         exponent.
57217         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57218         macro.
57219         (fma_test): Add more tests.
57220         (fma_test_towardzero): Likewise.
57221         (fma_test_downward): Likewise.
57222         (fma_test_upward): Likewise.
57224 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57226         * sysdeps/i386/tininess.h: Renamed to ...
57227         * sysdeps/x86/tininess.h: This.
57228         * sysdeps/x86_64/tininess.h: Removed.
57230 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57232         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57233         input.  Use $(build-program-cmd).
57234         ($(objpfx)tst-array1-static.out): Likewise.
57235         ($(objpfx)tst-array2.out): Likewise.
57236         ($(objpfx)tst-array3.out): Likewise.
57237         ($(objpfx)tst-array4.out): Likewise.
57238         ($(objpfx)tst-array5.out): Likewise.
57239         ($(objpfx)tst-array5-static.out): Likewise.
57241 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57243         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57244         if defined.
57246         * nss/nsswitch.h (nss_interface_function): Provide new
57247         macro for use with NSS functions.
57248         * grp/initgroups.c: Use new macro.
57249         * nss/getXXbyYY.c: Likewise.
57250         * nss/getXXbyYY_r.c: Likewise.
57251         * nss/getXXent.c: Likewise.
57252         * nss/getXXent_r.c: Likewise.
57253         * sysdeps/posix/getaddrinfo.c: Likewise.
57255 2012-10-30  Andreas Jaeger  <aj@suse.de>
57257         * po/ru.po: Update Russion translation from translation project.
57259 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57261         [BZ #14152]
57262         [BZ #14783]
57263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57264         result and shift together with sticky bit instead of replicating
57265         round-to-nearest rounding.
57266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57268         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57269         missing underflow exceptions.
57270         (fma_test_towardzero): Add more tests.
57271         (fma_test_downward): Likewise.
57272         (fma_test_upward): Likewise.
57274         [BZ #14047]
57275         * sysdeps/generic/tininess.h: New file.
57276         * sysdeps/i386/tininess.h: Likewise.
57277         * sysdeps/sh/tininess.h: Likewise.
57278         * sysdeps/x86_64/tininess.h: Likewise.
57279         * stdlib/tst-strtod-underflow.c: Likewise.
57280         * stdlib/tst-tininess.c: Likewise.
57281         * stdlib/strtod_l.c: Include <tininess.h>.
57282         (round_and_return): Do not set errno for exact underflow cases.
57283         Force an underflow exception when setting errno for underflow.
57284         Determine underflow based on rounding to normal precision if
57285         TININESS_AFTER_ROUNDING.
57286         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57287         ERANGE for exact underflow cases.
57288         * stdlib/Makefile (tests): Add tst-tininess and
57289         tst-strtod-underflow.
57290         ($(objpfx)tst-tininess): Use $(link-libm).
57291         ($(objpfx)tst-strtod-underflow): Likewise.
57293 2012-10-30  Andreas Jaeger  <aj@suse.de>
57295         [BZ#14767]
57296         * elf/Makefile (tests): Remove conditional for have-initfini-array
57297         since this is now always required and the variable does not exist
57298         anymore.
57299         (tests-static): Likewise.
57300         (modules-names): Likewise.
57302         * po/eo.po: Add Esperanto translation from translation project.
57304         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57305         merged with constructor/destructor.
57306         (init_array): Likewise.
57307         * elf/tst-array2dep.c (fini_array): Likewise.
57308         (init_array): Likewise.
57310 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57312         * manual/message.texi: Delete @cartouche tags.
57314 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57316         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57317         EOPNOTSUPP.
57318         * sysdeps/mach/hurd/fsync.c: Likewise.
57320         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57321         [_POSIX_REALTIME_SIGNALS]: Change condition to
57322         [_POSIX_REALTIME_SIGNALS > 0].
57324 2012-10-27  Andreas Jaeger  <aj@suse.de>
57326         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57327         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57328         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57329         [__WORDSIZE != 64]: Likewise.
57331 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57333         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57334         *  iconvdata/tst-tables.sh: Likewise.
57336 2012-10-25  David S. Miller  <davem@davemloft.net>
57338         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57339         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57340         of strtoull.
57342         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57343         ifunc-impl-list.c
57344         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57345         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57346         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57347         file.
57349 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57351         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57352         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57353         __getdirentries.
57355 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57356             Jim Blandy  <jimb@codesourcery.com>
57358         * scripts/cross-test-ssh.sh: New file.
57359         * manual/install.texi (Configuring and compiling): Document use of
57360         cross-test-ssh.sh.
57361         * INSTALL: Regenerated.
57363 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57365         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57366         EOPNOTSUPP.
57368 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57370         * Makeconfig (run-program-prefix): Fix comment.
57372 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57373             Jim Blandy  <jimb@codesourcery.com>
57375         * Makeconfig (test-wrapper): New variable,
57376         (test-wrapper-env): Likewise.
57377         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57378         (run-built-tests): Define to yes.
57379         (run-program-prefix): Use $(test-wrapper).
57380         (built-program-cmd): Likewise.
57381         * Rules (make-test-out): Use $(test-wrapper-env) and
57382         $(host-built-program-cmd).
57383         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57384         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57385         tst-pathopt.sh.
57386         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57387         $(test-wrapper-env) to tst-rtld-load-self.sh.
57388         ($(objpfx)order2.out): Use $(test-wrapper).
57389         ($(objpfx)tst-initorder.out): Likewise.
57390         ($(objpfx)tst-initorder2.out): Likewise.
57391         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57392         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57393         (test_wrapper_env): New variable.  Use it to run ld.so.
57394         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57395         Use it to run ld.so.
57396         (test_wrapper_env): Likewise.
57397         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57398         $(test-wrapper) to run-iconv-test.sh.
57399         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57400         (ICONV): Use $test_wrapper.
57401         * posix/Makefile ($(objpfx)globtest.out): Pass
57402         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57403         globtest.sh, not $(run-program-prefix).
57404         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57405         (test_wrapper): Likewise.
57406         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57407         set together with run_via_rtld_prefix.
57408         (run_program_prefix): Define in terms of test_wrapper and
57409         run_via_rtld_prefix.
57411 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57413         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57414         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57415         Targets removed.
57417         [BZ #14743]
57418         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57419         Declare __clock_getres, __clock_gettime, __clock_settime,
57420         __clock_nanosleep, and __clock_getcpuclockid.
57421         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57422         Remove librt_hidden_def (clock_gettime).
57423         * sysdeps/unix/clock_gettime.c: Likewise.
57424         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57425         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57426         * rt/clock_getres.c: Define __clock_getres as an alias.
57427         * sysdeps/posix/clock_getres.c: Likewise.
57428         * rt/clock_settime.c: Define __clock_settime as an alias.
57429         * sysdeps/unix/clock_settime.c: Likewise.
57430         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57431         * sysdeps/unix/clock_nanosleep.c: Likewise.
57432         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57433         * rt/clock-compat.c: New file.
57434         * rt/Makefile (librt-routines): Add clock-compat and move
57435         $(clock-routines) to ...
57436         (routines): ... here, new variable.
57437         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57438         Don't add get_clockfreq here.
57439         * rt/Versions (libc: GLIBC_2.17): New version set.
57440         Add clock_* symbols here.
57441         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57443         (GLIBC_2.17): Add clock_* symbols.
57444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57448         Likewise.
57449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57450         Likewise.
57451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57455         * NEWS: Mention the move.
57457         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57458         Use __open, __read, __close rather than their public counterparts.
57459         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57460         (__get_clockfreq_via_cpuinfo): Likewise.
57461         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57462         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57464         * config.h.in (HAVE_IFUNC): New #undef.
57465         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57466         was successful.
57467         * configure: Regenerated.
57469 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57471         * configure.in: Move READELF check to start of file.
57472         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57473         libc_cv_asm_gnu_indirect_function in the process.
57474         * configure: Regenerated.
57476 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57478         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57479         send the output to /dev/null.
57480         (libc_cv_cc_with_libunwind): Likewise.
57481         (libc_cv_as_noexecstack): Likewise.
57482         * configure: Regenerate.
57484 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57486         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57488         * posix/globtest.sh (TMPDIR): Do not set.
57489         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57490         (testout): Likewise.
57492 2012-10-24  Andreas Jaeger  <aj@suse.de>
57494         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57495         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57496         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57497         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57498         posix_fadvise64, posix_fallocate64.
57500         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57501         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57502         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57503         Likewise.
57504         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57505         Likewise.
57506         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57509         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57510         <bits/fcntl-linux.h>.
57511         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57513         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57514         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57515         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57516         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57517         [__WORDSIZE != 64]: Likewise.
57519 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57521         * Makeconfig (run-built-tests): New variable.
57522         * Rules [$(cross-compiling) = yes]: Change condition to
57523         [$(run-built-tests) = no].
57524         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57525         to [$(run-built-tests) = yes].
57526         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57527         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57528         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57529         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57530         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57531         * io/Makefile [$(cross-compiling) = no]: Likewise.
57532         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57533         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57534         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57535         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57536         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57537         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57538         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57539         * string/Makefile [$(cross-compiling) = no]: Likewise.
57541         * posix/Makefile ($(objpfx)globtest.out): Pass
57542         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57543         $(rtld-installed-name).
57544         * posix/globtest.sh (elf_objpfx): Remove variable.
57545         (rtld_installed_name): Likewise.
57546         (library_path): Likewise.
57547         (run_program_prefix): New variable.  Use for running globtest
57548         binary.
57550 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57551             Joseph Myers  <joseph@codesourcery.com>
57553         * Makeconfig (host-built-program-cmd): New variable.
57554         * elf/Makefile (tst-stackguard1-ARGS): Use
57555         $(host-built-program-cmd).
57556         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57557         (tst-spawn-ARGS): Likewise.
57558         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57560 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57561             Jim Blandy  <jimb@codesourcery.com>
57563         * Makeconfig (run-via-rtld-prefix): New variable.
57564         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57565         (built-program-cmd): Likewise.
57567 2012-10-22  Andreas Jaeger  <aj@suse.de>
57569         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57570         __O_RSYNC if it exists, otherwise to O_SYNC.
57572 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57573             Joseph Myers  <joseph@codesourcery.com>
57575         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57576         /dev/null.
57577         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57578         from /dev/null
57579         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57580         /dev/null.
57582 2012-10-22  Andreas Jaeger  <aj@suse.de>
57584         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57585         Define always.
57586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57589         bits/fcntl-linux.h.
57591         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57592         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57595         to __O_LARGEFILE.
57596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57597         to __O_LARGEFILE.
57599 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57600             Joseph Myers  <joseph@codesourcery.com>
57602         * config.make.in (NM): New variable.
57604 2012-10-21  Andreas Jaeger  <aj@suse.de>
57606         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57607         definitions and declarations that are provided by
57608         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57610 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57612         [BZ #14683]
57613         * elf/Makefile (tests-static): Add tst-leaks1-static.
57614         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57615         ($(objpfx)tst-leaks1-static): New rule.
57616         ($(objpfx)tst-leaks1-static-mem): Likewise.
57617         (tst-leaks1-static-ENV): New macro.
57618         * elf/dl-open.c (dl_open_worker): Check the main application
57619         only if SHARED is defined.
57620         * elf/tst-leaks1-static.c: New file.
57622 2012-10-20  Andreas Jaeger  <aj@suse.de>
57624         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57625         generic values for Linux.
57626         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57627         and declarations that are provided by <bits/fcntl-linux.h> and
57628         include <bits/fcntl-linux.h>.
57629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57630         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57632 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57634         * io/fcntl.h: Move include of <bits/types.h> to the top and
57635         include it unconditionally.
57637 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57639         * wcsmbs/Makefile (tests-ifunc): New variable.
57640         (tests): Add $(tests-ifunc).
57641         * wcsmbs/test-wcschr-ifunc.c: New file.
57642         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57643         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57644         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57645         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57646         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57648         * string/Makefile (tests-ifunc): New variable.
57649         (tests): Add $(tests-ifunc).
57650         * string/test-memccpy.c (TEST_NAME): New macro.
57651         * string/test-memchr.c (TEST_NAME): Likewise.
57652         * string/test-memcmp.c (TEST_NAME): Likewise.
57653         * string/test-memcpy.c (TEST_NAME): Likewise.
57654         * string/test-memmem.c (TEST_NAME): Likewise.
57655         * string/test-memmove.c (TEST_NAME): Likewise.
57656         * string/test-memset.c (TEST_NAME): Likewise.
57657         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57658         * string/test-stpcpy.c (TEST_NAME): Likewise.
57659         * string/test-stpncpy.c (TEST_NAME): Likewise.
57660         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57661         * string/test-strcasestr.c (TEST_NAME): Likewise.
57662         * string/test-strcat.c (TEST_NAME): Likewise.
57663         * string/test-strchr.c (TEST_NAME): Likewise.
57664         * string/test-strcmp.c(TEST_NAME): Likewise.
57665         * string/test-strcpy.c (TEST_NAME): Likewise.
57666         * string/test-strcspn.c (TEST_NAME): Likewise.
57667         * string/test-strlen.c (TEST_NAME): Likewise.
57668         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57669         * string/test-strncmp.c (TEST_NAME): Likewise.
57670         * string/test-strncpy.c (TEST_NAME): Likewise.
57671         * string/test-strnlen.c (TEST_NAME): Likewise.
57672         * string/test-strpbrk.c (TEST_NAME): Likewise.
57673         * string/test-strrchr.c (TEST_NAME): Likewise.
57674         * string/test-strspn.c (TEST_NAME): Likewise.
57675         * string/test-strstr.c (TEST_NAME): Likewise.
57676         * string/test-bcopy-ifunc.c: New file.
57677         * string/test-bzero-ifunc.c: Likewise.
57678         * string/test-memccpy-ifunc.c: Likewise.
57679         * string/test-memchr-ifunc.c: Likewise.
57680         * string/test-memcmp-ifunc.c: Likewise.
57681         * string/test-memcpy-ifunc.c: Likewise.
57682         * string/test-memmem-ifunc.c: Likewise.
57683         * string/test-memmove-ifunc.c: Likewise.
57684         * string/test-mempcpy-ifunc.c: Likewise.
57685         * string/test-memset-ifunc.c: Likewise.
57686         * string/test-rawmemchr-ifunc.c: Likewise.
57687         * string/test-stpcpy-ifunc.c: Likewise.
57688         * string/test-stpncpy-ifunc.c: Likewise.
57689         * string/test-strcasecmp-ifunc.c: Likewise.
57690         * string/test-strcasestr-ifunc.c: Likewise.
57691         * string/test-strcat-ifunc.c: Likewise.
57692         * string/test-strchr-ifunc.c: Likewise.
57693         * string/test-strchrnul-ifunc.c: Likewise.
57694         * string/test-strcmp-ifunc.c: Likewise.
57695         * string/test-strcpy-ifunc.c: Likewise.
57696         * string/test-strcspn-ifunc.c: Likewise.
57697         * string/test-strlen-ifunc.c: Likewise.
57698         * string/test-strncasecmp-ifunc.c: Likewise.
57699         * string/test-strncat-ifunc.c: Likewise.
57700         * string/test-strncmp-ifunc.c: Likewise.
57701         * string/test-strncpy-ifunc.c: Likewise.
57702         * string/test-strnlen-ifunc.c: Likewise.
57703         * string/test-strpbrk-ifunc.c: Likewise.
57704         * string/test-strrchr-ifunc.c: Likewise.
57705         * string/test-strspn-ifunc.c: Likewise.
57706         * string/test-strstr-ifunc.c: Likewise.
57708         * debug/Makefile (tests-ifunc): New variable.
57709         (tests): Add $(tests-ifunc).
57710         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57711         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57712         * debug/test-stpcpy_chk-ifunc.c: New file.
57713         * debug/test-strcpy_chk-ifunc.c: Likewise.
57715 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57717         [BZ #13601]
57718         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57719         header is not read in.
57721 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57723         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57724         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57725         directly.  Pass built executable to script as
57726         $(built-program-cmd).
57727         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57728         $testprogram without using LD_LIBRARY_PATH and $ldso.
57730         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57731         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57732         $(rtld-installed-name).
57733         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57734         (rtld_installed_name): Likewise.
57735         (library_path): Likewise.
57736         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57737         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57738         $(run-program-prefix) to tst-tables.sh.
57739         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57740         it to run tst-table-from and tst-table-to.
57741         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57742         Pass it to tst-table.sh.
57743         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57744         $(run-program-prefix) to tst-gettext.sh.
57745         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57746         tst-translit.sh.
57747         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57748         tst-gettext2.sh.
57749         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57750         to run tst-gettext.
57751         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57752         to run tst-gettext2.
57753         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57754         to run tst-translit.
57755         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57756         $(run-program-prefix) to tst-mtrace.sh.
57757         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57758         to run tst-mtrace.
57759         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57760         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57761         $(rtld-installed-name).
57762         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57763         (rtld_installed_name): Likewise.
57764         (run_program_prefix): New variable.  Use it to run wordexp-test.
57766         * Makeconfig (ARCH): Remove all definitions.
57767         (machine): Likewise.
57768         [ARCH]: Remove conditional code.
57769         [!objdir]: Give error.
57770         [!objdir] (objpfx): Remove.
57771         [!objdir] (common-objpfx): Likewise.
57772         [!objdir] (common-objdir): Likewise.
57773         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57774         AC_CONFIG_FILES call.
57775         * configure: Regenerated.
57777         [BZ #13888]
57778         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57779         or TMPDIR.
57780         (testout): Likewise.
57782         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57783         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57784         $(rtld-installed-name).
57785         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57786         (rtld_installed_name): Likwise.
57787         (runit): Remove function.
57788         (run_getconf): New variable,  Use it for running getconf binary.
57790 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57792         [BZ #14716]
57793         * string/test-memmem.c (check_result): New function.
57794         (do_one_test): Use it.
57795         (check1): New function.
57796         (test_main): Use it.
57798 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57800         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57802 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57804         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57805         (_G_LSEEK64): Likewise.
57806         (_G_MMAP64): Likewise.
57807         (_G_FSTAT64): Likewise.
57808         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57809         (_G_LSEEK64): Likewise.
57810         (_G_MMAP64): Likewise.
57811         (_G_FSTAT64): Likewise.
57812         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57813         unconditional.  Call __mmap64 directly.
57814         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57815         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57816         __lseek64 directly.
57817         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57818         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57819         __mmap64 directly.
57820         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57821         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57822         __lseek64 directly.
57823         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57824         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57825         __lseek64 directly.
57826         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57827         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57828         __lseek64 directly.
57829         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57830         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57831         __fxstat64 directly.
57832         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57833         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57834         unconditional.
57835         (freopen64) [!_G_OPEN64]: Remove conditional code.
57836         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57837         unconditional.
57838         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57839         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57840         unconditional.
57841         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57842         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57843         unconditional.
57844         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57845         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57846         unconditional.
57847         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57848         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57849         unconditional.
57850         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57851         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57852         unconditional.
57853         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57854         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57855         unconditional.
57856         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57858 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57860         [BZ #12140]
57861         * manual/memory.texi (Malloc Tunable Parameters): Add note
57862         about free list pointers overwriting some perturb bytes.
57863         Wording suggested by Roland McGrath.
57865 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57867         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57868         (lgamma_test): Likewise.
57869         (tgamma_test): Likewise.
57871 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57873         [BZ #14700]
57874         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57875         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57877 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57879         * NEWS: Mention BZ #14716.
57880         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57881         when removing AVAILABLE1_USES_J macro.
57883 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57885         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57886         (__bswap_64): __uint64_t for unsigned 64-bit int.
57888 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57890         * include/string.h (memmem): Declare libc hidden alias.
57891         * string/memmem.c (memmem): Define libc hidden alias.
57892         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57893         __read, __close instead of open, read, close.
57895 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57898         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57899         global and hidden.
57900         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57901         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57902         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57903         Likewise.
57904         (__rawmemchr_sse2): Likewise.
57905         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57906         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57907         (__strchr_sse2): Likewise.
57908         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57909         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57910         (__strcasecmp_sse2): Likewise.
57911         (__strncasecmp_sse2): Likewise.
57912         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57913         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57914         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57915         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57916         (__strrchr_sse2): Likewise.
57917         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57918         ifunc-impl-list.c.
57919         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57920         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57921         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57922         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57923         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57924         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57925         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57926         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57927         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57928         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57929         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57930         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57932         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57933         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57934         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57935         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57936         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57937         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57938         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57939         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57940         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57941         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57942         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57943         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57944         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57945         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57947         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57948         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57950         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57951         global and hidden.
57952         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57953         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57954         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57955         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57956         Likewise.
57957         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57958         Likewise.
57959         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57960         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57961         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57962         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57963         ifunc-impl-list.c.
57964         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57965         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57966         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57967         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57968         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57969         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57970         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57971         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57972         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57973         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57974         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57975         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57976         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57977         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57978         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57979         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57980         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57981         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57989         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57990         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57991         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57992         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57993         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57994         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57995         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57996         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57997         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57998         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57999         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58000         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58001         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58002         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58004         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58006         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58007         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58008         * include/ifunc-impl-list.h: New file.
58009         * misc/ifunc-impl-list.c: Likewise.
58010         * misc/Makefile (routines): Add ifunc-impl-list.
58011         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58012         * string/test-string.h: Include <ifunc-impl-list.h>.
58013         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58014         TEST_NAME]: New variables.
58015         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58016         are defined.
58017         (test_init): Call __libc_ifunc_impl_list to initialize
58018         func_list if TEST_IFUNC and TEST_NAME are defined.
58020         * string/Makefile (strop-tests): Add bcopy and bzero.
58021         * string/test-bcopy.c: New file.
58022         * string/test-bzero.c: Likewise.
58023         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58024         defined.
58025         * string/test-memset.c: Support bzero test if TEST_BZERO is
58026         defined.
58027         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58028         __libc_memmove.
58029         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58030         __libc_memset.
58031         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58032         of memset.
58034 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58036         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58037         * configure: Regenerated.
58039         * Makeconfig (+link-static-before-libc): Don't include
58040         $(link-static-libc).
58042         * libio/libio.h (_IO_pos_t): Remove.
58044 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58046         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58047         McGrath.
58049 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58051         * crypt/crypt-entry.c: Include fips-private.h.
58052         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58053         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58054         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58055         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58057 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58059         * crypt/crypt-private.h: Include stdbool.h.
58060         (_ufc_setup_salt_r): Return bool.
58061         * crypt/crypt-entry.c: Include errno.h.
58062         (__crypt_r): Return NULL with EINVAL for bad salt.
58063         * crypt/crypt_util.c (bad_for_salt): New.
58064         (_ufc_setup_salt_r): Check that salt is long enough and within
58065         the specified alphabet.
58066         * crypt/badsalttest.c: New file.
58067         * crypt/Makefile (tests): Add it.
58068         ($(objpfx)badsalttest): New.
58070 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58072         * NEWS: Add entry for BZ #14602.
58074 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58076         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58077         type-generic.
58078         * math/libm-test.inc: Update comment listing what functions and
58079         macros are tested.
58080         (isgreater_test): New function.
58081         (isgreaterequal_test): Likewise.
58082         (isless_test): Likewise.
58083         (islessequal_test): Likewise.
58084         (islessgreater_test): Likewise.
58085         (isunordered_test): Likewise.
58086         (main): Call the new functions.
58088 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58090         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58091         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58092         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58093         * sysdeps/i386/configure: Regenerated.
58094         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58095         * sysdeps/mach/configure: Regenerated.
58096         * sysdeps/mach/hurd/configure: Regenerated.
58097         * sysdeps/powerpc/configure: Regenerated.
58098         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58099         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58100         * sysdeps/s390/s390-32/configure: Regenerated.
58101         * sysdeps/s390/s390-64/configure: Regenerated.
58102         * sysdeps/sh/configure: Regenerated.
58103         * sysdeps/sparc/configure: Regenerated.
58104         * sysdeps/unix/sysv/linux/configure: Regenerated.
58105         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58106         * sysdeps/x86_64/configure: Regenerated.
58108         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58109         defined.  Don't check if MAP is NULL.
58111 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58113         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58114         (_G_stat64): Likewise.
58115         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58116         (_G_stat64): Likewise.
58117         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58118         instead of struct _G_stat64.
58119         * libio/fileops.c (mmap_remap_check): Likewise.
58120         (decide_maybe_mmap): Likewise.
58121         (_IO_new_file_seekoff): Likewise.
58122         (_IO_file_stat): Likewise.
58123         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58124         _G_off64_t.
58125         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58126         instead of struct _G_stat64.
58127         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58129 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58131         [BZ #14602]
58132         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58133         Replace with ...
58134         (CHECK_EOL): New macro.
58135         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58136         CHECK_EOL.
58137         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58138         Replace with CHECK_EOL.
58139         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58140         Replace with CHECK_EOL.
58142 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58144         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58145         type-generic.
58146         * math/libm-test.inc: Update comment listing what functions and
58147         macros are tested.
58148         (finite_test): New function.
58149         (isinf_test): Likewise.
58150         (isnan_test): Likewise.
58151         (fpclassify_test): Test subnormal input.
58152         (isfinite_test): Likewise.
58153         (isnormal_test): Likewise.
58154         (main): Call the new functions.
58156 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58158         [BZ #14660]
58159         * Makerules (%.dynsym): Force C locale when running
58160         $(OBJDUMP) --dynamic-syms.
58162 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58164         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58165         <stdint.h>.
58167 2012-10-06  David S. Miller  <davem@davemloft.net>
58169         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58170         upper 32-bits of the length value in %o2 since we use branch-on-register
58171         tests which consider the entire 64-bit register.
58173 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58175         * string/test-strstr.c (check2): Add a test for page boundary.
58177 2012-10-05  David S. Miller  <davem@davemloft.net>
58179         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58180         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58181         file.
58182         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58183         sysdep_routines.
58184         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58185         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58186         and bzero when HWCAP_SPARC_CRYPTO is present.
58188 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58190         [BZ #14602]
58191         * string/test-strstr.c (check2): New function.
58192         (test_main): Call check2.
58194         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58195         and bug-strchr1.
58196         * string/bug-strcasestr1.c (do_test): Moved to ...
58197         * string/test-strcasestr.c (check1): Here.  New function.
58198         (do_one_test): Break out result checking code into ...
58199         (check_result): This.  New function.
58200         (do_one_test): Call check_result.
58201         (test_main): Call check1.
58202         * string/bug-strchr1.c (do_test): Moved to ...
58203         * string/test-strchr.c (check1): Here.  New function.
58204         (do_one_test): Break out result checking code into ...
58205         (check_result): This.  New function.
58206         (do_one_test): Call check_result.
58207         (test_main): Call check1.
58208         * string/bug-strstr1.c (main): Moved to ...
58209         * string/test-strstr.c (check1): Here.  New function.
58210         (do_one_test): Break out result checking code into ...
58211         (check_result): This.  New function.
58212         (do_one_test): Call check_result.
58213         (test_main): Call check1.
58214         * string/bug-strcasestr1.c: Removed.
58215         * string/bug-strchr1.c: Likewise.
58216         * string/bug-strstr1.c: Likewise.
58218         * elf/Makefile (dl-routines): Add hwcaps.
58219         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58220         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58221         (_dl_important_hwcaps): Moved to ...
58222         * elf/dl-hwcaps.c: Here.  New file.
58223         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58225         [BZ #14557]
58226         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58227         if IS_IN_rtld isn't defined.
58229         * elf/dl-support.c (_dl_sysinfo_map): New.
58230         Include "get-dynamic-info.h" and "setup-vdso.h".
58231         (_dl_non_dynamic_init): Call setup_vdso.
58232         * elf/dynamic-link.h: Don't include <assert.h>.
58233         (elf_get_dynamic_info): Moved to ...
58234         * elf/get-dynamic-info.h: Here.  New file.
58235         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58236         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58237         * elf/setup-vdso.h: Here.  New file.
58238         * elf/rtld.c: Include "setup-vdso.h".
58239         (dl_main): Call setup_vdso.
58241 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58243         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58244         creal in comment listing functions tested.  List finite, isinf,
58245         isnan, isless, islessequal, isgreater, isgreaterequal,
58246         islessgreater, isunordered, lgamma_r and pow10 as functions and
58247         macros not tested.  Mention which functions not tested are aliases
58248         for other functions.  Fix typo.  Note that signs of NaNs are not
58249         tested.
58251         * scripts/config.guess: Update from config.git.
58252         * scripts/config.sub: Likewise.
58254 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58256         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58257         * misc/madvise.c (madvise): Renamed to __madvise.
58258         Make madvise a weak alias.
58259         * include/sys/mman.h: Declare __madvise.
58260         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58261         * sysdeps/unix/syscalls.list
58262         (madvise): Make __madvise the strong name, and madvise a weak alias.
58263         * sysdeps/unix/sysv/linux/syscalls.list
58264         (madvise, mmap): Remove redundant entries.
58265         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58266         * malloc/malloc.c (mtrim): Likewise.
58267         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58269 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58271         * sysdeps/mach/hurd/dl-cache.c: File removed.
58272         * config.h.in (USE_LDCONFIG): New #undef.
58273         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58274         * configure: Regenerated.
58275         * elf/Makefile (dl-routines): Add dl-cache only under
58276         [$(use-ldconfig) = yes].
58277         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58278         cache on [USE_LDCONFIG].
58279         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58280         [USE_LDCONFIG].
58281         * elf/rtld.c (dl_main): Likewise.
58283 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58285         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58286         _SC_LEVEL4_CACHE_LINESIZE.
58288 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58290         * sysdeps/unix/bsd/confstr.h: File removed.
58292 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58294         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58295         sys/sdt-config.h.
58297 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58299         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58300         Make 'mapoff' field ElfW(Off) rather than off_t.
58302 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58304         * nscd/Makefile: Remove nscd-cflags and all its users.
58305         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58306         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58308         [BZ #10631]
58309         * malloc.c (malloc_printerr): Clarify error message.
58311 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58313         [BZ #14648]
58314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58315         Set bit_FMA_Usable if FMA is supported.
58316         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58317         macro.
58318         (bit_FMA4_Usable): Updated.
58319         (index_FMA_Usable): New macro.
58320         (CPUID_FMA): Likewise.
58321         (HAS_FMA): Defined with bit_FMA_Usable.
58323 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58325         * bits/types.h (__swblk_t): Type removed.
58326         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58327         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58329         (__SWBLK_T_TYPE): Likewise.
58330         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58331         (__SWBLK_T_TYPE): Likewise.
58332         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58333         (__SWBLK_T_TYPE): Likewise.
58334         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58335         (__SWBLK_T_TYPE): Likewise.
58337 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58338             Honza Horak <hhorak@redhat.com>
58340         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58341         (xdr_mapname): Use YPMAXMAP as maxsize.
58342         (xdr_peername): Use YPMAXPEER as maxsize.
58343         (xdr_keydat): Use YPAXRECORD as maxsize.
58344         (xdr_valdat): Use YPMAXRECORD as maxsize.
58346 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58348         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58350         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58351         * csu/init-first.c: ... here.
58352         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58353         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58354         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58355         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58356         * sysdeps/i386/init-first.c: File removed.
58357         * sysdeps/sh/init-first.c: File removed.
58359 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58361         [BZ #14645]
58362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58363         if x * y might underflow to zero and z is zero.
58364         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58365         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58366         * math/libm-test.inc (min_subnorm_value): New variable.
58367         (fma_test): Add more tests.
58368         (fma_test_towardzero): Likewise.
58369         (fma_test_downward): Likewise.
58370         (fma_test_upward): Likewise.
58371         (initialize): Set min_subnorm_value.
58373 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58375         [BZ #14638]
58376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58377         0 + 0.
58378         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58379         mode for addition resulting in exact zero.
58380         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58381         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58382         exact 0 + 0.
58383         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58385         * math/libm-test.inc (fma_test): Add more tests.
58386         (fma_test_towardzero): New function.
58387         (fma_test_downward): Likewise.
58388         (fma_test_upward): Likewise.
58389         (main): Call the new functions.
58391 2012-09-28  David S. Miller  <davem@davemloft.net>
58393         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58395 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58397         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58398         instead of SIGALRM.
58400         * sysdeps/gnu/_G_config.h: Moved to ...
58401         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58402         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58403         * sysdeps/generic/_G_config.h: ... here.
58405         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58407         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58409         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58410         Conditionalize target on [libnss_test1.so-version].
58412         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58414         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58415         (elfobjdir): Move out of conditionals.
58417         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58418         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58419         (__nss_lookup_function): Conditionalize label remove_from_tree on
58420         [!DO_STATIC_NSS || SHARED], matching its only use.
58422 2012-09-28  David S. Miller  <davem@davemloft.net>
58424         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58425         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58426         file.
58427         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58428         sysdep_routines.
58429         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58431         when HWCAP_SPARC_CRYPTO is present.
58433 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58435         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58437 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58439         [BZ #6530]
58440         * stdio-common/vfprintf.c (process_string_arg): Revert
58441         2000-07-22 change.
58443 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58445         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58446         for testcase.
58447         * stdio-common/tst-sprintf.c: Include <locale.h>
58448         (main): Test sprintf's handling of incomplete multibyte
58449         characters.
58451 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58453         * elf/dl-runtime.c (VERSYMIDX): Removed.
58454         * elf/dl-version.c (VERSYMIDX): Likewise.
58455         * elf/do-rel.h (VERSYMIDX): Likewise.
58456         (VALIDX): Likewise.
58457         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58458         * elf/rtld.c (VALIDX): Likewise.
58459         (ADDRIDX): Likewise.
58460         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58461         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58462         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58463         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58464         (VALIDX): Likewise.
58465         (ADDRIDX): Likewise.
58467 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58469         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58471 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58473         [BZ #11438]
58474         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58475         to global scope.
58476         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58477         addresses are in the same scope as 192.0.2/24.
58478         * posix/gai.conf: Document new scope table defaults.
58480 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58482         [BZ #5298]
58483         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58484         for ftell.  Compute offsets from write pointers instead.
58485         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58487 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58489         [BZ #14543]
58490         * libio/Makefile (tests): New test case tst-fseek.
58491         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58492         combination works in wide mode.
58493         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58494         state when the external buffer state changes.
58496 2012-09-27  David S. Miller  <davem@davemloft.net>
58498         [BZ #14376]
58499         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58500         pass reloc->r_addend in as the 'high' argument to
58501         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58505 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58507         * rt/tst-aio2.c: Include <pthread.h>.
58508         * rt/tst-aio3.c: Likewise.
58510 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58512         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58514 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58516         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58517         contents on [SHARED].
58519 2012-09-26  Marek Polacek  <polacek@redhat.com>
58521         [BZ #14530]
58522         [BZ #13741]
58523         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58524         for C++ and GCC <4.3 as well as for non GCC compilers.
58526 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58528         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58530 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58532         * Makefile.in (all, install): Declare with .PHONY.
58533         Reported by Michael Hope <michael.hope@linaro.org>.
58535 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58537         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58538         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58539         system header.
58540         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58541         Likewise.
58542         (sydep_routines): Add the new and the internal functions.
58543         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58544         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58546         (GLIBC_2.17): Add the new function.
58547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58548         (GLIBC_2.17): Likewise.
58549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58550         (GLIBC_2.17): Likewise.
58551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58552         (GLIBC_2.17): Likewise.
58553         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58555 2012-09-25  Alan Modra  <amodra@gmail.com>
58557         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58558         Add release barrier before setting once_control to say
58559         initialisation is done.  Add hints on lwarx.  Use macro in
58560         place of isync.
58561         (clear_once_control): Add release barrier.
58563 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58565         [BZ #13629]
58566         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58567         specially.
58568         * math/s_clog10.c (__clog10): Likewise.
58569         * math/s_clog10f.c (__clog10f): Likewise.
58570         * math/s_clog10l.c (__clog10l): Likewise.
58571         * math/s_clogf.c (__clogf): Likewise.
58572         * math/s_clogl.c (__clogl): Likewise.
58573         * math/Makefile (libm-calls): Add x2y2m1.
58574         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58575         (__x2y2m1): Likewise.
58576         (__x2y2m1l): Likewise.
58577         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58578         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58579         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58580         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58581         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58582         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58583         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58584         * sysdeps/i386/fpu/libm-test-ulps: Update.
58585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58587         [BZ #14621]
58588         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58589         int as type of variable DEPTH.
58590         (glob): Use size_t instead of int as type of variables NEWCOUNT
58591         and OLD_PATHC.
58593 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58595         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58596         Add s_sincosf-sse2.
58597         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58598         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58599         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58600         macros for using routine as __sincosf_ia32.
58601         Use macro for function declaration and weak_alias.
58602         * sysdeps/i386/fpu/libm-test-ulps: Update.
58604         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58607         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58608         subnormal argument.
58609         * math/s_cexpf.c (__cexpf): Likewise.
58610         * math/s_csinf.c (__csinf): Likewise.
58611         * math/s_csinhf.c (__csinhf): Likewise.
58612         * math/s_ctanf.c (__ctanf): Likewise.
58613         * math/s_ctanhf.c (__ctanhf): Likewise.
58614         * math/s_ccosh.c (__ccoshf): Likewise.
58615         * math/s_cexp.c (__cexpl): Likewise.
58616         * math/s_csin.c (__csin): Likewise.
58617         * math/s_csinh.c (__csinh): Likewise.
58618         * math/s_ctan.c (__ctan): Likewise.
58619         * math/s_ctanh.c (ctanh): Likewise.
58620         * math/s_ccoshl.c (__ccoshl): Likewise.
58621         * math/s_cexpl.c (__cexpl): Likewise.
58622         * math/s_csinl.c (__csinl): Likewise.
58623         * math/s_csinhl.c (__csinhl): Likewise.
58624         * math/s_ctanl.c (__ctanl): Likewise.
58625         * math/s_ctanhl.c (__ctanhl): Likewise.
58627 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58629         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58630         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58631         (_IO_off_t): Define to __off_t, not _G_off_t.
58632         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58633         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58634         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58635         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58636         type of __dummy and __dummy2 fields.
58637         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58638         (_G_ssize_t): Likewise.
58639         (_G_off_t): Likewise.
58640         (_G_pid_t): Likewise.
58641         (_G_uid_t): Likewise.
58642         (_G_wchar_t): Likewise.
58643         (_G_wint_t): Likewise.
58644         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58645         (_G_ssize_t): Likewise.
58646         (_G_off_t): Likewise.
58647         (_G_pid_t): Likewise.
58648         (_G_uid_t): Likewise.
58649         (_G_wchar_t): Likewise.
58650         (_G_wint_t): Likewise.
58651         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58652         (_G_ssize_t): Likewise.
58653         (_G_off_t): Likewise.
58654         (_G_pid_t): Likewise.
58655         (_G_uid_t): Likewise.
58656         (_G_wchar_t): Likewise.
58657         (_G_wint_t): Likewise.
58659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58661         * malloc/arena.c: Include malloc-sysdep.h.
58662         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58663         is sufficient to shrink the heap or an unmap is needed.
58664         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58665         new function check_may_shrink_heap.
58666         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58667         new function check_may_shrink_heap.
58669 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58671         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58672         comments.
58674 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58676         * catgets/test-gencat.sh: Add "set -e".
58677         * elf/tst-pathopt.sh: Likewise.
58678         * grp/tst_fgetgrent.sh: Likewise.
58679         * iconvdata/run-iconv-test.sh: Likewise.
58680         * intl/tst-gettext.sh: Likewise.
58681         * intl/tst-gettext2.sh: Likewise.
58682         * intl/tst-gettext4.sh: Likewise.
58683         * intl/tst-gettext6.sh: Likewise.
58684         * intl/tst-translit.sh: Likewise.
58685         * io/ftwtest-sh: Likewise.
58686         * libio/test-freopen.sh: Likewise.
58687         * malloc/tst-mtrace.sh: Likewise.
58688         * posix/globtest.sh: Likewise.
58689         * posix/tst-getconf.sh: Likewise.
58690         * posix/wordexp-tst.sh: Likewise.
58691         * stdio-common/tst-printf.sh: Likewise.
58692         * stdio-common/tst-unbputc.sh: Likewise.
58693         * stdlib/tst-fmtmsg.sh: Likewise.
58694         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58695         * catgets/Makefile: Do not specify -e option when running
58696         testsuite shell scripts.
58697         * elf/Makefile: Likewise.
58698         * grp/Makefile: Likewise.
58699         * iconvdata/Makefile: Likewise.
58700         * intl/Makefile: Likewise.
58701         * io/Makefile: Likewise.
58702         * libio/Makefile: Likewise.
58703         * malloc/Makefile: Likewise.
58704         * posix/Makefile: Likewise.
58705         * stdio-common/Makefile: Likewise.
58706         * stdlib/Makefile: Likewise.
58707         * sysdeps/x86_64/Makefile: Likewise.
58709         * io/ftwtest-sh: Add copyright header.
58710         * posix/globtest.sh: Likewise.
58711         * posix/tst-getconf.sh: Likewise.
58712         * posix/wordexp-tst.sh: Likewise.
58713         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58715 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58717         [BZ #13679]
58718         * Makeconfig (+link): Defined as $(+link-static) if
58719         $(build-shared) isn't yes.
58720         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58721         isn't yes.
58722         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58724         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58726         [BZ #14562]
58727         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58728         new chunk size with MALLOC_ALIGN_MASK.
58730 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58732         [BZ #5044]
58733         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58734         <rounding-mode.h>.
58735         (__printf_fphex): Determine rounding using get_rounding_mode and
58736         round_away.
58737         * stdio-common/tst-printf-round.c (struct hex_test): New
58738         structure.
58739         (hex_tests): New variable.
58740         (test_hex_in_one_mode): New function.
58741         (do_test): Also run tests for hex float output.
58743 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58745         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58746         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58747         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58748         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58749         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58750         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58751         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58752         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58754 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58756         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58757         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58758         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58759         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58761 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58763         [BZ #14579]
58764         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58765         mode only.
58766         * elf/tst-rtld-load-self.sh: New test.
58767         * elf/Makefile: Run it.
58769 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58771         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58772         (tst-writev-ENV): Remove.
58773         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58775 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58777         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58779 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58781         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58782         unconditional.
58783         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58784         Likewise.
58785         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58786         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58787         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58788         Likewise.
58790 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58792         [BZ #14587]
58793         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58794         * config.make.in (have-cpp-asm-debuginfo): Removed.
58795         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58796         * configure: Regenerated.
58798 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58800         [BZ #5044]
58801         * stdio-common/printf_fp.c: Include <stdbool.h> and
58802         <rounding-mode.h>.
58803         (___printf_fp): Determine rounding using get_rounding_mode and
58804         round_away.
58805         * stdio-common/tst-printf-round.c: New file.
58806         * stdio-common/Makefile (tests): Add tst-printf-round.
58807         (link-libm): New variable.
58808         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58810 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58812         [BZ #14576]
58813         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58814         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58815         Likewise.
58816         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58817         Likewise.
58819 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58821         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58822         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58823         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58824         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58826 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58828         [BZ #14518]
58829         * include/rounding-mode.h: New file.
58830         * sysdeps/generic/get-rounding-mode.h: Likewise.
58831         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58832         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58833         (MAX_VALUE): New macro.
58834         (MIN_VALUE): Likewise.
58835         (overflow_value): New function.
58836         (underflow_value): Likewise.
58837         (round_and_return): Use overflow_value and underflow_value to
58838         determine return values in overflow and underflow cases.  Use
58839         round_away to determine rounding depending on rounding mode.
58840         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58841         determine return values in overflow and underflow cases.
58842         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58843         (struct test_results): New structure.
58844         (struct test): Use struct test_results to store expected results
58845         for all rounding modes.
58846         (TEST): Include expected results for all rounding modes.
58847         (test_in_one_mode): New function.
58848         (do_test): Use test_in_one_mode to compute and check results.
58849         Check results for all rounding modes.
58850         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58851         $(link-libm).
58853 2012-12-09  Allan McRae  <allan@archlinux.org>
58855         * sysdeps/i386/fpu/libm-test-ulps: Update
58857 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58859         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58860         (_G_int32_t): Likewise.
58861         (_G_uint16_t): Likewise.
58862         (_G_uint32_t): Likewise.
58863         (_G_HAVE_BOOL): Likewise.
58864         (_G_HAVE_ATEXIT): Likewise.
58865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58866         (_G_HAVE_IO_FILE_OPEN): Likewise.
58867         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58868         (_G_int32_t): Likewise.
58869         (_G_uint16_t): Likewise.
58870         (_G_uint32_t): Likewise.
58871         (_G_HAVE_BOOL): Likewise.
58872         (_G_HAVE_ATEXIT): Likewise.
58873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58874         (_G_HAVE_IO_FILE_OPEN): Likewise.
58875         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58876         (_G_int32_t): Likewise.
58877         (_G_uint16_t): Likewise.
58878         (_G_uint32_t): Likewise.
58879         (_G_HAVE_BOOL): Likewise.
58880         (_G_HAVE_ATEXIT): Likewise.
58881         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58882         (_G_HAVE_IO_FILE_OPEN): Likewise.
58884 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58886         * csu/libc-tls.c: Update copyright years.
58888 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58890         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58891         [!_G_USING_THUNKS]: Remove conditional code.
58892         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58893         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58895         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58896         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58897         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58898         (_G_VTABLE_LABEL_PREFIX): Likewise.
58899         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58900         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58901         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58902         (_G_VTABLE_LABEL_PREFIX): Likewise.
58903         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58904         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58905         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58906         (_G_VTABLE_LABEL_PREFIX): Likewise.
58907         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58909 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58911         * libio/Makefile: Include ../Makeconfig before tests.
58912         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58913         only if $(build-shared) is yes.
58915         * iconv/gconv_db.c: Update copyright years.
58917 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58919         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58920         unwind info if defined PIC. Fix special cases description.
58921         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58923         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58924         DP_HI_MASK entry.
58925         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58927 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58929         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58931         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58932         is NULL.
58934         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58935         (LDLIBS-tst-chk4): This.
58936         (LDFLAGS-tst-chk5): Renamed to ...
58937         (LDLIBS-tst-chk5): This.
58938         (LDFLAGS-tst-chk6): Renamed to ...
58939         (LDLIBS-tst-chk6): This.
58940         (LDFLAGS-tst-lfschk4): Renamed to ...
58941         (LDLIBS-tst-lfschk4): This.
58942         (LDFLAGS-tst-lfschk5): Renamed to ...
58943         (LDLIBS-tst-lfschk5): This.
58944         (LDFLAGS-tst-lfschk6): Renamed to ...
58945         (LDLIBS-tst-lfschk6): This.
58947         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58948         on $(common-objpfx)soversions.mk.
58950 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58952         [BZ #10014]
58953         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58954         example host name.
58956 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58958         * malloc/arena.c (arena_get_retry): New function that gets
58959         another arena for the caller to try its request on.
58960         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58961         current arena cannot fulfill the request.
58962         (__libc_memalign): Likewise.
58963         (__libc_memalign): Likewise.
58964         (__libc_pvalloc): Likewise.
58965         (__libc_calloc): Likewise.
58967 2012-09-05  John Tobey  <john.tobey@gmail.com>
58969         [BZ #13542]
58970         * manual/arith.texi (Operations on Complex): Fix description
58971         of carg branch cut.
58973 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58975         [BZ #10014]
58976         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58977         host name.
58979         [BZ #10038]
58980         * manual/memory.texi (Memory): Make order of menu items match
58981         order of sections.
58983 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58985         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58986         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58987         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58989 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58991         * csu/libc-tls.c (static_dtv): Renamed to ...
58992         (_dl_static_dtv): This.  Make it global.
58993         (_dl_initial_dtv): Removed.
58994         (__libc_setup_tls): Updated.
58995         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58996         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58997         DL_INITIAL_DTV.
58999 2012-09-06  Petr Machata  <pmachata@redhat.com>
59001         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59002         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59003         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59004         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59006 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59008         [BZ #14545]
59009         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59010         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59011         freeing dtv[-1].
59013 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59015         [BZ #14544]
59016         * Makeconfig (link-static-before-libc): Replace $(+prector)
59017         with $(+prectorT).
59018         (link-static-after-libc): Replace $(+postctor) with
59019         $(+postctorT).
59020         (link-bounded): Replace $(+prector)/$(+postctor) with
59021         $(+prectorT)/$(+postctorT).
59022         (+prectorT): New macro.
59023         (+postctorT): Likewise.
59025 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59027         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59028         (round_str): Handle values above the maximum for IBM long double
59029         as inexact.
59030         * stdlib/tst-strtod-round.c (tests): Regenerated.
59032 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59034         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59035         assembler flag.
59036         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59037         zarch_nohighgprs around the zarch optimized routines.
59038         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59039         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59041         for zarch.
59043 2012-09-05  David S. Miller  <davem@davemloft.net>
59045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59047         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59048         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59049         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59050         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59051         entries.
59053 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59055         * malloc/arena.c: Fold copyright years.
59056         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59058 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59060         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59062 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59064         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59066 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59068         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59069         change internal state upon failure.
59071 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59073         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59074         * malloc/memusage.c (mmap): Likewise.
59075         (mmap64, mremap): Likewise.  Adjust name in comment.
59077 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59079         * libio/fileops.c: Fix typos in comments.
59080         * libio/oldfileops.c: Likewise.
59081         * libio/wfileops.c: Likewise.
59083 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59085         [BZ #1349]
59086         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59087         (tst-malloc-usable-ENV): Set environment for test case.
59088         * malloc/hooks.c (malloc_check_get_size): New function to get
59089         requested size.
59090         * malloc/malloc.c (musable): Use malloc_check_get_size.
59091         * malloc/tst-malloc-usable.c: New test case.
59093 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59095         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59097 2012-09-05  Allan McRae  <allan@archlinux.org>
59099         [BZ #13966]
59100         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59101         determine header location.
59102         * configure: Regenerated.
59104 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59106         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59107         float format.
59108         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59109         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59110         format.
59111         (test): Regenerate.
59113 2012-09-04  David S. Miller  <davem@davemloft.net>
59115         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59116         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59117         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59119 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59121         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59122         failures.
59124         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59126 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59128         [BZ #9914]
59129         * libio/iogetdelim.c: Include <limits.h>.
59130         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59131         + len + 1 would overflow.
59133 2012-09-03  Andreas Jaeger  <aj@suse.de>
59135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59136         * sysdeps/i386/fpu/libm-test-ulps: Update.
59138 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59140         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59141         Add s_sinf-sse2, s_conf-sse2.
59143         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59144         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59145         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59146         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59148         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59149         for using routine as __sinf_ia32.
59150         Use macro for function declaration and weak_alias.
59151         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59152         for using routine as __cosf_ia32.
59153         Use macro for function declaration and weak_alias.
59155         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59156         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59158         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59159         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59160         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59162         * math/libm-test.inc (cos_test): Add more test cases.
59163         (sin_test): Likewise.
59164         (sincos_test): Likewise.
59166 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59168         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59169         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59170         hidden.
59171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59173 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59175         [BZ #14538]
59176         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59177         first element of the GOT.
59178         (elf_machine_load_address): Return the difference between
59179         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59181 2012-09-01  Allan McRae  <allan@archlinux.org>
59183         [BZ #13412]
59184         * configure.in (AWK): Require gawk version 3.0 or later.
59185         * configure: Regenerated.
59187 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59189         * sysdeps/unix/sysv/linux/kernel-features.h
59190         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59192         [__NR_clock_getres]: Make code unconditional.
59193         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59194         (clock_getcpuclockid): Remove code left unreachable by removal of
59195         conditionals.
59196         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59197         code unconditional.
59198         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59199         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59200         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59201         Make code unconditional.
59202         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59203         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59204         * sysdeps/unix/sysv/linux/clock_settime.c
59205         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59206         conditional code.
59207         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59208         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59210 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59212         [BZ #14476]
59213         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59214         scripts/test-installation.pl.
59216         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59217         and $ld_so_version if it is set.
59219 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59221         [BZ #14516]
59222         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59223         failure if reading from procfs failed.
59224         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59226 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59228         * sysdeps/unix/sysv/linux/kernel-features.h
59229         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59230         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59231         Remove conditional code.
59232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59233         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59234         Remove conditional code.
59235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59236         * sysdeps/unix/sysv/linux/i386/fxstat.c
59237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59239         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59242         * sysdeps/unix/sysv/linux/i386/lxstat.c
59243         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59245         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59246         Remove conditional code.
59247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59248         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59249         Remove conditional code.
59250         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59251         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59252         <kernel-features.h>.
59253         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59254         Remove.
59255         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59256         Remove conditional code.
59257         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59258         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59259         Remove conditional.
59261 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59263         [BZ #5400]
59264         * NEWS: Add fixed bug number.
59266 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59268         [BZ #14519]
59269         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59270         underflowing exponent in case of negative sign.
59271         * stdlib/tst-strtod-round-data: Add more tests.
59272         * stdlib/tst-strtod-round.c (tests): Regenerated.
59274         [BZ #3479]
59275         * stdlib/strtod_l.c (NDIG): Remove.
59276         (HEXNDIG): Likewise.
59277         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59278         smallest representable value.
59279         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59280         lie within an exact representation of 1/2 ulp of the result.
59281         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59282         unconditionally.
59283         (TENS_P9_IDX): Define unconditionally.
59284         (TENS_P9_SIZE): Likewise.
59285         (TENS_P10_IDX): Likewise.
59286         (TENS_P10_SIZE): Likewise.
59287         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59288         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59289         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59290         entries for 10^2^13 and 10^2^14.
59291         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59292         (TENS_P13_IDX): Define.
59293         (TENS_P13_SIZE): Likewise.
59294         (TENS_P14_IDX): Likewise.
59295         (TENS_P14_SIZE): Likewise.
59296         (_fpioconst_pow10): Change array size to
59297         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59298         unconditional.
59299         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59300         1024]: Add entries for 10^2^13 and 10^2^14.
59301         [LAST_POW10 > _LAST_POW10]: Remove #error.
59302         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59303         (_fpioconst_pow10): Change array size to
59304         FPIOCONST_POW10_ARRAY_SIZE.
59305         * stdlib/gen-fpioconst.c: New file.
59306         * stdlib/gen-tst-strtod-round.c: Likewise.
59307         * stdlib/tst-strtod-round-data: Likewise.
59308         * stdlib/tst-strtod-round.c: Likewise.
59309         * stdlib/Makefile (tests): Add tst-strtod-round.
59311         [BZ #14459]
59312         * stdlib/strtod_l.c: Include <stdint.h>.
59313         (NDEBUG): Do not define.
59314         (round_and_return): Change EXPONENT parameter to type intmax_t.
59315         Rearrange calculations to avoid internal overflow possibilities.
59316         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59317         Rearrange calculations to avoid internal overflow possibilities.
59318         Assert that number fits inside MPNSIZE limbs.
59319         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59320         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59321         calculations and add assertions to avoid internal overflow
59322         possibilities.  Add casts to avoid signed/unsigned operations.
59323         * stdlib/tst-strtod-overflow.c: New file.
59324         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59326 2012-08-25  Marek Polacek  <polacek@redhat.com>
59328         * time/time.h: Fix some typos in comments.
59330 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59332         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59333         * posix/tst-rfc3484-2.c: Likewise.
59334         * posix/tst-rfc3484-3.c: Likewise.
59336 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59338         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59339         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59341 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59343         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59344         #include of fxstatat64.c.
59346 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59348         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59349         * shadow/getspent_r.c: Likewise.
59350         * shadow/getspnam.c: Likewise.
59351         * shadow/getspnam_r.c: Likewise.
59352         * gshadow/getsgent.c: Likewise.
59353         * gshadow/getsgent_r.c: Likewise.
59354         * gshadow/getsgnam.c: Likewise.
59355         * gshadow/getsgnam_r.c: Likewise.
59356         * inet/getnetbyad.c: Likewise.
59357         * inet/getnetbyad_r.c: Likewise.
59358         * inet/getnetbynm.c: Likewise.
59359         * inet/getnetbynm_r.c: Likewise.
59360         * inet/getnetent.c: Likewise.
59361         * inet/getnetent_r.c: Likewise.
59362         * inet/getproto.c: Likewise.
59363         * inet/getproto_r.c: Likewise.
59364         * inet/getprtent.c: Likewise.
59365         * inet/getprtent_r.c: Likewise.
59366         * inet/getprtname.c: Likewise.
59367         * inet/getprtname_r.c: Likewise.
59368         * inet/getrpcbyname.c: Likewise.
59369         * inet/getrpcbyname_r.c: Likewise.
59370         * inet/getrpcbynumber.c: Likewise.
59371         * inet/getrpcbynumber_r.c: Likewise.
59372         * inet/getrpcent.c: Likewise.
59373         * inet/getrpcent_r.c: Likewise.
59374         * inet/getaliasent.c: Likewise.
59375         * inet/getaliasent_r.c: Likewise.
59376         * inet/getaliasname.c: Likewise.
59377         * inet/getaliasname_r.c: Likewise.
59378         * nscd/getgrgid_r.c: Likewise.
59379         * nscd/getgrnam_r.c: Likewise.
59380         * nscd/gethstbyad_r.c: Likewise.
59381         * nscd/gethstbynm3_r.c: Likewise.
59382         * nscd/getpwnam_r.c: Likewise.
59383         * nscd/getpwuid_r.c: Likewise.
59384         * nscd/getsrvbynm_r.c: Likewise.
59385         * nscd/getsrvbypt_r.c: Likewise.
59386         * nscd/gai.c: Likewise.
59388         * configure.in (build_nscd): New substituted variable, set
59389         by --disable-build-nscd and defaults to $use_nscd.
59390         * configure: Regenerated.
59391         * config.make.in (build-nscd): New substituted variable.
59392         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59393         Change conditional to require [$(build-nscd) = yes] as well.
59394         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59396         [BZ# 13696]
59397         * configure.in (use_nscd): New substituted variable, set by
59398         --disable-nscd.  If enabled, define USE_NSCD.
59399         * configure: Regenerated.
59400         * config.h.in: Add USE_NSCD.
59401         * config.make.in (use-nscd): New substituted variable.
59402         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59403         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59404         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59405         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59406         (CFLAGS-getgrnam_r.c): Likewise.
59407         (CFLAGS-initgroups.c): Likewise.
59408         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59409         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59410         Variables removed.
59411         * inet/getnetgrent_r.c
59412         (nscd_setnetgrent): New function, broken out of ...
59413         (setnetgrent): ... here.  Call it.
59414         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59415         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59416         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59417         * nscd/Makefile (routines, aux): Move definitions after include of
59418         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59419         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59420         Conditionalize on [USE_NSCD].
59421         (is_nscd, nscd_init_cb): Likewise.
59422         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59423         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59424         * nss/nss_db/db-init.c: Likewise.
59425         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59426         [USE_NSCD].
59427         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59428         (make_request): Use it.
59429         (cache_valid_p): New function.
59430         (__check_pf): Use it.
59431         * NEWS: Add item for --disable-nscd.
59433 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59435         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59436         to support sed >= 4.2.1-20-ga9bf076.
59437         * configure: Regenerated.
59439 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59441         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59442         Conditionalize whole body on [IREL].
59444 2012-08-22  Jeff Law <law@redhat.com>
59446         [BZ #14505]
59447         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59448         if the family is PF_UNSPEC.
59450 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59452         * Makerules (lib-version): Rename from V.
59453         (install-lib-nosubdir): Change V to lib-version.
59455 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59457         [BZ #14252]
59458         * powerpc32/power6/wcschr.c: New file.
59459         * powerpc32/power6/wcscpy.c: New file.
59460         * powerpc32/power6/wcsrchr.c: New file.
59461         * powerpc64/power6/wcschr.c: New file.
59462         * powerpc64/power6/wcscpy.c: New file.
59463         * powerpc64/power6/wcsrchr.c: New file.
59465 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59467         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59468         (two_way_short_needle): Use it.
59469         * string/strstr.c (AVAILABLE1_USES_J): Define.
59470         * string/strcasestr.c: Likewise.
59472         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59473         array references.
59474         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59476         [BZ #11607]
59477         * NEWS: Add an entry.
59478         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59479         define their defaults.
59480         (two_way_short_needle): Detect end-of-string on-the-fly.
59481         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59482         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59483         * string/bug-strcasestr1.c: New test.
59484         * string/Makefile: Run it.
59486 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59488         [BZ #11607]
59489         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59490         the first character.
59492 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59494         * csu/elf-init.c (__libc_csu_irel): Function removed.
59495         * csu/libc-start.c (apply_irel): New function.
59496         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59498 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59500         * sysdeps/unix/sysv/linux/kernel-features.h
59501         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59502         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59503         <kernel-features.h>.
59504         [__NR_fadvise64_64]: Make code unconditional.
59505         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59506         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59507         !__NR_fadvise64_64)]: Likewise.
59508         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59509         !__NR_fadvise64_64))]: Likewise.
59510         [__NR_fadvise64]: Make code unconditional.
59511         [!__NR_fadvise64]: Remove conditional code.
59512         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59513         <kernel-features.h>.
59514         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59515         unconditional.
59516         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59517         conditional code.
59518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59519         not include <kernel-features.h>.
59520         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59521         unconditional.
59522         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59523         conditional code.
59524         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59525         include <kernel-features.h>.
59526         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59527         unconditional.
59528         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59529         conditional code.
59531 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59534         slight instruction rearrangements per scrollpipe analysis.
59535         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59537 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59539         * manual/syslog.texi (syslog; vsyslog, closelog):
59540         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59541         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59543         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59544         DSOCAPS to match condition on defining it.
59546 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59548         * sysdeps/unix/sysv/linux/kernel-features.h
59549         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59557         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59558         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59560         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59561         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59563         * sysdeps/unix/sysv/linux/kernel-features.h
59564         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59565         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59566         unconditional.
59567         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59568         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59569         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59570         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59571         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59572         Make code unconditional.
59573         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59574         (__mmap64) [!__NR_mmap2]: Likewise.
59575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59576         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59577         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59578         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59579         [__NR_mmap2]: Make code unconditional.
59580         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59581         (__mmap64) [!__NR_mmap2]: Likewise.
59583 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59585         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59587 2012-08-18  Andreas Jaeger  <aj@suse.de>
59589         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59591 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59593         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59594         * include/unistd.h (__have_sock_cloexec): Likewise.
59595         (__have_pipe2): Likewise.
59596         (__have_dup3): Likewise.
59598 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59600         [BZ #9685]
59601         * include/unistd.h (__have_pipe2): Change define into an extern int.
59602         (__have_dup3): Likewise.
59603         * socket/have_sock_cloexec.c: Include fcntl.h.
59604         (__have_pipe2): New variable.
59605         (__have_dup3): Likewise.
59607 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59609         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59611 2012-08-17  Marek Polacek  <polacek@redhat.com>
59613         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59614         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59616 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59618         * configure.in: Add AC_SUBST for sysheaders.
59619         * configure: Regenerated.
59620         * config.make.in (sysheaders): New substituted variable.
59622         * sysdeps/unix/mkfifo.c: Moved ...
59623         * sysdeps/posix/mkfifo.c: ... here.
59624         * sysdeps/unix/mkfifoat.c: Moved ...
59625         * sysdeps/posix/mkfifoat.c: ... here.
59627         * sysdeps/unix/utime.c: Moved ...
59628         * sysdeps/posix/utime.c: ... here.
59630         * sysdeps/unix/time.c: Moved ...
59631         * sysdeps/posix/time.c: ... here.
59632         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59633         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59635         * sysdeps/unix/nice.c: Moved ...
59636         * sysdeps/posix/nice.c: ... here.
59638         * sysdeps/unix/alarm.c: Moved ...
59639         * sysdeps/posix/alarm.c: ... here.
59641         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59643 2012-08-17  Jeff Law <law@redhat.com>
59645         * intl/Makefile (codeset_mo): New variable.
59646         ($(codeset_mo)): New target.
59647         (tst-codeset.out): Depend on that.  Remove explicit rule.
59648         (tst-gettext3.out, tst-gettext5.out): Likewise.
59649         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59650         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59651         * intl/tst-codeset.sh: Remove.
59652         * intl/tst-gettext3.sh: Likewise.
59653         * intl/tst-gettext5.sh: Likewise.
59655 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59657         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59658         * sysdeps/unix/syscalls.list: ... here.
59660         * sysdeps/posix/getaddrinfo.c
59661         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59662         (gaiconf_init, gaiconf_reload): Use them.
59663         [!_STATBUF_ST_NSEC]
59664         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59665         Define using time_t rather than struct timespec.
59667         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59668         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59669         Macros removed.
59670         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59671         [!NO_THREADS].
59672         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59673         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59674         Likewise.
59676         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59677         __libc_cleanup_push argument.
59679         * bits/param.h: New file.
59680         * misc/sys/param.h: New file.
59681         * include/sys/param.h: New file.
59682         * misc/Makefile (headers): Add bits/param.h.
59683         * sysdeps/generic/sys/param.h: File removed.
59684         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59685         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59686         * sysdeps/mach/hurd/bits/param.h: New file.
59687         * sysdeps/mach/hurd/sys/param.h: File removed.
59689         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59690         last change.
59692         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59693         [_IO_MTSAFE_IO].
59694         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59695         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59696         New macros.
59698         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59699         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59700         rather than -D_IO_MTSAFE_IO conditionally.
59701         * stdio-common/Makefile (CPPFLAGS): Likewise.
59702         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59703         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59704         Use $(libio-mtsafe).
59705         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59706         of -D_IO_MTSAFE_IO.
59707         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59708         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59709         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59710         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59711         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59712         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59713         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59714         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59715         (CFLAGS-fread_u_chk.c): Likewise.
59716         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59717         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59718         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59719         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59720         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59721         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59722         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59723         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59724         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59726         * libio/Makefile: Test [$(libc-reentrant) = yes]
59727         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59729         * Makeconfig
59730         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59731         * sysdeps/pthread/configure: File removed.
59732         * sysdeps/pthread/Makeconfig: New file.
59733         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59734         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59736 2012-08-16  Gary Benson  <gbenson@redhat.com>
59738         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59739         unmapping the first object in a namespace.
59741 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59743         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59744         (__internal_setnetgrent): ... this.  Add internal_function to
59745         definition.  Add libc_hidden_def.
59746         (setnetgrent): Update caller.
59747         (internal_endnetgrent): Renamed to ...
59748         (__internal_endnetgrent): ... this.  Add internal_function to
59749         definition.  Add libc_hidden_def.
59750         (endnetgrent): Update caller.
59751         (internal_getnetgrent_r): Renamed to ...
59752         (__internal_getnetgrent_r): ... this.  Add internal_function to
59753         definition.  Add libc_hidden_def.
59754         (__getnetgrent_r): Update caller.
59755         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59757 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59759         * stdlib/longlong.h: Update from GCC.
59761 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59763         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59764         on _QL, which is set by umul_ppmm but never used.
59765         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59766         variables, which are set by GMP macros but never used.
59767         * stdio-common/_itowa.c (_itowa): Likewise.
59768         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59769         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59771 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59773         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59774         struct La_sh_regs is not constant.
59775         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59776         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59777         and struct La_sparc64_regs are not constant.
59779 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59781         * sysdeps/unix/sysv/linux/kernel-features.h
59782         (__ASSUME_POSIX_TIMERS): Remove.
59783         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59785         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59786         Make code unconditional.
59787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59788         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59789         Make code unconditional.
59790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59791         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59792         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59794         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59795         Make code unconditional.
59796         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59797         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59798         (__libc_missing_posix_timers): Remove.
59800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59802         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59803         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59805         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59807         * elf/dl-sym.c: Include <stdlib.h>.
59809         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59810         constants, which avoids warnings in 32-bit builds.
59812         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59813         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59815         * misc/lseek.c: File moved to ...
59816         * io/lseek.c: ... here.
59818         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59820         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59821         shifting LEN more than 31 bits at once.
59823 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59825         [BZ #14195]
59826         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59827         segmentation fault for a case of two empty input strings.
59828         * string/test-strncasecmp.c (check1): Renamed to...
59829         (bz12205): ...this.
59830         (bz14195): Add new testcase for two empty input strings and N > 0.
59831         (test_main): Call new testcase, adapt for renamed function.
59833 2012-08-15  Andreas Jaeger  <aj@suse.de>
59835         [BZ #14090]
59836         * crypt/md5test2.c: New test, based on test supplied by Serge
59837         Belyshev <belyshev@depni.sinp.msu.ru>.
59838         * crypt/Makefile (xtests): Add md5test-giant..
59839         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59841 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59843         [BZ #14090]
59844         * crypt/md5.c (md5_process_block): Don't assume the buffer
59845         length is less than 2**32.
59846         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59847         length is less than 2**64.
59849 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59851         * string/str-two-way.h: Include <sys/param.h>.
59852         (MAX): Macro removed.
59854         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59855         Move #define and #undef of memmove to just before and after
59856         including <string.h>.
59858         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59859         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59860         and after including <string.h>.  Move declarations of
59861         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59862         to before #include "string/memmove.c".
59864         * include/dirent.h: Declare __getdirentries.
59866         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59867         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59869 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59871         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59872         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59873         * sysdeps/i386/configure: Regenerated.
59874         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59875         STABS_CURRENT_FILE, and STABS_FUN.
59876         (END): Remove call to STABS_FUN_END.
59877         (STABS_CURRENT_FILE1): Delete.
59878         (STABS_CURRENT_FILE): Likewise.
59879         (STABS_FUN): Likewise.
59880         (STABS_FUN_END): Likewise.
59881         (STABS_FUN2): Likewise.
59882         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59883         * sysdeps/x86_64/configure: Regenerated.
59885 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59887         * elf/dl-open.c: Include <atomic.h>.
59888         * elf/dl-lookup.c: Likewise.
59890 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59892         * sysdeps/unix/sysv/linux/kernel-features.h
59893         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59894         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59895         unconditionally.
59896         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59897         unconditionally.
59898         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59899         condition on __ASSUME_CLONE_THREAD_FLAGS.
59901 2012-08-14  Andreas Jaeger  <aj@suse.de>
59903         * sysdeps/i386/fpu/libm-test-ulps: Update.
59905 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59907         * include/atomic.h (atomic_exchange_and_add): Split into ...
59908         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59909         New atomic macros.
59911 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59915 2012-08-13  Jeff Law <law@redhat.com>
59917         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59918         null byte in the output string.
59920 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59922         * sysdeps/unix/sysv/linux/kernel-features.h
59923         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59924         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59925         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59926         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59927         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59928         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59929         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59931 2012-08-09  Jeff Law <law@redhat.com>
59933         [BZ #13939]
59934         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59935         When avoid_arena is set, don't retry in the that arena.  Pick the
59936         next one, whatever it might be.
59937         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59938         (arena_lock): Pass in new parameter to arena_get2.
59939         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59940         arena_get2.
59941         (__libc_malloc): Unify retrying after main arena failure with
59942         __libc_memalign version.
59943         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59945 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59947         [BZ #14166]
59948         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59949         to __redirect_strstr.
59950         (__strstr_sse42): Use typeof __redirect_strstr.
59951         (__strstr_ia32): Likewise.
59952         (__libc_strstr): New prototype.
59953         (strstr): Renamed to ...
59954         (__libc_strstr): This.
59955         (strstr): New strong alias of __libc_strstr.
59956         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59957         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59958         __redirect_time.
59959         Include <time.h>.
59960         (__libc_time): New prototype.
59961         (time_ifunc): Replace time with __libc_time.
59962         (time): New strong alias and hidden definition of __libc_time.
59963         (__GI_time): Remove strong alias.
59964         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59965         Include <stddef.h>.
59966         (memmove): Redefined to __redirect_memmove.
59967         (__memmove_sse2): Use typeof __redirect_memmove.
59968         (__memmove_ssse3): Likewise.
59969         (__memmove_ssse3_back): Likewise.
59970         (__libc_memmove): New prototype.
59971         (memmove): Renamed to ...
59972         (__libc_memmove): This.
59973         (memmove): New strong alias of __libc_memmove.
59975 2012-08-08  Mark Salter  <msalter@redhat.com>
59977         * elf/elf.h
59978         (R_MN10300_TLS_GD): Define.
59979         (R_MN10300_TLS_LD): Likewise.
59980         (R_MN10300_TLS_LDO): Likewise.
59981         (R_MN10300_TLS_GOTIE): Likewise.
59982         (R_MN10300_TLS_IE): Likewise.
59983         (R_MN10300_TLS_LE): Likewise.
59984         (R_MN10300_TLS_DTPMOD): Likewise.
59985         (R_MN10300_TLS_DTPOFF): Likewise.
59986         (R_MN10300_TLS_TPOFF): Likewise.
59987         (R_MN10300_SYM_DIFF): Likewise.
59988         (R_MN10300_ALIGN): Likewise.
59989         (R_MN10300_NUM): Update.
59991 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59994         Remove.
59996 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59998         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60000         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60001         sysdeps/unix -> sysdeps/posix move.
60002         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60004 2012-08-07      Allan McRae     <allan@archlinux.org>
60006         [BZ #14303]
60007         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60008         (SUNOS_CPP): Likewise.
60009         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60010         not found.
60011         (open_input): Call CPP using execvp.
60013 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60015         * sysdeps/unix/sysv/linux/kernel-features.h
60016         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60017         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60018         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60019         (__ASSUME_WAITID_SYSCALL): Likewise.
60020         * sysdeps/unix/sysv/linux/dl-execstack.c
60021         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60022         code unconditional.
60023         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60024         conditional code.
60025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60026         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60027         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60028         code.
60029         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60030         unconditional.
60031         [__ASSUME_WAITID_SYSCALL]: Likewise.
60032         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60034 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60036         * sysdeps/unix/closedir.c: Renamed to ...
60037         * sysdeps/posix/closedir.c: ... here.
60038         * sysdeps/unix/dirfd.c: Renamed to ...
60039         * sysdeps/posix/dirfd.c: ... here.
60040         * sysdeps/unix/dirstream.h: Renamed to ...
60041         * sysdeps/posix/dirstream.h: ... here.
60042         * sysdeps/unix/fdopendir.c: Renamed to ...
60043         * sysdeps/posix/fdopendir.c: ... here.
60044         * sysdeps/unix/opendir.c: Renamed to ...
60045         * sysdeps/posix/opendir.c: ... here.
60046         * sysdeps/unix/readdir.c: Renamed to ...
60047         * sysdeps/posix/readdir.c: ... here.
60048         * sysdeps/unix/readdir_r.c: Renamed to ...
60049         * sysdeps/posix/readdir_r.c: ... here.
60050         * sysdeps/unix/rewinddir.c: Renamed to ...
60051         * sysdeps/posix/rewinddir.c: ... here.
60052         * sysdeps/unix/seekdir.c: Renamed to ...
60053         * sysdeps/posix/seekdir.c: ... here.
60054         * sysdeps/unix/telldir.c: Renamed to ...
60055         * sysdeps/posix/telldir.c: ... here.
60056         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60057         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60058         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60059         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60061         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60062         * bits/fcntl.h: ... here.
60064         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60065         not 0.
60066         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60067         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60068         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60069         (struct flock): Move l_start, l_len to the beginning.
60070         Use __pid_t for l_pid.
60071         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60072         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60073         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60074         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60075         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60076         [__USE_LARGEFILE64] (struct flock64): New type.
60077         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60079         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60080         * bits/dirent.h: ... here.
60082         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60083         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60085 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60087         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60088         Change from 2.6.0 to 2.6.16.
60089         * sysdeps/unix/sysv/linux/configure: Regenerated.
60090         * sysdeps/unix/sysv/linux/kernel-features.h
60091         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60092         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60093         version.
60094         (__ASSUME_UTIMES): Likewise.
60095         (__ASSUME_CLONE_STOPPED): Remove.
60096         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60097         architectures, not kernel version.
60098         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60099         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60100         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60101         (__ASSUME_WAITID_SYSCALL): Likewise.
60102         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60103         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60104         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60105         refer to older versions.
60107 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60109         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60110         Define alphasort64 as an alias.
60111         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60112         Define versionsort64 as an alias.
60113         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60114         Define scandir64 as an alias.
60115         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60116         Define scandirat64 as an alias.
60117         * dirent/alphasort64.c (alphasort64):
60118         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60119         * dirent/versionsort64.c: Likewise.
60120         * dirent/scandir64.c: Likewise.
60121         * dirent/scandirat64.c: Likewise.
60122         * sysdeps/wordsize-64/alphasort.c: File removed.
60123         * sysdeps/wordsize-64/alphasort64.c: File removed.
60124         * sysdeps/wordsize-64/scandir.c: File removed.
60125         * sysdeps/wordsize-64/scandir64.c: File removed.
60126         * sysdeps/wordsize-64/scandirat.c: File removed.
60127         * sysdeps/wordsize-64/scandirat64.c: File removed.
60128         * sysdeps/wordsize-64/versionsort.c: File removed.
60129         * sysdeps/wordsize-64/versionsort64.c: File removed.
60130         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60131         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60132         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60133         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60134         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60135         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60136         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60137         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60139         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60140         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60141         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60142         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60143         [defined __arch64__ || defined __sparcv9]
60144         (__INO_T_MATCHES_INO64_T): New macro.
60145         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60146         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60147         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60148         * sysdeps/unix/sysv/linux/bits/dirent.h
60149         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60150         (_DIRENT_MATCHES_DIRENT64): New macro.
60152         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60153         Define lockf64 as an alias.
60154         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60155         Define fseeko64 as an alias.
60156         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60157         Define ftello64 as an alias.
60158         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60159         Define _IO_fgetpos64 and fgetpos64 as aliases.
60160         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60161         Define _IO_fsetpos64 and fsetpos64 as aliases.
60162         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60163         Conditionalize body on this.
60164         * libio/fseeko64.c: Likewise.
60165         * libio/ftello64.c: Likewise.
60166         * libio/iofgetpos64.c: Likewise.
60167         * libio/iofsetpos64.c: Likewise.
60168         * sysdeps/wordsize-64/lockf.c: File removed.
60169         * sysdeps/wordsize-64/lockf64.c: File removed.
60170         * sysdeps/wordsize-64/fseeko.c: File removed.
60171         * sysdeps/wordsize-64/fseeko64.c: File removed.
60172         * sysdeps/wordsize-64/ftello.c: File removed.
60173         * sysdeps/wordsize-64/ftello64.c: File removed.
60174         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60175         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60176         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60177         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60178         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60179         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60180         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60182         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60184         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60185         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60186         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60187         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60189         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60191         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60193         [defined __arch64__ || defined __sparcv9]
60194         (__OFF_T_MATCHES_OFF64_T): New macro.
60195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60196         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60198         (__OFF_T_MATCHES_OFF64_T): New macro.
60200 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60202         * stdlib/secure-getenv.c (__secure_getenv): Replace
60203         GLIBC_2_16 with GLIBC_2_17.
60205 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60207         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60208         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60210 2012-08-03  David S. Miller  <davem@davemloft.net>
60212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60214 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60217         Remove.
60218         (__ASSUME_CORRECT_SI_PID): Likewise.
60219         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60220         (__ASSUME_TMPFS_NAME): Likewise.
60221         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60222         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60223         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60224         (HAVE_AUX_SECURE): Make definition unconditional.
60225         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60226         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60228 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60230         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60231         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60232         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60233         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60234         __eloop_threshold instead of SYMLOOP_MAX.
60236         * sysdeps/generic/eloop-threshold.h: New file.
60237         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60238         of MAXSYMLINKS.
60239         * elf/chroot_canon.c (chroot_canon): Likewise.
60241 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60243         [BZ #13717]
60244         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60245         Change to 2.6.0 everywhere.
60246         * sysdeps/unix/sysv/linux/configure: Regenerated.
60247         * sysdeps/unix/sysv/linux/kernel-features.h
60248         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60249         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60250         kernel versions.
60251         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60252         (__ASSUME_FUTEX_REQUEUE): Remove.
60253         (__ASSUME_STATFS64): Define unconditionally.
60254         (__ASSUME_AT_SECURE): Likewise.
60255         (__ASSUME_CORRECT_SI_PID): Likewise.
60256         (__ASSUME_TGKILL): Define without depending on kernel version for
60257         i386.
60258         (__ASSUME_UTIMES): Likewise.
60259         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60260         kernel version.
60261         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60262         (__ASSUME_TMPFS_NAME): Likewise.
60263         * README: Update reference to Linux kernel versions.
60265 2012-08-02  Marek Polacek  <polacek@redhat.com>
60267         [BZ# 14150]
60268         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60269         libc_cv_asm_type_prefix with %.
60270         * configure: Regenerated.
60271         * include/libc-symbols.h: Remove comment about
60272         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60273         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60274         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60275         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60276         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60277         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60278         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60279         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60280         * elf/tst-unique2mod1.c: Likewise.
60281         * elf/tst-unique1mod2.c: Likewise.
60282         * elf/tst-unique1mod1.c: Likewise.
60283         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60284         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60285         Replace ASM_TYPE_DIRECTIVE with .type.
60286         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60287         * sysdeps/i386/sysdep.h: Likewise.
60288         * sysdeps/x86_64/sysdep.h: Likewise.
60289         * sysdeps/sh/sysdep.h: Likewise.
60290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60291         Do not define ASM_TYPE_DIRECTIVE.
60292         * sysdeps/powerpc/sysdep.h: Likewise.
60293         * sysdeps/powerpc/powerpc32/sysdep.h:
60294         Replace ASM_TYPE_DIRECTIVE with .type.
60295         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60296         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60297         * sysdeps/i386/fpu/e_powf.S: Likewise.
60298         * sysdeps/i386/fpu/e_expl.S: Likewise.
60299         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60300         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60301         * sysdeps/i386/fpu/e_pow.S: Likewise.
60302         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60303         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60304         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60305         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60306         * sysdeps/i386/fpu/e_log2.S: Likewise.
60307         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60308         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60309         * sysdeps/i386/fpu/e_powl.S: Likewise.
60310         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60311         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60312         * sysdeps/i386/fpu/e_logl.S: Likewise.
60313         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60314         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60315         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60317         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60318         * sysdeps/i386/fpu/e_log.S: Likewise.
60319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60320         * sysdeps/i386/fpu/e_logf.S: Likewise.
60321         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60322         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60323         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60324         * sysdeps/i386/fpu/e_log10.S: Likewise.
60325         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60326         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60327         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60328         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60329         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60331         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60332         * sysdeps/i386/i686/strtok.S: Likewise.
60333         * sysdeps/i386/i386-mcount.S: Likewise.
60334         * sysdeps/i386/strtok.S: Likewise.
60335         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60336         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60337         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60338         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60339         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60344         * sysdeps/x86_64/_mcount.S: Likewise.
60345         * sysdeps/x86_64/strtok.S: Likewise.
60346         * sysdeps/sh/_mcount.S: Likewise.
60348 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60350         * libio/iofopen.c: Include <fcntl.h>.
60351         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60352         (_IO_fopen64, fopen64): Define as aliases.
60353         * libio/iofopen64.c: Include <fcntl.h>.
60354         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60355         Conditionalize body on this.
60356         * sysdeps/wordsize-64/iofopen.c: File removed.
60357         * sysdeps/wordsize-64/iofopen64.c: File removed.
60359 2012-08-01  Marek Polacek  <polacek@redhat.com>
60361         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60362         Use dlfcn directly instead of a variable.
60363         (binfmt-subdir): Do not define.
60364         (dlfcn): Likewise.
60366 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60368         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60369         Remove all definitions.
60370         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60371         <kernel-features.h>.
60372         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60373         (miss_F_GETOWN_EX): Remove all definitions.
60374         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60375         macro definition.
60376         [!__ASSUME_FCNTL64]: Remove conditional code.
60377         [__ASSUME_FCNTL64]: Make code unconditional.
60378         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60379         <kernel-features.h>.
60380         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60381         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60382         (lockf64) [__NR_fcntl64]: Make code unconditional.
60383         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60385         * sysdeps/unix/sysv/linux/kernel-features.h
60386         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60387         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60388         Make code unconditional.
60389         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60390         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60392         [__NR_vfork]: Make code unconditional.
60393         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60394         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60396         [__NR_vfork]: Make code unconditional.
60397         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60398         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60400 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60402         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60403         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60405         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60406         Define mkstemp64 as an alias.
60407         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60408         Define mkstemps64 as an alias.
60409         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60410         Define mkostemp64 as an alias.
60411         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60412         Define mkostemps64 as an alias.
60413         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60414         Conditionalize body on this.
60415         * misc/mkostemp64.c: Likewise.
60416         * misc/mkostemps64.c: Likewise.
60417         * misc/mkstemps64.c: Likewise.
60418         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60419         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60420         * sysdeps/wordsize-64/mkostemp.c: File removed.
60421         * sysdeps/wordsize-64/mkstemp.c: File removed.
60422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60423         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60424         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60425         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60427         [BZ #14138]
60428         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60429         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60430         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60431         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60433         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60434         compat_symbol macros from <shlib-compat.h> rather than the underlying
60435         default_symbol_version and symbol_version macros, so that DEFAULT
60436         lines in shlib-versions are respected.
60437         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60439 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60441         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60442         Declare with warn_unused_result.
60443         (setgid, setregid, setegid, setresgid): Likewise.
60444         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60445         Likewise.
60446         * WUR-REPORT: Remove set*id functions.
60448 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60450         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60452 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60454         [BZ #10191]
60455         * include/sys/socket.h (__libc_accept, __libc_accept4):
60456         Add attribute_hidden.
60457         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60459         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60460         use of PTR_MANGLE.
60461         * inet/getnetgrent_r.c (setup): Likewise.
60463         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60465 2012-07-31  David S. Miller  <davem@davemloft.net>
60467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60469 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60471         [BZ #13629]
60472         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60473         value between 1.0 and 2.0 and smaller part has absolute value less
60474         than 1.0.
60475         * math/s_clog10.c (__clog10): Likewise.
60476         * math/s_clog10f.c (__clog10f): Likewise.
60477         * math/s_clog10l.c (__clog10l): Likewise.
60478         * math/s_clogf.c (__clogf): Likewise.
60479         * math/s_clogl.c (__clogl): Likewise.
60480         * math/libm-test.inc (clog_test): Add more tests.
60481         (clog10_test): Likewise.
60482         * sysdeps/i386/fpu/libm-test-ulps: Update.
60483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60485 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60487         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60488         Exit with zero in case no suitable GID is found, and write a
60489         message to standard error.
60491 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60493         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60494         rather than to 1.
60495         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60496         (MAXPATHLEN): Removed.
60497         (NOGROUP, NODEV): New macros.
60498         (setbit, clrbit, isset, isclr): New macros.
60499         (howmany, roundup, powerof2): New macros.
60500         (DEV_BSIZE): New macro.
60502         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60503         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60505         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60506         definition on [!__NO_LONG_DOUBLE_MATH].
60508         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60509         PTR_MANGLE and PTR_DEMANGLE.
60511         * socket/accept4.c (accept4): Rename to __libc_accept4.
60512         Define accept4 as a weak alias.
60514         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60515         on [_DIRENT_HAVE_D_TYPE].
60516         * io/ftw.c (ftw_dir): Likewise.
60518         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60520         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60522         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60523         Use the BSD numbers rather than the arbitrary ones we had.
60524         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60525         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60526         (SIGXCPU, SIGXFSZ): New macros.
60527         (_NSIG): Now 32.
60529         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60530         initializer on [_LIBC_REENTRANT].
60532         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60533         definitions inside [_POSIX_MAPPED_FILES].
60535         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60537         * dirent/opendir.c: Include <fcntl.h>.
60539         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60540         (__libc_getspecific): Likewise.
60541         (__libc_key_create): Likewise.
60543         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60544         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60545         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60546         (tmpfile64): Define as alias.
60547         * sysdeps/wordsize-64/tmpfile.c: File removed.
60548         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60549         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60550         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60552         * stdio-common/vfscanf.c: Include <stdbool.h>.
60553         * nss/makedb.c: Likewise.
60554         * stdio-common/_i18n_number.h: Likewise.
60555         * argp/argp-help.c: Likewise.
60556         * posix/wordexp.c: Likewise.
60557         * sysdeps/posix/spawni.c: Likewise.
60558         * nss/nss_files/files-initgroups.c: Likewise.
60559         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60560         * nss/nss_files/files-initgroups.c: Likewise.
60561         * nss/nss_db/db-netgrp.c: Likewise.
60562         * nss/nss_db/db-initgroups.c: Likewise.
60563         * io/fchmodat.c: Include <sys/stat.h>.
60565         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60566         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60568         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60569         [HAVE_MMAP].
60571         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60572         Add multiple inclusion protection.
60574 2012-07-27  David S. Miller  <davem@davemloft.net>
60576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60578 2012-07-27  Gary Benson  <gbenson@redhat.com>
60580         [BZ #14298]
60581         * elf/rtld.c: Include <stap-probe.h>.
60582         (dl_main): Added static probes "init_start" and "init_complete".
60583         * elf/dl-load.c: Include <stap-probe.h>.
60584         (lose): Take new parameter "nsid".
60585         Added static probe "map_failed".
60586         (_dl_map_object_from_fd): Pass namespace id to lose.
60587         Added static probe "map_start".
60588         (open_verify): Pass namespace id to lose.
60589         * elf/dl-open.c: Include <stap-probe.h>.
60590         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60591         and "reloc_complete".
60592         * elf/dl-close.c: Include <stap-probe.h>.
60593         (_dl_close_worker): Added static probes "unmap_start" and
60594         "unmap_complete".
60595         * elf/rtld-debugger-interface.txt: New file documenting the above.
60597 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60599         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60600         rather than a string variable.
60601         * sunrpc/rpc_main.c (h_output): Likewise.
60602         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60604 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60606         * inet/check_native.c: New file.
60608 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60610         [BZ #13629]
60611         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60612         if larger part has absolute value 1.0.
60613         * math/s_clog10.c (__clog10): Likewise.
60614         * math/s_clog10f.c (__clog10f): Likewise.
60615         * math/s_clog10l.c (__clog10l): Likewise.
60616         * math/s_clogf.c (__clogf): Likewise.
60617         * math/s_clogl.c (__clogl): Likewise.
60618         * math/libm-test.inc (clog_test): Add more tests.
60619         (clog10_test): Likewise.
60620         * sysdeps/i386/fpu/libm-test-ulps: Update.
60621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60623         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60624         (pltexit): Likewise.
60625         (La_regs): Likewise.
60626         (La_retval): Likewise.
60627         (int_retval): Likewise.
60628         Update #error for removed macros to refer only to definitions in
60629         tst-audit.h.
60630         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60631         macro.
60632         (pltexit): Likewise.
60633         (La_regs): Likewise.
60634         (La_retval): Likewise.
60635         (int_retval): Likewise.
60636         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60637         macro.
60638         (pltexit): Likewise.
60639         (La_regs): Likewise.
60640         (La_retval): Likewise.
60641         (int_retval): Likewise.
60642         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60643         macro.
60644         (pltexit): Likewise.
60645         (La_regs): Likewise.
60646         (La_retval): Likewise.
60647         (int_retval): Likewise.
60648         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60649         macro.
60650         (pltexit): Likewise.
60651         (La_regs): Likewise.
60652         (La_retval): Likewise.
60653         (int_retval): Likewise.
60654         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60655         macro.
60656         (pltexit): Likewise.
60657         (La_regs): Likewise.
60658         (La_retval): Likewise.
60659         (int_retval): Likewise.
60660         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60661         macro.
60662         (pltexit): Likewise.
60663         (La_regs): Likewise.
60664         (La_retval): Likewise.
60665         (int_retval): Likewise.
60666         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60667         macro definitions in tst-audit.h.
60668         * sysdeps/i386/tst-audit.h: New file.
60669         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60670         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60671         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60672         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60673         * sysdeps/sh/tst-audit.h: Likewise.
60674         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60675         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60676         * sysdeps/x86_64/tst-audit.h: Likewise.
60678 2012-07-26  Andreas Jaeger  <aj@suse.de>
60680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60681         ptrace.
60683         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60684         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60685         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60686         PTRACE_O_MASK.
60687         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60688         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60689         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60691         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60692         value.
60694         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60695         _sigsys.
60696         (si_call_addr, si_syscall, si_arch): Define new macro.
60697         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60698         _sigsys.
60699         (si_call_addr, si_syscall, si_arch): Define new marcro.
60700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60701         _sigsys.
60702         (si_call_addr, si_syscall, si_arch): Define new macro.
60703         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60704         _sigsys.
60705         (si_call_addr, si_syscall, si_arch): Define new macro.
60707 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60709         [BZ #13717]
60710         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60711         Change to 2.4.21 where previously 2.4.1.
60712         * sysdeps/unix/sysv/linux/configure: Regenerated.
60713         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60714         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60715         Linux kernel version.
60716         (__ASSUME_STD_AUXV): Remove.
60717         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60718         kernel version.
60719         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60720         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60721         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60722         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60723         (__ASSUME_NETLINK_SUPPORT): Likewise.
60724         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60725         (__no_netlink_support): Remove conditional definition.
60726         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60727         Remove.
60728         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60729         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60730         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60731         (if_nameindex_ioctl): Remove.
60732         (if_nameindex_netlink): Do not handle __no_netlink_support.
60733         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60734         code.
60735         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60736         Remove conditional code.
60737         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60738         code.
60739         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60740         unconditional.
60741         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60742         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60743         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60744         Remove.
60745         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60746         [!__ASSUME_STD_AUXV]: Remove conditional code.
60747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60748         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60749         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60751         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60752         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60753         code.
60754         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60756         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60757         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60758         conditional code.
60759         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60761         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60762         code.
60763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60764         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60765         conditional code.
60766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60767         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60768         code unconditional.
60769         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60770         conditional code.
60771         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60772         unconditional.
60773         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60774         conditional code.
60775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60776         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60777         unconditional.
60778         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60779         conditional code.
60780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60781         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60782         code unconditional.
60783         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60784         conditional code.
60785         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60786         unconditional.
60787         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60788         conditional code.
60789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60790         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60791         code unconditional.
60792         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60793         conditional code.
60794         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60795         unconditional.
60796         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60797         conditional code.
60799 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60801         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60802         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60803         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60804         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60805         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60806         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60807         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60808         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60809         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60810         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60811         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60812         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60813         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60814         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60815         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60816         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60817         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60818         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60819         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60821         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60822         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60823         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60825 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60827         * Versions.def: Add GLIBC_2.17.
60828         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60829         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60830         Introduce __libc_secure_getenv.
60831         * stdlib/Versions (2.17): Add secure_getenv
60832         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60833         * stdlib/secure-getenv.c: Rename __secure_getenv to
60834         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60835         symbol __secure_getenv for GLIBC_2.0.
60836         * stdlib/tst-secure-getenv.c: New.
60837         * stdlib/Makefile (tests): Add testcase.
60838         * manual/startup.texi (Environment Access): Document
60839         secure_getenv.
60840         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60841         __libc_secure_getenv.
60842         * inet/ruserpass.c (ruserpass): Likewise.
60843         * malloc/mtrace.c (mtrace): Likewise.
60844         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60845         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60846         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60847         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60848         HAVE_SECURE_GETENV.
60849         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60850         __secure_getenv to __libc_secure_getenv.
60851         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60853         Likewise.
60854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60855         Likewise.
60856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60858         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60860         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60864 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60866         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60867         (struct La_i86_retval): Likewise.
60868         (struct La_x86_64_regs): Likewise.
60869         (struct La_x86_64_retval): Likewise.
60870         (struct La_x32_regs): Likewise.
60871         (struct La_x32_retval): Likewise.
60872         (struct La_ppc32_regs): Likewise.
60873         (struct La_ppc32_retval): Likewise.
60874         (struct La_ppc64_regs): Likewise.
60875         (struct La_ppc64_retval): Likewise.
60876         (struct La_sh_regs): Likewise.
60877         (struct La_sh_retval): Likewise.
60878         (struct La_s390_32_regs): Likewise.
60879         (struct La_s390_32_retval): Likewise.
60880         (struct La_s390_64_regs): Likewise.
60881         (struct La_s390_64_retval): Likewise.
60882         (struct La_sparc32_regs): Likewise.
60883         (struct La_sparc32_retval): Likewise.
60884         (struct La_sparc64_regs): Likewise.
60885         (struct La_sparc64_retval): Likewise.
60886         (struct audit_ifaces): Remove architecture-specific pltenter and
60887         pltexit members.
60888         * sysdeps/i386/ldsodefs.h: New file.
60889         * sysdeps/powerpc/ldsodefs.h: Likewise.
60890         * sysdeps/s390/ldsodefs.h: Likewise.
60891         * sysdeps/sh/ldsodefs.h: Likewise.
60892         * sysdeps/sparc/ldsodefs.h: Likewise.
60893         * sysdeps/x86_64/ldsodefs.h: Likewise.
60895 2012-07-25  Marek Polacek  <polacek@redhat.com>
60897         [BZ #6808]
60898         * math/libm-test.inc (yn_test): Add another test.
60899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60900         to ERANGE when the result is +-Inf.
60901         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60902         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60903         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60904         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60906 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60908         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60909         equal to 0.
60910         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60911         clock_t.
60912         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60914 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60916         * configure.in <sysdeps resolving>: Correct printing
60917         Implies_before.
60918         * configure: Regenerate.
60920 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60922         * math/w_ilogb.c: Include <limits.h>.
60923         * math/w_ilogbl.c: Likewise.
60925 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60927         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60928         va_copy.  Document allowing for unavailable va_copy only as
60929         pre-C99 compatibility.
60930         * manual/string.texi (Copying and Concatenation): Use va_copy
60931         instead of __va_copy in concat example.
60933 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60935         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60936         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60937         it if not null.
60939         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60940         with O_NOLINK passed to __file_name_lookup.
60942         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60943         with O_NOLINK passed to __file_name_lookup.
60945         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60946         negative N or less than NGIDS.
60948         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60949         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60950         enough.  Use memcpy instead of strncpy.
60952 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60954         * elf/Makefile (check-data): Remove.
60955         (localplt.data): New vpath directive.
60956         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60957         instead of $(check-data).
60958         * scripts/data/localplt-generic.data: Move to ...
60959         * sysdeps/generic/localplt.data: ... here.
60960         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60961         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60962         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60964         ... here.
60965         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60967         ... here.
60968         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60970         ... here.
60971         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60973         ... here.
60974         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60976         ... here.
60977         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60979         ... here.
60981 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60983         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60984         PPC32 and PPC64 files.
60985         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60986         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60988 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60990         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60991         __makecontext_ret to ...
60992         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60993         ... here and call exit if uc_link is NULL.  New file.
60994         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60995         __makecontext_ret.S.
60996         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60997         __makecontext_ret to ...
60998         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60999         ... here and call exit if uc_link is NULL.  New file.
61000         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61001         __makecontext_ret.S.
61003 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61005         * elf/elf.h (R_390_IRELATIVE): New definition.
61006         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61007         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61008         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61010         (elf_machine_lazy_rel): Likewise.
61011         * sysdeps/s390/dl-irel.h: New file.
61012         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61013         * sysdeps/s390/s390-64/memset.S: New asm code.
61014         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61015         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61017         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61018         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61019         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61020         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61021         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61022         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61023         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61024         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61025         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61026         * sysdeps/s390/s390-32/memset.S: New asm code.
61027         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61029 2012-07-17  Marek Polacek  <polacek@redhat.com>
61031         [BZ #14349]
61032         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61033         * sysdeps/s390/s390-64/configure.in: Likewise.
61034         * sysdeps/sparc/configure.in: Likewise.
61035         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61036         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61037         * sysdeps/i386/configure.in: Likewise.
61038         * sysdeps/x86_64/configure.in: Likewise.
61039         * sysdeps/sh/configure.in: Likewise.
61040         * sysdeps/s390/s390-32/configure: Regenerated.
61041         * sysdeps/s390/s390-64/configure: Likewise.
61042         * sysdeps/x86_64/configure: Likewise.
61043         * sysdeps/sh/configure: Likewise.
61044         * sysdeps/powerpc/powerpc64/configure: Likewise.
61045         * sysdeps/powerpc/powerpc32/configure: Likewise.
61046         * sysdeps/sparc/configure: Likwise.
61047         * sysdeps/i386/configure: Likewise.
61049         * elf/dl-open.c: Comment fixes.
61051 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61053         * Makefile [CXX] (check-data): Remove.
61054         [CXX] (c++-types.data): New vpath directive.
61055         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61056         vpath.  Do not allow for C++ type data being missing.
61057         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61058         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61059         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61060         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61061         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61062         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61063         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61065         ... here.
61066         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61068         ... here.
61069         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61071         ... here.
61072         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61074         ... here.
61075         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61077         ... here.
61078         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61080         ... here.
61081         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61083         ... here.
61084         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61087         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61088         definitions to architecture-specific files.
61089         (TLS_IE): Likewise.
61090         (TLS_LD): Likewise.
61091         (TLS_GD): Likewise.
61092         * sysdeps/i386/tls-macros.h: New file.
61093         * sysdeps/powerpc/tls-macros.h: Likewise.
61094         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61095         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61096         * sysdeps/sh/tls-macros.h: Likewise.
61097         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61098         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61099         * sysdeps/x86_64/tls-macros.h: Likewise.
61101 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61103         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61104         zero value for regular exit case.
61106         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61107         (__start_context): Preserve zero value for regular exit case.
61109 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61110             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61112         * manual/setjmp.texi (setcontext): Clarify normal process
61113         termination when uc_link is the null pointer.
61114         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61115         exit call.
61117 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61119         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61120         preprocessor.  Test for each exception mask separately.
61122 2012-07-16  Andreas Jaeger  <aj@suse.de>
61124         * po/ru.po: Update from translation team.
61126 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61128         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61129         equal to 0.
61130         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61131         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61132         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61133         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61136 2012-07-13  Andreas Jaeger  <aj@suse.de>
61138         * po/fr.po: Update from translation team.
61140 2012-07-12  Marek Polacek  <polacek@redhat.com>
61142         [BZ #14173]
61143         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61144         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61145         loop condition.
61147 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61149         [BZ #13717]
61150         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61151         Change to 2.4.1 where previously 2.4.0.
61152         * sysdeps/unix/sysv/linux/configure: Regenerated.
61153         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61154         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61155         version.
61156         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61157         (__ASSUME_AT_CLKTCK): Remove.
61158         (__ASSUME_AT_PAGESIZE): Likewise.
61159         (__ASSUME_AT_XID): Likewise.
61160         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61161         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61162         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61163         unconditionally.
61164         (HAVE_AUX_PAGESIZE): Likewise.
61165         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61166         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61167         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61169 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61171         [BZ #14307]
61172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61173         the temporary buffer used to invoke __gethostbyname2_r,
61174         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61175         host_data / struct gaih_addrtuple.
61176         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61177         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61178         header file nss/nsswitch.h.
61179         * nss/nsswitch.h (global scope): Add definition of implementation
61180         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61181         resolv/nss_dns/dns-host.c).
61183 2012-07-11  Andreas Jaeger  <aj@suse.de>
61185         * po/fr.po: Update from translation team.
61187         * po/sv.po: Update from translation team
61188         * po/fr.po: Another update from translation team.
61190 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61192         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61193         for subnormals or multiply small sinh result by itself.
61194         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61197 2012-07-11  David S. Miller  <davem@davemloft.net>
61199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61201 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61203         [BZ #14347]
61204         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61205         (INTERNAL_MARK): Shift it here.
61207 2012-07-10  Marek Polacek  <polacek@redhat.com>
61209         [BZ #14151]
61210         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61211         libc_cv_asm_global_directive with .globl.
61212         * configure: Regenerated.
61213         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61214         with .globl.
61215         * sysdeps/i386/configure: Regenerated.
61216         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61217         with .globl.
61218         * sysdeps/x86_64/configure: Regenerated.
61219         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61220         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61221         * elf/tst-unique2mod2.c: Likewise.
61222         * elf/tst-unique2mod1.c: Likewise.
61223         * elf/tst-unique1mod2.c: Likewise.
61224         * elf/tst-unique1mod1.c: Likewise.
61225         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61226         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61227         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61228         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61229         * sysdeps/mach/sysdep.h: Likewise.
61230         * sysdeps/i386/sysdep.h: Likewise.
61231         * sysdeps/i386/i386-mcount.S: Likewise.
61232         * sysdeps/x86_64/_mcount.S: Likewise.
61233         * sysdeps/x86_64/sysdep.h: Likewise.
61234         * sysdeps/sh/_mcount.S: Likewise.
61235         * sysdeps/sh/sysdep.h: Likewise.
61236         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61237         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61238         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61239         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61240         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61241         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61242         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61243         * locale/localeinfo.h: Likewise.
61244         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61245         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61247 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61249         [BZ #14336]
61250         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61251         system".
61252         * manual/message.texi (The Uniforum approach): Likewise.
61253         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61254         (glibc iconv Implementation): Likewise.
61256 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61258         [BZ #14337]
61259         * math/s_clog.c (__clog): Avoid scaling a value down where that
61260         could result in underflow.
61261         * math/s_clog10.c (__clog10): Likewise.
61262         * math/s_clog10f.c (__clog10f): Likewise.
61263         * math/s_clog10l.c (__clog10l): Likewise.
61264         * math/s_clogf.c (__clogf): Likewise.
61265         * math/s_clogl.c (__clogl): Likewise.
61266         * math/libm-test.inc (clog_test): Add more tests.
61267         (clog10_test): Likewise.
61268         * sysdeps/i386/fpu/libm-test-ulps: Update.
61269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61271 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61273         [BZ #14283]
61274         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61275         by 7 not 8 to examine high bit of fractional part.
61277         [BZ #14042]
61278         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61279         for call to __mcount_internal.
61280         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61281         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61282         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61284 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61286         [BZ #14154]
61287         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61288         approximation for values within 0x1p-13f of an odd multiple of
61289         pi/4.
61290         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61291         exception.  Add more tests.
61292         * sysdeps/i386/fpu/libm-test-ulps: Update.
61294         [BZ #6778]
61295         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61296         inputs and return -1 for them.  Do not check for +Inf in case not
61297         reachable for +Inf.
61298         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61299         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61300         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61301         and return -1 for them.  Do not check for +Inf in case not
61302         reachable for +Inf.
61303         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61304         define.
61305         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61306         and return -1 for them.  Do not check for +Inf in case not
61307         reachable for +Inf.
61308         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61309         spurious underflow.
61310         * sysdeps/i386/fpu/libm-test-ulps: Update.
61311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61313 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61315         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61317 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61319         [BZ #14157]
61320         [BZ #14331]
61321         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61322         could result in spurious underflow.  Scale down values above
61323         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61324         * math/s_csqrtf.c (__csqrtf): Likewise.
61325         * math/s_csqrtl.c (__csqrtl): Likewise.
61326         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61327         spurious underflow.
61328         * sysdeps/i386/fpu/libm-test-ulps: Update.
61329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61331 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61333         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61334         xopen-msg.sed.
61335         * catgets/xopen-msg.awk: New file.
61336         * catgets/xopen-msg.sed: Removed.
61338         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61339         po2text.sed.
61340         * intl/po2test.awk: New file.
61341         * intl/po2test.sed: Removed.
61343 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61345         [BZ #14328]
61346         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61347         or multiply small sinh result by itself.
61348         * math/s_ctanf.c (__ctanf): Likewise.
61349         * math/s_ctanh.c (__ctanh): Likewise.
61350         * math/s_ctanhf.c (__ctanhf): Likewise.
61351         * math/s_ctanhl.c (__ctanhl): Likewise.
61352         * math/s_ctanl.c (__ctanl): Likewise.
61353         * math/libm-test.inc (ctan_test_tonearest): New function.
61354         (ctan_test_towardzero): Likewise.
61355         (ctan_test_downward): Likewise.
61356         (ctan_test_upward): Likewise.
61357         (ctanh_test_tonearest): Likewise.
61358         (ctanh_test_towardzero): Likewise.
61359         (ctanh_test_downward): Likewise.
61360         (ctanh_test_upward): Likewise.
61361         (main): Call these new functions.
61362         * sysdeps/i386/fpu/libm-test-ulps: Update.
61363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61365 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61367         * .gitignore: Delete /ports entry.
61369 2012-07-03  Andreas Jaeger  <aj@suse.de>
61371         * po/bg.po: Update from translation team.
61372         * po/cs.po: Likewise.
61373         * po/de.po: Likewise.
61374         * po/hr.po: Likewise.
61375         * po/nl.pl: Likewise.
61376         * po/pl.po: Likewise.
61377         * po/vi.po: Likewise.
61379 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61381         * Makeconfig [!+link] (+link-before-libc): New variable.
61382         [!+link] (+link-after-libc): Likewise.
61383         [!+link] (+link-tests): Likewise.
61384         [!+link] (+link): Define in terms of $(+link-before-libc) and
61385         $(+link-after-libc).
61386         [!+link-static] (+link-static-before-libc): New variable.
61387         [!+link-static] (+link-static-after-libc): Likewise.
61388         [!+link-static] (+link-static-tests): Likewise.
61389         [!+link-static] (+link-static): Define in terms of
61390         $(+link-static-before-libc) and $(+link-static-after-libc).
61391         [build-shared] (link-libc-before-gnulib): New variable.
61392         [build-shared] (link-libc-tests): Likewise.
61393         [build-shared] (link-libc): Define in terms of
61394         $(link-libc-before-gnulib).
61395         [!build-shared] (link-libc-tests): New variable.
61396         (link-libc-static-tests): New variable.
61397         [!gnulib] (gnulib-arch): New variable.
61398         [!gnulib] (gnulib-tests): Likewise.
61399         [!gnulib] (static-gnulib-arch): Likewise.
61400         [!gnulib] (static-gnulib-tests): Likewise.
61401         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61402         Define with "=" instead of ":=".
61403         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61404         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61405         * Rules (binaries-all-notests): New variable.
61406         (binaries-all-tests): Likewise.
61407         (binaries-static-notests): Likewise.
61408         (binaries-static-tests): Likewise.
61409         (binaries-all): Define using $(binaries-all-notests) and
61410         $(binaries-all-tests).
61411         (binaries-static): Define using $(binaries-static-notests) and
61412         $(binaries-static-tests).
61413         (binaries-shared-tests): New variable.
61414         (binaries-shared-notests): Likewise.
61415         (binaries-shared): Remove variable.
61416         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61417         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61418         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61419         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61420         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61421         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61422         * elf/Makefile (sln-modules): New variable.
61423         (extra-objs): Add $(sln-modules:=.o).
61424         (ldconfig-modules): Add static-stubs.
61425         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61426         * elf/static-stubs.c: New file.
61428         [BZ #14283]
61429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61430         by 7 not 8 to examine high bit of fractional part.  Use volatile
61431         variables when splitting into final array of floats if
61432         __FLT_EVAL_METHOD__ != 0.
61433         * math/libm-test.inc (cos_test): Add another test.
61434         (sin_test): Likewise.
61435         * sysdeps/i386/fpu/libm-test-ulps: Update.
61437         [BZ #14273]
61438         * math/libm-test.inc (cosh_test): Add more tests.
61440         * version.h (RELEASE): Set to "development".
61441         (VERSION): Set to "2.16.90".
61443 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61445         * NEWS: Update copyright. Remove last-updated date.
61446         Mention math library bug fixes and timezone data changes.
61447         * README: Mention GNU/Hurd, x32, and HPPA support status.
61449 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61451         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61453 2012-06-27  Andreas Jaeger  <aj@suse.de>
61455         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61457 2012-06-25  Andreas Jaeger  <aj@suse.de>
61459         * sysdeps/s390/fpu/libm-test-ulps: Update.
61461 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61462             Thomas Schwinge  <thomas@codesourcery.com>
61464         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61465         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61467         fanotify_mark.
61469 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61471         * sysdeps/mach/start.c: Remove file.
61472         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61473         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61474         * sysdeps/sh/init-first.c: Likewise.
61476         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61477         registers for frame unwinding purposes, add CFI directives.
61478         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61479         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61480         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61481         Likewise.
61483         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61484         __fortify_fail returning.
61485         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61487         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61488         sysdeps/sh/____longjmp_chk.S.
61489         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61490         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61491         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61492         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61494         * sysdeps/sh/abort-instr.h: New file.
61495         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61496         process in case exit returns.
61498         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61499         initialize the GOT register before use.
61501         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61502         calculation of ARGC > 4.
61504         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61505         meaningful names to some local labels.
61507 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61508             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61510         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61511         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61512         (__arch_compare_and_exchange_val_16_acq): Likewise.
61513         (__arch_compare_and_exchange_val_32_acq): Likewise.
61514         (atomic_exchange_and_add): Fix gUSA sequence.
61515         (atomic_add): Likewise.
61516         (atomic_add_negative): Likewise.
61517         (atomic_add_zero): Likewise.
61518         (atomic_bit_test_set): Likewise.
61520 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61522         [BZ #13579]
61523         * include/link.h (struct link_map): Add l_free_initfini.
61524         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61525         l_initfini.
61526         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61527         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61528         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61529         set.
61531 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61533         * configure.in: Use AC_LANG_SOURCE.
61534         * configure: Regenerate.
61536 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61538         * configure.in (libc_cv_localstatedir): New substituted variable.
61539         * configure: Regenerated.
61540         * config.make.in (localstatedir): New variable, substituted from
61541         libc_cv_localstatedir.
61542         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61543         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61544         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61545         * sysdeps/gnu/configure: Regenerated.
61547 2012-06-21  Jeff Law  <law@redhat.com>
61549         [BZ #14277]
61550         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61551         free.  Simplify list management for _LIBC case.
61553 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61555         [BZ #14273]
61556         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61557         Clear sign bit of 64-bit integer value before comparing against
61558         overflow value.
61560         * sysdeps/mach/configure: Regenerated.
61562 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61564         [BZ #14278]
61565         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61567 2012-06-21  Jeff Law  <law@redhat.com>
61569         [BZ #13882]
61570         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61571         uint16_t for elements in the "seen" array to avoid char overflows.
61572         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61573         * elf/dl-open.c (dl_open_worker): Likewise.
61575 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61577         * scripts/list-sources.sh: Scan PORTS for translations.
61578         * po/libc.pot: Regenerated.
61580 2012-06-21  Andreas Jaeger  <aj@suse.de>
61582         [BZ #12194]
61583         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61584         warning.
61585         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61586         * bits/byteswap-16.h (__bswap_16): Likewise.
61587         * bits/byteswap.h (__bswap_constant_16): Likewise.
61589 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61591         [BZ #14117]
61592         * sysdeps/i386/fpu_control.h: Removed.
61593         * sysdeps/x86_64/fpu_control.h: Moved to ...
61594         * sysdeps/x86/fpu_control.h: Here.
61596         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61597         (_FPU_SETCW): Likewise.
61599 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61601         [BZ #14117]
61602         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61603         * sysdeps/x86/fpu/bits/mathinline.h: This.
61604         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61606         [BZ #14050]
61607         [BZ #14117]
61608         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61609         functions if __x86_64__ is defined.
61611 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61613         * string/endian.h: Add !__ASSEMBLER__ condition for including
61614         conversion interfaces.
61616 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61618         [BZ #14241]
61619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61620         of ABS(x) in calculating zero to negative powers other than odd
61621         integers.
61622         * math/libm-test.inc (pow_test): Add more tests.
61624 2012-06-15  Andreas Jaeger  <aj@suse.de>
61626         * manual/contrib.texi (Contributors): Update entry of Liubov
61627         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61628         Machado Filho.
61630 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61632         * string/string.h: Add __wur to GNU version of strerror_r.
61634 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61636         [BZ #14229]
61637         * string/Makefile (tests): Add tst-strtok_r.
61638         * string/tst-strtok_r.c: New file.
61639         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61640         RAX_LP/RDX_LP on SAVE_PTR.
61642 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61644         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61646 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61648         * libm_test.inc (csqrt_test): Allow more spurious underflow
61649         exceptions.
61650         (j0_test): Likewise.
61651         (j1_test): Likewise.
61652         (y0_test): Likewise.
61653         (y1_test): Likewise.
61655 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61657         * po/Makefile (libc.pot): Use UTF-8 charset.
61659 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61661         [BZ #14210]
61662         Suppress sign-conversion warning from FD_SET.
61663         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61664         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61665         not unsigned long int.
61666         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61668 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61670         [BZ #14050]
61671         [BZ #14117]
61672         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61673         __extern_always_inline instead of __extern_inline.
61674         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61675         (__signbit): Likewise.
61676         (__signbitl): Support C++ namespace.
61677         (lrintf): New inline function.
61678         (lrint): Likewise.
61679         (llrintf): Likewise.
61680         (llrint): Likewise.
61681         (fmaxf): Likewise.
61682         (fmax): Likewise.
61683         (fminf): Likewise.
61684         (fmin): Likewise.
61685         (rint): Likewise.
61686         (rintf): Likewise.
61687         (ceil): Likewise.
61688         (ceilf): Likewise.
61689         (floor): Likewise.
61690         (floorf): Likewise.
61691         (nearbyint): Likewise.
61692         (nearbyintf): Likewise.
61694 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61696         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61697         non-default versions.
61699 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61701         [BZ #14218]
61702         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61704 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61706         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61707         (FE_UPWARD, FE_DOWNWARD): Don't define.
61708         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61709         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61711         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61712         reading it.
61713         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61714         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61716 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61718         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61720         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61721         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61723 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61725         [BZ #14117]
61726         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61727         * sysdeps/i386/fpu/Implies: New file.
61728         * sysdeps/x86_64/fpu/Implies: Likewise.
61729         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61730         * sysdeps/x86/fpu/bits/fenv.h: This.
61732         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61733         __SSE_MATH__.
61735 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61737         [BZ #14134]
61738         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61739         character 0xffff that matches the last element of the
61740         conversion table.
61742 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61745         fmodl commit.
61747 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61750         values higher than 25.6283.
61752 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61755         subnormal exponent extraction and add some __builtin_expect.
61756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61757         Fix for subnormal mantissa calculation.
61759 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61761         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61762         cpu2 is -1 and errno is not ENOSYS.
61764 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61766         [BZ #14117]
61767         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61768         * sysdeps/x86/bits/string.h: This.
61769         * sysdeps/x86_64/bits/string.h: Removed.
61771         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61772         if not compiling for x86-64, but compiling for >= i486.
61774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61775         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61777         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61778         New macro from Linux kernel 3.4.0.
61779         (FP_XSTATE_MAGIC2): Likewise.
61780         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61781         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61782         (struct _fpx_sw_bytes): New struct.
61783         (struct _xsave_hdr): Likewise.
61784         (struct _ymmh_state): Likewise.
61785         (struct _xstate): Likewise.
61787         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61788         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61789         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61790         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61791         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61792         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61794         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61795         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61796         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61797         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61798         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61799         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61801 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61803         [BZ #13743]
61804         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61805         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61806         (sysdep_headers): Include sys/platform/ppc.h.
61807         * sysdeps/powerpc/test-gettimebase.c: Test for
61808         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61809         * manual/Makefile (appendices): Include platform.texi.
61810         * manual/contrib.texi (Contributors): Update @node pointers.
61811         * manual/maint.texi (Maintenance): Likewise.
61812         (Platform): New node.
61813         * manual/platform.texi: New file.  Document the new features.
61815 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61816             Jakub Jelinek  <jakub@redhat.com>
61818         [BZ #14188]
61819         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61820         where __builtin_expect is unavailable.
61822 2012-06-03  David S. Miller  <davem@davemloft.net>
61824         * stdlib/longlong.h: Updated from GCC.
61826 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61828         [BZ #14042]
61829         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61830         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61831         __mcount_internal.
61832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61833         (GLIBC_2.16): Likewise.
61835 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61837         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61839 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61842         (default-abi): New variable.
61843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61844         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61845         variable.
61846         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61847         Likewise.
61848         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61849         Likewise.
61850         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61851         Likewise.
61853         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61854         definition.  Document in comment.
61856 2012-06-01  David S. Miller  <davem@davemloft.net>
61858         * stdlib/longlong.h: Updated from GCC.
61860 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61862         [BZ #14117]
61863         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61864         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61865         sys/debugreg.h sys/io.h here.
61866         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61867         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61868         sys/io.h.
61869         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61870         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61871         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61872         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61873         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61874         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61876         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61877         Define only if __x86_64__ is defined.
61879 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61881         [BZ #14048]
61882         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61883         Use int64_t for variable i.
61884         * math/libm-test.inc (fmod_test): Add more tests.
61886         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61887         z computation is not scheduled after fetestexcept.
61888         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61889         Use math_force_eval instead of asm to ensure calculation scheduled
61890         before exception test.
61891         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61892         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61894 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61896         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61897         computation is not scheduled after fetestexcept.
61899 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61901         [BZ #14117]
61902         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61903         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61905 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61907         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61908         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61910 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61912         [BZ #14117]
61913         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61914         <bits/wordsize.h>.
61915         (__WCHAR_MIN): Support __WORDSIZE == 64.
61916         (__WCHAR_MAX): Likewise.
61918         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61921         [BZ #14183]
61922         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61923         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61925         [BZ #14117]
61926         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61927         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61930         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61932         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61933         Defined to 1 if __x86_64__ isn't defined.
61934         (_STAT_VER_LINUX_OLD): New.
61935         (st_atime): Remove duplicate.
61936         (st_mtime): Likewise.
61937         (st_ctime): Likewise.
61939 2012-05-31  David S. Miller  <davem@davemloft.net>
61941         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61942         entries.
61944 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61946         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61947         gen-libm-test.pl.
61949         [BZ #14132]
61950         * elf/dl-reloc.c: Include <_itoa.h>.
61951         (_dl_reloc_bad_type): Remove use of INTUSE.
61952         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61953         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61954         * stdio-common/psiginfo.c (psiginfo): Likewise.
61955         * stdio-common/psignal.c (psignal): Likewise.
61956         * string/strsignal.c (strsignal): Likewise.
61957         * include/signal.h (_sys_siglist): Declare hidden proto.
61958         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61959         INTVARDEF with libc_hidden_data_def.
61960         * stdio-common/itoa-udigits.c: Likewise.
61961         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61962         (_itoa_lower_digits_internal): Remove declaration.
61963         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61964         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61965         (_sys_sigabbrev_internal): Remove aliases.
61966         (_sys_siglist): Define hidden alias.
61968 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61970         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61971         bits/sysctl.h.
61973 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61975         [BZ #14117]
61976         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61977         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61979         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61980         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61981         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61982         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61983         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61984         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61986         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61987         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61988         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61990         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61991         with __addr.
61992         (insw): Likewise.
61993         (insl): Likewise.
61994         (outsb): Likewise.
61995         (outsw): Likewise.
61996         (outsl): Likewise.
61998         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61999         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62000         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62002         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62003         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62004         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62005         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62006         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62007         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62009         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62010         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62012         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62013         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62015         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62016         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62019         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62020         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62021         to ...
62022         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62024         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62025         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62026         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62028         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62029         for x86-64.
62030         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62032 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62034         * math/math.h (M_El): Use two more decimal places.
62035         (M_LOG2El): Likewise.
62036         (M_LOG10El): Likewise.
62037         (M_LN2l): Likewise.
62038         (M_LN10l): Likewise.
62039         (M_PIl): Likewise.
62040         (M_PI_2l): Likewise.
62041         (M_PI_4l): Likewise.
62042         (M_1_PIl): Likewise.
62043         (M_2_PIl): Likewise.
62044         (M_2_SQRTPIl): Likewise.
62045         (M_SQRT2l): Likewise.
62046         (M_SQRT1_2l): Likewise.
62048 2012-05-31  David S. Miller  <davem@davemloft.net>
62050         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62051         values between float registers.
62052         * sysdeps/sparc/sparc64/memset.S: Likewise.
62053         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62055 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62057         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62058         -D_FORTIFY_SOURCE=1.
62059         (CPPFLAGS-tst-longjmp_chk.c): Define.
62060         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62061         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62062         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62063         CFLAGS-tst-wchar-h.c.
62065 2012-05-31  Marek Polacek  <polacek@redhat.com>
62067         [BZ #14132]
62068         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62069         __endmntent_internal): Remove declaration.
62070         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62071         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62072         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62074 2012-05-30  David S. Miller  <davem@davemloft.net>
62076         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62077         (___Q_simulate_exceptions): Use real FP ops rather than writing
62078         into the %fsr.
62079         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62080         Likewise.
62082 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62084         [BZ #14117]
62085         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62086         * sysdeps/x86/bits/xtitypes.h: This.
62088         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62089         * sysdeps/x86/bits/wordsize.h: This.
62091         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62092         * sysdeps/x86/bits/huge_vall.h: This.
62094         * sysdeps/i386/bits/select.h: Removed.
62095         * sysdeps/x86_64/bits/select.h: Renamed to ...
62096         * sysdeps/x86/bits/select.h: This.
62098         * sysdeps/i386/bits/setjmp.h: Removed.
62099         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62100         * sysdeps/x86/bits/setjmp.h: This.
62102         * sysdeps/i386/bits/mathdef.h: Removed.
62103         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62104         * sysdeps/x86/bits/mathdef.h: This.
62106 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62108         [BZ #14132]
62109         * include/sys/socket.h (__connect_internal)
62110         (__libc_sa_len_internal): Remove declaration.
62111         (__connect, __libc_sa_len): Declare hidden_proto.
62112         (SA_LEN): Remove use of INTUSE.
62113         * socket/connect.c: Add libc_hidden_def.
62114         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62115         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62116         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62117         alias.
62118         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62119         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62120         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62121         of adding _internal alias.
62123 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62125         [BZ #14117]
62126         * sysdeps/i386/bits/link.h: Removed.
62127         * sysdeps/i386/bits/linkmap.h: Likewise.
62128         * sysdeps/x86_64/bits/link.h: Renamed to ...
62129         * sysdeps/x86/bits/link.h: This.
62130         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62131         * sysdeps/x86/bits/linkmap.h: This.
62133         * sysdeps/i386/bits/endian.h: Removed.
62134         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62135         * sysdeps/x86/bits/endian.h: This.
62137         * sysdeps/i386/bits/byteswap.h: Removed.
62138         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62139         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62140         * sysdeps/x86/bits/byteswap.h: This.
62141         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62142         * sysdeps/x86/bits/byteswap-16.h: This.
62143         * sysdeps/i386/Implies: Add x86.
62144         * sysdeps/x86_64/Implies: Likewise.
62146 2012-05-30  David S. Miller  <davem@davemloft.net>
62148         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62149         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62151         (FP_TRAPPING_EXCEPTIONS): Define.
62152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62153         (FP_TRAPPING_EXCEPTIONS): Define.
62154         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62155         subnormals only when inexact has been signalled or underflow
62156         exceptions are enabled.
62157         (_FP_PACK_CANONICAL): Likewise.
62159 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62161         [BZ #14183]
62162         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62163         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62165 2012-05-30  Richard Henderson  <rth@twiddle.net>
62167         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62168         with #ifndef NOT_IN_libc.
62170         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62171         marked to avoid plt entry.
62173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62175         [BZ #14112]
62176         * Makeconfig (default-abi): New macro.
62177         (abi-includes): Likewise.
62178         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62179         $(abi-$(default-abi)-lib-soname) for soname if defined.
62180         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62181         abi-variants.
62182         * Makefile (installed-stubs): Likewise.
62183         * include/stubs-biarch.h: Removed.
62184         * scripts/lib-names.awk: Only handle one library at a time.
62185         * scripts/soversions.awk: Remove WORDSIZE support.
62186         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62187         entries.
62188         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62189         Removed.
62190         (syscall-list-default-condition): Likewise.
62191         (syscall-list-default-condition): Likewise.
62192         (syscall-list-includes): Likewise.
62193         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62194         syscall-list-* with abi-*.  Handle undefined abi-variants.
62195         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62196         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62197         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62198         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62199         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62200         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62201         Removed.
62202         (syscall-list-32-options): Likewise.
62203         (syscall-list-32-condition): Likewise.
62204         (syscall-list-64-options): Likewise.
62205         (syscall-list-64-condition): Likewise.
62206         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62207         macro.
62208         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62209         Renamed to ...
62210         (abi-*): This.
62211         (abi-64-ld-soname): New macro.
62212         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62213         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62214         Renamed to ...
62215         (abi-*): This.
62216         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62217         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62219 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62221         * sysdeps/unix/sysv/linux/kernel-features.h
62222         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62223         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62224         include <kernel-features.h>.
62225         [!__NR_ftruncate64]: Remove conditional code.
62226         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62227         [__NR_ftruncate64]: Make code unconditional.
62228         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62229         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62230         include <kernel-features.h>.
62231         [!__NR_ftruncate64]: Remove conditional code.
62232         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62233         [__NR_ftruncate64]: Make code unconditional.
62234         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62236         include <kernel-features.h>.
62237         [!__NR_ftruncate64]: Remove conditional code.
62238         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62239         [__NR_ftruncate64]: Make code unconditional.
62240         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62242         include <kernel-features.h>.
62243         [!__NR_ftruncate64]: Remove conditional code.
62244         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62245         [__NR_ftruncate64]: Make code unconditional.
62246         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62248         * configure.in (libc_cv_fpie): Weaken to a compile test using
62249         LIBC_TRY_CC_OPTION.
62250         * configure: Regenerated.
62252 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62255         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62258         Refreshed.
62259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62265         Refreshed.
62267 2012-05-27  David S. Miller  <davem@davemloft.net>
62269         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62270         (___Q_zero): New.
62271         (__Q_simulate_exceptions): Return void.  Change to simulate
62272         exceptions by writing into the %fsr.
62273         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62274         (__Qp_handle_exceptions): Likewise.
62275         (numbers): Delete.
62276         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62277         __Qp_handle_exceptions.
62278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62279         __Qp_handle_exceptions.
62280         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62281         as unused and give dummy FP_RND_NEAREST initializer.
62282         (FP_INHIBIT_RESULTS): Define.
62283         (___Q_simulate_exceptions): Update declaration.
62284         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62285         formatting.
62286         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62287         as unused and give dummy FP_RND_NEAREST initializer.
62288         (__Qp_handle_exceptions): Update declaration.
62289         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62290         formatting.
62292 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62294         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62295         the temporary FPU control word.
62296         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62297         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62299         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62300         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62301         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62302         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62303         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62304         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62305         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62306         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62308 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62310         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62311         fields.
62313 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62315         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62316         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62317         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62318         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62319         Likewise.
62320         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62321         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62322         Likewise.
62324 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62326         * po/h.po: Update from translation team.
62328 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62330         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62332         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62333         handling of denormals.
62334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62335         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62336         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62337         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62341         Likewise.
62343 2012-05-26  Marek Polacek  <polacek@redhat.com>
62345         [BZ #14152]
62346         * math/libm-test.inc (fma_test): Don't always expect underflow
62347         exception.
62349 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62351         [BZ #12416]
62352         * elf/tst-execstack.c: Include stackinfo.h.
62353         (do_test): Adjust test case to ensure that pthread_getattr_np
62354         behaviour remains the same after marking stack executable.
62356 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62358         * sysdeps/unix/sysv/linux/kernel-features.h
62359         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62360         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62361         kernel-features.h.
62362         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62363         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62364         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62365         kernel-features.h.
62366         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62367         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62369 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62371         * configure.in: Define the default includes to being none.
62372         * configure: Regenerated.
62374 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62376         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62377         * sysdeps/x86_64/setjmp.S: Likewise.
62378         * sysdeps/i386/bsd-setjmp.S: Likewise.
62379         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62380         * sysdeps/i386/setjmp.S: Likewise.
62381         * sysdeps/i386/__longjmp.S: Likewise.
62382         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62383         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62385         * include/stap-probe.h: New file.
62386         * configure.in: Handle --enable-systemtap.
62387         * configure: Regenerated.
62388         * config.h.in (USE_STAP_PROBE): New #undef.
62389         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62390         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62391         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62393 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62395         [BZ #13717]
62396         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62397         to 2.4.0 where earlier.
62398         * sysdeps/unix/sysv/linux/configure: Regenerated.
62399         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62400         <kernel-features.h>.
62401         [__ASSUME_32BITUIDS]: Make code unconditional.
62402         [!__ASSUME_32BITUIDS]: Remove conditional code.
62403         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62404         <kernel-features.h>.
62405         [__ASSUME_32BITUIDS]: Make code unconditional.
62406         [!__ASSUME_32BITUIDS]: Remove conditional code.
62407         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62408         [__ASSUME_32BITUIDS]: Make code unconditional.
62409         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62410         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62411         <kernel-features.h>.
62412         [__ASSUME_32BITUIDS]: Make code unconditional.
62413         [!__ASSUME_32BITUIDS]: Remove conditional code.
62414         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62415         <kernel-features.h>.
62416         [__ASSUME_32BITUIDS]: Make code unconditional.
62417         [!__ASSUME_32BITUIDS]: Remove conditional code.
62418         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62419         <kernel-features.h>.
62420         [__ASSUME_32BITUIDS]: Make code unconditional.
62421         [!__ASSUME_32BITUIDS]: Remove conditional code.
62422         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62423         <kernel-features.h>.
62424         [__ASSUME_32BITUIDS]: Make code unconditional.
62425         [!__ASSUME_32BITUIDS]: Remove conditional code.
62426         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62427         <kernel-features.h>.
62428         [__ASSUME_32BITUIDS]: Make code unconditional.
62429         [!__ASSUME_32BITUIDS]: Remove conditional code.
62430         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62431         <kernel-features.h>.
62432         [__ASSUME_32BITUIDS]: Make code unconditional.
62433         [!__ASSUME_32BITUIDS]: Remove conditional code.
62434         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62435         <kernel-features.h>.
62436         [__ASSUME_32BITUIDS]: Make code unconditional.
62437         [!__ASSUME_32BITUIDS]: Remove conditional code.
62438         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62439         <kernel-features.h>.
62440         [__ASSUME_32BITUIDS]: Make code unconditional.
62441         [!__ASSUME_32BITUIDS]: Remove conditional code.
62442         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62443         <kernel-features.h>.
62444         [__ASSUME_32BITUIDS]: Make code unconditional.
62445         [!__ASSUME_32BITUIDS]: Remove conditional code.
62446         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62447         <kernel-features.h>.
62448         [__ASSUME_32BITUIDS]: Make code unconditional.
62449         [!__ASSUME_32BITUIDS]: Remove conditional code.
62450         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62451         <kernel-features.h>.
62452         [__NR_setresgid] (__setresgid): Do not declare.
62453         [__ASSUME_32BITUIDS]: Make code unconditional.
62454         [!__ASSUME_32BITUIDS]: Remove conditional code.
62455         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62456         <kernel-features.h>.
62457         [__NR_setresuid] (__setresuid): Do not declare.
62458         [__ASSUME_32BITUIDS]: Make code unconditional.
62459         [!__ASSUME_32BITUIDS]: Remove conditional code.
62460         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62461         <kernel-features.h>.
62462         [__ASSUME_32BITUIDS]: Make code unconditional.
62463         [!__ASSUME_32BITUIDS]: Remove conditional code.
62464         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62465         <kernel-features.h>.
62466         [__ASSUME_32BITUIDS]: Make code unconditional.
62467         [!__ASSUME_32BITUIDS]: Remove conditional code.
62468         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62469         <kernel-features.h>.
62470         [__ASSUME_32BITUIDS]: Make code unconditional.
62471         [!__ASSUME_32BITUIDS]: Remove conditional code.
62472         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62473         <kernel-features.h>.
62474         [__ASSUME_32BITUIDS]: Make code unconditional.
62475         [!__ASSUME_32BITUIDS]: Remove conditional code.
62476         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62477         <kernel-features.h>.
62478         [__ASSUME_32BITUIDS]: Make code unconditional.
62479         [!__ASSUME_32BITUIDS]: Remove conditional code.
62480         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62481         <kernel-features.h>.
62482         [__ASSUME_32BITUIDS]: Make code unconditional.
62483         [!__ASSUME_32BITUIDS]: Remove conditional code.
62484         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62485         <kernel-features.h>.
62486         [__ASSUME_32BITUIDS]: Make code unconditional.
62487         [!__ASSUME_32BITUIDS]: Remove conditional code.
62488         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.c: Do not include
62497         <kernel-features.h>.
62498         [__ASSUME_32BITUIDS]: Make code unconditional.
62499         [!__ASSUME_32BITUIDS]: Remove conditional code.
62500         * sysdeps/unix/sysv/linux/kernel-features.h
62501         (__ASSUME_SETRESUID_SYSCALL): Remove.
62502         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62503         (__ASSUME_32BITUIDS): Likewise.
62504         (__ASSUME_LDT_WORKS): Likewise.
62505         (__ASSUME_O_DIRECTORY): Likewise.
62506         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62507         architecture but not kernel version.
62508         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62509         (__ASSUME_MMAP2_SYSCALL): Likewise.
62510         (__ASSUME_STAT64_SYSCALL): Likewise.
62511         (__ASSUME_IPC64): Likewise.
62512         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62513         <kernel-features.h>.
62514         [__ASSUME_32BITUIDS]: Make code unconditional.
62515         [!__ASSUME_32BITUIDS]: Remove conditional code.
62516         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62517         <kernel-features.h>.
62518         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62519         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62520         132096]: Remove conditional code.
62521         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62523         <kernel-features.h>.
62524         [__ASSUME_32BITUIDS]: Make code unconditional.
62525         [!__ASSUME_32BITUIDS]: Remove conditional code.
62526         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62527         <kernel-features.h>.
62528         [__ASSUME_32BITUIDS]: Make code unconditional.
62529         [!__ASSUME_32BITUIDS]: Remove conditional code.
62530         * sysdeps/unix/sysv/linux/setegid.c: Do not include
62531         <kernel-features.h>.
62532         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62533         unconditional.
62534         (__setresgid): Do not declare.
62535         [__ASSUME_32BITUIDS]: Make code unconditional.
62536         [!__ASSUME_32BITUIDS]: Remove conditional code.
62537         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62538         <kernel-features.h>.
62539         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62540         unconditional.
62541         (__setresuid): Do not declare.
62542         [__ASSUME_32BITUIDS]: Make code unconditional.
62543         [!__ASSUME_32BITUIDS]: Remove conditional code.
62544         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62545         <kernel-features.h>.
62546         [__ASSUME_32BITUIDS]: Make code unconditional.
62547         [!__ASSUME_32BITUIDS]: Remove conditional code.
62548         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62549         <kernel-features.h>.
62550         [__ASSUME_32BITUIDS]: Make code unconditional.
62551         [!__ASSUME_32BITUIDS]: Remove conditional code.
62553 2012-05-25  Richard Henderson  <rth@twiddle.net>
62555         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62556         dl_hwcap to ifunc resolver.
62557         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62558         elf_ifunc_invoke.
62559         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62560         dl_hwcap to ifunc resolver.
62561         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62563 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62565         [BZ #14153]
62566         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62567         for |x| <= 2**-26, not 2**-57.
62568         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62569         exception.
62571 2012-05-24  Jeff Law  <law@redhat.com>
62573         * stdio-common/Makefile (tests): Add bug25.
62574         * stdio-common/bug25.c: New test.
62576 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62578         [BZ #13576]
62579         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62580         multiple of MALLOC_ALIGNMENT in size.
62581         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62583 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62585         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62586         Require >= 256.
62587         (FILENAME_MAX): Use macro-int-constant.
62588         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62589         (_IOFBF): Use macro-int-constant.
62590         (_IOLBF): Likewise.
62591         (_IONBF): Likewise.
62592         (SEEK_CUR): Likewise.
62593         (SEEK_END): Likewise.
62594         (SEEK_SET): Likewise.
62595         (TMP_MAX): Likewise.
62596         (EOF): Use macro-int-constant.  Require < 0.
62597         (NULL): Use macro-constant.  Require == 0.
62598         (stdin): Require type to be FILE *.
62599         (stdout): Likewise.
62600         (stderr): Likewise.
62601         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62602         macro-int-constant.
62603         (EXIT_SUCCESS): Likewise.
62604         (NULL): Use macro-constant.  Require == 0.
62605         (RAND_MAX): Use macro-int-constant.
62606         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62607         [C99-based standards] (strtof): Require function.
62608         [C99-based standards] (strtold): Likewise.
62609         [C99-based standards] (strtoll): Likewise.
62610         [C99-based standards] (strtoull): Likewise.
62611         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62612         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62613         [ISO || ISO99 || ISO11] (math.h): Likewise.
62614         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62615         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62616         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62618 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62620         [BZ #14132]
62621         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62622         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62623         * intl/dgettext.c (DCGETTEXT): Likewise.
62624         * intl/gettext.c (DCGETTEXT): Likewise.
62625         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62626         * posix/regex_internal.h (gettext): Likewise.
62627         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62628         Remove declaration.
62629         * include/argz.h (__argz_count_internal)
62630         (__argz_stringify_internal): Remove declaration.
62631         (__argz_count, __argz_stringify): Declare hidden proto.
62632         * intl/dcgettext.c: Remove use of INTDEF.
62633         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62634         * string/argz-stringify.c: Likewise.
62635         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62636         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62637         Declare hidden proto.
62638         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62639         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62640         Declare hidden proto.
62641         * include/stdio.h (__asprintf_internal): Don't declare.
62642         (__asprintf): Don't define as macro.  Declare hidden proto.
62643         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62644         (__fsetlocking): Declare hidden proto.
62645         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62646         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62647         hidden proto.
62648         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62649         (_IO_setlinebuf): Remove use of INTUSE.
62650         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62651         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62652         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62653         Remove declaration.
62654         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62655         (_IO_do_flush): Remove use of INTUSE.
62656         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62657         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62658         (_IO_adjust_column, _IO_least_wmarker)
62659         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62660         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62661         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62662         (_IO_default_doallocate, _IO_wdefault_doallocate)
62663         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62664         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62665         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62666         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62667         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62668         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62669         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62670         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62671         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62672         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62673         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62674         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62675         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62676         proto.
62677         (_IO_flush_all_internal, _IO_adjust_column_internal)
62678         (_IO_default_uflow_internal, _IO_default_finish_internal)
62679         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62680         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62681         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62682         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62683         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62684         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62685         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62686         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62687         (_IO_file_close_internal, _IO_file_close_it_internal)
62688         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62689         (_IO_file_init_internal, _IO_file_attach_internal)
62690         (_IO_file_fopen_internal, _IO_file_read_internal)
62691         (_IO_file_sync_internal, _IO_file_seek_internal)
62692         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62693         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62694         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62695         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62696         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62697         (_IO_list_all_internal, _IO_link_in_internal)
62698         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62699         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62700         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62701         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62702         (_IO_do_write_internal, _IO_padn_internal)
62703         (_IO_getline_info_internal, _IO_getline_internal)
62704         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62705         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62706         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62707         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62708         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62709         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62710         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62711         with libc_hidden_ver, remove use of INTUSE.
62712         * libio/genops.c: Likewise.
62713         * libio/freopen.c: Likewise.
62714         * libio/freopen64.c: Likewise.
62715         * libio/iofclose.c: Likewise.
62716         * libio/iofdopen.c: Likewise.
62717         * libio/iofflush.c: Likewise.
62718         * libio/iofflush_u.c: Likewise.
62719         * libio/iofgets.c: Likewise.
62720         * libio/iofgets_u.c: Likewise.
62721         * libio/iofopen.c: Likewise.
62722         * libio/iofopncook.c: Likewise.
62723         * libio/iofread.c: Likewise.
62724         * libio/iofread_u.c: Likewise.
62725         * libio/ioftell.c: Likewise.
62726         * libio/iofwrite.c: Likewise.
62727         * libio/iogetline.c: Likewise.
62728         * libio/iogets.c: Likewise.
62729         * libio/iogetwline.c: Likewise.
62730         * libio/iopadn.c: Likewise.
62731         * libio/iopopen.c: Likewise.
62732         * libio/ioseekoff.c: Likewise.
62733         * libio/ioseekpos.c: Likewise.
62734         * libio/iosetbuffer.c: Likewise.
62735         * libio/iosetvbuf.c: Likewise.
62736         * libio/ioungetc.c: Likewise.
62737         * libio/ioungetwc.c: Likewise.
62738         * libio/iovdprintf.c: Likewise.
62739         * libio/iovsprintf.c: Likewise.
62740         * libio/iovsscanf.c: Likewise.
62741         * libio/memstream.c: Likewise.
62742         * libio/obprintf.c: Likewise.
62743         * libio/oldfileops.c: Likewise.
62744         * libio/oldiofclose.c: Likewise.
62745         * libio/oldiofdopen.c: Likewise.
62746         * libio/oldiofopen.c: Likewise.
62747         * libio/oldiopopen.c: Likewise.
62748         * libio/oldstdfiles.c: Likewise.
62749         * libio/putc.c: Likewise.
62750         * libio/setbuf.c: Likewise.
62751         * libio/setlinebuf.c: Likewise.
62752         * libio/stdfiles.c: Likewise.
62753         * libio/strops.c: Likewise.
62754         * libio/vasprintf.c: Likewise.
62755         * libio/vscanf.c: Likewise.
62756         * libio/vsnprintf.c: Likewise.
62757         * libio/vswprintf.c: Likewise.
62758         * libio/wfiledoalloc.c: Likewise.
62759         * libio/wfileops.c: Likewise.
62760         * libio/wgenops.c: Likewise.
62761         * libio/wmemstream.c: Likewise.
62762         * libio/wstrops.c: Likewise.
62763         * libio/__fpurge.c: Likewise.
62764         * libio/__fsetlocking.c: Likewise.
62765         * assert/assert.c: Likewise.
62766         * debug/fgets_chk.c: Likewise.
62767         * debug/fgets_u_chk.c: Likewise.
62768         * debug/fread_chk.c: Likewise.
62769         * debug/fread_u_chk.c: Likewise.
62770         * debug/gets_chk.c: Likewise.
62771         * debug/obprintf_chk.c: Likewise.
62772         * debug/vasprintf_chk.c: Likewise.
62773         * debug/vdprintf_chk.c: Likewise.
62774         * debug/vsnprintf_chk.c: Likewise.
62775         * debug/vsprintf_chk.c: Likewise.
62776         * malloc/mtrace.c: Likewise.
62777         * misc/error.c: Likewise.
62778         * misc/syslog.c: Likewise.
62779         * stdio-common/asprintf.c: Likewise.
62780         * stdio-common/fxprintf.c: Likewise.
62781         * stdio-common/getw.c: Likewise.
62782         * stdio-common/isoc99_fscanf.c: Likewise.
62783         * stdio-common/isoc99_scanf.c: Likewise.
62784         * stdio-common/isoc99_vfscanf.c: Likewise.
62785         * stdio-common/isoc99_vscanf.c: Likewise.
62786         * stdio-common/isoc99_vsscanf.c: Likewise.
62787         * stdio-common/printf-prs.c: Likewise.
62788         * stdio-common/printf_fp.c: Likewise.
62789         * stdio-common/printf_fphex.c: Likewise.
62790         * stdio-common/printf_size.c: Likewise.
62791         * stdio-common/putw.c: Likewise.
62792         * stdio-common/scanf.c: Likewise.
62793         * stdio-common/sprintf.c: Likewise.
62794         * stdio-common/tmpfile.c: Likewise.
62795         * stdio-common/vfprintf.c: Likewise.
62796         * stdio-common/vfscanf.c: Likewise.
62797         * stdlib/strfmon_l.c: Likewise.
62798         * sunrpc/openchild.c: Likewise.
62799         * sunrpc/xdr_stdio.c: Likewise.
62800         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62801         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62803 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62805         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62807         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62808         in the third column, to generate for the shared library an IFUNC
62809         that uses _dl_vdso_vsym.
62810         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62811         * Makeconfig (object-suffixes-noshared): New variable.
62813         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62814         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62815         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62816         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62818         [BZ #14132]
62819         * include/sys/time.h (__gettimeofday): Remove macro.
62820         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62821         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62822         Remove INTDEF.
62823         (__gettimeofday): Add libc_hidden_def.
62824         (gettimeofday): Add libc_hidden_weak.
62825         * sysdeps/mach/gettimeofday.c: Likewise.
62826         * sysdeps/posix/gettimeofday.c: Likewise.
62827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62828         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62829         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62830         (__gettimeofday_internal): Remove strong_alias.
62831         (__gettimeofday): Add libc_hidden_def.
62832         (gettimeofday): Add libc_hidden_weak.
62833         * sysdeps/unix/syscalls.list (gettimeofday):
62834         Remove __gettimeofday_internal alias.
62836 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62837             H.J. Lu  <hongjiu.lu@intel.com>
62839         [BZ #12495]
62840         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62841         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62842         (largebin_index_32_big): New.
62843         (largebin_index): Use it for 16-byte alignment.
62844         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62845         correction with front_misalign.
62847 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62851         Likewise.
62852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62853         Likewise.
62854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62855         Likewise.
62856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62857         Likewise.
62858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62859         Likewise.
62860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62861         Likewise.
62862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62863         Likewise.
62864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62865         Likewise.
62866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62867         Likewise.
62868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62869         Likewise.
62870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62871         Likewise.
62872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62873         Likewise.
62875         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62876         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62878 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62880         [BZ #10846]
62881         [BZ #14036]
62882         * math/libm-test.inc (exp_test): Add test from bug 14036.
62883         (pow_test): Add test from bug 10846.
62885         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62886         and other flags.
62887         (special_function): Do not include flags in test name.
62888         (parse_args): Likewise.
62889         * sysdeps/i386/fpu/libm-test-ulps: Update.
62890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62891         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62892         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62895         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62896         exceptions.
62897         * math/libm-test.inc ("Philosophy"): Update comment about
62898         exception testing.
62899         (UNDERFLOW_EXCEPTION): New macro.
62900         (UNDERFLOW_EXCEPTION_OK): Likewise.
62901         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62902         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62903         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62904         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62905         (INVALID_EXCEPTION_OK): Update value.
62906         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62907         (OVERFLOW_EXCEPTION_OK): Likewise.
62908         (IGNORE_ZERO_INF_SIGN): Likewise.
62909         (test_exceptions): Handle underflow exceptions.
62910         (acos_test): Update for underflow exception expectations.
62911         (cexp_test): Likewise.
62912         (clog_test): Likewise.
62913         (clog10_test): Likewise.
62914         (csqrt_test): Likewise.
62915         (ctan_test): Likewise.
62916         (ctanh_test): Likewise.
62917         (exp_test): Likewise.
62918         (exp10_test): Likewise.
62919         (exp2_test): Likewise.
62920         (expm1_test): Likewise.
62921         (fma_test): Likewise.
62922         (j0_test): Likewise.
62923         (jn_test): Likewise.
62924         (nexttoward_test): Likewise.
62925         (pow_test): Likewise.
62926         (scalbn_test): Likewise.
62927         (scalbln_test): Likewise.
62928         (tan_test): Likewise.
62929         (y1_test): Likewise.
62930         * sysdeps/i386/fpu/libm-test-ulps: Update.
62931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62933 2012-05-23  David S. Miller  <davem@davemloft.net>
62935         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62936         (__libc_sigaction): Remove unused local variables.
62938 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62940         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62942 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62944         mktime: avoid signed integer overflow
62945         * time/mktime.c (__mktime_internal): Do not mishandle the case
62946         where diff == INT_MIN.
62948         mktime: simplify computation of average
62949         * time/mktime.c (ranged_convert): Use new time_t_avg function
62950         instead of rolling our own (probably-slower) code.
62952         mktime: do not assume signed right shift propagates sign bit
62953         * time/mktime.c (isdst_differ): New static function.
62954         (__mktime_internal): No need to normalize tm_isdst now.
62955         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62956         tm_isdst values.
62958         mktime: merge another wrapv change from gnulib
62959         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62960         from some compilers.
62962         mktime: remove incorrect attempt at unusual arithmetics
62963         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62964         The code didn't really work on such machines anyway.
62965         (TYPE_MINIMUM): Assume two's complement.
62966         (twos_complement_arithmetic): Verify that long_int and time_t
62967         are two's complement (or unsigned, in the latter case).
62969         mktime: check signed shifts on long_int and time_t, too
62970         * time/mktime.c (SHR): Check that shifts work as desired
62971         on the types long_int and time_t too, as SHR is used on
62972         such types.
62974         mktime: do not assume 'long' is wide enough
62975         * time/mktime.c (verify): Move decl up.
62976         (long_int): New type.
62977         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62978         to remove assumption in the code that 'long' is wide enough to
62979         store year values.  This assumption is not true on x32 and on
62980         some non-glibc platforms.
62982         mktime: merge wrapv change from gnulib
62983         * time/mktime.c (WRAPV): New macro.
62984         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62985         (guess_time_tm, __mktime_internal): Do not assume that signed
62986         integer overflow wraps around; modern compilers generate code
62987         where this assumption is no longer valid.
62989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62991         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62992         Replace "jmp L(pseudo_end)" with "ret".
62993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62994         Likewise.
62996 2012-05-23  Andreas Jaeger  <aj@suse.de>
62998         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62999         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63001 2012-05-23  Andreas Jaeger  <aj@suse.de>
63002             Maximilian Attems  <max@stro.at>
63004         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63005         New macros.
63007 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63009         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63010         code so that pseudo_end is just ret and the stack pointer is
63011         correct also for static library in error case.
63013 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63015         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63016         move to syscalls.list.
63017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63022         * manual/install.texi (Running make install): Do not mention Linux
63023         kernel version for which pt_chown is not needed.
63024         (Linux): Do not mention problems with nscd with 2.0 kernels.
63025         * INSTALL: Regenerated.
63027 2012-05-23  Andreas Jaeger  <aj@suse.de>
63029         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63030         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63031         macro.
63032         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63034         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63035         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63036         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63037         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63039         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63040         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63041         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63042         * sysdeps/unix/sysv/linux/bits/in.h
63043         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63045 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63047         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63048         (PREPARE_VERSION): Just use assert instead, it will be elided
63049         under [NDEBUG] anyway.
63051 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63053         * sysdeps/unix/sysv/linux/Makefile: Include
63054         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63055         (sysdep_routines): Remove sysctl.
63056         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63057         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63058         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63059         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63060         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63062 2012-05-22  Andreas Jaeger  <aj@suse.de>
63064         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63065         that pseudo_end is just ret and the stack pointer is correct also
63066         for static library in error case.
63068 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63070         [BZ #14122]
63071         * nss/nsswitch.c (defconfig_entries): New variable.
63072         (__nss_database_lookup): Don't leak defconfig entries.
63073         (nss_parse_service_list): Don't leak on error paths.
63074         (free_database_entries): New function.
63075         (free_defconfig): New function.
63076         (free_mem): Move common code to free_database_entries.
63078 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63080         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63081         Add arch_prctl.
63082         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63084         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63085         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63086         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63087         New macro.
63088         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63089         (INTERNAL_SYSCALL_TYPES): Likewise.
63090         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63091         (LOAD_REGS_TYPES_[1-6]): Likewise.
63092         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63093         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63095 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63097         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63098         copysignl for GLIBC_2_0.
63099         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63100         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63102         logbl for GLIBC_2_0.
63103         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63104         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63106 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63108         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63109         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63111         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63112         Use "neg %eax".
63114         * time/mktime.c: Update copyright years.
63116 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63118         mktime: merge comment-quoting-style change from gnulib
63119         * time/mktime.c: Quote 'like this' in comments.
63120         The GNU coding standards suggest that we no longer quote `like this',
63121         as "`" and "'" are typically rendered asymmetrically nowadays.
63122         The typical gnulib style is to quote 'like this' when quoting
63123         code, and "like this" when quoting English.
63125         * time/mktime.c (compile-command): Add "-I.".
63127         mktime: merge mktime-internal.h change from gnulib
63128         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63130         mktime: merge time_r change from gnulib
63131         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63133         mktime: merge DEBUG change from gnulib
63134         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63135         case system <time.h> has a #define.
63137         mktime: merge <sys/types.h> change from gnulib
63138         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63139         since <time.t> is now guaranteed to define time_t.
63141         mktime: merge HAVE_CONFIG_H change from gnulib
63142         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63144 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63146         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63147         Use "neg %eax".
63149         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63150         __rlim_t cast.
63151         (struct rusage): Use anonymous union to pad each field to
63152         __syscall_slong_t.
63154 2012-05-21  David S. Miller  <davem@davemloft.net>
63156         * Makefules (o-iterator): Remove .s cases.
63157         (compile-command.s): Delete.
63158         (COMPILE.s): Delete.
63159         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63161 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63163         * configure.in (libc_cv_predef_stack_protector): Only consider
63164         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63165         * configure: Regenerated.
63167 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63170         New macro.  Use R*LP on int and pointer.
63171         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63172         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63173         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63174         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63176         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63177         [__WORDSIZE_TIME64_COMPAT32] instead of
63178         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63179         (struct utmp): Likewise.
63180         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63181         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63182         Renamed to ...
63183         (__WORDSIZE_TIME64_COMPAT32): This.
63184         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63185         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63186         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63187         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63188         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63189         (__WORDSIZE_TIME64_COMPAT32): New macro.
63191 2012-05-21  Andreas Jaeger  <aj@suse.de>
63193         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63194         only if [SHARED]. Add prototype for __wcschr_ia32.
63196 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63198         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63199         of %rbp unmolested in the jmp_buf while mangling the low bits.
63200         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63201         unmolested high bits of %rbp while demangling the low bits.
63202         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63204 2012-05-21  Andreas Jaeger  <aj@suse.de>
63206         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63207         * sunrpc/svc_simple.c: Use it for registerrpc.
63208         * sunrpc/xcrypt.c: Use it for passwd2des.
63210         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63212 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63214         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63215         Don't define if [__SYSCALL_WORDSIZE != 32].
63216         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63217         New macro.
63219 2012-05-21  Bruno Haible  <bruno@clisp.org>
63220             Andreas Jaeger  <aj@suse.de>
63222         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63223         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63224         inptr and inend for must_buffer_ch.
63225         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63226         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63227         * stdio-common/Makefile (tests): Remove bug15.
63228         (bug15-ENV): Remove macro.
63229         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63230         anymore.
63232 2012-05-19  Andreas Jaeger  <aj@suse.de>
63233             Roland McGrath  <roland@hack.frob.com>
63235         * manual/contrib.texi: Completely rewritten. It contains now an
63236         alphabetical list of contributors and their contributions.
63238 2012-05-21  Richard Henderson  <rth@twiddle.net>
63240         * misc/getauxval.c (__getauxval): Use unsigned long int.
63241         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63242         (getauxval): Use unsigned long int.
63244 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63246         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63248 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63250         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63251         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63252         __alignof__ (long double).
63254 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63258 2012-05-20  Richard Henderson  <rth@twiddle.net>
63260         * misc/getauxval.c: New file.
63261         * misc/sys/auxv.h: New file.
63262         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63263         (routines): Add getauxval.
63264         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63265         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63266         * elf/dl-sysdep.c (_dl_auxv): Remove.
63267         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63268         * elf/dl-support.c (_dl_auxv): New variable.
63269         (_dl_aux_init): Initialize it.
63270         * manual/startup.texi (Auxiliary Vector): New node.
63271         * sysdeps/generic/bits/hwcap.h: New file.
63272         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63273         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63274         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63275         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63276         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63279         Update.
63280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63282         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63289 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63293 2012-05-19  David S. Miller  <davem@davemloft.net>
63295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63297 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63299         [BZ #14123]
63300         * math/s_ccosh.c: Include <float.h>
63301         (__ccosh): Avoid internal overflow calculating sinh and cosh
63302         values before multiplying by sin and cos values.
63303         * math/s_ccoshf.c: Likewise.
63304         * math/s_ccoshl.c: Likewise.
63305         * math/s_csin.c: Likewise.
63306         * math/s_csinf.c: Likewise.
63307         * math/s_csinl.c: Likewise.
63308         * math/s_csinh.c: Likewise.
63309         * math/s_csinhf.c: Likewise.
63310         * math/s_csinhl.c: Likewise.
63311         * math/libm-test.inc (ccos_test): Add more tests.
63312         (ccosh_test): Likewise.
63313         (csin_test): Likewise.
63314         (csinh_test): Likewise.
63315         * sysdeps/i386/fpu/libm-test-ulps: Update.
63316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63318 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63320         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63321         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63323         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63325 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63327         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63328         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63329         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63330         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63331         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63332         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63333         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63334         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63335         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63336         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63337         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63338         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63339         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63340         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63341         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63342         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63343         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63344         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63345         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63346         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63347         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63348         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63349         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63350         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63351         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63352         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63353         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63354         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63355         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63356         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63357         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63359 2012-05-18  Andreas Jaeger  <aj@suse.de>
63361         * csu/.gitignore: Delete.
63363 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63365         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63366         (timex): Use __syscall_slong_t.
63368 2012-05-18  Andreas Jaeger  <aj@suse.de>
63369             Carlos O'Donell  <carlos_odonell@mentor.com>
63371         * manual/install.texi (Configuring and compiling): Update
63372         description about files modified in the source directory.
63373         * INSTALL: Regenerated.
63375 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63377         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63378         value.  Use "or" to set return value to -1.
63379         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63380         negate return value.
63382 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63384         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63385         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63386         failure if the compiler has Graphite support disabled.
63387         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63388         Likewise.
63389         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63390         (CFLAGS-memmove.c): Likewise.
63391         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63392         Likewise.
63394 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63396         * sysdeps/x86_64/x32/_itoa.h: New file.
63398         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63399         getdents system call only if kernel and user dirents have the
63400         same d_ino and d_off.
63402         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63403         LLONG_MAX != LONG_MAX.
63404         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63405         (_fitoa_word): Likewise.
63407         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63408         years.
63409         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63410         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63411         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63413         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63414         include <bits/wordsize.h>.  Check __x86_64__ instead of
63415         __WORDSIZE.
63416         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63417         if __x86_64__ is defined.  Use anonymous union on fpstate.
63419         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63420         anonymous union.
63422 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63424         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63425         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63426         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63427         Refer to _rtld_local_ro instead of _rtld_global_ro.
63428         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63429         Likewise.
63430         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63431         Likewise.
63432         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63433         Likewise.
63434         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63435         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63436         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63438         [BZ #10882]
63439         * sysdeps/powerpc/powerpc32/dl-machine.c
63440         (__elf_machine_runtime_setup) [PROF]: Don't reference
63441         _dl_prof_resolve.
63443 2012-05-18  Andreas Jaeger  <aj@suse.de>
63445         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63446         function only available for GCCs before 3.4 since GCC 3.4
63447         introduced a builtin.
63448         (lrint): Likewise.
63449         (llrintf): Likewise.
63450         (llrint): Likewise.
63451         (fmaxf): Likewise.
63452         (fmax): Likewise.
63453         (fminf): Likewise.
63454         (fmin): Likewise.
63455         (rint): Likewise.
63456         (rintf): Likewise.
63457         (nearbyint): Likewise.
63458         (nearbyintf): Likewise.
63459         (ceil): Likewise.
63460         (ceilf): Likewise.
63461         (floor): Likewise.
63462         (floorf): Likewise.
63464 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63466         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63467         on both fields and cast pointer to __syscall_ulong_t.
63469         * bits/types.h (__fsword_t): New type.
63470         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63471         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63472         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63473         (__FSWORD_T_TYPE): Likewise.
63474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63475         (__FSWORD_T_TYPE): Likewise.
63476         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63477         (__FSWORD_T_TYPE): Likewise.
63478         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63479         (__FSWORD_T_TYPE): Likewise.
63480         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63481         __SWORD_TYPE with __fsword_t.
63482         (statfs64): Likewise.
63484 2012-05-17  David S. Miller  <davem@davemloft.net>
63486         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63488 2012-05-17  Andreas Jaeger  <aj@suse.de>
63490         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63491         warning.
63493 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63495         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63497 2012-05-17  Andreas Jaeger  <aj@suse.de>
63499         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63500         when it is used.
63502 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63504         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63506 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63508         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63509         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63511 2012-05-17  Andreas Jaeger  <aj@suse.de>
63512             Carlos O'Donell  <carlos_odonell@mentor.com>
63514         [BZ #14059]
63515         * sysdeps/x86_64/multiarch/init-arch.h
63516         (bit_YMM_Usable): Rename to...
63517         (bit_AVX_Usable): ... this.
63518         (bit_FMA4_Usable): New macro.
63519         (bit_XMM_state): New macro.
63520         (bit_YMM_state): New macro.
63521         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63522         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63523         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63524         (CPUID_OSXSAVE): New macro.
63525         (CPUID_AVX): New macro.
63526         (CPUID_FMA4): New macro.
63527         (index_YMM_Usable): Rename to...
63528         (index_AVX_Usable): ... this.
63529         (HAS_AVX): Use HAS_ARCH_FEATURE.
63530         (HAS_FMA4): Likewise.
63531         (HAS_YMM_USABLE): Remove.
63532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63533         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63534         are present.
63535         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63536         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63537         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63538         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63539         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63541 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63543         * math/libm-test.c: Support platforms without multiple rounding modes.
63544         * math/bug-nextafter.c: Support platforms without FP exceptions.
63545         * math/bug-nexttoward.c: Likewise.
63546         * math/test-fenv.c: Likewise.
63547         * math/test-misc.c: Likewise.
63548         * stdlib/bug-getcontext.c: Likewise.
63550 2012-05-17  Andreas Jaeger  <aj@suse.de>
63552         * manual/examples/search.c (critter_cmp): Change signature to
63553         avoid warnings.
63554         * manual/string.texi (Collation Functions): Likewise.
63556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63558         * bits/types.h: Fold copyright years.
63559         * bits/typesizes.h: Likewise.
63560         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63563         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63564         * time/time.h: Likewise.
63566 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63568         [BZ #208]
63569         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63570         in instead of returning them.  Return void.
63571         (__libc_mallinfo): Accumulate over all arenas.
63572         (__malloc_stats): Adjust for change in int_mallinfo interface.
63574 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63576         [BZ #10375]
63577         * configure.in (NM): Add AC_CHECK_TOOL for it.
63578         (libc_extra_cflags): New substituted variable.
63579         Check for -fstack-protector being used implicitly.
63580         * configure: Regenerated.
63581         * config.make.in (config-extra-cflags): New variable,
63582         gets @libc_extra_cflags@.
63583         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63585         [BZ #10375]
63586         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63587         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63588         * configure: Regenerated.
63589         * config.make.in (CPPUNDEFS): New substituted variable.
63590         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63591         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63592         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63594 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63596         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63597         (mq_attr): Use __syscall_slong_t.
63599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63601         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63602         Check __x86_64__ instead of __WORDSIZE.
63603         (_STAT_VER_LINUX): Likewise.
63604         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63605         __syscall_ulong_t and __syscall_slong_t.
63606         (stat64): Likewise.
63608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63614         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63616 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63618         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63619         __syscall_ulong_t.
63621         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63622         include <bits/wordsize.h>.  Check __x86_64__ instead of
63623         __WORDSIZE.
63624         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63625         defined.
63626         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63628         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63629         include <bits/wordsize.h>.  Check __x86_64__ instead of
63630         __WORDSIZE.
63631         (user_regs_struct): Use "__extension__ unsigned long long"
63632         instead of "unsigned long" if __x86_64__ is defined.
63633         (user): Likewise.  Pad after pointer field if __ILP32__ is
63634         defined.
63636 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63638         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63639         versions 5 to 9.
63640         * configure: Regenerated.
63641         * manual/install.texi (texinfo): Increase version requirement to
63642         4.5 or later.
63643         * INSTALL: Regenerated.
63645         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63647 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63649         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63651         * sysdeps/x86_64/x32/ffs.c: New file.
63653         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63654         __syscall_ulong_t.
63655         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63656         defined.  Use __syscall_ulong_t.
63657         (shminfo): Use __syscall_ulong_t.
63658         (shm_info): Likewise.
63660         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63661         __syscall_ulong_t.
63663         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63664         <bits/wordsize.h>.
63665         (msgqnum_t): Use __syscall_ulong_t.
63666         (msglen_t): Likewise.
63667         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63668         __syscall_ulong_t.
63670         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63671         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63673         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63675         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63676         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63678         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63679         __syscall_slong_t.
63681         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63682         include <bits/wordsize.h>.  Check __x86_64__ instead of
63683         __WORDSIZE.
63685         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63686         "unsigned long long int" if __x86_64__ is defined.
63687         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63689         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63690         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63691         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63693         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63694         <stdint.h>.
63695         (GET_PC): Cast to uintptr_t first.
63696         (GET_FRAME): Likewise.
63697         (GET_STACK): Likewise.
63699         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63700         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63701         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63702         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63703         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63704         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63705         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63706         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63707         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63708         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63709         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63710         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63711         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63712         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63713         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63714         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63716         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63717         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63719         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63727         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63729 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63731         * Makerules (+depfiles): Also collect depfiles from .oS in
63732         $(extra-objs).
63733         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63734         .oS, $(libnldbl-routines)).
63736         * Makerules (native-compile-mkdep-flags): Define.
63737         * sunrpc/Makefile (extra-objs): Add $(addprefix
63738         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63739         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63740         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63741         calling $(make-target-directory).
63743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63745         * bits/types.h (__snseconds_t): Removed.
63746         * time/time.h (struct timespec): Replace __snseconds_t with
63747         __syscall_slong_t.
63748         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63749         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63750         Likewise.
63751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63752         (__SNSECONDS_T_TYPE): Likewise.
63753         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63754         (__SNSECONDS_T_TYPE): Likewise.
63755         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63756         (__SNSECONDS_T_TYPE): Likewise.
63758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63760         * sysdeps/mach/hurd/bits/typesizes.h
63761         (__SYSCALL_SLONG_TYPE): New macro.
63762         (__SYSCALL_ULONG_TYPE): Likewise.
63764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63766         * bits/types.h (__syscall_slong_t): New type.
63767         (__syscall_ulong_t): Likewise.
63769         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63770         (__SYSCALL_ULONG_TYPE): Likewise.
63771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63772         (__SYSCALL_SLONG_TYPE): Likewise.
63773         (__SYSCALL_ULONG_TYPE): Likewise.
63774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63775         (__SYSCALL_SLONG_TYPE): Likewise.
63776         (__SYSCALL_ULONG_TYPE): Likewise.
63777         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63778         (__SYSCALL_SLONG_TYPE): Likewise.
63779         (__SYSCALL_ULONG_TYPE): Likewise.
63781 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63783         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63784         Add sigaltstack-offsets.sym.
63785         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63786         <sigaltstack-offsets.h>.
63787         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63788         longjmp_msg pointer.
63789         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63790         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63791         signal stack.
63792         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63794 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63796         * elf/stackguard-macros.h: Remove file.
63797         * sysdeps/generic/stackguard-macros.h: New file.
63798         * sysdeps/i386/stackguard-macros.h: Likewise.
63799         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63800         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63801         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63802         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63803         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63804         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63805         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63806         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63807         <elf/stackguard-macros.h>.
63809         [BZ #14109]
63810         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63811         __aligned__ in attribute.
63812         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63813         (gregset_t): Likewise.
63815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63817         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63818         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63819         * sysdeps/x86_64/x32/Implies-after: New file.
63821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63823         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63824         and access return value for _dl_profile_fixup.  Use R10_LP to
63825         load frame size.
63827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63829         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63833         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63834         * sysdeps/x86_64/x32/sysdep.h: New file.
63836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63838         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63839         * sysdeps/x86_64/setjmp.S: Likewise.
63841 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63844         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63845         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63846         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63847         remove unused global constant.
63849 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63851         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63852         include of <not-cancel.h>.
63854 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63856         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63858 2012-05-15  Jeff Law  <law@redhat.com>
63859             Andreas Jaeger  <aj@suse.de>
63861         [BZ #13594]
63862         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63863         out from...
63864         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63865         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63866         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63867         code changing __hst_map_handle.map.
63869 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63871         * configure.in (sysnames): Look for Implies-before and Implies-after
63872         files.
63873         * configure: Regenerated.
63875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63877         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63878         8-byte data alignment with LP_SIZE alignment.
63880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63882         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63883         into R10_LP.
63885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63887         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63892         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63893         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63894         Likewise.
63895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63899         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63900         (stackinfo_sub_sp): Likewise.
63902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63904         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63905         RAX_LP.
63907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63909         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63910         into R*_LP.
63912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63914         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63915         sizes into R*_LP.
63917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63919         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63923         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63924         into R11_LP and load __x86_64_shared_cache_size_half into
63925         R8_LP.
63927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63930         R8_LP.
63932 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63935         logb for POWER7.
63936         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63937         logbf for POWER7.
63938         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63939         logbl for POWER7.
63940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63941         powerpc32/power7/fpu/s_logb.c via #include.
63942         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63943         powerpc32/power7/fpu/s_logbf.c via #include.
63944         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63945         powerpc32/power7/fpu/s_logbl.c via #include.
63947 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63949         * README.libm: Remove file.
63951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63953         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63954         count for x32.  Use R*_LP and omit operand-size suffix.
63956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63958         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63959         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63960         * sysdeps/x86_64/x32/shlib-versions: New file.
63962 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63964         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63965         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63966         Use _dl_fatal_printf instead.
63968 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63970         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63971         set if not set by the user.  Do not allow for being unset.
63972         * sysdeps/unix/sysv/linux/configure: Regenerated.
63974 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63976         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63977         the `q' suffix from lea and replace .quad with ASM_ADDR.
63979 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63982         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63983         instead of $17.
63984         (PTR_DEMANGLE): Likewise.
63986 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63988         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63989         (LP_OP): Likewise.
63990         (ASM_ADDR): Likewise.
63991         (RAX_LP): Likewise.
63992         (RBP_LP): Likewise.
63993         (RBX_LP): Likewise.
63994         (RCX_LP): Likewise.
63995         (RDI_LP): Likewise.
63996         (RSI_LP): Likewise.
63997         (RSP_LP): Likewise.
63998         (R8_LP): Likewise.
63999         (R9_LP): Likewise.
64000         (R10_LP): Likewise.
64001         (R10_LP): Likewise.
64002         (R11_LP): Likewise.
64003         (R12_LP): Likewise.
64004         (R13_LP): Likewise.
64005         (R14_LP): Likewise.
64006         (R15_LP): Likewise.
64008 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64010         * sysdeps/x86_64/x32/dl-machine.h: New file.
64012 2012-05-14  Andreas Jaeger  <aj@suse.de>
64014         * manual/Makefile (subdir): Remove export of subdir.
64015         (all): Remove target.
64016         (.PHONY): Remove all from list.
64017         (mkinstalldirs): Remove.
64018         (.PHONY): Remove installdirs from list.
64019         ($(inst_infodir)/libc.info): Use make-target-directory.
64020         (installdirs): Remove.
64021         (subdir_%): Remove.
64022         (glibc-targets): Remove.
64023         (lib): Remove.
64024         (stubs): Remove.
64025         ($(objpfx)stubs ../po/manual.pot): Remove.
64026         ($(objpfx)stamp%): Remove.
64027         (make-target-directory): Remove.
64028         (subdir_install): Remove.
64029         (routines): Remove.
64030         (aux): Remove.
64031         (sources): Remove.
64032         (objects): Remove.
64033         (headers): Remove.
64035         [BZ #13750]
64036         * manual/.gitignore: Remove, it's not needed anymore.
64037         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64038         all files in it.
64039         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64040         directory.
64041         (texis): Renamed to $(objpfx)texis.
64042         (texis-path): New, contains path to generated files.
64043         (chapters.%): Use texis-path for complete path, add extra argument
64044         libc-texinfo.sh.
64045         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64046         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64047         (summary,texi, stamp-summary): Use complete path of
64048         files. Generate files in build dir.
64049         (dir-add.texi): Build in build dir.
64050         (libm-err.texi,stamp-libm-err): Likewise.
64051         (version.texi, stamp-version): Likewise.
64052         (.%c.texi): Likewise.
64053         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64054         (mostlyclean): Remove target.
64055         (realclean): Remove target.
64056         (generated): Add new variable with contents from mostlyclean and
64057         realclean, remove entries duplicated in common-mostlyclean, add
64058         stamp-libm-err and stamp-version.
64059         (generated-dirs): Add libc directory.
64060         ($(inst_infodir)/libc.info): Install files from build dir.
64062         * manual/install.texi (Configuring and compiling): Adjust since
64063         the info files are not part of the tar ball anymore.
64065 2012-05-14  Andreas Jaeger  <aj@suse.de>
64067         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64068         variable.
64070 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64072         [BZ #13717]
64073         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64074         to 2.2.0 where earlier.
64075         * sysdeps/unix/sysv/linux/configure: Regenerated.
64076         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64077         Remove conditional code.
64078         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64079         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64080         Remove conditional code.
64081         [!__NR_lchown]: Likewise.
64082         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64083         [__NR_lchown]: Likewise.
64084         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64085         comment referencing __ASSUME_LCHOWN_SYSCALL.
64086         * sysdeps/unix/sysv/linux/i386/sigaction.c
64087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64089         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64090         Remove conditional code.
64091         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64092         (__protocol_available): Remove #if 0 code.
64093         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64094         conditional code.
64095         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64096         * sysdeps/unix/sysv/linux/kernel-features.h
64097         (__ASSUME_GETCWD_SYSCALL): Don't define.
64098         (__ASSUME_REALTIME_SIGNALS): Likewise.
64099         (__ASSUME_PREAD_SYSCALL): Likewise.
64100         (__ASSUME_PWRITE_SYSCALL): Likewise.
64101         (__ASSUME_POLL_SYSCALL): Likewise.
64102         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64103         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64104         non-SPARC.
64105         (__ASSUME_SIOCGIFNAME): Don't define.
64106         (__ASSUME_MSG_NOSIGNAL): Likewise.
64107         (__ASSUME_SENDFILE): Define unconditionally.
64108         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64109         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64110         conditional code.
64111         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64112         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64113         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64114         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64115         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64116         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64117         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64119         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64125         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64126         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64131         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64134         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64137         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64138         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64140         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64141         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64142         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64143         Remove conditional code.
64144         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64145         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64146         Remove conditional code.
64147         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64148         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64149         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64150         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64151         Remove conditional code.
64152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64153         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64154         Remove conditional code.
64155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64156         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64157         Remove conditional code.
64158         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64159         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64160         Remove conditional code.
64161         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64162         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64163         Remove conditional code.
64164         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64165         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64166         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64167         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64168         * sysdeps/unix/sysv/linux/sigaction.c
64169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64171         * sysdeps/unix/sysv/linux/sigpending.c
64172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64174         * sysdeps/unix/sysv/linux/sigprocmask.c
64175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64177         * sysdeps/unix/sysv/linux/sigsuspend.c
64178         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64179         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64180         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64181         (__libc_missing_rt_sigs): Remove.
64182         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64183         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64184         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64185         Remove conditional code.
64186         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64187         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64188         return 1.
64189         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64190         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64191         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64192         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64194 2012-05-14  Andreas Jaeger  <aj@suse.de>
64196         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64197         it's not used in glibc.
64198         (__coshm1): Likewise.
64199         (__acosh1p): Likewise.
64200         (__sgn): Likewise.
64202         * manual/string.texi (Copying and Concatenation): Add missing
64203         variable in concat example.
64204         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64208         [BZ #14103]
64209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64210         __builtin_clzl with __builtin_clzll.
64212 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64214         [BZ #14104]
64215         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64216         libc_freeres_ptr.
64218 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64220         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64221         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64222         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64223         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64225 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64227         * NEWS: Update ia64 info.
64229 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64231         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64232         used as bcopy.
64234 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64236         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64237         * sysdeps/unix/syscalls.list (dup3): Likewise.
64238         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64239         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64241 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64243         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64244         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64246 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64248         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64249         thread pointer.
64250         (TLS_IE): Use mov/add instead of movq/addq to load thread
64251         pointer.
64252         (TLS_GD_PREFIX): New.
64253         (TLS_GD): Use it.
64255 2012-05-11  David S. Miller  <davem@davemloft.net>
64257         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64258         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64259         (_FPU_SETCW): Likewise.
64261 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64263         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64264         is 32-byte aligned.
64266 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64268         [BZ #11837]
64269         * iconvdata/gb18030.c: Update tables.
64270         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64271         characters specially.
64272         (BODY for TO_LOOP): Add encoding of missing ranges.
64274 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64276         [BZ #13673]
64277         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64278         * sysdeps/mach/hurd/dup3.c: Likewise.
64279         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64280         * sysdeps/powerpc/memmove.c:: Likewise.
64282 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64284         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64285         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64287 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64289         * elf/elf.h (R_X86_64_RELATIVE64): New.
64290         (R_X86_64_NUM): Updated.
64291         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64292         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64293         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64294         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64295         tst-quad1pie tst-quad2pie
64296         (modules-names): Add tst-quadmod1 tst-quadmod2.
64297         ($(objpfx)tst-quad1): New dependency.
64298         ($(objpfx)tst-quad2): Likewise.
64299         ($(objpfx)tst-quad1pie): Likewise.
64300         ($(objpfx)tst-quad2pie): Likewise.
64301         * sysdeps/x86_64/tst-quad1.c: New file.
64302         * sysdeps/x86_64/tst-quad1pie.c: New file.
64303         * sysdeps/x86_64/tst-quad2.c: Likewise.
64304         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64305         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64306         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64307         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64308         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64312         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64313         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64314         * streams/stropts.h (t_scalar_t): Define type.
64316         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64317         (_PATH_PRESERVE): Set to "/var/lib".
64318         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64320         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64321         instead of int.
64323         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64324         if __dir_mkfile succeeded.
64326         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64327         checking for _hurd_dtablesize.  Unlock it right after having
64328         finished _hurd_dtable allocation.
64330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64332         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64333         * sysdeps/mach/hurd/configure: Regenerated.
64334         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64335         special-casing to...
64336         * sysdeps/gnu/configure.in: ... this new file.
64337         * sysdeps/unix/sysv/linux/configure: Regenerated.
64338         * sysdeps/gnu/configure: New generated file.
64340         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64341         for Linux: use nsec instead of usec, as well as:
64342         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64343         members of type struct timespec.
64344         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64345         New macros.
64346         (struct stat64): Likewise.
64347         (_STATBUF_ST_NSEC): New macro.
64348         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64350         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64351         __strtoul_internal rather than strtoul.
64353 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64355         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64356         and reject them.
64358 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64360         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64361         which preserves existing values.
64362         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64364 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64366         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64367         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64368         greater than FD_SETSIZE.
64370 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64372         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64373         allocated, call __vm_protect to finish enabling the existing space, and
64374         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64375         allocate the remainder.
64377 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64379         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64380         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64384         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64385         sysdeps/mach/hurd/readlink.c.
64387         * posix/tst-sysconf.c (posix_options): Only use
64388         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64389         _POSIX_SYNCHRONIZED_IO when they are defined
64390         * sysdeps/mach/hurd/bits/posix_opt.h:
64391         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64392         (_XOPEN_REALTIME): Undefine macro.
64393         (_XOPEN_REALTIME_THREADS): Undefine macro.
64394         (_XOPEN_SHM): Undefine macro.
64395         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64396         macro to -1.
64397         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64398         macro to -1.
64399         (_POSIX_ASYNC_IO): Undefine macro.
64400         (_POSIX_PRIORITIZED_IO): Undefine macro.
64401         (_POSIX_SPIN_LOCKS): Define macro to -1.
64403         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64404         SA_NODEFER, SA_RESETHAND.
64405         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64406         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64407         F_DUPFD_CLOEXEC.
64409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64411         * elf/Makefile (pldd-modules): Define unconditionally.
64413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64415         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64417 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64419         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64420         Return ENOENT when name is empty.
64421         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64423 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64425         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64427         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64431         Fix mlock in all cases except non-readable pages.
64432         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64433         instead of VM_PROT_ALL as parameter to __vm_wire function.
64435         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64436         (__mkdir): When path is `/', just fail with EEXIST.
64437         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64441         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64442         <sys/uio.h> (for writev).
64443         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64444         and <sys/param.h> (for MIN).
64446 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64448         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64449         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64450         if interrupted.
64452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64454         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64455         Depend on against $(link-rpcuserlibs).
64457 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64459         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64460         (__libc_stack_end): Do not use attribute_relro.
64461         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64462         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64463         to libthread-provided value.
64464         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64465         attribute_relro.
64467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64469         [BZ #3748]
64470         * bits/libc-lock.h (__libc_once_get): New macro.
64471         * sysdeps/mach/bits/libc-lock.h: Likewise.
64472         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64473         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64474         instead of using implementation details.
64476         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64477         * libio/freopen.c: Likewise.
64478         * libio/freopen64.c: Likewise.
64479         * misc/syslog.c: Likewise.
64480         * nscd/connections.c: Likewise.
64481         * nscd/netgroupcache.c: Likewise.
64482         * sysdeps/posix/getcwd.c: Likewise.
64484 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64486         * math/w_ilogbf.c: Add #include <limits.h>.
64488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64490         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64491         path instead of returning without unlocking.
64493         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64494         immediate-write ioctls.
64495         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64499         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64500         __builtin_frame_address instead of making assumptions about the
64501         location of the return address relative to DATA.  Force early load of
64502         the return address.
64503         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64504         __builtin_frame_address.
64506         dup3 for GNU Hurd.
64507         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64508         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64509         implement dup3 and do some further code clean-ups.
64510         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64511         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64513 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64515         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64517         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64518         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64519         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64520         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64521         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64522         d->port.lock.
64524         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64525         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64526         when handler == SIG_ERR, not when handler != SIG_ERR.
64528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64530         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64531         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64532         definitions.
64534         accept4 for GNU Hurd.
64535         * include/sys/socket.h (__libc_accept4): New prototype.
64536         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64537         to implement __libc_accept4.
64538         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64539         __libc_accept4.
64540         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64542         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64543         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64544         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64545         signal-defines.sym.
64547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64549         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64551 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64553         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64554         assertion on O_CLOEXEC flag.
64555         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64556         * hurd/intern-fd.c: Likewise.
64557         * hurd/port2fd.c: Likewise.
64559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64561         [BZ #3906]
64562         * bits/in.h (IPV6_PKTINFO): Define new macro.
64563         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64565 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64567         [BZ #13954]
64568         [BZ #13955]
64569         [BZ #13956]
64570         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64571         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64572         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64573         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64575         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64576         * math/libm-test.inc (logb_test) : Additional logb tests.
64578 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64579             Andreas Jaeger  <aj@suse.de>
64581         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64582         * configure: Regenerated.
64583         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64584         * config.make.in (link-obsolete-rpc): New substituted variable.
64585         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64586         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64587         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64588         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64589         so that libc.a contains the symbols.
64590         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64591         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64592         * sunrpc/auth_none.c: Likewise.
64593         * sunrpc/auth_unix.c: Likewise.
64594         * sunrpc/authdes_prot.c: Likewise.
64595         * sunrpc/authuxprot.c: Likewise.
64596         * sunrpc/clnt_gen.c: Likewise.
64597         * sunrpc/clnt_perr.c: Likewise.
64598         * sunrpc/clnt_raw.c: Likewise.
64599         * sunrpc/clnt_simp.c: Likewise.
64600         * sunrpc/clnt_tcp.c: Likewise.
64601         * sunrpc/clnt_udp.c: Likewise.
64602         * sunrpc/clnt_unix.c: Likewise.
64603         * sunrpc/des_crypt.c: Likewise.
64604         * sunrpc/des_soft.c: Likewise.
64605         * sunrpc/get_myaddr.c: Likewise.
64606         * sunrpc/key_call.c: Likewise.
64607         * sunrpc/key_prot.c: Likewise.
64608         * sunrpc/netname.c: Likewise.
64609         * sunrpc/pm_getmaps.c: Likewise.
64610         * sunrpc/pm_getport.c: Likewise.
64611         * sunrpc/pmap_clnt.c: Likewise.
64612         * sunrpc/pmap_prot.c: Likewise.
64613         * sunrpc/pmap_prot2.c: Likewise.
64614         * sunrpc/pmap_rmt.c: Likewise.
64615         * sunrpc/publickey.c: Likewise.
64616         * sunrpc/rpc_cmsg.c: Likewise.
64617         * sunrpc/rpc_common.c: Likewise.
64618         * sunrpc/rpc_dtable.c: Likewise.
64619         * sunrpc/rpc_prot.c: Likewise.
64620         * sunrpc/rpc_thread.c: Likewise.
64621         * sunrpc/rtime.c: Likewise.
64622         * sunrpc/svc.c: Likewise.
64623         * sunrpc/svc_auth.c: Likewise.
64624         * sunrpc/svc_raw.c: Likewise.
64625         * sunrpc/svc_run.c: Likewise.
64626         * sunrpc/svc_tcp.c: Likewise.
64627         * sunrpc/svc_udp.c: Likewise.
64628         * sunrpc/svc_unix.c: Likewise.
64629         * sunrpc/svcauth_des.c: Likewise.
64630         * sunrpc/xcrypt.c: Likewise.
64631         * sunrpc/xdr.c: Likewise.
64632         * sunrpc/xdr_array.c: Likewise.
64633         * sunrpc/xdr_float.c: Likewise.
64634         * sunrpc/xdr_intXX_t.c: Likewise.
64635         * sunrpc/xdr_mem.c: Likewise.
64636         * sunrpc/xdr_rec.c: Likewise.
64637         * sunrpc/xdr_ref.c: Likewise.
64638         * sunrpc/xdr_sizeof.c: Likewise.
64639         * sunrpc/xdr_stdio.c: Likewise.
64641 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64643         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64644         change.  Update copyright years.
64646 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64648         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64650 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64651             Joseph Myers  <joseph@codesourcery.com>
64652             Paul Pluzhnikov  <ppluzhnikov@google.com>
64654         [BZ #14012]
64655         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64656         requiring rpcgen.
64657         [cross-compiling] (extra-libs): Likewise.
64658         [cross-compiling] (extra-libs-others): Likewise.
64659         [cross-compiling] (librpcsvc-routines): Likewise.
64660         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64661         [cross-compiling] (omit-deps): Likewise.
64662         (sunrpc-CPPFLAGS): New variable.
64663         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64664         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64665         (cross-rpcgen-objs): New variable.
64666         (extra-objs): Append $(cross-rpcgen-objs).
64667         ($(cross-rpcgen-objs)): New rule.
64668         ($(objpfx)cross-rpcgen): Likewise.
64669         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64670         comment.
64671         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64672         ($(objpfx)x%.stmp): Likewise.
64673         * sunrpc/proto.h [IS_IN_build] (_): Define.
64674         [IS_IN_build] (_libc_intl_domainname): Likewise.
64676 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64679         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64680         and R_X86_64_TPOFF64.
64682 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64684         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64685         sysdeps/unix/sysv/syscalls.list.
64686         (stime): Likewise.
64687         (utime): Likewise.
64688         * sysdeps/unix/sysv/syscalls.list: Remove file.
64690 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64692         [BZ #3440]
64693         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64694         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64695         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64696         (__LC_IDENTIFICATION): Make these macros useful in #if
64697         expressions, as required by C99.
64699 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64701         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64702         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64703         after this.
64705 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64707         * stdlib/longlong.h: Updated from GCC.
64709 2012-05-09  Andreas Jaeger  <aj@suse.de>
64711         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64712         default is first entry.
64713         (run_mode): Set type.
64714         (main): Remove informal message about syslog.
64715         (options): Fix typo.
64717         [BZ #14053]
64718         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64719         to asm.
64720         (lrint): Likewise.
64721         (llrintf): Likewise.
64722         (llrint): Likewise.
64723         (rint): Likewise.
64724         (rintf): Likewise.
64725         (nearbyint): Likewise.
64726         (nearbyintf): Likewise.
64728 2012-05-09  Andreas Jaeger  <aj@suse.de>
64729             Pedro Alves  <palves@redhat.com>
64731         * nscd/nscd.c (run_mode): Use enum.
64732         (main): Cleanup coding style issue.
64734 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64735             Andreas Jaeger  <aj@suse.de>
64737         * nscd/nscd.c (go_background): Replaced with...
64738         (run_mode): ... this.
64739         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64740         (options): Add -F --foreground.
64741         (main): Implement it.
64742         (parse_opt): Parse it.
64744 2012-05-09  Andreas Jaeger  <aj@suse.de>
64746         [BZ #14083]
64747         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64748         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64749         -Wconversion warning.
64750         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64751         Likewise.
64753 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64755         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64756         == 0.
64757         (LC_ALL): Use macro-int-constant.
64758         (LC_COLLATE): Likewise.
64759         (LC_CTYPE): Likewise.
64760         (LC_MESSAGES): Likewise.
64761         (LC_MONETARY): Likewise.
64762         (LC_NUMERIC): Likewise.
64763         (LC_TIME): Likewise.
64764         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64765         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64766         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64767         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64768         Specify type.
64769         [C99-based standards] (float_t): Expect type.
64770         [C99-based standards] (double_t): Expect type.
64771         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64772         type.
64773         [C99-based standards] (HUGE_VALL): Likewise.
64774         [C99-based standards] (INFINITY): Likewise.
64775         [C99-based standards] (NAN): Likewise.
64776         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64777         [C99-based standards] (FP_NAN): Likewise.
64778         [C99-based standards] (FP_NORMAL): Likewise.
64779         [C99-based standards] (FP_SUBNORMAL): Likewise.
64780         [C99-based standards] (FP_ZERO): Likewise.
64781         [C99-based standards] (FP_FAST_FMA): Use
64782         optional-macro-int-constant.  Specify type.  Require == 1.
64783         [C99-based standards] (FP_FAST_FMAF): Likewise.
64784         [C99-based standards] (FP_FAST_FMAL): Likewise.
64785         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64786         [C99-based standards] (FP_ILOGBNAN): Likewise.
64787         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64788         Specify type.
64789         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64790         [C99-based standards] (math_errhandling): Specify type.
64791         [ISO99 || ISO11] (signgam): Do not allow.
64792         [non-C99-based standards] (copysignf): Do not allow.
64793         [non-C99-based standards] (exp2f): Likewise.
64794         [non-C99-based standards] (log2f): Likewise.
64795         [non-C99-based standards] (modff): Allow.
64796         [non-C99-based standards] (erff): Do not allow.
64797         [non-C99-based standards] (erfcf): Likewise.
64798         [non-C99-based standards] (gammaf): Likewise.
64799         [non-C99-based standards] (hypotf): Likewise.
64800         [non-C99-based standards] (j0f): Likewise.
64801         [non-C99-based standards] (j1f): Likewise.
64802         [non-C99-based standards] (jnf): Likewise.
64803         [non-C99-based standards] (lgammaf): Likewise.
64804         [non-C99-based standards] (tgammaf): Likewise.
64805         [non-C99-based standards] (y0f): Likewise.
64806         [non-C99-based standards] (y1f): Likewise.
64807         [non-C99-based standards] (ynf): Likewise.
64808         [non-C99-based standards] (isnanf): Likewise.
64809         [non-C99-based standards] (acoshf): Likewise.
64810         [non-C99-based standards] (asinhf): Likewise.
64811         [non-C99-based standards] (atanhf): Likewise.
64812         [non-C99-based standards] (cbrtf): Likewise.
64813         [non-C99-based standards] (expm1f): Likewise.
64814         [non-C99-based standards] (ilogbf): Likewise.
64815         [non-C99-based standards] (log1pf): Likewise.
64816         [non-C99-based standards] (logbf): Likewise.
64817         [non-C99-based standards] (nextafterf): Likewise.
64818         [non-C99-based standards] (remainderf): Likewise.
64819         [non-C99-based standards] (rintf): Likewise.
64820         [non-C99-based standards] (scalbf): Likewise.
64821         [non-C99-based standards] (copysignl): Likewise.
64822         [non-C99-based standards] (exp2l): Likewise.
64823         [non-C99-based standards] (log2l): Likewise.
64824         [non-C99-based standards] (modfl): Allow.
64825         [non-C99-based standards] (erfl): Do not allow.
64826         [non-C99-based standards] (erfcl): Likewise.
64827         [non-C99-based standards] (gammal): Likewise.
64828         [non-C99-based standards] (hypotl): Likewise.
64829         [non-C99-based standards] (j0l): Likewise.
64830         [non-C99-based standards] (j1l): Likewise.
64831         [non-C99-based standards] (jnl): Likewise.
64832         [non-C99-based standards] (lgammal): Likewise.
64833         [non-C99-based standards] (tgammal): Likewise.
64834         [non-C99-based standards] (y0l): Likewise.
64835         [non-C99-based standards] (y1l): Likewise.
64836         [non-C99-based standards] (ynl): Likewise.
64837         [non-C99-based standards] (isnanl): Likewise.
64838         [non-C99-based standards] (acoshl): Likewise.
64839         [non-C99-based standards] (asinhl): Likewise.
64840         [non-C99-based standards] (atanhl): Likewise.
64841         [non-C99-based standards] (cbrtl): Likewise.
64842         [non-C99-based standards] (expm1l): Likewise.
64843         [non-C99-based standards] (ilogbl): Likewise.
64844         [non-C99-based standards] (log1pl): Likewise.
64845         [non-C99-based standards] (logbl): Likewise.
64846         [non-C99-based standards] (nextafterl): Likewise.
64847         [non-C99-based standards] (remainderl): Likewise.
64848         [non-C99-based standards] (rintl): Likewise.
64849         [non-C99-based standards] (scalbl): Likewise.
64850         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64851         [non-C99-based standards] (FP_*): Do not allow.
64852         [C99-based standards] (FP_*): Change to
64853         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64854         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64855         allow.
64856         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64857         (SIG_ERR): Likewise.
64858         [X/Open-based standards] (SIG_HOLD): Likewise.
64859         (SIG_IGN): Likewise.
64860         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64861         positive value.
64862         (SIGFPE): Likewise.
64863         (SIGILL): Likewise.
64864         (SIGINT): Likewise.
64865         (SIGSEGV): Likewise.
64866         (SIGTER): Likewise.
64867         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64868         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64869         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64870         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64871         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64872         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64873         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64874         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64875         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64876         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64877         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64878         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64879         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64880         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64881         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64882         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64883         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64884         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64885         [X/Open-based standards] (SIGTRAP): Likewise.
64886         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64887         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64888         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64889         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64890         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64891         allow.
64893 2012-05-08  Ian Wienand  <ianw@vmware.com>
64895         [BZ #14080]
64896         * time/tzset.c (__tzset_parse_tz): Update default rules for
64897         daylight time changes in the Energy Policy Act of 2005.
64899 2012-05-09  Andreas Jaeger  <aj@suse.de>
64901         [BZ #13983]
64902         * elf/ldconfig.c (parse_conf): Change string to make clear that
64903         ldconfig only issued a warning if ld.so.conf does not exist.
64905 2012-05-08  David S. Miller  <davem@davemloft.net>
64907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64908         movxtod instead of popping the value on the stack.
64910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64912 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64914         * config.h.in: Add HAVE_ARM_PCS_VFP.
64916 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64918         [BZ #13979]
64919         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64920         checking but the checks are disabled for any reason.
64922 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64924         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64925         and ELF64_R_TYPE with ELFW(R_TYPE).
64927 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64929         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64930         (ulimit): Likewise.
64932         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64933         (settimeofday): Likewise.
64935 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64937         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64938         a struct th_u2 inside the union, and move tu_block/tu_code into
64939         a new th_u3 union of tu_block/tu_code inside of that.  Move
64940         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64941         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64942         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64943         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64944         (th_stuff): Change to th_u1.tu_stuff.
64945         (th_data): Define.
64946         (th_msg): Change to th_u1.th_u2.tu_data.
64948 2012-05-07  David S. Miller  <davem@davemloft.net>
64950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64952         [BZ #14074]
64953         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64954         (SETUP_PIC_REG): Use it.
64955         (SETUP_PIC_REG_LEAF): Use it.
64957 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64959         [BZ #13885]
64960         [BZ #13923]
64961         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64962         USE_AS_EXPM1L.
64963         (EXPL_FINITE): Likewise.
64964         (FLDLOG): Likewise.
64965         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64966         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64967         e_expl.S.
64968         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64969         USE_AS_EXPM1L.
64970         (EXPL_FINITE): Likewise.
64971         (FLDLOG): Likewise.
64972         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64973         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64974         e_expl.S.
64975         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64976         test of -max_value argument for long double.
64977         * sysdeps/i386/fpu/libm-test-ulps: Update.
64978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64980 2012-05-06  David S. Miller  <davem@davemloft.net>
64982         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64983         quad soft-float symbols whose references which are compiler
64984         generated.
64985         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64987 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64989         [BZ #13884]
64990         [BZ #13914]
64991         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64992         USE_AS_EXP10L.
64993         (EXPL_FINITE): Likewise.
64994         (FLDLOG): Likewise.
64995         (c0): Likewise.
64996         (c1): Likewise.
64997         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64998         Adjust comments for base varying.
64999         (__expl_finite): Change alias to EXPL_FINITE.
65000         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65001         e_expl.S.
65002         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65003         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65004         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65005         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65006         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65007         USE_AS_EXP10L.
65008         (EXPL_FINITE): Likewise.
65009         (FLDLOG): Likewise.
65010         (c0): Likewise.
65011         (c1): Likewise.
65012         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65013         Adjust comments for base varying.
65014         (__expl_finite): Change alias to EXPL_FINITE.
65015         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65016         tests for bugs.
65017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65019         [BZ #14064]
65020         * math/libm-test.inc (check_float_internal): Correct ulp
65021         calculation for subnormal expected results.
65023 2012-05-06  Andreas Jaeger  <aj@suse.de>
65025         * Makeconfig (+math-flags): New, set to -frounding-math.
65026         (+cflags): Add +math-flags so that all of glibc gets compiled with
65027         it.
65029         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65031 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65033         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65034         Disable one test.
65036         [BZ #13787]
65037         [BZ #13922]
65038         [BZ #14036]
65039         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65040         (__ieee754_expl): Allow for and saturate large arguments.
65041         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65042         (u_threshold): Likewise.
65043         (__exp): Call __ieee754_exp before checking for overflow and
65044         underflow.
65045         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65046         (u_threshold): Likewise.
65047         (__expf): Call __ieee754_expf before checking for overflow and
65048         underflow.
65049         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65050         (u_threshold): Likewise.
65051         (__expl): Call __ieee754_expl before checking for overflow and
65052         underflow.
65053         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65054         (__ieee754_expl): Allow for and saturate large arguments.
65055         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65056         missing overflow exception on overflow.
65057         (expm1_test): Do not allow missing overflow exception on overflow.
65059         * sysdeps/i386/fpu/e_expl.c: Move to ...
65060         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65061         rather than using inline asm.
65062         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65063         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65064         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65066         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65067         (nice): Likewise.
65068         (poll): Likewise.
65069         (signal): Likewise.
65070         (time): Likewise.
65071         (times): Likewise.
65073 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65075         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65076         sysdeps/unix/common/syscalls.list.
65077         (fchmod): Likewise.
65078         (fchown): Likewise.
65079         (ftruncate): Likewise.
65080         (getrusage): Likewise.
65081         (gettimeofday): Likewise.
65082         (setpgid): Likewise.
65083         (setregid): Likewise.
65084         (setreuid): Likewise.
65085         (sigaction): Likewise.
65086         (truncate): Likewise.
65087         (vhangup): Likewise.
65088         * sysdeps/unix/common/syscalls.list: Remove file.
65089         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65090         * sysdeps/unix/sysv/linux/Implies: Likewise.
65092 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65094         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65096         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65097         Moved to ...
65098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65099         Here.
65100         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65101         to ...
65102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65103         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65104         to ...
65105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65106         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65107         to ...
65108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65109         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65110         to ...
65111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65112         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65113         to ...
65114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65115         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65116         to ...
65117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65118         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65119         to ...
65120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65121         Here.
65122         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65123         to ...
65124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65125         Here.
65126         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65127         to ...
65128         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65129         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65130         Moved to ...
65131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65132         Here.
65133         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65134         to ...
65135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65137 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65139         * sysdeps/unix/common/bits/dirent.h: Remove file.
65140         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65142         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65143         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65144         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65145         * sysdeps/unix/bsd/isatty.c: Likewise.
65146         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65147         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65148         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65150 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65152         [BZ #13563]
65153         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65154         long double comparison inaccuracies.
65155         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65158 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65160         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65165         [BZ #14049]
65166         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65167         nonzero digits before rounding a hex value.
65168         * stdlib/tst-strtod.c (tests): Add another test.
65170 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65172         * sysdeps/s390/fpu/libm-test-ulps: Update.
65174 2012-05-03  Andreas Jaeger  <aj@suse.de>
65176         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65177         does not get optimized out.
65178         (malloc_opt_barrier): New.
65180 2012-05-03  Andreas Jaeger  <aj@suse.de>
65181             Roland McGrath  <roland@hack.frob.com>
65183         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65184         intermediate file deletion.
65185         (generated): Add .symlist files.
65187 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65189         [BZ #13775]
65190         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65191         Redirect under this condition.
65192         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65193         [__USE_GNU] (__dprintf_chk): Not under this condition.
65194         [__USE_GNU] (__vdprintf_chk): Likewise.
65195         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65196         under this condition.
65197         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65198         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65199         [__USE_XOPEN2K8] (vdprintf): Likewise.
65200         [__USE_GNU] (__dprintf_chk): Not under this condition.
65201         [__USE_GNU] (__vdprintf_chk): Likewise.
65202         [__USE_GNU] (dprintf): Likewise.
65203         [__USE_GNU] (vdprintf): Likewise.
65205 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65207         * elf/Makefile (common-generated): Set this instead of generated for
65208         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65209         $(all-built-dso)-derived lists.
65211 2012-05-03  Andreas Jaeger  <aj@suse.de>
65213         * sysdeps/i386/fpu/libm-test-ulps: Update.
65215         * FAQ: Removed.
65216         * FAQ.in: Likewise.
65217         * scripts/gen-FAQ.pl: Likewise.
65218         * manual/install.texi (Installation): Point to online location of
65219         FAQ.
65220         * Makefile (files-for-dist): Remove FAQ.
65221         (FAQ): Remove.
65223 2012-05-02  Allan McRae  <allan@archlinux.org>
65225         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65226         (LDFLAGS-reldepmod5.so): Likewise.
65227         (LDFLAGS-reldep6mod1.so): Likewise.
65228         (LDFLAGS-reldep6mod4.so): Likewise.
65229         (LDFLAGS-reldep8mod3.so): Likewise.
65230         (LDFLAGS-unload4mod1.so): Likewise.
65231         (LDFLAGS-unload4mod2.so): Likewise.
65232         (LDFLAGS-tst-initorder): Likewise.
65233         (LDFLAGS-tst-initordera2.so): Likewise.
65234         (LDFLAGS-tst-initordera3.so): Likewise.
65235         (LDFLAGS-tst-initordera4.so): Likewise.
65236         (LDFLAGS-tst-initorderb2.so): Likewise.
65237         (LDFLAGS-noload): Likewise.
65238         (LDFLAGS-next): Likewise.
65239         (LDFLAGS-order2mod1.so): Likewise.
65240         (LDFLAGS-order2mod2.so): Likewise.
65241         (LDFLAGS-tst-initorder2): Likewise.
65242         (LDFLAGS-tst-initorder2a.so): Likewise.
65243         (LDFLAGS-tst-initorder2b.so): Likewise.
65244         (LDFLAGS-tst-initorder2c.so): Likewise.
65245         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65247 2012-05-02  David S. Miller  <davem@davemloft.net>
65249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65251 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65253         [BZ #14055]
65254         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65256 2012-05-02  Andreas Jaeger  <aj@suse.de>
65258         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65259         since we manipulate rounding mode.
65260         (CPPFLAGS-test-idouble.c): Likewise.
65261         (CPPFLAGS-test-ifloat.c): Likewise.
65262         (CFLAGS-test-ldouble.c): Likewise.
65263         (CFLAGS-test-double.c): Likewise.
65264         (CFLAGS-test-float.c): Likewise.
65265         (CFLAGS-test-misc.c): Likewise.
65266         (CFLAGS-test-test-fenv.c): Likewise.
65268 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65270         [BZ #2550]
65271         [BZ #2570]
65272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65273         comparisons to determine direction to adjust input.
65275 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65277         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65278         output to the target.
65280         * scripts/localplt.awk: New file.
65281         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65282         (check-localplt-CFLAGS): Variable removed.
65283         ($(all-built-dso:=.jmprel)): New static pattern rule.
65284         (generated): Add those targets.
65285         (localplt-built-dso): New variable.
65286         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65288         * elf/check-localplt.c: File removed.
65290         * scripts/check-execstack.awk: New file.
65291         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65292         (check-execstack-CFLAGS): Variable removed.
65293         ($(objpfx)check-execstack.h): Target removed.
65294         ($(objpfx)execstack-default): New target.
65295         (generated): Add that instead of check-execstack.h.
65296         ($(all-built-dso:=.phdr)): New static pattern rule.
65297         (generated): Add those targets.
65298         * elf/check-execstack.c: File removed.
65300         * scripts/check-textrel.awk: New file.
65301         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65302         (check-textrel-CFLAGS): Variable removed.
65303         (all-built-dso): Use := to define.o
65304         ($(all-built-dso:=.dyn)): New static pattern rule.
65305         (generated): Add those targets.
65306         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65307         * config.make.in (READELF): New substituted variable.
65308         * elf/check-textrel.c: File removed.
65310 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65312         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65313         allow.
65314         * conform/data/ctype.h-data [C99-based standards] (isblank):
65315         Expect function.
65316         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65317         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65319         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65320         Specify type.  Require positive value.
65321         (EILSEQ): Likewise.
65322         (ERANGE): Likewise.
65323         [ISO || POSIX] (EILSEQ): Do not expect.
65324         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65325         Specify type.  Require positive value.
65326         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65327         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65328         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65329         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65330         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65331         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65332         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65333         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65334         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65335         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65336         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65337         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65338         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65339         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65340         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65341         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65342         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65343         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65344         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65345         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65346         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65347         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65348         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65349         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65350         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65351         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65352         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65353         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65354         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65355         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65356         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65357         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65358         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65359         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65360         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65361         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65362         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65363         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65364         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65365         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65366         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65367         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65368         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65369         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65370         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65371         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65372         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65373         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65374         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65375         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65376         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65377         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65378         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65379         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65380         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65381         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65382         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65383         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65384         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65385         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65386         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65387         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65388         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65389         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65390         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65391         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65392         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65393         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65394         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65395         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65396         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65397         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65398         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65399         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65400         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65401         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65402         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65403         Require >= 2.
65404         (FLT_ROUNDS): Expect as macro, not constant.
65405         (FLT_MANT_DIG): Use macro-int-constant.
65406         (DBL_MANT_DIG): Likewise.
65407         (LDBL_MANT_DIG): Likewise.
65408         (FLT_DIG): Likewise.
65409         (DBL_DIG): Likewise.
65410         (LDBL_DIG): Likewise.
65411         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65412         (DBL_MIN_EXP): Likewise.
65413         (LDBL_MIN_EXP): Likewise.
65414         (FLT_MAX_EXP): Use macro-int-constant.
65415         (DBL_MAX_EXP): Likewise.
65416         (LDBL_MAX_EXP): Likewise.
65417         (FLT_MAX_10_EXP): Likewise.
65418         (DBL_MAX_10_EXP): Likewise.
65419         (LDBL_MAX_10_EXP): Likewise.
65420         (FLT_MAX): Use macro-constant.
65421         (DBL_MAX): Likewise.
65422         (LDBL_MAX): Likewise.
65423         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65424         (DBL_EPSILON): Likewise.
65425         (LDBL_EPSILON): Likewise.
65426         (FLT_MIN): Likewise.
65427         (DBL_MIN): Likewise.
65428         (LDBL_MIN): Likewise.
65429         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65430         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65431         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65432         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65433         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65434         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65435         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65436         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65437         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65438         [ISO11] (FLT_TRUE_MIN): Likewise.
65439         [ISO11] (LDBL_TRUE_MIN): Likewise.
65440         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65441         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65442         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65443         (SCHAR_MAX): Likewise.
65444         (UCHAR_MAX): Likewise.
65445         (CHAR_MIN): Likewise.
65446         (CHAR_MAX): Likewise.
65447         (MB_LEN_MAX): Use macro-int-constant.
65448         (SHRT_MIN): Use macro-int-constant.  Specify type.
65449         (SHRT_MAX): Likewise.
65450         (USHRT_MAX): Likewise.
65451         (INT_MAX): Likewise.
65452         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65453         bound negative.
65454         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65455         bound with "U".
65456         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65457         bound with "L".
65458         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65459         bound negative.  Suffix upper bound with "L".
65460         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65461         bound with "UL".
65462         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65463         Specify type.
65464         [C99-based standards] (LLONG_MAX): Likewise.
65465         [C99-based standards] (ULLONG_MAX): Likewise.
65466         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65467         == 0.
65468         [ISO11] (max_align_t): Require type.
65469         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65471         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65472         from $CFLAGS, without defining away __attribute__ calls.
65473         (checknamespace): Use $CFLAGS_namespace.
65475         * conform/conformtest.pl (@keywords): Only include C99 keywords
65476         for standards based on C99 or C11.
65478         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65479         Disable tests.
65480         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65481         UNIX98]: Likewise.
65483         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65484         usability of symbols in #if.
65486         * conform/conformtest.pl: If macro or constant types start
65487         "promoted:", expect the symbol to be of the following type
65488         promoted by the integer promotions.
65490         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65491         in one place.  Also handle "macro-constant".
65493         * conform/conformtest.pl: Only accept expected macro values with
65494         "==".  Parse all "macro" lines in one place.
65495         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65497         * conform/conformtest.pl: Handle braced types on "constant" lines
65498         instead of handling "typed-constant".
65499         * conform/data/signal.h-data: Use "constant" instead of
65500         "typed-constant".
65502         * conform/conformtest.pl: Handle "optional-" at start of lines in
65503         one place rather than duplicating several cases.  Handle each
65504         format of "macro" line with initial "optional-".
65506         * conform/conformtest.pl: Only accept expected constant or
65507         optional-constant values with "==".  Parse all "constant" lines in
65508         one place.  Parse all "optional-constant" lines in one place.
65509         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65510         * conform/data/fmtmsg.h-data: Likewise.
65511         * conform/data/netinet/in.h-data: Likewise.
65512         * conform/data/tar.h-data: Likewise.
65513         * conform/data/limits.h-data: Use "==" form on "constant" and
65514         "optional-constant" lines.
65516         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65517         Use -std=c99 for XOPEN2K.
65518         (@knownproblems): Remove.
65519         (newtoken): Don't check %isknown.
65521         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65522         Do not expect macro.
65523         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65524         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65525         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65526         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65527         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65528         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65529         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65530         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65531         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65532         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65533         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65534         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65535         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65536         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65537         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65538         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65539         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65540         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65541         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65542         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65543         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65544         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65545         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65546         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65547         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65548         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65549         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65550         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65551         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65552         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65553         [XPG3] (acosh): Likewise.
65554         [XPG3] (asinh): Likewise.
65555         [XPG3] (atanh): Likewise.
65556         [XPG3] (cbrt): Likewise.
65557         [XPG3] (expm1): Likewise.
65558         [XPG3] (ilogb): Likewise.
65559         [XPG3] (log1p): Likewise.
65560         [XPG3] (logb): Likewise.
65561         [XPG3] (nextafter): Likewise.
65562         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65563         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65564         [XPG3] (remainder): Likewise.
65565         [XPG3] (rint): Likewise.
65566         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65567         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65568         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65569         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65570         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65571         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65572         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65573         [UNIX98 || XOPEN2K] (scalb): Expect.
65574         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65575         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65576         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65577         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65578         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65579         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65580         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65581         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65582         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65583         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65584         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65585         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65586         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65587         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65588         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65589         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65590         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65591         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65592         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65593         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65594         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65595         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65596         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65597         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65598         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65599         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65600         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65601         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65602         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65603         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65604         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65605         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65606         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65607         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65608         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65609         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65610         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65611         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65612         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65613         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65614         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65615         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65616         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65617         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65618         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65619         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65620         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65621         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65622         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65623         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65624         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65625         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65626         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65627         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65628         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65629         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65630         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65631         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65632         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65633         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65634         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65635         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65636         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65637         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65638         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65639         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65640         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65641         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65642         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65643         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65644         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65645         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65646         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65647         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65648         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65649         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65650         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65651         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65652         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65653         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65654         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65655         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65656         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65657         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65658         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65659         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65660         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65661         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65662         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65663         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65664         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65665         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65666         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65667         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65668         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65669         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65670         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65671         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65672         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65673         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65674         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65675         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65676         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65677         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65678         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65679         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65680         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65681         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65682         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65683         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65684         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65685         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65686         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65687         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65688         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65689         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65690         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65691         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65692         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65693         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65694         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65695         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65696         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65697         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65698         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65699         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65700         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65701         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65702         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65703         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65704         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65705         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65706         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65707         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65708         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65709         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65710         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65712         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65713         _XOPEN_SOURCE_EXTENDED for XPG4.
65715         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65717         * Makeconfig (localtime): Remove variable.
65718         (inst_localtime-file): Likewise.
65720 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65723         Update.
65724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65725         Update.
65726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65727         Update.
65728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65729         Update.
65730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65731         Update.
65732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65733         Update.
65734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65735         Update.
65736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65737         Update.
65738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65739         Update.
65741 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65743         [BZ #2550]
65744         [BZ #2570]
65745         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65746         comparisons to determine direction to adjust input.
65747         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65748         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65749         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65750         Likewise.
65751         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65752         Likewise.
65753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65754         Likewise.
65755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65756         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65757         Likewise.
65758         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65759         Likewise.
65760         * math/libm-test.inc (nexttoward_test): Add more tests.
65762 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65764         [BZ #14040]
65765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65766         in version GLIBC_2.1, not GLIBC_2.0.
65767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65768         Likewise.
65770 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65772         [BZ #13942]
65773         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65774         (1 - x) * (1 + x).
65775         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65776         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65777         * math/libm-test.inc (acos_test): Add more tests.
65778         (asin_test): Likewise.
65779         * sysdeps/i386/fpu/libm-test-ulps: Update.
65780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65782         [BZ #14034]
65783         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65784         of square root.
65785         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65786         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65787         * math/libm-test.inc (acos_test_tonearest): New function.
65788         (acos_test_towardzero): Likewise.
65789         (acos_test_downward): Likewise.
65790         (acos_test_upward): Likewise.
65791         (asin_test_tonearest): Likewise.
65792         (asin_test_towardzero): Likewise.
65793         (asin_test_downward): Likewise.
65794         (asin_test_upward): Likewise.
65795         (main): Call the new functions.
65796         * sysdeps/i386/fpu/libm-test-ulps: Update.
65797         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65799         [BZ #13884]
65800         [BZ #13924]
65801         * math/e_exp10.c: Include <float.h>.
65802         (__ieee754_exp10): Handle underflow here rather than multiplying
65803         large negative argument by M_LN10.
65804         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65805         of __ieee754_expf.
65806         * math/e_exp10l.c: Include <float.h>.
65807         (__ieee754_exp10l): Handle underflow here rather than multiplying
65808         large negative argument by M_LN10l.
65809         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65810         spurious overflow exception on underflow.
65812 2012-04-29  Marek Polacek  <polacek@redhat.com>
65814         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65815         (__fortify_function): New macro.
65816         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65817         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65818         __extern_always_inline.
65819         * libio/bits/stdio2.h: Likewise.
65820         * libio/bits/stdio.h: Likewise.
65821         * string/string.h: Likewise.
65822         * string/bits/string3.h: Likewise.
65823         * include/stdio.h: Likewise.
65824         * stdlib/bits/stdlib.h: Likewise.
65825         * stdlib/stdlib.h: Likewise.
65826         * rt/bits/mqueue2.h: Likewise.
65827         * rt/mqueue.h: Likewise.
65828         * posix/bits/unistd.h: Likewise.
65829         * posix/unistd.h: Likewise.
65830         * io/bits/poll2.h: Likewise.
65831         * io/bits/fcntl2.h: Likewise.
65832         * io/fcntl.h: Likewise.
65833         * io/sys/poll.h: Likewise.
65834         * misc/bits/syslog.h: Likewise.
65835         * misc/bits/syslog-ldbl.h: Likewise.
65836         * misc/sys/syslog.h: Likewise.
65837         * socket/bits/socket2.h: Likewise.
65838         * socket/sys/socket.h: Likewise.
65839         * debug/tst-chk1.c: Likewise.
65840         * wcsmbs/bits/wchar2.h: Likewise.
65841         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65842         * wcsmbs/wchar.h: Likewise.
65844 2012-04-29  Andreas Jaeger  <aj@suse.de>
65846         * Makerules (tests): Remove enable-check-abi protection.
65847         (check-abi-warn): Remove.
65848         (check-abi-%): Remove check-abi-warn usage.
65850         * configure.in: Remove check-abi configure option.
65851         * configure: Regenerated.
65852         * config.make.in (enable-check-abi): Remove.
65854 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65856         [BZ #14033]
65857         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65858         double functions to double *_finite functions.
65860         [BZ #13941]
65861         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65862         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65863         LDBL_MIN_EXP.
65864         * stdio-common/Makefile (tests): Add tst-sprintf3.
65865         * stdio-common/tst-sprintf3.c: New file.
65867         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65868         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65870 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65872         * conform/conformtest.pl: Remove duplicate typed-constant
65873         handling.
65875 2012-04-28  David S. Miller  <davem@davemloft.net>
65877         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65878         (check-abi-%): Remove AWK script prerequisite and explicit
65879         abilist directory.
65880         (check-abi): Rewrite to just diff the symlist with the abilist.
65881         (config-tls, config-abi-config): Delete, no longer used.
65882         (update-abi-%): Remove AWK script and explicit abilist directory.
65883         (update-abi): Rewrite to simply compare and conditionally copy the
65884         symlist and the sysdep abilist file.  Remove update-abi-config
65885         checks.
65886         * abilist/ld.abilist: Remove.
65887         * abilist/libBrokenLocale.abilist: Remove.
65888         * abilist/libanl.abilist: Remove.
65889         * abilist/libcrypt.abilist: Remove.
65890         * abilist/libdl.abilist: Remove.
65891         * abilist/librt.abilist: Remove.
65892         * abilist/libthread_db.abilist: Remove.
65893         * abilist/libutil.abilist: Remove.
65894         * scripts/extract-abilist.awk: Remove.
65895         * scripts/merge-abilist.awk: Remove.
65896         * sysdeps/generic/libcidn.abilist: New file.
65897         * sysdeps/generic/libnss_compat.abilist: New file.
65898         * sysdeps/generic/libnss_db.abilist: New file.
65899         * sysdeps/generic/libnss_dns.abilist: New file.
65900         * sysdeps/generic/libnss_files.abilist: New file.
65901         * sysdeps/generic/libnss_hesiod.abilist: New file.
65902         * sysdeps/generic/libnss_nis.abilist: New file.
65903         * sysdeps/generic/libnss_nisplus.abilist: New file.
65904         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65905         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65906         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65907         file.
65908         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65909         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65910         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65911         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65912         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65913         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65914         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65915         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65916         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65917         file.
65918         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65919         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65920         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65921         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65922         file.
65923         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65924         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65925         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65926         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65927         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65929         file.
65930         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65931         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65932         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65933         file.
65934         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65936         New file.
65937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65938         New file.
65939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65940         New file.
65941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65942         New file.
65943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65944         New file.
65945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65946         New file.
65947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65948         New file.
65949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65950         New file.
65951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65952         New file.
65953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65954         New file.
65955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65956         New file.
65957         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65958         New file.
65959         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65960         New file.
65961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65962         file.
65963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65964         New file.
65965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65966         New file.
65967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65968         file.
65969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65970         New file.
65971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65972         New file.
65973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65974         file.
65975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65976         New file.
65977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65978         New file.
65979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65980         New file.
65981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65982         New file.
65983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65984         New file.
65985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65986         New file.
65987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65989         file.
65990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65991         New file.
65992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65993         file.
65994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65995         file.
65996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65997         file.
65998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65999         file.
66000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66001         file.
66002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66003         New file.
66004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66005         file.
66006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66007         file.
66008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66009         New file.
66010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66011         file.
66012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66014         file.
66015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66016         New file.
66017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66018         file.
66019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66020         file.
66021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66022         file.
66023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66024         file.
66025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66026         file.
66027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66028         New file.
66029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66030         file.
66031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66032         file.
66033         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66034         New file.
66035         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66036         file.
66037         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66038         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66039         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66040         file.
66041         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66042         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66043         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66044         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66045         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66047         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66049         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66050         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66053         file.
66054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66055         New file.
66056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66057         file.
66058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66059         file.
66060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66061         file.
66062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66063         file.
66064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66065         file.
66066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66067         New file.
66068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66069         New file.
66070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66071         file.
66072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66073         New file.
66074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66075         file.
66076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66078         file.
66079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66080         New file.
66081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66082         file.
66083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66084         file.
66085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66086         file.
66087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66088         file.
66089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66090         file.
66091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66092         New file.
66093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66094         New file.
66095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66096         file.
66097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66098         New file.
66099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66100         file.
66102 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66104         * conform/conformtest.pl: Fix typo in handling typed-constant from
66105         allow-header.
66107 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66109         * README: Cut down references to pre-2.6 Linux kernels and
66110         Linuxthreads.  Update lists of configurations in libc and ports
66111         and sort alphabetically.  Say "or newer" with Linux kernel version
66112         requirements.
66114         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66116 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66118         [BZ #887]
66119         * math/libm-test.inc (logb_test_downward): New test to expose
66120         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66121         rounding mode.
66123 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66125         [BZ #14027]
66126         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66127         to be done.
66128         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66129         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66131 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66133         * sysdeps/unix/i386/brk.S: Remove file.
66134         * sysdeps/unix/i386/dl-brk.S: Likewise.
66135         * sysdeps/unix/i386/pipe.S: Likewise.
66136         * sysdeps/unix/i386/sigreturn.S: Likewise.
66137         * sysdeps/unix/i386/syscall.S: Likewise.
66138         * sysdeps/unix/i386/vfork.S: Likewise.
66139         * sysdeps/unix/i386/wait.S: Likewise.
66141         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66142         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66144         * configure.in (arm*-none*): Do not allow without
66145         --enable-hacker-mode.
66146         (netbsd*): Remove case setting base_os.
66147         (386bsd*): Likewise.
66148         (freebsd*): Likewise.
66149         (bsdi*): Likewise.
66150         (osf*): Likewise.
66151         (sunos*): Likewise.
66152         (ultrix*): Likewise.
66153         (newsos*): Likewise.
66154         (dynix*): Likewise.
66155         (*bsd*): Likewise.
66156         (sysv*): Likewise.
66157         (isc*): Likewise.
66158         (esix*): Likewise.
66159         (sco*): Likewise.
66160         (minix*): Likewise.
66161         (irix4*): Likewise.
66162         (irix6*): Likewise.
66163         (solaris[2-9]*): Likewise.
66164         (none): Likewise.
66165         * configure: Regenerated.
66167 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66169         [BZ #11521]
66170         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66171         overflow or cancellation in calculating denominator.
66172         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66173         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66174         down expression to avoid unexpected rounding in newer GCCs.
66175         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66177 2012-04-26  David S. Miller  <davem@davemloft.net>
66179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66180         long-double compat symbols.
66181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66195 2012-04-25  David S. Miller  <davem@davemloft.net>
66197         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66198         HWCAP_* values only after the memory barriers have been defined.
66199         (atomic_full_barrier): Define.
66200         (atomic_read_barrier): Define.
66201         (atomic_write_barrier): Define.
66203 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66205         * shlib-versions: Add libgcc_s version information.
66206         * sysdeps/generic/libgcc_s.h: Remove.
66207         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66208         libgcc_s.h.
66209         * sysdeps/gnu/unwind-resume.c: Likewise.
66210         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66212 2012-04-25  David S. Miller  <davem@davemloft.net>
66214         * sysdeps/unix/sparc/brk.S: Delete.
66215         * sysdeps/unix/sparc/dl-brk.S: Delete.
66216         * sysdeps/unix/sparc/pipe.S: Delete.
66217         * sysdeps/unix/sparc/sysdep.S: Delete.
66218         * sysdeps/unix/sparc/sysdep.h: Delete.
66219         * sysdeps/unix/sparc/vfork.S: Delete.
66220         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66221         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66222         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66223         (ret_ERRVAL, r0, r1, MOVE): Define.
66224         (JUMPTARGET): Remove.
66225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66226         sysdeps/unix/sparc/sysdep.h
66227         (ENTRY, END): Remove.
66228         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66230 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66232         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66233         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66234         -DIS_IN_build.
66236         * timezone/README: Update upstream location and email address for
66237         tzcode and tzdata.
66238         * timezone/zdump.c: Update from tzcode 2012b.
66239         * timezone/zic.c: Likewise.
66241         * configure.in (libc_cv_as_needed): Remove test.
66242         * configure: Regenerated.
66243         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66244         conditional definition.
66245         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66246         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66247         * config.make.in (have-as-needed): Remove variable.
66249 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66250             Paul Pluzhnikov  <ppluzhnikov@google.com>
66252         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66253         strings correctly.
66255 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66257         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66258         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66259         * sysdeps/sh/strlen.S: Likewise.
66261 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66263         * sysdeps/unix/fork.S: Remove file.
66264         * sysdeps/unix/i386/fork.S: Likewise.
66265         * sysdeps/unix/sparc/fork.S: Likewise.
66267         * sysdeps/unix/system.c: Remove file.
66268         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66270         * sysdeps/unix/getegid.S: Remove file.
66271         * sysdeps/unix/geteuid.S: Likewise.
66273 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66275         * scripts/check-localplt.awk: New file.
66276         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66277         of diff.
66278         * scripts/data/localplt-generic.data: Add a comment.
66280         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66281         NODE when __dir_mkfile failed.
66282         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66283         Reported by Ludovic Courtès <ludo@gnu.org>.
66285 2012-04-24  Andreas Jaeger  <aj@suse.de>
66287         * Makerules (common-clean): Also remove gen-as-const-headers
66288         files.
66290 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66292         * Makerules (native-compile): Do not change working directory for
66293         build.  Use $(OUTPUT_OPTION) in command.
66294         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66296 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66298         [BZ #13886]
66299         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66300         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66301         * math/libm-test.inc (floor_test): Add more tests.
66302         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66304 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66306         * sysdeps/unix/getdents.c: Remove file.
66307         * sysdeps/unix/sysv/getdents.c: Likewise.
66308         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66310         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66311         sysdeps/unix/mman/syscalls.list.
66312         (mmap): Likewise.
66313         (mprotect): Likewise.
66314         (msync): Likewise.
66315         (munmap): Likewise.
66316         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66317         * sysdeps/unix/mman/syscalls.list: Remove.
66318         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66320         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66321         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66322         * configure: Regenerated.
66323         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66324         $(libgcc_s_suffix).
66325         * config.make.in (libgcc_s_suffix): Remove variable.
66327 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66329         * sysdeps/unix/sysv/gethostname.c: Move to ...
66330         * sysdeps/posix/gethostname.c: ... here.
66332         * sysdeps/unix/execve.S: Remove file.
66334         * sysdeps/unix/_exit.S: Remove file.
66336 2012-04-23  Andreas Jaeger  <aj@suse.de>
66338         [BZ #13739]
66339         * manual/Makefile: Remove make dist support, there's no
66340         need for a stand-alone documentation tar ball.
66341         (TEXI2DVI): Define always, it's not in Makeconfig.
66342         (dist): Removed.
66343         (tar-it): Removed.
66344         (edition): Removed.
66345         (glibc-doc-$(edition).tar): Removed
66346         (%.Z): Removed.
66347         (%.gz): Removed.
66348         (%.uu): Removed.
66349         (ETAGS): Remove, it's in Makeconfig.
66350         (move-if-change): Remove, it's in Makeconfig.
66352 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66354         [BZ #13970]
66355         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66356         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66357         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66358         (strtod_l, strtof_l, strtold_l): Remove __wur.
66359         It is not necessarily an error to ignore strtol's return value.
66360         One can reliably look at the stored endptr to decide whether
66361         the number had valid syntax.
66363 2012-04-21  Andreas Jaeger  <aj@suse.de>
66365         [BZ #13739]
66366         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66368 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66370         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66371         * sysdeps/unix/sysv/Versions: Remove file.
66373 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66375         [BZ #13927]
66376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66378 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66380         [BZ #7064]
66381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66382         version from __vm86.
66384 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66386         * sysdeps/unix/common/lxstat.c: Remove file.
66387         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66389         * sysdeps/unix/sysv/Makefile: Remove file.
66391         * sysdeps/unix/sysv/direct.h: Remove file.
66393         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66394         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66395         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66396         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66397         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66398         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66399         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66401         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66403         * sysdeps/unix/xmknod.c: Remove file.
66404         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66406         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66408         * sysdeps/unix/sysv/i386/time.S: Remove file.
66410         * sysdeps/unix/fxstat.c: Remove file.
66411         * sysdeps/unix/xstat.c: Likewise.
66412         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66414         * sysdeps/unix/sysv/sigaction.c: Remove file.
66416         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66417         (sysdep_headers): Remove variable.
66418         [termio.h not in sysdep_headers] (generated): Likewise.
66419         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66420         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66421         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66422         * sysdeps/unix/sysv/tcflow.c: Likewise.
66423         * sysdeps/unix/sysv/tcflush.c: Likewise.
66424         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66425         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66426         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66427         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66428         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66430         * sysdeps/unix/siglist.c: Remove file.
66432         * sysdeps/unix/getppid.S: Remove file.
66434         * sysdeps/unix/mkdir.c: Remove file.
66435         * sysdeps/unix/rmdir.c: Likewise.
66437 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66439         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66440         ERR_MAX value.
66441         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66442         errlist-compat value.
66444 2012-04-18  David S. Miller  <davem@davemloft.net>
66446         * sysdeps/generic/memcopy.h (reg_char): Delete.
66447         * debug/strcat_chk.c: Use char, not reg_char.
66448         * debug/strcpy_chk.c: Likewise.
66449         * debug/strncat_chk.c: Likewise.
66450         * debug/strncpy_chk.c: Likewise.
66451         * string/memchr.c: Likewise.
66452         * string/memrchr.c: Likewise.
66453         * string/rawmemchr.c: Likewise.
66454         * string/strcat.c: Likewise.
66455         * string/strchr.c: Likewise.
66456         * string/strchrnul.c: Likewise.
66457         * string/strcmp.c: Likewise.
66458         * string/strcpy.c: Likewise.
66459         * string/strncat.c: Likewise.
66460         * string/strncmp.c: Likewise.
66461         * string/strncpy.c: Likewise.
66463 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66465         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66466         __builtin_memcopy is called when src and dest ranges are known to not
66467         overlap.
66469 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66471         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66472         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66473         fwd_align_merge macro call.
66474         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66475         bwd_align_merge macro call.
66476         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66478 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66480         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66481         bwd_align_merge macros.
66482         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66483         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66484         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66486 2012-04-18  David S. Miller  <davem@davemloft.net>
66488         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66490 2012-04-18  Andreas Jaeger  <aj@suse.de>
66492         [BZ# 6794]
66493         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66494         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66495         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66497         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66498         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66499         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66501         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66502         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66503         Adjust for changed ldbl-128 files.
66505         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66506         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66507         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66509 2012-04-17  David S. Miller  <davem@davemloft.net>
66511         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66513 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66515         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66516         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66517         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66518         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66519         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66520         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66522 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66524         [BZ #6794]
66525         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66526         * math/libm-test.inc: Add ilogb errno and exception tests.
66527         * math/w_ilogb.c: New file: ilogb wrapper.
66528         * math/w_ilogbf.c: New file: ilogbf wrapper.
66529         * math/w_ilogbl.c: New file: ilogbl wrapper.
66530         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66531         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66532         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66533         exception being thrown with 0.0 as argument.
66534         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66535         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66536         exception being thrown with 0.0 as argument.
66537         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66538         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66539         exception being thrown with 0.0 as argument.
66540         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66541         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66542         exception being thrown with 0.0 as argument.
66543         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66544         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66545         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66546         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66547         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66548         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66549         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66550         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66551         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66553 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66555         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66556         with altivec.
66558 2012-04-16  Marek Polacek  <polacek@redhat.com>
66560         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66562 2012-04-16  Marek Polacek  <polacek@redhat.com>
66564         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66565         operands of fdivp instruction.
66567 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66569         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66570         * elf/tst-auditmod3b.c: Likewise.
66571         * elf/tst-auditmod4b.c: Likewise.
66572         * elf/tst-auditmod5b.c: Likewise.
66573         * elf/tst-auditmod6b.c: Likewise.
66574         * elf/tst-auditmod6c.c: Likewise.
66575         * elf/tst-auditmod7b.c: Likewise.
66576         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66577         * sysdeps/x86_64/preconfigure.in: Likewise.
66578         * sysdeps/x86_64/preconfigure: Regenerated.
66580 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66582         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66583         __ILP32__.
66585 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66588         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66590 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66592         [BZ #13973]
66593         * locale/iso-639.def: Fix gl language name. Spotted by
66594         Yaron Shahrabani.
66596 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66598         [BZ #2074]
66599         * libio/libio.h (__io_write_fn): Update comment.
66601 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66603         [BZ #2074]
66604         * stdio.texi (Hook Functions): The user provided writer function
66605         is not allowed to return -1.
66607 2012-04-11  David S. Miller  <davem@davemloft.net>
66609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66611 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66613         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66614         Add a leading slash to rtkaio.
66616 2012-04-11  Jim Meyering  <meyering@redhat.com>
66618         [BZ #11959]
66619         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66620         It is not necessarily an error to ignore fwrite's return
66621         value.  One can reliably use ferror to test for errors after
66622         the fact.
66624 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66626         * bits/types.h (__snseconds_t): New type.
66627         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66629         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66631         (__SNSECONDS_T_TYPE): Likewise.
66632         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66633         (__SNSECONDS_T_TYPE): Likewise.
66634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66635         (__SNSECONDS_T_TYPE): Likewise.
66637 2012-04-10  Andreas Jaeger  <aj@suse.de>
66639         [BZ #2636]
66640         * manual/time.texi (Processor Time): Return type of times is
66641         elapsed real time since an arbitrary point in the past.
66642         (CPU Time): Move CLK_TCK from here...
66643         (Processor Time): ...to here.  Correct description.
66644         * manual/conf.texi (Constants for Sysconf): Correct description of
66645         _SC_CLK_TCK.
66647 2012-04-10  David S. Miller  <davem@davemloft.net>
66649         [BZ #13967]
66650         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66651         where the is a gap between DT_REL(A) and DT_JMPREL.
66653 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66655         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66656         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66657         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66659 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66661         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66662         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66663         (dl_main): Handle --inhibit-cache.
66664         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66665         _dl_inhibit_cache.
66666         * elf/dl-load.c (_dl_map_object): Use it.
66667         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66669 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66671         [BZ #13872]
66672         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66673         (__ieee754_powl): Saturate large exponents rather than testing for
66674         overflow of y*log2(x).
66675         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66676         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66677         exceptions.
66679         [BZ #11521]
66680         * math/s_ctan.c: Include <float.h>.
66681         (__ctan): Avoid internal overflow or cancellation in calculating
66682         denominator.
66683         * math/s_ctanf.c: Likewise.
66684         * math/s_ctanl.c: Likewise.
66685         * math/s_ctanh.c: Likewise.
66686         * math/s_ctanhf.c: Likewise.
66687         * math/s_ctanhl.c: Likewise.
66688         * math/libm-test.inc (ctan_test): Add more tests.
66689         (ctanh_test): Likewise.
66690         * sysdeps/i386/fpu/libm-test-ulps: Update.
66691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66693 2012-04-09  Andreas Jaeger  <aj@suse.de>
66695         [BZ #6894]
66696         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66697         is an optional BSD extension.
66699         [BZ #10254]
66700         * manual/stdio.texi (Opening Streams): Document additional fopen
66701         parameters.
66703 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66705         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66706         %eax without telling the compiler.
66708 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66710         [BZ # 13963]
66711         * manual/install.texi: Use sourceware.org.
66713 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66715         [BZ #13873]
66716         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66717         (__ieee754_pow): Generate overflow and underflow using huge*huge
66718         and tiny*tiny rather than just returning constant infinity or zero
66719         for large exponents.
66720         * math/libm-test.inc (pow_test): Require overflow exceptions for
66721         applicable cases of large exponents.
66723         [BZ #706]
66724         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66725         (__ieee754_pow): Use iterative multiplication algorithm only for
66726         integer exponents with absolute value below 1024.  Check for odd
66727         integer exponents when using algorithm for real exponents.
66728         * math/libm-test.inc (pow_test): Add more tests.
66729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66731 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66733         [BZ #13705]
66734         * math/libm-test.inc (exp_test): Do not allow overflow exception
66735         on underflow test.
66737 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66739         [BZ #13705]
66740         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66741         instead of __kernel_standard_f.
66743 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66745         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66746         * sysdeps/x86_64/memset_chk.S: Likewise.
66748 2012-04-08  Andreas Jaeger  <aj@suse.de>
66750         [BZ #10153]
66751         * manual/startup.texi (Environment Access): Describe return value
66752         for putenv and setenv.
66754         [BZ #6895]
66755         * manual/filesys.texi (Directory Entries): Add description for
66756         DT_LNK.
66758         [BZ #6890]
66759         * manual/filesys.texi (Directory Entries): Clarify that it's file
66760         system not operating system in the description of DT_UNKNOWN.
66762         [BZ #6578]
66763         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66765 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66767         [BZ #6649]
66768         * manual/llio.texi (Opening and Closing Files): Add cross
66769         reference to explain mode argument.
66771 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66773         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66774         * sysdeps/x86_64/memset_chk.S: Likewise.
66776 2012-04-07  David S. Miller  <davem@davemloft.net>
66778         * elf/elf.h (R_SPARC_WDISP10): Define.
66779         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66780         R_SPARC_SIZE32.
66781         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66782         R_SPARC_SIZE64 and R_SPARC_H34.
66784 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66787         conditions and remove no longer applicable assertion.
66789 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66791         * bits/byteswap.h: Include <features.h>.
66792         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66793         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66795 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66797         * bits/byteswap.h (__bswap_16): Removed.
66798         Include <bits/byteswap-16.h> to get __bswap_16.
66799         * sysdeps/i386/bits/byteswap.h: Likewise.
66800         * sysdeps/s390/bits/byteswap.h: Likewise.
66801         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66802         * bits/byteswap-16.h: New file.
66803         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66804         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66805         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66806         * string/Makefile (headers): Add bits/byteswap-16.h.
66808 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66810         [BZ #13895]
66811         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66812         extra indirection.
66813         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66814         * nss/tst-nss-static.c: New.
66816 2012-04-06  Robert Millan  <rmh@gnu.org>
66818         [BZ #6486]
66819         * manual/llio.texi (File Position Primitive): lseek
66820         refers to WHENCE when it really means OFFSET.
66822 2012-04-06  Andreas Jaeger  <aj@suse.de>
66824         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66825         strncmp declarations.
66827         * abilist/libc.abilist: Add __poll and __ppoll.
66829 2012-04-05  David S. Miller  <davem@davemloft.net>
66831         * scripts/check-local-headers.sh: Accept a host triplet in the
66832         path matched by the exclude regexp.
66834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66835         definition.
66836         * sysdeps/powerpc/powerpc32/dl-machine.h
66837         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66838         * sysdeps/s390/s390-32/dl-machine.h
66839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66840         * sysdeps/sparc/sparc32/dl-machine.h
66841         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66842         * sysdeps/sparc/sparc64/dl-machine.h
66843         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66845         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66846         lazy binding.
66847         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66848         undefined symbol errors.
66850         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66851         DT_NEEDED entries.
66853 2012-04-05  Michael Matz  <matz@suse.de>
66855         [BZ #13592]
66856         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66858 2012-04-05  Andreas Jaeger  <aj@suse.de>
66860         [BZ #13908]
66861         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66862         comment.
66864 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66866         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66867         which ROUND is no valid rounding mode.
66869 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66871         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66872         read again.
66873         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66875 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66877         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66878         an exception using FPU order intentionally.
66880 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66882         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66883         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66884         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66885         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66887 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66889         [BZ #12340]
66890         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66891         EINVAL when BUFLEN is too smal.
66893 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66895         [BZ #13553]
66896         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66897         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66899 2012-04-03  Andreas Jaeger  <aj@suse.de>
66901         [BZ #13938]
66902         * manual/setjmp.texi (System V contexts): Fix sentence.
66904         [BZ #13926]
66905         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66906         New macro for this case.
66907         [!__GNUC__] (__bswap_64): New inline function for this case.
66908         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66909         * bits/byteswap.h: Likewise.
66910         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66911         ull, guard with __GLIBC_HAVE_LONG_LONG.
66913         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66914         __GLIBC_HAVE_LONG_LONG.
66916         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66917         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66919 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66921         [BZ #13691]
66922         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66923         inptr and inend, rather than using last_ch.
66925 2012-04-02  David S. Miller  <davem@davemloft.net>
66927         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66928         * stdio-common/printf-parse.h (read_int): Change return type to
66929         'int', return -1 on INT_MAX overflow.
66930         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66931         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66932         overflows INT_MAX.  Check for overflow of in-format-string precision
66933         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66934         SIZE_MAX not INT_MAX for integer overflow test.
66935         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66936         skip the construct in the format string but do not record anything.
66937         * stdio-common/bug22.c: Adjust to test both width/prevision
66938         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66939         explicitly for proper errno values.
66941 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66943         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66944         CHAR_MAX.
66945         * string/test-strcmp.c [! WIDE]: Likewise.
66946         * time/tst-mktime2.c: Likewise for INT_MAX.
66947         * string/test-string.h: #include <sys/param.h> for MIN.
66949         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66950         * sysdeps/i386/init-first.c (init): Likewise.
66951         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66952         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66953         * sysdeps/sh/init-first.c (init): Likewise.
66955 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66957         * po/ru.po: Update from translation team.
66958         * po/vi.po: Likewise.
66960 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66962         * resolv/nss_dns/dns-host.c: Merge copyright years.
66964 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66966         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66967         Optimize memcpy with prefetch if
66968         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66969         src, dst pointers have unequal 16 byte alignments.
66971 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66973         [BZ #13928]
66974         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66975         from a CNAME entry and return the minimum ttl for the query.
66976         (gaih_getanswer_slice): Likewise.
66978 2012-03-30  Jeff Law  <law@redhat.com>
66980         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66981         due to long keys.
66982         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66983         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66985         * resolv/nss_dns/dns-host.c: Update copyright year.
66987 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66989         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66990         requests to save a system call.  Fix check that all bytes are sent.
66992         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66993         comments for sendmmsg.
66995 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66997         [BZ #13691]
66998         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66999         with only 1 character between 0x0041 and 0x01b0.
67000         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67001         * wcsmbs/tst-mbsnrtowcs.c: New file.
67003 2012-03-29  David S. Miller  <davem@davemloft.net>
67005         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67006         small copies by hand.
67008 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67010         [BZ #13761]
67011         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67012         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67013         group memberships.
67015 2012-03-28  David S. Miller  <davem@davemloft.net>
67017         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67018         that branches into memcpy.
67019         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67022         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67023         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67024         bits.
67025         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67026         implementation too.
67027         * sysdeps/sparc/mempcpy.S: New file.
67029         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67030         the IFUNC routine in the libc case.
67031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67033         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67034         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67035         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67036         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67037         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67038         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67039         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67040         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67042         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67043         loop to 256 bytes instead of 64 bytes and fix test signedness.
67045         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67046         * sysdeps/sparc/sparc32/Makefile: rather than here...
67047         * sysdeps/sparc/sparc64/Makefile: and here.
67049 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67051         * malloc/mallocbug.c: Avoid warnings about unused variables.
67053 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67055         [BZ #13760]
67056         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67057         in the right place. Discard and retry query if response is
67058         larger than input buffer size.
67060 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67062         [BZ #369]
67063         [BZ #2678]
67064         [BZ #3866]
67065         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67066         x for large integer exponent.
67067         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67068         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67069         sign of result as needed afterwards.
67070         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67071         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67072         result for underflowing pow the same as for overflow.
67073         (__kernel_standard_l): Handle powl overflow and underflow here
67074         rather than calling __kernel_standard.
67075         * math/libm-test.inc (pow_test): Add more tests.
67077         [BZ #3868]
67078         [BZ #13879]
67079         [BZ #13910]
67080         [BZ #13911]
67081         [BZ #13912]
67082         [BZ #13913]
67083         [BZ #13915]
67084         [BZ #13916]
67085         [BZ #13917]
67086         [BZ #13918]
67087         [BZ #13919]
67088         [BZ #13920]
67089         [BZ #13921]
67090         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67091         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67092         (__kernel_standard_l): New function.
67093         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67094         __kernel_standard.
67095         * math/w_acosl.c (__acosl): Likewise.
67096         * math/w_asinl.c (__asinl): Likewise.
67097         * math/w_atan2l.c (__atan2l): Likewise.
67098         * math/w_atanhl.c (__atanhl): Likewise.
67099         * math/w_coshl.c (__coshl): Likewise.
67100         * math/w_exp10l.c (__exp10l): Likewise.
67101         * math/w_exp2l.c (__exp2l): Likewise.
67102         * math/w_fmodl.c (__fmodl): Likewise.
67103         * math/w_hypotl.c (__hypotl): Likewise.
67104         * math/w_j0l.c (__j0l, __y0l): Likewise.
67105         * math/w_j1l.c (__j1l, __y1l): Likewise.
67106         * math/w_jnl.c (__jnl, __ynl): Likewise.
67107         * math/w_lgammal.c (__lgammal): Likewise.
67108         * math/w_log10l.c (__log10l): Likewise.
67109         * math/w_log2l.c (__log2l): Likewise.
67110         * math/w_logl.c (__logl): Likewise.
67111         * math/w_powl.c (__powl): Likewise.
67112         * math/w_remainderl.c (__remainderl): Likewise.
67113         * math/w_scalbl.c (sysv_scalbl): Likewise.
67114         * math/w_sinhl.c (__sinhl): Likewise.
67115         * math/w_sqrtl.c (__sqrtl): Likewise.
67116         * math/w_tgammal.c (__tgammal): Likewise.
67117         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67118         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67119         * math/libm-test.inc (acos_test): Add more tests.
67120         (acosh_test): Likewise.
67121         (asin_test): Likewise.
67122         (atanh_test): Likewise.
67123         (exp_test): Likewise.
67124         (exp10_test): Likewise.
67125         (exp2_test): Likewise.
67126         (expm1_test): Likewise.
67127         (lgamma_test): Likewise.
67128         (log_test): Likewise.
67129         (log10_test): Likewise.
67130         (log1p_test): Likewise.
67131         (log2_test): Likewise.
67132         (pow_test): Do not allow some spurious overflow exceptions.
67133         (sqrt_test): Add more tests.
67134         (tgamma_test): Likewise.
67135         (y0_test): Likewise.
67136         (y1_test): Likewise.
67137         (yn_test): Likewise.
67139 2012-03-27  Anton Blanchard  <anton@samba.org>
67141         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67142         MAP_HUGETLB.
67143         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67147 2012-03-27  David S. Miller  <davem@davemloft.net>
67149         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67151         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67152         have-as-vis3 check.
67154 2012-03-27  Andreas Jaeger  <aj@suse.de>
67156         * sysdeps/x86_64/elf/configure.in: Moved to ...
67157         * sysdeps/x86_64/configure.in: ... here.
67158         * sysdeps/x86_64/elf/start.S: Moved to ...
67159         * sysdeps/x86_64/start.S: ... here.
67160         * sysdeps/x86_64/elf/configure: Delete.
67162         * sysdeps/x86_64/configure.in: Merge contents from
67163         sysdeps/i386/configure.in (without i686 check).
67165         * sysdeps/i386/elf/Versions: Merge into ...
67166         * sysdeps/i386/Versions: ... this.
67167         * sysdeps/i386/elf/Versions: Delete file.
67168         * sysdeps/i386/elf/start.S: Moved to ...
67169         * sysdeps/i386/start.S: ...here.
67170         * sysdeps/i386/elf/configure.in: Merge into...
67171         * sysdeps/i386/configure.in: ...here.
67172         * sysdeps/i386/elf/configure.in: Delete file.
67173         * sysdeps/i386/elf/configure: Delete file.
67175         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67176         * debug/backtracesyms.c: ... here.
67177         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67178         * debug/backtracesymsfd.c: ... here.
67179         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67180         * sysdeps/generic/ifunc-sel.h: ... here.
67182         * sysdeps/unix/i386/start.c: Delete file.
67183         * sysdeps/unix/sparc/start.c: Delete file.
67184         * sysdeps/unix/start.c: Delete file.
67186         * sysdeps/sh/elf/configure.in: Moved to ...
67187         * sysdeps/sh/configure.in: ... here.
67188         * sysdeps/sh/elf/start.S: Moved to ...
67189         * sysdeps/sh/start.S: ... here.
67190         * sysdeps/sh/elf/configure: Delete file.
67192         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67193         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67194         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67195         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67196         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67197         * sysdeps/powerpc/powerpc64/start.S: here.
67198         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67199         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67200         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67201         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67202         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67204         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67205         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67206         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67207         * sysdeps/powerpc/powerpc32/start.S: ... here.
67208         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67209         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67210         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67212         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67213         * sysdeps/powerpc/ifunc-sel.h: ... here.
67214         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67215         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67217         * sysdeps/sparc/elf/configure.in: Moved to ...
67218         * sysdeps/sparc/configure.in: ... here.
67219         * sysdeps/sparc/elf/configure: Delete file.
67220         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67221         * sysdeps/sparc/sparc32/start.S: ... here.
67222         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67223         * sysdeps/sparc/sparc64/start.S: ... here.
67224         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67225         * sysdeps/sparc/sparc32/Makefile: ... this.
67226         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67227         * sysdeps/sparc/sparc64/Makefile: ... this.
67229         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67230         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67231         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67232         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67233         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67234         * sysdeps/s390/s390-32/setjmp.S: ... here.
67235         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67236         * sysdeps/s390/s390-32/configure.in: ... here.
67237         * sysdeps/s390/s390-32/elf/configure: Delete file.
67238         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67239         * sysdeps/s390/s390-32/start.S: ... here.
67241         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67242         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67243         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67244         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67245         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67246         * sysdeps/s390/s390-64/setjmp.S: ... here.
67247         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67248         * sysdeps/s390/s390-64/configure.in: ... here
67249         * sysdeps/s390/s390-64/elf/configure: Delete file.
67250         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67251         * sysdeps/s390/s390-64/start.S: ... here.
67252         * sysdeps/s390/s390-64/elf/configure: Delete.
67254         * configure.in: Remove support for elf directories in sysdeps.
67256         * configure: Regenerated.
67257         * sysdeps/i386/configure: Regenerated.
67258         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67259         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67260         * sysdeps/s390/s390-32/configure: Regenerated.
67261         * sysdeps/s390/s390-64/configure: Regenerated.
67262         * sysdeps/sh/configure: Regenerated.
67263         * sysdeps/sparc/configure: Regenerated.
67264         * sysdeps/x86_64/configure: Regenerated.
67266 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67270         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67271         denormal result into account.
67273 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67275         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67276         Reported by Allan McRae <allan@archlinux.org>.
67278 2012-03-23  Jeff Law  <law@redhat.com>
67280         * nss/getnssent.c (__nss_getent): Fix typo.
67282 2012-03-23  David S. Miller  <davem@davemloft.net>
67284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67286 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67288         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67289         to pad to uint64_t for each field.
67290         (dl_tls_index): Replace unsigned long with uint64_t.
67292 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67293         Paul Pluzhnikov  <ppluzhnikov@google.com>
67295         [BZ #6528]
67296         * grp/Makefile (otherlibs): Don't set it.
67297         * inet/Makefile (otherlibs): Likewise.
67298         * login/Makefile (otherlibs): Likewise.
67299         * nscd/Makefile (otherlibs): Likewise.
67300         * posix/Makefile (otherlibs): Likewise.
67301         * pwd/Makefile (otherlibs): Likewise.
67302         * rt/Makefile (otherlibs): Likewise.
67303         * sunrpc/Makefile (otherlibs): Likewise.
67304         * nss/Makefile (otherlibs): Likewise.
67305         Add libnss_files to routines and static-only-routines.
67306         ($(objpfx)getent): Remove rule.
67307         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67308         static-only-routines.
67310 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67312         [BZ #13892]
67313         * math/s_cexp.c: Include <float.h>.
67314         (__cexp): Handle exp result overflowing not necessarily
67315         overflowing both real and imaginary parts of result.
67316         * math/s_cexpf.c: Likewise.
67317         * math/s_cexpl.c: Likewise.
67318         * math/libm-test.inc (cexp_test): Add more tests.
67319         * sysdeps/i386/fpu/libm-test-ulps: Update.
67320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67322 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67324         * include/link.h (ELFW): New macro.
67325         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67326         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67328 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67330         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67331         with uint64_t.
67333 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67335         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67336         declaration.
67337         (struct La_x32_retval): Likewise.
67339 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67341         * sysdeps/x86_64/preconfigure.in: New file.
67342         * sysdeps/x86_64/preconfigure: New generated file.
67344 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67346         [BZ #13824]
67347         * math/e_exp2l.c: Include <float.h>.
67348         (__ieee754_exp2l): Handle overflow and underflow cases
67349         separately.  Only pass fractional part of argument to
67350         __ieee754_expl.
67351         * math/libm-test.inc (exp2_test): Add more tests.
67353         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67354         negating x to take absolute value.
67355         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67356         Likewise.
67357         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67358         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67359         Likewise.
67360         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67361         computing low part if x was negated.
67362         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67364 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67366         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67367         la_x32_gnu_pltexit.
67368         (pltexit): Cast int_retval to ptrdiff_t.
67369         * elf/tst-auditmod3b.c: Likewise.
67370         * elf/tst-auditmod4b.c: Likewise.
67371         * elf/tst-auditmod5b.c: Likewise.
67372         * elf/tst-auditmod6b.c: Likewise.
67373         * elf/tst-auditmod6c.c: Likewise.
67374         * elf/tst-auditmod7b.c: Likewise.
67376         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67377         and x32_gnu_pltexit.
67379         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67380         __ELF_NATIVE_CLASS.
67381         (La_x32_regs): New macro.
67382         (La_x32_retval): Likewise.
67383         (la_x32_gnu_pltenter): New function prototype.
67384         (la_x32_gnu_pltexit): Likewise.
67386 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67388         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67389         exponent.
67391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67393         * configure.in (libc_cv_cc_nofma): Check for option to disable
67394         generation of FMA instructions.
67395         * configure: Regenerate.
67396         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67397         * sysdeps/ieee754/dbl-64/Makefile: New file.
67398         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67399         Remove brandred-fma4.
67400         (CFLAGS-brandred-fma4.c): Remove.
67401         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67403         define.
67404         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67405         define.
67407 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67409         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67410         LLONG_MAX != LONG_MAX.
67411         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67412         (_fitoa_word): Likewise.
67413         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67414         LLONG_MAX != LONG_MAX.
67415         * stdio-common/_itowa.h: Include <_itoa.h>.
67416         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67417         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67418         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67419         only if not defined.
67420         (_ITOA_WORD_TYPE): Likewise.
67421         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67422         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67424 2012-03-21  David S. Miller  <davem@davemloft.net>
67426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67428 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67430         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67431         of x86_64 when setting libc_cv_slibdir, libdir and
67432         libc_cv_localedir.
67433         * sysdeps/unix/sysv/linux/configure: Regenerated.
67435 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67437         * manual/lang.texi (Old Varargs): Remove section.
67438         (How Variadic): Update menu.
67439         (va_start): Do not mention varargs.h.
67441 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67442             Joseph Myers  <joseph@codesourcery.com>
67444         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67445         link test.
67446         * configure: Regenerated.
67448 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67450         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67451         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67452         conformtest.pl
67454 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67456         * NOTES: Remove.
67457         * Makefile (files-for-dist): Remove NOTES.
67458         (NOTES): Remove rule.
67459         * README: Don't refer to NOTES.
67460         * manual/creature.texi: Don't include macros.texi.
67461         * manual/intro.texi (creature.texi): Remove comment referring to
67462         NOTES.
67464         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67465         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67466         * configure: Regenerated.
67467         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67468         LIBC_TRY_CC_OPTION.
67469         (libc_cv_as_i686): Likewise.
67470         (libc_cv_cc_avx): Likewise.
67471         (libc_cv_cc_sse2avx): Likewise.
67472         (libc_cv_cc_fma4): Likewise.
67473         (libc_cv_cc_novzeroupper): Likewise.
67474         * sysdeps/i386/configure: Regenerated.
67476         [BZ #13883]
67477         * sysdeps/i386/fpu/s_cexp.S: Remove.
67478         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67479         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67480         * math/libm-test.inc (cexp_test): Add more tests.
67481         * sysdeps/i386/fpu/libm-test-ulps: Update.
67482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67484 2012-03-21  Allan McRae  <allan@archlinux.org>
67486         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67488 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67490         [BZ #13871]
67491         * math/w_exp2.c: Do not include <float.h>.
67492         (o_threshold, u_threshold): Remove.
67493         (__exp2): Calculate result before checking finiteness and calling
67494         __kernel_standard.
67495         * math/w_exp2f.c: Likewise.
67496         * math/w_exp2l.c: Likewise.
67497         * math/libm-test.inc (exp2_test): Require overflow exception for
67498         1e6 input.
67500         [BZ #3866]
67501         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67502         range of signed 64-bit integers before using fistpll.  Remove
67503         checks for whether integers fit in mantissa bits.
67504         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67505         the range of signed 32-bit integers before using fistpl.  Remove
67506         checks for whether integers fit in mantissa bits.
67507         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67508         (__ieee754_powl): Test for y outside the range of signed 64-bit
67509         integers before using fistpll.  Reduce 64-bit values to 63-bit
67510         ones as needed.
67511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67512         divide-by-zero is raised for zero to large negative powers.
67513         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67514         (__ieee754_powl): Test for y outside the range of signed 64-bit
67515         integers before using fistpll.  Reduce 64-bit values to 63-bit
67516         ones as needed.
67517         * math/libm-test.inc (pow_test): Add more tests.
67519 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67521         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67522         <stdio-common/_itoa.h>.
67523         * debug/segfault.c: Likewise.
67524         * elf/dl-cache.c: Likewise.
67525         * elf/dl-minimal.c: Likewise.
67526         * elf/dl-misc.c: Likewise.
67527         * elf/dl-sysdep.c: Likewise.
67528         * elf/dl-version.c: Likewise.
67529         * elf/rtld.c: Likewise.
67530         * hurd/hurdsock.c: Likewise.
67531         * hurd/lookup-retry.c: Likewise.
67532         * malloc/malloc.c: Likewise.
67533         * malloc/mtrace.c: Likewise.
67534         * nscd/nscd_getgr_r.c: Likewise.
67535         * nscd/nscd_getpw_r.c: Likewise.
67536         * nscd/nscd_getserv_r.c: Likewise.
67537         * posix/getopt_init.c: Likewise.
67538         * posix/wordexp.c: Likewise.
67539         * stdio-common/_itoa.c: Likewise.
67540         * stdio-common/printf_fphex.c: Likewise.
67541         * stdio-common/vfprintf.c: Likewise.
67542         * string/_strerror.c: Likewise.
67543         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67544         * sysdeps/i386/i686/hp-timing.h: Likewise.
67545         * sysdeps/mach/_strerror.c: Likewise.
67546         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67547         * sysdeps/mach/hurd/sethostid.c: Likewise.
67548         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67549         * sysdeps/mach/xpg-strerror.c: Likewise.
67550         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67551         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67552         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67553         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67554         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67555         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67557         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67558         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67559         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67560         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67561         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67562         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67563         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67564         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67565         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67566         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67567         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67568         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67569         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67570         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67572         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67574         * stdio-common/_itoa.h: Moved to ...
67575         * sysdeps/generic/_itoa.h: Here.
67577         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67579         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67580         instead of "_itoa.h" and "_itowa.h".
67581         * stdio-common/vfprintf.: Likewise.
67583 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67585         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67586         <bits/wordsize.h>.
67587         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67588         (__signbit): Likwise.
67589         (llrintf): Likwise.
67590         (llrint): Likwise.
67592 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67594         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67595         __WORDSIZE != 64.
67597 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67599         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67600         OVERFLOW_EXCEPTION_OK.
67601         * math/libm-test.inc ("Philosophy"): Update comment about
67602         exception testing.
67603         (OVERFLOW_EXCEPTION): Define.
67604         (OVERFLOW_EXCEPTION_OK): Likewise.
67605         (INVALID_EXCEPTION_OK): Renumber.
67606         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67607         (IGNORE_ZERO_INF_SIGN): Likewise.
67608         (test_exceptions): Handle FE_OVERFLOW.
67609         (exp10_test): Expect overflow exceptions.
67610         (exp2_test): Likewise.
67611         (expm1_test): Likewise.
67612         (nextafter_test): Likewise.
67613         (pow_test): Likewise.
67614         (scalbn_test): Likewise.
67615         (scalbln_test): Likewise.
67617 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67619         * sysdeps/x86_64/bits/atomic.h
67620         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67621         64bit integer.
67622         (atomic_exchange_acq): Likewise.
67623         (__arch_exchange_and_add_body): Likewise.
67624         (__arch_add_body): Likewise.
67625         (atomic_add_negative): Likewise.
67626         (atomic_add_zero): Likewise.
67628 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67630         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67631         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67633 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67635         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67636         Check __x86_64__ instead of __WORDSIZE.
67638 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67640         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67642 2012-03-19  David S. Miller  <davem@davemloft.net>
67644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67646         * sysdeps/sparc/fpu/fenv_private.h: New file.
67647         * sysdeps/sparc/fpu/math_private.h: Use it.
67648         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67649         Remove.
67650         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67651         (libc_feholdexcept_setroundl): Remove.
67652         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67653         Remove.
67654         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67655         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67657 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67659         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67660         int64_t instead of long int.
67661         (INSERT_WORDS64): Likwise.
67663 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67665         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67666         _Unwind_GetCFA return to _Unwind_Ptr first.
67668 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67670         [BZ #13629]
67671         * math/s_clog.c: Include <float.h>.
67672         (__clog): Scale large or subnormal inputs.
67673         * math/s_clogf.c: Likewise.
67674         * math/s_clogl.c: Likewise.
67675         * math/s_clog10.c: Include <float.h>.
67676         (M_LOG10_2): Define.
67677         (__clog10): Scale large or subnormal inputs.
67678         * math/s_clog10f.c: Likewise.
67679         * math/s_clog10l.c: Likewise.
67680         * math/libm-test.inc (clog_test): Add more tests.
67681         (clog10_test): Likewise.
67682         * sysdeps/i386/fpu/libm-test-ulps: Update.
67683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67685         [BZ #11451]
67686         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67687         x and y.
67688         * math/libm-test.inc (atan2_test): Add another test.
67690         * Makerules (common-objdir-compile): Remove.
67691         * sysdeps/unix/Makefile (config-generated): Do not add
67692         $(unix-generated) to variable.
67693         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67694         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67695         Remove rule.
67696         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67697         Likewise.
67698         [generic bits/local_lim.h] (before-compile): Do not append to
67699         variable.
67700         [generic bits/local_lim.h] (common-generated): Likewise.
67701         [generic sys/param.h] (before-compile): Do not append to variable.
67702         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67703         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67704         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67705         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67706         include.
67707         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67708         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67709         [generic sys/param.h] ($(addprefix
67710         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67711         [generic sys/param.h] (common-generated): Do not append to
67712         variable.
67713         [generic sys/param.h] (sysdep_headers): Likewise.
67714         [generic bits/errno.h] (before-compile): Do not append to
67715         variable.
67716         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67717         rule.
67718         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67719         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67720         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67721         [generic bits/errno.h] (common-generated): Do not append to
67722         variable.
67723         [generic bits/ioctls.h] (before-compile): Do not append to
67724         variable.
67725         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67726         rule.
67727         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67728         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67729         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67730         rule.
67731         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67732         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67733         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67734         [generic bits/ioctls.h] (common-generated): Do not append to
67735         variable.
67736         [generic sys/syscall.h] (syscall.h): Remove variable.
67737         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67738         rule.
67739         [generic sys/syscall.h] (before-compile): Do not append to
67740         variable.
67741         [generic sys/syscall.h] (common-generated): Likewise.
67742         * sysdeps/unix/errnos-tmpl.c: Remove file.
67743         * sysdeps/unix/errnos.awk: Likewise.
67744         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67745         * sysdeps/unix/ioctls.awk: Likewise.
67746         * sysdeps/unix/mk-local_lim.c: Likewise.
67747         * sysdeps/unix/snarf-ioctls: Likewise.
67749 2012-03-19  Richard Henderson  <rth@twiddle.net>
67751         * sysdeps/i386/fpu/fenv_private.h: New file.
67752         * sysdeps/i386/fpu/math_private.h: Use it.
67753         (math_opt_barrier, math_force_eval): Remove.
67754         (libc_feholdexcept_setround_53bit): Remove.
67755         (libc_feupdateenv_53bit): Remove.
67756         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67757         (math_opt_barrier, math_force_eval): Remove.
67758         (libc_feholdexcept): Remove.
67759         (libc_feholdexcept_setround): Remove.
67760         (libc_fetestexcept, libc_fesetenv): Remove.
67761         (libc_feupdateenv_test): Remove.
67762         (libc_feupdateenv, libc_feholdsetround): Remove.
67763         (libc_feresetround): Remove.
67765         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67766         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67768         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67769         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67770         (libc_feupdateenv_testl): New.
67771         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67772         (libc_feupdateenv_testf): New.
67773         (libc_feupdateenv): Use libc_feupdateenv_test.
67774         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67777         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67778         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67779         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67780         (libc_feresetround_noex): New.
67781         (libc_feresetround_noexf): New.
67782         (libc_feresetround_noexl): New.
67783         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67784         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67785         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67786         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67787         SET_RESTORE_ROUND.
67788         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67789         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67790         (__cos): Likewise.
67791         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67792         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67793         SET_RESTORE_ROUND_NOEX.
67794         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67795         SET_RESTORE_ROUND_NOEXF.
67796         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67797         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67798         (libc_feholdsetroundf): New.
67799         (libc_feresetround, libc_feresetroundf): New.
67801         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67802         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67803         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67805         * sysdeps/generic/math_private.h: Include <fenv.h>.
67806         (default_libc_feholdexcept): New.
67807         (default_libc_feholdexcept_setround): New.
67808         (default_libc_fesetenv, default_libc_feupdateenv): New.
67809         (libc_feholdexcept): Only define if undefined.
67810         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67811         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67812         (libc_feholdexcept_setroundl): Likewise.
67813         (libc_feholdexcept_setround_53bit): Likewise.
67814         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67815         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67816         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67817         (libc_feupdateenv_53bit): Likewise.
67818         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67819         (libc_feholdexcept): Convert from macro to inline function.
67820         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67821         (libc_fesetenv, libc_feupdateenv): Likewise.
67823         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67824         not previously defined.
67825         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67826         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67827         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67828         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67829         * sysdeps/ieee754/flt-32/math_private.h: New file.
67830         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67831         math_private.h below SET_FLOAT_WORD.
67832         (__isnan, __isinf_ns, __finite): Remove.
67833         (__isnanf, __isinf_nsf, __finitef): Remove.
67835 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67839 2012-03-17  David S. Miller  <davem@davemloft.net>
67841         [BZ #6471]
67842         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67843         for 2.16.
67845 2012-03-16  David S. Miller  <davem@davemloft.net>
67847         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67848         warnings.
67850         [BZ #6471]
67851         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67852         properly.
67853         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67854         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67855         sysdep_routines when subdir is sysvipc.
67856         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67857         __getshmlba helper.
67859         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67861 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67863         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67864         [__LP64__].
67866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67868         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67869         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67870         (__lround): Renamed to ...
67871         (__llround): This.  Replace long int with long long int.
67872         Define lround functions as aliases of llround functions.
67873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67877         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67878         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67879         adresses to uintptr_t.  Replace "long int" and "unsigned long
67880         int" with "greg_t" on va_arg.
67882 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67884         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67885         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67887         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67888         Move e_machine check before EI_CLASS check.  Handle x32
67889         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67890         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67891         SKIP_EM_IA_64 and include
67892         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67894         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67895         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67896         (add_system_dir): New macro.
67898         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67899         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67901 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67903         [BZ #2551]
67904         [BZ #2552]
67905         [BZ #2553]
67906         [BZ #2554]
67907         [BZ #2562]
67908         [BZ #2563]
67909         [BZ #2565]
67910         [BZ #2566]
67911         [BZ #2576]
67912         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67913         (y0): Likewise.
67914         * math/w_j0f.c (j0f): Likewise.
67915         (y0f): Likewise.
67916         * math/w_j0l.c (__j0l): Likewise.
67917         (__y0l): Likewise.
67918         * math/w_j1.c (j1): Likewise.
67919         (y1): Likewise.
67920         * math/w_j1f.c (j1f): Likewise.
67921         (y1f): Likewise.
67922         * math/w_j1l.c (__j1l): Likewise.
67923         (__y1l): Likewise.
67924         * math/w_jn.c (jn): Likewise.
67925         (yn): Likewise.
67926         * math/w_jnf.c (jnf): Likewise.
67927         (ynf): Likewise.
67928         * math/w_jnl.c (__jnl): Likewise.
67929         (__ynl): Likewise.
67930         * math/libm-test.inc (j0_test): Add more tests.
67931         (j1_test): Likewise.
67932         (jn_test): Likewise.  Add trailing semicolon to existing test.
67933         (y0_test): Likewise.
67934         (y1_test): Likewise.
67935         * sysdeps/i386/fpu/libm-test-ulps: Update.
67936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67938         [BZ #13851]
67939         [BZ #13854]
67940         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67941         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67942         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67943         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67944         (__tanl): Set errno for infinite argument.
67945         * sysdeps/i386/fpu/mptan.c: Remove.
67946         * sysdeps/i386/fpu/s_tan.S: Likewise.
67947         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67948         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67949         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67950         * math/libm-test.inc (tan_test): Add more tests and enable more
67951         tests for double and long double.
67952         * sysdeps/i386/fpu/libm-test-ulps: Update.
67953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67955 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67957         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67958         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67960 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67962         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67963         * configure.in: Use it for both main tree and add-ons.
67964         * configure: Regenerated.
67966 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67968         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67970 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67972         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67973         in comment.
67975         [BZ #13851]
67976         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67977         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67978         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67979         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67980         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67981         infinite argument.
67982         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67983         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67984         != 0 for prec == 2.
67985         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67986         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67987         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67988         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67989         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67990         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67991         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67992         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67993         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67994         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67995         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67996         * math/libm-test.inc (cos_test): Add more tests and enable more
67997         tests for long double.
67998         (sin_test): Likewise.
67999         (sincos_test): Likewise.
68000         * sysdeps/i386/fpu/libm-test-ulps: Update.
68001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68003 2012-03-16  David S. Miller  <davem@davemloft.net>
68005         * sysdeps/sparc/fpu/math_private.h: New file.
68007 2012-03-15  David S. Miller  <davem@davemloft.net>
68009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68010         file.
68011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68013         file.
68014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68015         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68016         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68017         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68018         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68020         sysdep routines.
68021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68023         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68024         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68026         * sysdeps/sparc/sparc-ifunc.h: New file.
68027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68028         sparc-ifunc.h
68029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68031         Likewise.
68032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68033         Likewise.
68034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68038         Likewise.
68039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68044         Likewise.
68045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68046         Likewise.
68047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68055         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68056         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68065         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68066         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68067         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68068         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68072 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68074         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68075         scaling.
68076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68078 2012-03-15  Andreas Jaeger  <aj@suse.de>
68080         [BZ #13852]
68081         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68082         ieee754/flt-32 implementation for sin, cos and sincos.
68083         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68084         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68085         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68086         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68087         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68088         ieee754/flt-32 implementation for tan.
68090         * math/libm-test.inc (cos_test): Enable some large input tests for
68091         float as well
68092         (sin_test): Likewise.
68093         (sincos_test): Likewise.
68094         (tan_test): Add tests for large input.
68096         * sysdeps/i386/fpu/libm-test-ulps: Update.
68098 2012-03-15  Andreas Jaeger  <aj@suse.de>
68100         [BZ #13658]
68101         * math/libm-test.inc (cos_test): Add more test cases.
68102         (sin_test): Likewise.
68103         (sincos_test): Likewise.
68105 2012-03-15  Andreas Jaeger  <aj@suse.de>
68107         [BZ #13837]
68108         * math/libm-test.inc (cos_test): Add a test case for large input
68109         value.
68110         (sin_test): Likewise.
68111         (sincos_test): Likewise.
68113 2012-03-15  Andreas Jaeger  <aj@suse.de>
68114             Joseph Myers  <joseph@codesourcery.com>
68116         [BZ #13658]
68117         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68118         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68119         * sysdeps/i386/fpu/branred.c: Likewise.
68120         * sysdeps/i386/fpu/dosincos.c: Likewise.
68121         * sysdeps/i386/fpu/mpa.c: Likewise.
68122         * sysdeps/i386/fpu/s_cos.S: Likewise.
68123         * sysdeps/i386/fpu/s_sin.S: Likewise.
68124         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68125         * sysdeps/i386/fpu/sincos32.c: Likewise.
68127         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68128         Define.
68129         (libc_feupdateenv_53bit): Define.
68130         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68131         Define.
68132         (libc_feupdateenv_53bit): Define.
68134         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68135         53 bit (without extend i386 double precision).
68137         * math/libm-test.inc (sincos_test): Add tests for large input.
68138         (sin): Likewise.
68139         (cos): Likewise.
68141         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68143 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68147 2012-03-15  David S. Miller  <davem@davemloft.net>
68149         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68150         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68151         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68152         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68160         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68161         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68162         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68163         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68165         file.
68166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68168         file.
68169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68171         file.
68172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68174         file.
68175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68176         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68177         fmin/fmax sysdep routines.
68178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68180 2012-03-14  David S. Miller  <davem@davemloft.net>
68182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68185         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68187         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68188         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68189         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68204         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68205         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68206         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68207         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68208         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68209         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68211         routines.
68212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68213         file.
68214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68216         file.
68217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68219         file.
68220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68222         file.
68223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68225         file.
68226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68228         file.
68229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68230         file.
68231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68232         file.
68233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68234         file.
68235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68236         New file.
68237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68238         file.
68239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68240         file.
68241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68243         file.
68244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68246         file.
68247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68249         file.
68250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68252         VIS3 routines.
68254         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68255         New file.
68257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68259         * sysdeps/sparc/configure.in: New file.
68260         * sysdeps/sparc/configure: Generate.
68261         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68262         * configure: Regenerate.
68263         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68264         * config.make.in (have-as-vis3): New.
68265         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68266         available use -Av9d instead of -Av9a.
68267         * sysdeps/sparc/sparc64/Makefile: Likewise.
68268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68270         New file.
68271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68272         file.
68273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68274         New file.
68275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68276         file.
68277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68278         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68279         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68280         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68281         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68283         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68284         fzeros/fnegs to load 0x80000000 into a float register instead of
68285         using the stack.
68286         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68288 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68291         bits/syscall.h.
68292         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68293         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68294         ($(inst_includedir)/bits/syscall.h): Remove rule.
68295         ($(objpfx)bits/syscall.d): Include instead of
68296         $(objpfx)syscall-list.d.
68297         (generated): Change syscall-list.h and syscall-list.d to
68298         bits/syscall.h and bits/syscall.d.
68300 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68302         [BZ #13846]
68303         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68305 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68307         [BZ #13841]
68308         * math/s_csqrt.c: Include <float.h>.
68309         (__csqrt): Scale large or subnormal inputs.
68310         * math/s_csqrtf.c: Likewise.
68311         * math/s_csqrtl.c: Likewise.
68312         * math/libm-test.inc (csqrt_test): Add more tests.
68313         * sysdeps/i386/fpu/libm-test-ulps: Update.
68314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68316         [BZ #13840]
68317         * math/libm-test.inc (hypot_test): Add more tests.
68319 2012-03-13  David S. Miller  <davem@davemloft.net>
68321         [BZ #13840]
68322         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68323         double-precision for the calculation instead of scaling.
68325 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68327         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68328         manipulate bits before adding and subtracting TWO52[sx].
68329         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68330         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68331         Likewise.
68332         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68334 2012-03-13  David S. Miller  <davem@davemloft.net>
68336         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68337         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68338         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68339         rtld-global-offsets.h
68340         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68342         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68343         large parameters.
68345         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68347         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68348         'err' in the ifdef scope in which it is actually used.
68350         * nss/nss_db/db-init.c: Include string.h
68352 2012-03-12  David S. Miller  <davem@davemloft.net>
68354         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68355         masking out of the most significant byte of random value used.
68356         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68357         Fix coding style in previous change.
68359         * sysdeps/unix/sysv/linux/kernel-features.h
68360         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68361         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68362         expression.
68363         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68364         later.
68366 2012-03-11  David S. Miller  <davem@davemloft.net>
68368         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68369         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68370         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68371         for 'resultvar' otherwise things get truncated on 64-bit.
68373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68374         Fix masking out of the most significant byte of random value used.
68376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68378 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68382 2012-03-09  David S. Miller  <davem@davemloft.net>
68384         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68385         variables with appropriate CPP guards.
68386         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68387         from the frame pointer, not the stack pointer.  Correct layout
68388         comments.  Fix test on resulting framesize and the management of
68389         the outregs buffer for pltexit.  Preserve floating point return
68390         values across _dl_call_pltexit call.
68391         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68392         framesize and the management of the outregs buffer for pltexit.
68393         Preserve floating point return values across _dl_call_pltexit
68394         call.
68395         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68396         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68397         (la_sparc64_gnu_pltexit): New functions.
68398         (print_exit): Fix format string for return register value.
68400 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68402         * sunrpc/Makefile (others): Add rpcgen.
68403         ($(objpfx)rpcgen): Remove special build rule and dependency on
68404         libc.
68405         * sunrpc/rpcgen.c: New file.
68407 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68409         [BZ #13673]
68410         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68411         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68412         * sysdeps/i386/crti.S: Likewise.
68413         * sysdeps/i386/crtn.S: Likewise.
68414         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68415         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68416         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68417         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68418         * sysdeps/sh/crti.S: Likewise.
68419         * sysdeps/sh/crtn.S: Likewise.
68420         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68422         [BZ #13673]
68423         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68424         with URL.
68425         * locale/programs/locfile-kw.gperf: Likewise.
68426         * locale/programs/charmap-kw.h: Regenerated.
68427         * locale/programs/locfile-kw.h: Likewise.
68429         [BZ #13673]
68430         * intl/plural.y: Replace FSF snail mail address with URL.
68431         * intl/plural.c: Regenerated.
68433 2012-03-09  Richard Henderson  <rth@twiddle.net>
68435         * include/math_private.h: Remove file.
68436         * math/math_private.h: Move file ...
68437         * sysdeps/generic/math_private.h: ... here.
68439         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68440         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68441         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68443         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68444         and <math_private.h>.
68445         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68446         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68447         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68448         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68449         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68450         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68451         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68452         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68453         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68454         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68455         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68456         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68457         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68458         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68459         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68460         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68461         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68462         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68463         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68464         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68466         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68467         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68469         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68470         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68471         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68472         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68473         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68474         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68475         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68477         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68478         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68479         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68480         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68481         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68482         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68483         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68484         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68485         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68486         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68487         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68488         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68489         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68490         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68491         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68492         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68493         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68494         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68495         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68496         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68497         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68498         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68499         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68500         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68501         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68502         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68503         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68504         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68505         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68506         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68507         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68508         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68509         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68510         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68511         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68512         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68513         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68514         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68515         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68516         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68517         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68518         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68521         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68522         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68523         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68524         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68525         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68527         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68528         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68529         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68530         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68531         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68532         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68533         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68534         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68535         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68536         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68538         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68539         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68540         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68541         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68542         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68543         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68544         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68545         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68546         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68547         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68548         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68549         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68550         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68551         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68552         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68553         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68554         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68555         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68556         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68557         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68559         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68560         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68561         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68562         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68563         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68564         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68565         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68566         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68567         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68568         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68569         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68570         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68571         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68572         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68573         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68574         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68575         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68576         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68577         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68578         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68579         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68580         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68581         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68582         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68583         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68584         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68585         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68586         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68587         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68588         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68589         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68590         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68591         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68592         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68593         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68594         * sysdeps/ieee754/k_standard.c: Likewise.
68595         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68596         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68597         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68598         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68599         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68600         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68601         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68602         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68603         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68604         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68605         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68606         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68607         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68608         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68609         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68610         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68611         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68612         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68613         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68614         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68615         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68616         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68617         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68618         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68619         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68620         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68621         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68622         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68623         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68624         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68625         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68626         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68627         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68628         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68629         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68630         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68631         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68632         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68633         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68634         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68635         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68636         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68637         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68638         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68639         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68640         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68641         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68642         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68643         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68644         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68645         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68646         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68647         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68648         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68649         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68650         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68651         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68652         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68653         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68654         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68655         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68656         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68657         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68659         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68660         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68661         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68665         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68666         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68667         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68668         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68669         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68672         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68673         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68674         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68675         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68676         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68677         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68679         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68680         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68682         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68684         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68685         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68686         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68687         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68688         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68690         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68691         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68692         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68693         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68694         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68696         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68697         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68698         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68699         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68700         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68701         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68702         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68703         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68704         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68705         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68706         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68707         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68708         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68709         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68710         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68711         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68712         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68713         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68714         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68715         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68716         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68717         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68718         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68719         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68720         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68721         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68722         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68723         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68724         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68728         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68729         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68730         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68731         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68732         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68733         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68734         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68735         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68736         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68737         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68738         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68739         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68740         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68741         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68742         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68743         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68744         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68745         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68746         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68748         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68749         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68750         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68751         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68752         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68753         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68754         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68755         * sysdeps/ieee754/s_lib_version.c: Likewise.
68756         * sysdeps/ieee754/s_matherr.c: Likewise.
68757         * sysdeps/ieee754/s_signgam.c: Likewise.
68758         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68759         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68760         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68761         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68762         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68763         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68764         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68765         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68766         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68767         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68768         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68769         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68770         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68771         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68772         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68773         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68774         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68775         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68776         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68778         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68780 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68782         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68783         * sunrpc/rpc_main.c: Likewise.
68784         * sunrpc/rpc_svcout.c: Likewise.
68786 2012-03-09  David S. Miller  <davem@davemloft.net>
68788         * include/math_private.h: New file.
68790 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68792         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68793         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68794         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68795         from <bits/socket_type.h>.
68796         (enum __socket_type): Don't define here.
68797         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68799         bits/socket_type.h.
68801         [BZ #13566]
68802         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68803         checking __USE_GNU.
68805         * Makerules ($(inst_includedir)/%.h): New rule.
68806         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68807         (install-others): Remove variable setting.
68808         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68810 2012-03-08  Richard Henderson  <rth@twiddle.net>
68812         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68813         from macro to inline function; merge with the
68814         !__LIBC_INTERNAL_MATH_INLINES version.
68815         (__ieee754_sqrtf): Likewise.
68817         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68818         to inline function.
68819         (__rintf, __floor, __floorf): Likewise.
68821         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68822         macro to inline function.
68823         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68825         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68826         not <math/math_private.h>.
68828 2012-03-08  David S. Miller  <davem@davemloft.net>
68830         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68831         copyright year.
68832         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68834 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68836         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68837         normalization.
68838         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68839         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68841 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68843         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68844         be defined individually, they must be defined as a block.  Define
68845         S for printing a string instead of hidint the different by using a
68846         macro for adding the 'l'.
68847         * stdio-common/tst-fphex-wide.c: Adjust.
68849 2012-03-07  Marek Polacek  <polacek@redhat.com>
68851         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68853 2012-03-08  Marek Polacek  <polacek@redhat.com>
68855         [BZ #13806]
68856         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68857         * stdio-common/tst-fphex.c: Define a few macros to make the
68858         test reusable.  Use them.
68859         * stdio-common/tst-fphex-wide.c: New file.
68861 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68863         [BZ #6911]
68864         * manual/macros.texi (gnusystems): New macro.
68865         (nongnusystems): Likewise.
68866         (gnulinuxhurdsystems): Likewise.
68867         (gnuhurdsystems): Likewise..
68868         (gnulinuxsystems): Likewise.
68869         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68870         variants of the GNU system, not "GNU system".
68871         * manual/conf.texi: Likewise.
68872         * manual/errno.texi: Likewise.  Update example of errno macro
68873         expansion.
68874         * manual/filesys.texi: Likewise.
68875         (getumask): Document as specific to GNU/Hurd.
68876         * manual/install.texi: Likewise.  Reword some references to
68877         GNU/Linux.
68878         * manual/intro.texi: Likewise.
68879         * manual/io.texi: Likewise.
68880         (File Name Portability): Detail which constraints are inapplicable
68881         to all GNU systems and which are only inapplicable to GNU/Hurd.
68882         * manual/job.texi: Likewise.
68883         * manual/llio.texi: Likewise.
68884         (O_NOCTTY): Document as present on GNU/Linux.
68885         * manual/maint.texi: Likewise.
68886         * manual/memory.texi: Likewise.
68887         * manual/pattern.texi: Likewise.
68888         * manual/pipe.texi: Likewise.
68889         * manual/process.texi: Likewise.
68890         * manual/resource.texi: Likewise.
68891         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68892         child on GNU/Hurd.
68893         * manual/setjmp.texi: Likewise.
68894         * manual/signal.texi: Likewise.
68895         * manual/startup.texi: Likewise.
68896         * manual/stdio.texi: Likewise.
68897         * manual/terminal.texi: Likewise.
68898         (ONLCR): Document as POSIX.
68899         (OXTABS): Document availability on GNU/Linux as XTABS.
68900         (ONOEOT): Document availability separately from other bits.
68901         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68902         * manual/time.texi: Likewise.
68903         * manual/users.texi: Likewise.
68904         * INSTALL: Regenerated.
68905         * sysdeps/gnu/errlist.c: Regenerated.
68907         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68908         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68909         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68910         puts.
68911         * configure: Regenerated.
68913 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68915         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68916         default includes instead of AC_HEADER_CHECK.
68917         * sysdeps/i386/configure: Regenerated.
68919         [BZ #10716]
68920         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68921         * math/s_cacoshf.c (__cacoshf): Likewise.
68922         * math/s_cacoshl.c (__cacoshl): Likewise.
68923         * math/s_casinh.c (__casinh): Set signs of result from argument.
68924         * math/s_casinhf.c (__casinhf): Likewise.
68925         * math/s_casinhl.c (__casinhl): Likewise.
68926         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68927         (casinh_test): Add more tests.
68928         * sysdeps/i386/fpu/libm-test-ulps: Update.
68929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68931 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68933         * po/zh_TW.po: Update from translation team.
68935         * login/Makefile (distribute): Remove variable.
68936         * catgets/Makefile: Likewise.
68937         * mach/Makefile: Likewise.
68938         * malloc/Makefile: Likewise.
68939         * misc/Makefile: Likewise.
68940         * iconv/Makefile: Likewise.
68941         * nscd/Makefile: Likewise.
68942         * hurd/Makefile: Likewise.
68943         * manual/Makefile: Likewise.
68944         * locale/Makefile: Likewise.
68945         * intl/Makefile: Likewise.
68946         * conform/Makefile: Likewise.
68947         * nss/Makefile: Likewise.
68948         * time/Makefile: Likewise.
68949         * soft-fp/Makefile: Likewise.
68950         * dirent/Makefile: Likewise.
68951         * gmon/Makefile: Likewise.
68952         * po/Makefile: Likewise.
68953         * rt/Makefile: Likewise.
68954         * socket/Makefile: Likewise.
68955         * math/Makefile: Likewise.
68956         * signal/Makefile: Likewise.
68957         * debug/Makefile: Likewise.
68958         * elf/Makefile: Likewise.
68959         * timezone/Makefile: Likewise.
68960         * stdlib/Makefile: Likewise.
68961         * iconvdata/Makefile: Likewise.
68962         * sunrpc/Makefile: Likewise.
68963         * io/Makefile: Likewise.
68964         * argp/Makefile: Likewise.
68965         * inet/Makefile: Likewise.
68966         * hesiod/Makefile: Likewise.
68967         * grp/Makefile: Likewise.
68968         * csu/Makefile: Likewise.
68969         * wctype/Makefile: Likewise.
68970         * crypt/Makefile: Likewise.
68971         * libio/Makefile: Likewise.
68972         * string/Makefile: Likewise.
68973         * nis/Makefile: Likewise.
68974         * resolv/Makefile: Likewise.
68975         * stdio-common/Makefile: Likewise.
68976         * wcsmbs/Makefile: Likewise.
68977         * dlfcn/Makefile: Likewise.
68978         * posix/Makefile: Likewise.
68980         [BZ #6959]
68981         * timezone/Makefile: Don't install timezone files, just the programs
68982         and scripts.
68984 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68986         * nss/databases.def: Add missing gshadow entry.
68988         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68990 2012-03-06  Marek Polacek  <polacek@redhat.com>
68992         [BZ #13726]
68993         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68994         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68995         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68996         * stdio-common/tst-long-dbl-fphex.c: New file.
68998 2012-03-06  David S. Miller  <davem@davemloft.net>
69000         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69001         (set_obp_int): New function.
69002         (get_obp_int): New function.
69003         (__get_clockfreq_via_dev_openprom): Likewise.
69004         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69005         Avoid unused variable warnings on 'val' and use builtin_expect.
69006         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69007         __builtin_expect.
69008         (INLINE_CLONE_SYSCALL): Likewise.
69010 2012-03-05  David S. Miller  <davem@davemloft.net>
69012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69014 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69018         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69019         only for |x| >= 40.
69020         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69022 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69025         Replace gettimeofday with __vdso_gettimeofday.
69027         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69028         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69029         __vdso_clock_gettime and __vdso_getcpu.
69031         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69032         time with __vdso_time.
69034 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69036         * manual/lang.texi (size_t): Note types to which size_t may be
69037         equivalent with the GNU C Library, but do not describe when
69038         differences between them are significant.
69040 2012-03-05  Andreas Jaeger  <aj@suse.de>
69042         * sysdeps/i386/fpu/libm-test-ulps: Update.
69044 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69046         [BZ #3976]
69047         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69048         (__ieee754_pow): Save and restore rounding mode and use
69049         round-to-nearest for main computations.
69050         * math/libm-test.inc (pow_test_tonearest): New function.
69051         (pow_test_towardzero): Likewise.
69052         (pow_test_downward): Likewise.
69053         (pow_test_upward): Likewise.
69054         (main): Call the new functions.
69055         * sysdeps/i386/fpu/libm-test-ulps: Update.
69056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69058         [BZ #3976]
69059         * math/libm-test.inc (cosh_test_tonearest): New function.
69060         (cosh_test_towardzero): Likewise.
69061         (cosh_test_downward): Likewise.
69062         (cosh_test_upward): Likewise.
69063         (sinh_test_tonearest): Likewise.
69064         (sinh_test_towardzero): Likewise.
69065         (sinh_test_downward): Likewise.
69066         (sinh_test_upward): Likewise.
69067         (main): Call the new functions.
69068         * sysdeps/i386/fpu/libm-test-ulps: Update.
69069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69071 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69073         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69074         default stack guard is set in last bytes.
69075         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69077 2012-03-05  Kees Cook  <keescook@chromium.org>
69079         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69081         [BZ #13656]
69082         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69083         possibly allocate from heap instead of stack.
69084         * stdio-common/bug-vfprintf-nargs.c: New file.
69085         * stdio-common/Makefile (tests): Add nargs overflow test.
69087 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69091 2012-03-03  Marek Polacek  <polacek@redhat.com>
69093         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69094         * math/math_private.h: Likewise.
69095         * stdlib/tst-strtod.c: Likewise.
69096         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69097         * sysdeps/x86_64/bits/atomic.h: Likewise.
69099 2012-03-02  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69105         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69106         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69107         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69108         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69110 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69112         [BZ #13792]
69113         * manual/examples/README: New file, says the example source files
69114         can be used under GPL>=2.
69115         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69116         line containing just "*/".
69117         * manual/examples/add.c: Add copyright header (GPL>=2).
69118         * manual/examples/argp-ex1.c: Likewise.
69119         * manual/examples/argp-ex2.c: Likewise.
69120         * manual/examples/argp-ex3.c: Likewise.
69121         * manual/examples/argp-ex4.c: Likewise.
69122         * manual/examples/atexit.c: Likewise.
69123         * manual/examples/db.c: Likewise.
69124         * manual/examples/dir.c: Likewise.
69125         * manual/examples/dir2.c: Likewise.
69126         * manual/examples/execinfo.c: Likewise.
69127         * manual/examples/filecli.c: Likewise.
69128         * manual/examples/filesrv.c: Likewise.
69129         * manual/examples/fmtmsgexpl.c: Likewise.
69130         * manual/examples/genpass.c: Likewise.
69131         * manual/examples/inetcli.c: Likewise.
69132         * manual/examples/inetsrv.c: Likewise.
69133         * manual/examples/isockad.c: Likewise.
69134         * manual/examples/longopt.c: Likewise.
69135         * manual/examples/memopen.c: Likewise.
69136         * manual/examples/memstrm.c: Likewise.
69137         * manual/examples/mkfsock.c: Likewise.
69138         * manual/examples/mkisock.c: Likewise.
69139         * manual/examples/mygetpass.c: Likewise.
69140         * manual/examples/pipe.c: Likewise.
69141         * manual/examples/popen.c: Likewise.
69142         * manual/examples/rprintf.c: Likewise.
69143         * manual/examples/search.c: Likewise.
69144         * manual/examples/select.c: Likewise.
69145         * manual/examples/setjmp.c: Likewise.
69146         * manual/examples/sigh1.c: Likewise.
69147         * manual/examples/sigusr.c: Likewise.
69148         * manual/examples/stpcpy.c: Likewise.
69149         * manual/examples/strdupa.c: Likewise.
69150         * manual/examples/strftim.c: Likewise.
69151         * manual/examples/strncat.c: Likewise.
69152         * manual/examples/subopt.c: Likewise.
69153         * manual/examples/swapcontext.c: Likewise.
69154         * manual/examples/termios.c: Likewise.
69155         * manual/examples/testopt.c: Likewise.
69156         * manual/examples/testpass.c: Likewise.
69157         * manual/examples/timeval_subtract.c: Likewise.
69159         [BZ #13792]
69160         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69161         function to ...
69162         * manual/timeval_subtract.c.texi: ... here, new file.
69164 2012-03-02  David S. Miller  <davem@davemloft.net>
69166         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69168 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69170         [BZ #3976]
69171         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69172         (__sin): Save and restore rounding mode and use round-to-nearest
69173         for all computations.
69174         (__cos): Save and restore rounding mode and use round-to-nearest
69175         for all computations.
69176         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69177         <fenv.h>.
69178         (tan): Save and restore rounding mode and use round-to-nearest for
69179         all computations.
69180         * math/libm-test.inc (cos_test_tonearest): New function.
69181         (cos_test_towardzero): Likewise.
69182         (cos_test_downward): Likewise.
69183         (cos_test_upward): Likewise.
69184         (sin_test_tonearest): Likewise.
69185         (sin_test_towardzero): Likewise.
69186         (sin_test_downward): Likewise.
69187         (sin_test_upward): Likewise.
69188         (tan_test_tonearest): Likewise.
69189         (tan_test_towardzero): Likewise.
69190         (tan_test_downward): Likewise.
69191         (tan_test_upward): Likewise.
69192         (main): Call the new functions.
69193         * sysdeps/i386/fpu/libm-test-ulps: Update.
69194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69196         [BZ #10135]
69197         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69198         small n, then large n, before computing and testing k+n.
69199         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69200         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69201         Likewise.
69202         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69203         Likewise.
69204         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69205         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69206         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69207         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69208         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69209         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69210         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69211         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69212         * math/libm-test.inc (scalbn_test): Add more tests.
69213         (scalbln_test): Likewise.
69215         * manual/filesys.texi (mode_t): Describe constraints on size and
69216         signedness, not exact equivalence to a particular type.
69217         (ino_t): Likewise.
69218         (ino64_t): Likewise.
69219         (dev_t): Likewise.
69220         (nlink_t): Likewise.
69221         (blkcnt_t): Likewise.
69222         (blkcnt64_t): Likewise.
69223         * manual/llio.texi (off_t): Likewise.
69225         [BZ #3976]
69226         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69227         (__ieee754_exp): Save and restore rounding mode and use
69228         round-to-nearest for all computations.
69229         * math/libm-test.inc (exp_test_tonearest): New function.
69230         (exp_test_towardzero): Likewise.
69231         (exp_test_downward): Likewise.
69232         (exp_test_upward): Likewise.
69233         (main): Call the new functions.
69234         * sysdeps/i386/fpu/libm-test-ulps: Update.
69235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69237 2012-03-01  Chris Demetriou  <cgd@google.com>
69239         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69240         have predictable order.
69242 2012-03-01  David S. Miller  <davem@davemloft.net>
69244         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69246         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69247         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69248         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69249         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69251         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69252         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69253         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69255         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69256         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69257         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69258         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69259         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69263         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69264         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69265         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69267         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69268         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69269         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69270         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69271         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69274         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69275         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69276         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69277         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69278         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69280         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69281         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69283         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69284         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69285         * sysdeps/sparc/elf/configure: Regenerated.
69287 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69289         * configure.in (AS, LD): Require binutils 2.20 or later.
69290         * configure: Regenerated.
69291         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69292         as required minimum version.
69293         * INSTALL: Regenerated.
69295         [BZ #2541]
69296         [BZ #4108]
69297         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69298         before squaring exponent.
69299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69300         bottom long double and 27 bits of top long double before squaring
69301         exponent.
69302         * math/libm-test.inc (erfc_test): Add more tests.
69303         * sysdeps/i386/fpu/libm-test-ulps: Update.
69304         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69307 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69309         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69310         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69311         containing bit-fields.
69312         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69313         * soft-fp/single.h (_FP_UNION_S): Likewise.
69314         * soft-fp/double.h (_FP_UNION_D): Likewise.
69316 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69318         [BZ #13786]
69319         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69320         not include ../strcmp.S.
69321         [USE_AS_STRNCASECMP_L]: Likewise.
69322         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69323         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69324         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69325         (__strncasecmp_l_ia32): Define as alias to
69326         __strncasecmp_l_nonascii.
69328         [BZ #5794]
69329         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69330         * sysdeps/i386/fpu/libm-test-ulps: Update.
69331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69333         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69336 2012-02-29  Jeff Law  <law@redhat.com>
69338         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69339         out of bounds read.
69341 2012-02-29  Marek Polacek  <polacek@redhat.com>
69343         [BZ #13706]
69344         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69345         * elf/Makefile: Add rules to run tst-unused-dep.out.
69347 2012-02-28  David S. Miller  <davem@davemloft.net>
69349         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69350         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69351         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69352         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69353         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69354         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69356 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69358         * math/libm-test.inc (llround_test): Move one test from
69359         lround_test.  Use TEST_f_L in moved test.
69360         (lround_test): Move misplaced test to llround_test.  Add testcase
69361         from bug 2561.
69363 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69365         * sysdeps/x86_64/fpu/e_expf.S: New file.
69366         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69368 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69370         [BZ #13637]
69371         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69372         of remain_len that may cause incomplete multi-byte character and
69373         false match.
69374         * posix/bug-regex33.c: New file.
69375         * posix/Makefile (tests): Add bug-regex33.
69377 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69379         * manual/macros.texi: New file.
69380         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69381         * manual/libc.texinfo: Include macros.texi.
69382         * manual/creatute.texi: Likewise.
69383         * manual/install.texi: Likewise.
69384         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69385         @glibcadj{} in references to the GNU C Library.
69386         * manual/charset.texi: Likewise.
69387         * manual/conf.texi: Likewise.
69388         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69389         when not using those macros.
69390         * manual/creature.texi: Likewise.
69391         * manual/crypt.texi: Likewise.
69392         * manual/errno.texi: Likewise.
69393         * manual/filesys.texi: Likewise.
69394         * manual/header.texi: Likewise.
69395         * manual/install.texi: Likewise.
69396         * manual/intro.texi: Likewise.
69397         * manual/io.texi: Likewise.
69398         * manual/job.texi: Likewise.
69399         * manual/lang.texi: Likewise.
69400         * manual/libc.texiinfo: Likewise.
69401         * manual/llio.texi: Likewise.
69402         * manual/locale.texi: Likewise.
69403         * manual/maint.texi: Likewise.
69404         * manual/math.texi: Likewise.
69405         * manual/memory.texi: Likewise.
69406         * manual/message.texi: Likewise.
69407         * manual/nss.texi: Likewise.
69408         * manual/pattern.texi: Likewise.
69409         * manual/process.texi: Likewise.
69410         * manual/resource.texi: Likewise.
69411         * manual/search.texi: Likewise.
69412         * manual/setjmp.texi: Likewise.
69413         * manual/signal.texi: Likewise.
69414         * manual/socket.texi: Likewise.
69415         * manual/startup.texi: Likewise.
69416         * manual/stdio.texi: Likewise.
69417         * manual/string.texi: Likewise.
69418         * manual/sysinfo.texi: Likewise.
69419         * manual/syslog.texi: Likewise.
69420         * manual/terminal.texi: Likewise.
69421         * manual/time.texi: Likewise.
69422         * manual/users.texi: Likewise.
69423         * INSTALL: Regenerated.
69424         * NOTES: Regenerated.
69425         * sysdeps/gnu/errlist.c: Regenerated.
69427 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69429         * include/dirent.h: Include <dirstream.h> before
69430         <dirent/dirent.h>.
69432 2012-02-28  David S. Miller  <davem@davemloft.net>
69434         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69435         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69436         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69437         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69439 2012-02-27  David S. Miller  <davem@davemloft.net>
69441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69443         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69444         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69447         frame pointer instead of stack pointer relative arg slot.
69448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69449         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69450         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69452 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69454         [BZ #3992]
69455         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69457 2012-02-27  David S. Miller  <davem@davemloft.net>
69459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69463         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69464         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69465         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69466         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69468 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69470         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69471         later.  Allow versions 5-9.
69472         * configure: Regenerated.
69473         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69474         required minimum version and 4.6 as recommended version.  Do not
69475         mention bugs in GCC 2.7 and 2.8.
69476         * INSTALL: Regenerated.
69478 2012-02-27  David S. Miller  <davem@davemloft.net>
69480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69484         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69485         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69486         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69487         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69489         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69490         manipulate bits before adding and subtracting TWO112[sx].
69491         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69493 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69495         [BZ #13775]
69496         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69497         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69498         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69499         being in POSIX, because they are in 1003.1-2008.
69501         * rt/tst-aio.c: Include <fcntl.h>.
69502         * rt/tst-aio7.c: Likewise.
69503         * rt/tst-aio64.c: Likewise.
69505         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69507 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69509         * manual/install.texi (--with-headers): Describe headers as
69510         interface headers, not private headers.
69511         (Specific advice for GNU/Linux systems): Describe use of headers
69512         from "make headers_install", not private headers from older
69513         kernels.
69514         * INSTALL: Regenerated.
69515         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69516         Change to 2.6.19.
69517         * sysdeps/unix/sysv/linux/configure: Regenerated.
69519         * manual/llio.texi (fclean): Remove documentation.
69521         * manual/Makefile (libc-texi-generated): New variable.  Include
69522         version.texi.
69523         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69524         $(libc-texi-generated), not duplicated list of files.
69525         (version.texi, stamp-version): New rules.
69526         (realclean): Remove $(libc-texi-generated), not individual files
69527         from that list.  Do not remove dir-add.texinfo.
69528         * manual/libc.texinfo: Comment out uses of edition numbers and
69529         references to printed manual.  Remove last-updated dates.
69530         (EDITION): Comment out.
69531         (ISBN): Likewise.
69532         (VERSION, UPDATED): Remove.
69533         (version.texi): Include.
69535 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69537         * sysdeps/posix/spawni.c: Include <signal.h>.
69538         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69539         * sysdeps/pthread/aio_fsync.c: Likewise.
69541 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69543         * conform/Makefile (tests): Run only when not cross-compiling and
69544         when fast-check is not defined.
69546         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69547         * conform/data/limits.h-data: Fixes for POSIX2008.
69548         * conform/run-conformtest.sh: Run all tests.
69549         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69550         headers.
69551         * include/bits/dlfcn.h: Likewise.
69552         * include/langinfo.h: Likewise.
69553         * include/monetary.h: Likewise.
69554         * include/sys/poll.h: Likewise.
69556         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69557         for __USE_GNU.
69558         * posix/spawn.h: Define __need_sigset_t.
69559         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69560         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69561         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69562         to get sigevent_t only.
69563         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69564         only for __USE_GNU.
69565         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69566         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69567         process_vm_writev only for __USE_GNU.
69568         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69570         * conform/Makefile: For now ignore errors from run-conformtest.
69571         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69572         POSIX to avoid namespace pollution.  Don't prepend headers.
69573         * conform/data/aio.h-data: Fixes for POSIX testing.
69574         * conform/data/fcntl.h-data: Likewise.
69575         * conform/data/glob.h-data: Likewise.
69576         * conform/data/grp.h-data: Likewise.
69577         * conform/data/pthread.h-data: Likewise.
69578         * conform/data/pwd.h-data: Likewise.
69579         * conform/data/signal.h-data: Likewise.
69580         * conform/data/spawn.h-data: Likewise.
69581         * conform/data/stdio.h-data: Likewise.
69582         * conform/data/stdlib.h-data: Likewise.
69583         * conform/data/stropts.h-data: Likewise.
69584         * conform/data/sys/mman.h-data: Likewise.
69585         * conform/data/sys/stat.h-data: Likewise.
69586         * conform/data/sys/types.h-data: Likewise.
69587         * conform/data/sys/wait.h-data: Likewise.
69588         * conform/data/time.h-data: Likewise.
69589         * conform/data/unistd.h-data: Likewise.
69590         * conform/data/utime.h-data: Likewise.
69592         * io/sys/stat.h: fchmod was always in POSIX.
69593         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69594         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69595         * rt/aio.h: Define __need_timespec before including <time.h>.
69596         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69597         struct.  Add forward declaration of pthread_attr_t and use it in
69598         sigevent.
69599         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69601         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69602         always remove CLK_TCK definition.
69604 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69606         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69608 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69610         * conform/run-conformtest.sh: New file.
69611         * conform/Makefile: Run run-conformtest for tests.
69612         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69613         support.
69615         * conform/data/uchar.h-data: New file.
69616         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69617         * conform/data/arpa/inet.h-data: Likewise.
69618         * conform/data/assert.h-data: Likewise.
69619         * conform/data/complex.h-data: Likewise.
69620         * conform/data/cpio.h-data: Likewise.
69621         * conform/data/ctype.h-data: Likewise.
69622         * conform/data/dirent.h-data: Likewise.
69623         * conform/data/dlfcn.h-data: Likewise.
69624         * conform/data/errno.h-data: Likewise.
69625         * conform/data/fcntl.h-data: Likewise.
69626         * conform/data/float.h-data: Likewise.
69627         * conform/data/fmtmsg.h-data: Likewise.
69628         * conform/data/fnmatch.h-data: Likewise.
69629         * conform/data/ftw.h-data: Likewise.
69630         * conform/data/glob.h-data: Likewise.
69631         * conform/data/grp.h-data: Likewise.
69632         * conform/data/iconv.h-data: Likewise.
69633         * conform/data/inttypes.h-data: Likewise.
69634         * conform/data/langinfo.h-data: Likewise.
69635         * conform/data/libgen.h-data: Likewise.
69636         * conform/data/limits.h-data: Likewise.
69637         * conform/data/locale.h-data: Likewise.
69638         * conform/data/math.h-data: Likewise.
69639         * conform/data/monetary.h-data: Likewise.
69640         * conform/data/mqueue.h-data: Likewise.
69641         * conform/data/ndbm.h-data: Likewise.
69642         * conform/data/net/if.h-data: Likewise.
69643         * conform/data/netdb.h-data: Likewise.
69644         * conform/data/netinet/in.h-data: Likewise.
69645         * conform/data/nl_types.h-data: Likewise.
69646         * conform/data/poll.h-data: Likewise.
69647         * conform/data/pthread.h-data: Likewise.
69648         * conform/data/pwd.h-data: Likewise.
69649         * conform/data/regex.h-data: Likewise.
69650         * conform/data/sched.h-data: Likewise.
69651         * conform/data/search.h-data: Likewise.
69652         * conform/data/semaphore.h-data: Likewise.
69653         * conform/data/setjmp.h-data: Likewise.
69654         * conform/data/signal.h-data: Likewise.
69655         * conform/data/spawn.h-data: Likewise.
69656         * conform/data/stdarg.h-data: Likewise.
69657         * conform/data/stdio.h-data: Likewise.
69658         * conform/data/stdlib.h-data: Likewise.
69659         * conform/data/string.h-data: Likewise.
69660         * conform/data/strings.h-data: Likewise.
69661         * conform/data/stropts.h-data: Likewise.
69662         * conform/data/sys/ipc.h-data: Likewise.
69663         * conform/data/sys/mman.h-data: Likewise.
69664         * conform/data/sys/msg.h-data: Likewise.
69665         * conform/data/sys/resource.h-data: Likewise.
69666         * conform/data/sys/select.h-data: Likewise.
69667         * conform/data/sys/sem.h-data: Likewise.
69668         * conform/data/sys/shm.h-data: Likewise.
69669         * conform/data/sys/socket.h-data: Likewise.
69670         * conform/data/sys/stat.h-data: Likewise.
69671         * conform/data/sys/statvfs.h-data: Likewise.
69672         * conform/data/sys/time.h-data: Likewise.
69673         * conform/data/sys/timeb.h-data: Likewise.
69674         * conform/data/sys/times.h-data: Likewise.
69675         * conform/data/sys/types.h-data: Likewise.
69676         * conform/data/sys/uio.h-data: Likewise.
69677         * conform/data/sys/un.h-data: Likewise.
69678         * conform/data/sys/utsname.h-data: Likewise.
69679         * conform/data/sys/wait.h-data: Likewise.
69680         * conform/data/syslog.h-data: Likewise.
69681         * conform/data/tar.h-data: Likewise.
69682         * conform/data/termios.h-data: Likewise.
69683         * conform/data/utime.h-data: Likewise.
69684         * conform/data/utmpx.h-data: Likewise.
69685         * conform/data/varargs.h-data: Likewise.
69686         * conform/data/wchar.h-data: Likewise.
69687         * conform/data/wctype.h-data: Likewise.
69688         * conform/data/wordexp.h-data: Likewise.
69690         * include/stropts.h: New file.
69691         * include/uchar.h: New file.
69692         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69693         * include/assert.h: Likewise.
69694         * include/ctype.h: Likewise.
69695         * include/dirent.h: Likewise.
69696         * include/dlfcn.h: Likewise.
69697         * include/fcntl.h: Likewise.
69698         * include/fnmatch.h: Likewise.
69699         * include/glob.h: Likewise.
69700         * include/grp.h: Likewise.
69701         * include/libio.h: Likewise.
69702         * include/locale.h: Likewise.
69703         * include/math.h: Likewise.
69704         * include/net/if.h: Likewise.
69705         * include/netdb.h: Likewise.
69706         * include/netinet/in.h: Likewise.
69707         * include/pthread.h: Likewise.
69708         * include/pwd.h: Likewise.
69709         * include/regex.h: Likewise.
69710         * include/sched.h: Likewise.
69711         * include/search.h: Likewise.
69712         * include/setjmp.h: Likewise.
69713         * include/signal.h: Likewise.
69714         * include/stdio.h: Likewise.
69715         * include/stdlib.h: Likewise.
69716         * include/string.h: Likewise.
69717         * include/sys/cdefs.h: Likewise.
69718         * include/sys/mman.h: Likewise.
69719         * include/sys/msg.h: Likewise.
69720         * include/sys/resource.h: Likewise.
69721         * include/sys/select.h: Likewise.
69722         * include/sys/socket.h: Likewise.
69723         * include/sys/stat.h: Likewise.
69724         * include/sys/statvfs.h: Likewise.
69725         * include/sys/time.h: Likewise.
69726         * include/sys/times.h: Likewise.
69727         * include/sys/uio.h: Likewise.
69728         * include/sys/utsname.h: Likewise.
69729         * include/sys/wait.h: Likewise.
69730         * include/termios.h: Likewise.
69731         * include/time.h: Likewise.
69732         * include/ulimit.h: Likewise.
69733         * include/unistd.h: Likewise.
69734         * include/utime.h: Likewise.
69735         * include/wchar.h: Likewise.
69736         * include/wctype.h: Likewise.
69737         * include/wordexp.h: Likewise.
69739         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69741         * time/time.h: TIME_UTC must be a macro.
69742         Make timespec_get available for ISO C11 only as well.
69744 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69746         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69747         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69749 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69751         * configure.in: Use -o not -a in test for unsupported multi-arch.
69753 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69755         * manual/texinfo.tex: Update to version 2012-01-19.16.
69757 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69759         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69761 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69763         [BZ #13738]
69764         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69765         * manual/fdl-1.3.texi: New file.
69766         * manual/fdl-1.1.texi: File removed.
69768         [BZ #13738]
69769         * manual/libc.texinfo (FDL_VERSION): New @set.
69770         Use it for mention of FDL in cover text.
69771         (Documentation License): Use it in @include file name.
69773 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69774             Roland McGrath  <roland@hack.frob.com>
69776         [BZ #5461]
69777         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69778         (not LONG_LONG_MAX and LONG_LONG_MIN.
69779         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69780         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69781         name.
69782         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69784 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69786         [BZ #2547]
69787         [BZ #11365]
69788         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69789         manipulate bits before adding and subtracting TWO23[sx].
69790         * math/libm-test.inc (nearbyint_test): Add more tests.
69792 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69794         [BZ #2548]
69795         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69796         bits before adding and subtracting TWO23[sx].
69797         * math/libm-test.inc (rint_test): Add more tests.
69798         (rint_test_tonearest): Likewise.
69799         (rint_test_towardzero): Likewise.
69800         (rint_test_downward): Likewise.
69801         (rint_test_upward: Likewise.
69803 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69805         [BZ #10110]
69806         * include/stdc-predef.h: New file.  Extracted from features.h.
69807         * include/features.h: Include stdc-predef.h.
69808         * Makefile (headers): Add stdc-predef.h.
69809         * CONFORMANCE (Compiler limitations): Update.
69811 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69813         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69815 2012-02-21  David S. Miller  <davem@davemloft.net>
69817         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69818         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69820 2012-02-20  David S. Miller  <davem@davemloft.net>
69822         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69823         using a normal save/restore sequence, rather than allocating a
69824         dummy stack frame just to store a frame pointer and restore.
69825         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69827 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69829         * manual/install.texi: Fix stray word in line-wrapped comment.
69831 2012-02-20  David S. Miller  <davem@davemloft.net>
69833         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69834         both binutils and gcc support GOTDATA.
69836         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69837         "rd %pc" in the PIC register setup sequences.
69839         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69840         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69841         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69842         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69843         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69844         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69845         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69846         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69848         (SYSCALL_ERROR_HANDLER): Likewise.
69849         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69850         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69851         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69852         (SYSCALL_ERROR_HANDLER): Likewise.
69854         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69855         (HAVE_GCC_GOTDATA): New.
69856         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69857         relocation support in both binutils and gcc.
69858         * sysdeps/sparc/elf/configure: Regenerate.
69860         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69861         * sysdeps/sparc/sparc32/elf/configure: Delete.
69862         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69863         * sysdeps/sparc/sparc64/elf/configure: Delete.
69864         * sysdeps/sparc/elf/configure.in: New file.
69865         * sysdeps/sparc/elf/configure: Generate.
69867         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69868         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69869         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69870         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69871         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69873 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69875         * manual/install.texi: Do not mention specific glibc version
69876         numbers.
69877         * manual/libc.texinfo (VERSION, UPDATED): Update.
69878         (@copying): Use @copyright{} and range of years.
69880 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69882         [BZ #13695]
69883         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69884         [crti.S not in sysdirs] (generated): Do not append.
69885         [crti.S not in sysdirs] (omit-deps): Likewise.
69886         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69887         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69888         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69889         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69890         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69891         Likewise.
69892         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69893         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69894         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69895         * csu/defs.awk: Remove file.
69896         * sysdeps/generic/initfini.c: Likewise.
69897         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69898         variable.
69899         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69900         Likewise.
69902 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69904         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69905         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69906         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69907         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69908         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69909         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69910         <bits/epoll.h>.
69911         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69912         (__EPOLL_PACKED): Define to empty if not defined by
69913         <bits/epoll.h>.
69914         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69916         bits/epoll.h.
69918 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69920         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69921         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69922         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69923         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69924         <bits/timerfd.h>.
69925         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69927         bits/timerfd.h.
69929 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69931         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69932         in C locale.
69933         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69934         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69935         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69938 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69940         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69941         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69943 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69945         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69946         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69947         defined.
69948         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69949         Likewise.
69950         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69951         entry for 2.16.
69953 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69955         * math/w_acos.c: Use non-signaling floating-point comparisons.
69956         * math/w_acosf.c: Likewise.
69957         * math/w_acosh.c: Likewise.
69958         * math/w_acoshf.c: Likewise.
69959         * math/w_acoshl.c: Likewise.
69960         * math/w_acosl.c: Likewise.
69961         * math/w_asin.c: Likewise.
69962         * math/w_asinf.c: Likewise.
69963         * math/w_asinl.c: Likewise.
69964         * math/w_atanh.c: Likewise.
69965         * math/w_atanhf.c: Likewise.
69966         * math/w_atanhl.c: Likewise.
69967         * math/w_exp2.c: Likewise.
69968         * math/w_exp2f.c: Likewise.
69969         * math/w_exp2l.c: Likewise.
69970         * math/w_j0.c: Likewise.
69971         * math/w_j0f.c: Likewise.
69972         * math/w_j0l.c: Likewise.
69973         * math/w_j1.c: Likewise.
69974         * math/w_j1f.c: Likewise.
69975         * math/w_j1l.c: Likewise.
69976         * math/w_jn.c: Likewise.
69977         * math/w_jnf.c: Likewise.
69978         * math/w_log.c: Likewise.
69979         * math/w_log10.c: Likewise.
69980         * math/w_log10f.c: Likewise.
69981         * math/w_log10l.c: Likewise.
69982         * math/w_log2.c: Likewise.
69983         * math/w_log2f.c: Likewise.
69984         * math/w_log2l.c: Likewise.
69985         * math/w_logf.c: Likewise.
69986         * math/w_logl.c: Likewise.
69987         * math/w_sqrt.c: Likewise.
69988         * math/w_sqrtf.c: Likewise.
69989         * math/w_sqrtl.c: Likewise.
69990         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69991         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69992         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69993         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69994         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69996 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69998         [BZ #9739]
69999         * manual/string.texi (strnlen): Use correct parameter name in
70000         equivalent expression.
70002 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70004         [BZ #11174]
70005         * manual/users.texi (seteuid): Consistently use neweuid for
70006         argument name.
70008 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70010         [BZ #13704]
70011         * manual/nss.texi (Services in the NSS configuration): Correct
70012         list of services in example configuration file.
70014 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70016         [BZ #11322]
70017         * manual/arith.texi: Remove statements about negative zero
70018         behaving identically to zero.
70020 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70022         [BZ #5993]
70023         * manual/install.texi: Do not document upgrading from libc5.
70025 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70027         [BZ #4596]
70028         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70030 2012-02-18  David S. Miller  <davem@davemloft.net>
70032         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70033         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70034         %o7 across the call.
70035         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70036         instead.
70037         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70038         SETUP_PIC_REG_LEAF.
70039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70040         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70041         * sysdeps/sparc/crtn.S: Likewise.
70043 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70045         * aout/Makefile: Remove.
70047 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70049         [BZ #13058]
70050         * manual/examples/argp-ex1.c (main): Format definition in GNU
70051         style.
70052         * manual/examples/argp-ex2.c (main): Likewise.
70053         * manual/examples/argp-ex3.c (main): Likewise.
70054         * manual/examples/argp-ex4.c (main): Likewise.
70055         * manual/examples/longopt.c (main): Use new-style prototype
70056         definition.
70057         * manual/examples/strncat.c (main): Specify return type and use
70058         (void) for arguments.
70059         * manual/examples/subopt.c (main): Use char **argv argument.
70061 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70063         [BZ #5077]
70064         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70065         rounding modes.
70067 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70069         [BZ #6907]
70070         * manual/string.texi (strchr): Change when strchrnul is
70071         recommended.
70073 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70075         [BZ #174]
70076         * manual/locale.texi (setlocale): Document LOCPATH.
70078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70080         [BZ #10210]
70081         * manual/process.texi (execle): Move @dots{} before last argument.
70083 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70085         [BZ #12047]
70086         * manual/charset.texi (Generic Charset Conversion): Fix typo
70087         (LC_TYPE -> LC_CTYPE).
70089 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70091         [BZ #5805]
70092         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70093         (scalbnf): Likewise.
70094         (scalbnl): Likewise.
70095         (scalbln): Likewise.
70096         (scalblnf): Likewise.
70097         (scalblnl): Likewise.
70098         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70099         (vwarnx): Likewise.
70100         (verr): Likewise.
70101         (verrx): Likewise.
70102         * manual/filesys.texi (telldir): Use braces around return type.
70103         * manual/llio.texi (mmap): Add space after comma.
70104         (mmap64): Likewise.
70105         * manual/math.texi (jn): Use @var{} on parameter names.
70106         (jnf): Likewise.
70107         (jnl): Likewise.
70108         (yn): Likewise.
70109         (ynf): Likewise.
70110         (ynl): Likewise.
70111         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70112         line.
70113         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70114         "...".
70115         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70116         (sched_get_priority_max): Likewise.
70117         * manual/signal.texi (sigvec): Add space after comma.
70118         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70119         names.
70120         (if_indextoname): Likewise.
70121         (if_freenameindex): Likewise.
70122         (sendto): Use ',' instead of '.' in prototype.
70123         * manual/startup.texi (syscall): Use @dots{} instead of literal
70124         "...".
70125         * manual/stdio.texi (__fpending): Separate initial words of
70126         paragraph from @deftypefun line.
70127         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70128         "...".
70129         (vsyslog): Use @var{} on parameter names.
70130         * manual/terminal.texi (stty): Use @var{} on parameter names.
70131         * manual/users.texi (getutmp): Use @var{} on parameter names.
70132         (getutmpx): Likewise.
70134 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70136         [BZ #6884]
70137         * manual/stdio.texi (fopen): Fix typos in description of
70138         ",ccs=STRING".
70140 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70142         [BZ #4026]
70143         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70144         get clock_id definition.
70146 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70148         [BZ #4822]
70149         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70150         (madvise): Cast every argument to void on its own.
70152 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70154         [BZ #9902]
70155         * manual/startup.texi (Exit Status): Fix typo.
70157 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70159         [BZ #10140]
70160         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70161         * manual/examples/argp-ex2.c: Likewise.
70162         * manual/examples/argp-ex3.c: Likewise.
70164 2012-02-16  Richard Henderson  <rth@redhat.com>
70166         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70167         * sysdeps/s390/s390-32/initfini.c: Remove.
70168         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70169         * sysdeps/s390/s390-64/initfini.c: Remove.
70171 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70173         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70174         compiler output for sysdeps/generic/initfini.c.
70175         * sysdeps/sh/elf/initfini.c: Remove file.
70177 2012-02-16  David S. Miller  <davem@davemloft.net>
70179         [BZ #11494]
70180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70182         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70183         * sysdeps/sparc/crti.S: New file.
70184         * sysdeps/sparc/crtn.S: New file.
70185         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70186         * sysdeps/sparc/sparc64/Makefile: Likewise.
70188 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70190         [BZ #3335]
70191         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70193 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70195         [BZ #4822]
70196         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70198         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70199         (write, read, close): Likewise.
70200         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70202 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70204         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70205         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70206         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70207         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70208         <bits/signalfd.h>.
70209         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70211         bits/signalfd.h.
70213 2012-02-14  Marek Polacek  <polacek@redhat.com>
70215         * sysdeps/x86_64/crti.S: New file.
70216         * sysdeps/x86_64/crtn.S: New file.
70217         * sysdeps/x86_64/elf/initfini.c: Remove file.
70219 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70221         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70222         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70223         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70224         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70225         <bits/inotify.h>.
70226         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70228         bits/inotify.h.
70230 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70232         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70233         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70234         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70235         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70236         <bits/eventfd.h>.
70237         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70239         bits/eventfd.h.
70241 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70243         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70244         __feraiseexcept instead of feraiseexcept.
70246         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70247         nanosleep invocations.
70248         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70249         strings, and add error checking for a nanosleep invocations.
70251 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70253         Replace FSF snail mail address with URLs, as per GNU coding standards.
70254         Most of the snail mail addresses were wrong anyway, and omitting
70255         them makes the source code easier to maintain.  Almost all of the
70256         changes are to license notices and to locale LC_IDENTIFICATION
70257         addresses, except for this one:
70258         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70259         not its snail mail address.
70261 2012-02-09  Richard Henderson  <rth@twiddle.net>
70263         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70264         of kernel-features.h.
70266         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70268 2012-02-08  Marek Polacek  <polacek@redhat.com>
70270         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70271         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70272         * sysdeps/gnu/_G_config.h: Likewise.
70273         * sysdeps/generic/_G_config.h: Likewise.
70275 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70277         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70278         tests.
70279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70281         * sysdeps/powerpc/powerpc32/crti.S: New file.
70282         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70283         * sysdeps/powerpc/powerpc64/crti.S: New file.
70284         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70286         * Makeconfig (have-initfini): Don't set.
70287         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70288         * configure.in (nopic_initfini): Don't substitute.
70289         * config.h.in (HAVE_INITFINI): Don't #undef.
70290         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70291         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70293 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70295         Support crti.S and crtn.S provided directly by architectures.
70296         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70297         [crti.S in sysdirs] (omit-deps): Likewise.
70298         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70299         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70300         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70301         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70302         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70303         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70304         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70305         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70306         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70307         compiler output for sysdeps/generic/initfini.c.
70308         * sysdeps/i386/elf/Makefile: Remove file.
70309         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70311 2012-02-07  Marek Polacek  <polacek@redhat.com>
70313         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70314         * sysdeps/gnu/_G_config.h: Likewise.
70315         * sysdeps/mach/hurd/_G_config.h: Likewise.
70317 2012-02-07  Marek Polacek  <polacek@redhat.com>
70319         * math/Makefile (tests): Add tst-CMPLX2.
70320         * math/tst-CMPLX2.c: New file.
70322 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70324         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70326         * math/libm-test.inc (jn_test): Add missing L suffix.
70328 2012-02-06  Marek Polacek  <polacek@redhat.com>
70330         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70331         * sysdeps/i386/fpu/e_powf.S: Likewise.
70332         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70333         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70334         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70335         * sysdeps/i386/fpu/e_pow.S: Likewise.
70336         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70337         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70338         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70339         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70340         * sysdeps/i386/fpu/e_log2.S: Likewise.
70341         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70342         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70343         * sysdeps/i386/fpu/e_powl.S: Likewise.
70344         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70345         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70346         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70347         * sysdeps/i386/fpu/e_logl.S: Likewise.
70348         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70349         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70350         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70351         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70352         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70353         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70354         * sysdeps/i386/fpu/e_log.S: Likewise.
70355         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70356         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70357         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70358         * sysdeps/i386/fpu/e_logf.S: Likewise.
70359         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70360         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70361         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70362         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70363         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70364         * sysdeps/i386/fpu/e_log10.S: Likewise.
70365         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70366         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70367         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70368         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70369         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70370         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70371         * sysdeps/i386/asm-syntax.h: Likewise.
70372         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70373         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70374         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70375         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70376         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70377         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70378         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70379         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70380         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70381         * sysdeps/powerpc/sysdep.h: Likewise.
70382         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70383         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70385 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70387         [BZ #411]
70388         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70390 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70392         * sysdeps/i386/sysdep.h: Include <features.h>.
70393         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70394         version.
70396 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70398         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70399         Define.
70400         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70401         LOAD_PIC_REG_STR.
70403 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70405         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70406         (SETUP_PIC_REG): Use GET_PC_THUNK.
70407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70408         macro.
70410 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70412         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70413         for non-PIC compilation.
70414         (SETUP_PIC_REG): Add .p2align directive.
70415         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70416         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70417         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70418         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70419         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70420         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70421         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70422         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70423         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70424         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70425         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70426         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70427         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70428         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70429         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70430         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70431         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70432         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70433         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70434         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70435         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70436         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70437         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70438         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70439         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70440         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70441         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70442         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70443         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70444         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70445         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70446         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70447         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70448         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70449         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70450         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70451         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70452         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70453         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70454         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70455         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70457 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70459         * math/tst-CMPLX.c: Include <stdio.h>.
70461 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70463         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70464         float.
70465         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70466         * sysdeps/sparc/bits/mathdef.h: Likewise.
70468 2012-01-31  Marek Polacek  <polacek@redhat.com>
70470         * libio/libio.h: Don't define _PARAMS.
70471         * locale/programs/config.h: Don't define PARAMS.
70472         * stdlib/strtol_l.c: Likewise.
70473         (__strtol_l): Remove PARAMS from the prototype.
70475 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70477         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70478         names.  Just use the correct names.  Remove unnecessary wrapper
70479         functions.
70480         * malloc/arena.c: Likewise.
70481         * malloc/hooks.c: Likewise.
70483         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70484         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70485         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70487 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70489         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70490         into tail calls.
70491         (update_get_addr): New function.
70492         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70493         GET_ADDR_MODULE parameter.
70495 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70497         * crypt/cert.c: Remove __STDC__ conditionals.
70498         * crypt/crypt-entry.c: Likewise.
70499         * crypt/crypt_util.c: Likewise.
70500         * libio/filedoalloc.c: Likewise.
70501         * libio/fileops.c: Likewise.
70502         * libio/genops.c: Likewise.
70503         * libio/iofclose.c: Likewise.
70504         * libio/iofdopen.c: Likewise.
70505         * libio/iofopen.c: Likewise.
70506         * libio/iofopen64.c: Likewise.
70507         * libio/iogetdelim.c: Likewise.
70508         * libio/iopopen.c: Likewise.
70509         * libio/obprintf.c: Likewise.
70510         * libio/oldfileops.c: Likewise.
70511         * libio/oldiofclose.c: Likewise.
70512         * libio/oldiofdopen.c: Likewise.
70513         * libio/oldiofopen.c: Likewise.
70514         * libio/oldiopopen.c: Likewise.
70515         * libio/wfiledoalloc.c: Likewise.
70516         * libio/wgenops.c: Likewise.
70517         * locale/programs/xmalloc.c: Likewise.
70518         * misc/syslog.c: Likewise.
70519         * stdio-common/xbug.c: Likewise.
70520         * string/memchr.c: Likewise.
70521         * string/memcmp.c: Likewise.
70522         * string/memrchr.c: Likewise.
70523         * string/rawmemchr.c: Likewise.
70524         * sysdeps/posix/getcwd.c: Likewise.
70525         * time/strftime_l.c: Likewise.
70527 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70529         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70530         * config.make.in (config-cflags-sse2avx): Define.
70531         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70532         Fix typo.
70534 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70536         * scripts/config.guess: Update from upstream config git repository.
70537         * scripts/config.sub: Likewise.
70539 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70541         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70542         (EM_NUM): Update.
70543         (R_TILEPRO_*, R_TILEGX_*): New macros.
70545         * scripts/firstversions.awk: Fix bug in version range handling.
70547         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70549         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70551         * include/sys/epoll.h: New file.
70552         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70553         libc_hidden_def.
70555 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70557         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70558         Avoid unnecessary __WORDSIZE == 64 test.
70559         (fmaxf): Use VEX format if possible.
70560         (fmax): Likewise.
70561         (fminf): Likewise.
70562         (fmin): Likewise.
70564         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70565         * math/math_private.h: Remove libc_fegetround* and
70566         libc_fesetround*.
70567         * sysdeps/i386/configure.in: Check for -msse2avx.
70568         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70569         also if SSE2AVX is defined.
70570         Remove libc_fegetround* and libc_fesetround*.
70571         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70572         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70573         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70574         of HAS_YMM_USABLE.
70575         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70576         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70577         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70578         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70579         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70581         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70583 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70585         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70586         size is not set.
70587         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70589 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70591         [BZ #13618]
70592         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70593         relocation.
70594         * Makeconfig (libm): Define.
70595         * elf/Makefile: Add rules to build and run tst-relsort1.
70596         * elf/tst-relsort1.c: New file.
70597         * elf/tst-relsort1mod1.c: New file.
70598         * elf/tst-relsort1mod2.c: New file.
70600 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70602         * math/s_ldexp.c: Remove __STDC__ conditionals.
70603         * math/s_ldexpf.c: Likewise.
70604         * math/s_ldexpl.c: Likewise.
70605         * math/s_nextafter.c: Likewise.
70606         * math/s_nexttowardf.c: Likewise.
70607         * math/s_significand.c: Likewise.
70608         * math/s_significandf.c: Likewise.
70609         * math/s_significandl.c: Likewise.
70610         * math/w_jnl.c: Likewise.
70611         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70612         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70613         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70614         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70615         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70616         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70617         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70618         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70619         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70620         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70621         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70622         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70623         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70624         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70625         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70627         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70628         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70629         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70630         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70631         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70633         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70634         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70635         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70636         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70637         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70638         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70639         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70640         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70641         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70642         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70643         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70644         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70645         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70646         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70647         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70648         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70649         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70650         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70651         * sysdeps/ieee754/k_standard.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70661         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70662         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70663         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70664         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70665         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70667         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70668         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70670         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70671         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70673         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70674         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70675         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70676         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70677         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70680         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70681         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70682         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70683         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70684         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70685         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70686         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70687         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70688         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70690         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70691         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70692         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70694         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70695         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70696         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70697         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70698         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70699         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70700         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70702         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70703         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70704         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70705         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70706         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70707         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70708         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70709         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70710         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70711         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70712         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70713         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70714         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70716         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70717         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70718         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70719         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70720         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70721         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70722         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70723         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70724         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70725         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70726         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70727         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70728         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70729         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70730         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70731         * sysdeps/ieee754/s_matherr.c: Likewise.
70732         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70733         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70735         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70737 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70739         * crypt/md5.h: Remove __STDC__ conditionals.
70740         * libio/libioP.h: Likewise.
70741         * locale/programs/config.h: Likewise.
70742         * sysdeps/generic/sysdep.h: Likewise.
70743         * sysdeps/i386/asm-syntax.h: Likewise.
70744         * sysdeps/s390/asm-syntax.h: Likewise.
70745         * sysdeps/unix/sysdep.h: Likewise.
70746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70749 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70751         * libio/libio.h: Remove __STDC__ conditionals.
70752         * malloc/obstack.h: Likewise.
70753         * math/complex.h: Likewise.
70754         * math/math.h: Likewise.
70755         * sysdeps/generic/_G_config.h: Likewise.
70756         * sysdeps/gnu/_G_config.h: Likewise.
70757         * sysdeps/mach/hurd/_G_config.h: Likewise.
70758         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70759         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70760         * sysdeps/sparc/bits/mathdef.h: Likewise.
70762 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70764         [BZ #13583]
70765         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70766         Clean up HAS_* macros.
70767         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70768         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70769         possible.
70770         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70771         HAS_AVX.
70772         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70773         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70774         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70775         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70776         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70778 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70780         * elf/tst-unique3.cc (gets): Remove declaration.
70781         * elf/tst-unique3lib.cc (gets): Likewise.
70782         * elf/tst-unique3lib2.cc (gets): Likewise.
70783         * elf/tst-unique4.cc (gets): Likewise.
70785 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70787         * include/stdio.h: Add C++ protection.  Add gets declarations and
70788         definitions.
70789         * debug/tst-chk1.c: Don't declare gets here.
70790         * stdio-common/tst-gets.c: Likewise.
70792 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70794         * posix/glob: Remove directory.
70796 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70798         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70800 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70802         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70803         of the non-standard EPFNOSUPPORT.
70805 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70807         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70808         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70809         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70811 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70813         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70815 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70817         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70818         transient errors.
70819         * nscd/grpcache.c (cache_addgr): Likewise.
70820         * nscd/hstcache.c (cache_addhst): Likewise.
70821         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70822         * nscd/pwdcache.c (cache_addpw): Likewise.
70823         * nscd/servicescache.c (cache_addserv): Likewise.
70825 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70827         * malloc/malloc.c: Various cleanups.
70828         * malloc/hooks.c: Likewise.
70830         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70831         * stdlib/bug-fmtmsg1.c: New file.
70833         * stdlib/fmtmsg.c (init): Add missing unlock.
70834         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70836 2012-01-12  Marek Polacek  <polacek@redhat.com>
70838         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70839         and _GNU_SOURCE.
70841 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70843         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70844         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70845         macro to ensure uniqueness of label name.
70846         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70847         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70849 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70851         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70853         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70854         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70855         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70858 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70860         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70862         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70863         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70864         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70866         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70868         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70869         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70870         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70871         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70873         * math/bits/math-finite.h: Add ldexp support.
70875 2012-01-10  Marek Polacek  <polacek@redhat.com>
70877         * locale/programs/localedef.h (show_archive_content): Add noreturn
70878         attribute.
70880 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70882         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70884 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70886         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70888         * io/Makefile (headers): Add bits/poll2.h.
70890 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70893         typo #include statement.
70895 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70897         * include/sys/cdefs.h: Define __attribute_alloc_size.
70898         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70899         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70900         * elf/pldd.c: Likewise.
70901         * iconv/iconv_charmap.c: Likewise.
70902         * iconv/iconvconfig.c: Likewise.
70903         * iconv/strtab.c: Likewise.
70904         * locale/programs/locale.c: Likewise.
70905         * locale/programs/localedef.h: Likewise.
70906         * locale/programs/simple-hash.c: Likewise.
70907         * nscd/nscd.h: Likewise.
70908         * nss/makedb.c: Likewise.
70909         * sysdeps/generic/ldconfig.h: Likewise.
70910         * locale/programs/localedef.c: Remove xmalloc prototype.
70911         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70913 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70915         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70916         appropriate.
70918 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70920         * math/Makefile (tests): Add tst-CMPLX.
70921         * math/tst-CMPLX.c: New file.
70923         * math/complex.h (CMPLXL): Fix typo.
70925         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70926         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70927         GLIBC_2.16.
70928         * debug/tst-chk1.c: Add poll and ppoll tests.
70929         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70930         * include/sys/poll.h: Add hidden proto for ppoll.
70931         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70932         * sysdeps/mach/hurd/ppoll.c: Likewise.
70933         * io/ppoll.c: Likewise.
70934         * debug/poll_chk.c: New file.
70935         * debug/ppoll_chk.c: New file.
70936         * include/bits/poll2.h: New file.
70937         * io/bits/poll2.h: New file.
70939         [BZ #1350]
70940         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70942         * configure.in: static is always set to yes.  Remove.
70943         * config.make.in: Don't set build-static.
70944         * Makeconfig: Remove use of build-static.
70945         * dlfcn/Makefile: Likewise.
70946         * elf/Makefile: Likewise.
70947         * math/Makefile: Likewise.
70948         * misc/Makefile: Likewise.
70949         * nptl/Makefile: Likewise.
70950         * sysdeps/mach/hurd/Makefile: Likewise.
70952         * configure.in: PWD_P is not used anymore.
70953         * config.make.in: Remove PWD_P entry.
70955         * configure.in: Remove last remnants of RANLIB.
70956         No need to check for signed size_t anymore.
70957         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70958         and IA-64.
70959         Remove __builtin_expect test because we require at least gcc 3.4.
70960         * aclocal.m4: Likewise.
70962         * wcsmbs/mbrtoc16.c: Implement using towc function.
70963         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70964         * wcsmbs/wcsmbsload.c: Likewise.
70965         * iconv/gconv_simple.c: Likewise.
70966         * iconv/gconv_int.h: Likewise.
70967         * iconv/gconv_builtin.h: Likewise.
70968         * iconv/iconv_prog.c: Remove CHAR16 handling.
70970         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70972         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70974         * configure.in: Remove --with-elf and --enable-bounded options.
70975         Dont set base_machine for ia64.  More non-ELF conditions removed.
70976         Remove testing and setting of leading underscore information.
70977         * config.make.in (build-bounded): Set to no.
70978         * config.h.in: Remove NO_UNDERSCORES entry.
70979         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70980         them.
70981         * csu/start.c: Remove !NO_UNDERSCORE code.
70982         * locale/localeinfo.h: Likewise.
70983         * sysdeps/generic/machine-gmon.h: Likewise.
70984         * sysdeps/generic/sysdep.h: Likewise.
70985         * sysdeps/i386/sysdep.h: Likewise.
70986         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70987         * sysdeps/mach/sysdep.h: Likewise.
70988         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70989         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70990         * sysdeps/sh/sysdep.h: Likewise.
70991         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70992         * sysdeps/unix/i386/sysdep.S: Likewise.
70993         * sysdeps/unix/sparc/start.c: Likewise.
70994         * sysdeps/unix/sparc/sysdep.S: Likewise.
70995         * sysdeps/unix/sparc/sysdep.h: Likewise.
70996         * sysdeps/unix/start.c: Likewise.
70997         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70998         * sysdeps/x86_64/sysdep.h: Likewise.
71000 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71002         [BZ #13553]
71003         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71004         for non-gcc.
71005         * argp/argp-fmtstream.h: Use const instead __const.
71006         * argp/argp.h: Likewise.
71007         * assert/assert.h: Likewise.
71008         * bits/fenv.h: Likewise.
71009         * bits/sched.h: Likewise.
71010         * bits/sigset.h: Likewise.
71011         * bits/sigthread.h: Likewise.
71012         * catgets/nl_types.h: Likewise.
71013         * conform/data/pthread.h-data: Likewise.
71014         * crypt/crypt-private.h: Likewise.
71015         * crypt/crypt.h: Likewise.
71016         * crypt/crypt_util.c: Likewise.
71017         * ctype/ctype.h: Likewise.
71018         * debug/execinfo.h: Likewise.
71019         * debug/mbsnrtowcs_chk.c: Likewise.
71020         * debug/mbsrtowcs_chk.c: Likewise.
71021         * debug/wcsnrtombs_chk.c: Likewise.
71022         * debug/wcsrtombs_chk.c: Likewise.
71023         * debug/wcstombs_chk.c: Likewise.
71024         * dirent/dirent.h: Likewise.
71025         * dlfcn/dlfcn.h: Likewise.
71026         * elf/neededtest4.c: Likewise.
71027         * grp/grp.h: Likewise.
71028         * gshadow/gshadow.h: Likewise.
71029         * iconv/gconv.h: Likewise.
71030         * iconv/gconv_int.h: Likewise.
71031         * iconv/gconv_simple.c: Likewise.
71032         * iconv/iconv.h: Likewise.
71033         * iconv/loop.c: Likewise.
71034         * iconv/skeleton.c: Likewise.
71035         * include/aio.h: Likewise.
71036         * include/aliases.h: Likewise.
71037         * include/argz.h: Likewise.
71038         * include/arpa/inet.h: Likewise.
71039         * include/assert.h: Likewise.
71040         * include/dirent.h: Likewise.
71041         * include/dlfcn.h: Likewise.
71042         * include/execinfo.h: Likewise.
71043         * include/fcntl.h: Likewise.
71044         * include/fenv.h: Likewise.
71045         * include/glob.h: Likewise.
71046         * include/grp.h: Likewise.
71047         * include/libintl.h: Likewise.
71048         * include/mntent.h: Likewise.
71049         * include/netdb.h: Likewise.
71050         * include/pwd.h: Likewise.
71051         * include/rpc/netdb.h: Likewise.
71052         * include/sched.h: Likewise.
71053         * include/search.h: Likewise.
71054         * include/shadow.h: Likewise.
71055         * include/signal.h: Likewise.
71056         * include/stdio.h: Likewise.
71057         * include/stdlib.h: Likewise.
71058         * include/string.h: Likewise.
71059         * include/sys/socket.h: Likewise.
71060         * include/sys/stat.h: Likewise.
71061         * include/sys/statfs.h: Likewise.
71062         * include/sys/statvfs.h: Likewise.
71063         * include/sys/syslog.h: Likewise.
71064         * include/sys/time.h: Likewise.
71065         * include/sys/uio.h: Likewise.
71066         * include/time.h: Likewise.
71067         * include/unistd.h: Likewise.
71068         * include/utmp.h: Likewise.
71069         * include/wchar.h: Likewise.
71070         * include/wctype.h: Likewise.
71071         * inet/aliases.h: Likewise.
71072         * inet/arpa/inet.h: Likewise.
71073         * inet/netinet/ether.h: Likewise.
71074         * inet/netinet/in.h: Likewise.
71075         * intl/libintl.h: Likewise.
71076         * io/bits/fcntl2.h: Likewise.
71077         * io/fcntl.h: Likewise.
71078         * io/ftw.h: Likewise.
71079         * io/sys/poll.h: Likewise.
71080         * io/sys/stat.h: Likewise.
71081         * io/sys/statfs.h: Likewise.
71082         * io/sys/statvfs.h: Likewise.
71083         * io/utime.h: Likewise.
71084         * libio/bits/stdio.h: Likewise.
71085         * libio/bits/stdio2.h: Likewise.
71086         * libio/libio.h: Likewise.
71087         * libio/libioP.h: Likewise.
71088         * libio/stdio.h: Likewise.
71089         * locale/lc-ctype.c: Likewise.
71090         * locale/locale.h: Likewise.
71091         * login/utmp.h: Likewise.
71092         * malloc/arena.c: Likewise.
71093         * malloc/malloc.c: Likewise.
71094         * malloc/malloc.h: Likewise.
71095         * malloc/mcheck.c: Likewise.
71096         * malloc/mtrace.c: Likewise.
71097         * math/bits/mathcalls.h: Likewise.
71098         * math/fenv.h: Likewise.
71099         * math/math_private.h: Likewise.
71100         * misc/bits/error.h: Likewise.
71101         * misc/bits/syslog.h: Likewise.
71102         * misc/err.h: Likewise.
71103         * misc/error.h: Likewise.
71104         * misc/fstab.h: Likewise.
71105         * misc/mntent.h: Likewise.
71106         * misc/regexp.h: Likewise.
71107         * misc/search.h: Likewise.
71108         * misc/sgtty.h: Likewise.
71109         * misc/sys/mman.h: Likewise.
71110         * misc/sys/syslog.h: Likewise.
71111         * misc/sys/uio.h: Likewise.
71112         * misc/sys/xattr.h: Likewise.
71113         * misc/ttyent.h: Likewise.
71114         * nis/rpcsvc/ypclnt.h: Likewise.
71115         * nss/nss.h: Likewise.
71116         * posix/bits/unistd.h: Likewise.
71117         * posix/fnmatch.h: Likewise.
71118         * posix/glob.h: Likewise.
71119         * posix/sched.h: Likewise.
71120         * posix/spawn.h: Likewise.
71121         * posix/sys/wait.h: Likewise.
71122         * posix/unistd.h: Likewise.
71123         * posix/wordexp.h: Likewise.
71124         * pwd/pwd.h: Likewise.
71125         * resolv/netdb.h: Likewise.
71126         * resource/sys/resource.h: Likewise.
71127         * rt/aio.h: Likewise.
71128         * rt/bits/mqueue2.h: Likewise.
71129         * rt/mqueue.h: Likewise.
71130         * shadow/shadow.h: Likewise.
71131         * signal/signal.h: Likewise.
71132         * socket/send.c: Likewise.
71133         * socket/sendto.c: Likewise.
71134         * socket/sys/socket.h: Likewise.
71135         * stdio-common/printf.h: Likewise.
71136         * stdlib/bits/stdlib.h: Likewise.
71137         * stdlib/fmtmsg.h: Likewise.
71138         * stdlib/monetary.h: Likewise.
71139         * stdlib/stdlib.h: Likewise.
71140         * stdlib/ucontext.h: Likewise.
71141         * streams/stropts.h: Likewise.
71142         * string/argz.h: Likewise.
71143         * string/bits/string2.h: Likewise.
71144         * string/string.h: Likewise.
71145         * string/strings.h: Likewise.
71146         * sunrpc/rpc/auth.h: Likewise.
71147         * sunrpc/rpc/auth_des.h: Likewise.
71148         * sunrpc/rpc/clnt.h: Likewise.
71149         * sunrpc/rpc/netdb.h: Likewise.
71150         * sunrpc/rpc/pmap_clnt.h: Likewise.
71151         * sunrpc/rpc/xdr.h: Likewise.
71152         * sysdeps/generic/inttypes.h: Likewise.
71153         * sysdeps/generic/net/if.h: Likewise.
71154         * sysdeps/generic/sys/swap.h: Likewise.
71155         * sysdeps/gnu/net/if.h: Likewise.
71156         * sysdeps/gnu/utmpx.h: Likewise.
71157         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71158         * sysdeps/i386/i486/bits/string.h: Likewise.
71159         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71160         * sysdeps/s390/bits/string.h: Likewise.
71161         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71162         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71163         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71164         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71165         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71166         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71167         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71168         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71169         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71170         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71171         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71172         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71173         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71174         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71175         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71176         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71177         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71180         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71181         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71182         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71183         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71184         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71185         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71186         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71187         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71188         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71189         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71190         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71191         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71192         * sysvipc/sys/ipc.h: Likewise.
71193         * sysvipc/sys/msg.h: Likewise.
71194         * sysvipc/sys/sem.h: Likewise.
71195         * sysvipc/sys/shm.h: Likewise.
71196         * termios/termios.h: Likewise.
71197         * time/sys/time.h: Likewise.
71198         * time/time.h: Likewise.
71199         * wcsmbs/bits/wchar2.h: Likewise.
71200         * wcsmbs/uchar.h: Likewise.
71201         * wcsmbs/wchar.h: Likewise.
71202         * wctype/wctype.h: Likewise.
71204         [BZ #13551]
71205         * Makeconfig: Remove all but ELF support including AIX support.
71206         * Makerules: Likewise.
71207         * config.h.in: Likewise.
71208         * config.make.in: Likewise.
71209         * configure: Likewise.
71210         * configure.in: Likewise.
71211         * csu/Makefile: Likewise.
71212         * csu/version.c: Likewise.
71213         * debug/Makefile: Likewise.
71214         * dlfcn/Makefile: Likewise.
71215         * elf/Makefile: Likewise.
71216         * extra-lib.mk: Likewise.
71217         * iconv/Makefile: Likewise.
71218         * include/libc-symbols.h: Likewise.
71219         * include/shlib-compat.h: Likewise.
71220         * resolv/Makefile: Likewise.
71221         * resolv/res_libc.c: Likewise.
71222         * rt/Makefile: Likewise.
71223         * sysdeps/i386/asm-syntax.h: Likewise.
71224         * sysdeps/i386/sysdep.h: Likewise.
71225         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71226         * sysdeps/mach/sysdep.h: Likewise.
71227         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71228         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71229         * sysdeps/s390/asm-syntax.h: Likewise.
71230         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71231         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71232         * sysdeps/sh/sysdep.h: Likewise.
71233         * sysdeps/unix/sparc/sysdep.h: Likewise.
71234         * sysdeps/wordsize-32/divdi3.c: Likewise.
71235         * sysdeps/x86_64/sysdep.h: Likewise.
71237         * argp/Versions: Remove _argp_unlock_xxx.
71239         [BZ #13559]
71240         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71241         * abilist/libBrokenLocale.abilist: Likewise.
71242         * abilist/libanl.abilist: Likewise.
71243         * abilist/libc.abilist: Likewise.
71244         * abilist/libcrypt.abilist: Likewise.
71245         * abilist/libdl.abilist: Likewise.
71246         * abilist/libm.abilist: Likewise.
71247         * abilist/libnsl.abilist: Likewise.
71248         * abilist/libpthread.abilist: Likewise.
71249         * abilist/libresolv.abilist: Likewise.
71250         * abilist/librt.abilist: Likewise.
71251         * abilist/libthread_db.abilist: Likewise.
71252         * abilist/libutil.abilist: Likewise.
71253         * abilist/libnss_db.abilist: New file.
71255         * scripts/abilist.awk: Add support for indirect functions.
71257         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71259         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71261         * shlib-versions: Remove entries for ports architectures.
71263         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71264         files in ports.
71265         * elf/stackguard-macros.h: Remove support for IA-64.
71266         * elf/tst-auditmod1.c: Likewise.
71267         * sysdeps/generic/ldsodefs.h: Likewise.
71269         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71270         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71271         configure files.
71273         [BZ #13552]
71274         * configure.in: Remove --enable-omitfp support.
71275         * FAQ.in: Adjust.
71276         * config.make.in: Likewise.
71277         * Makeconfig: Likewise.
71278         * manual/install.texi: Likewise.
71280         In case anyone cares, the IA-64 architecture could move to ports.
71281         * sysdeps/ia64/*: Removed.
71282         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71283         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71285         [BZ #13555]
71286         * configure.in: Remove entries for unsupported architectures.
71288         [BZ #13533]
71289         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71290         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71291         routines.
71292         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71293         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71294         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71295         fall back to using wcrtomb.
71296         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71297         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71298         renaming.
71299         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71300         * wcsmbs/tst-c16c32-1.c: New file.
71302         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71303         local variable.
71305         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71307         * elf/tst-unique3.cc: Add explicit declaration of gets.
71308         * elf/tst-unique3lib.cc: Likewise.
71309         * elf/tst-unique3lib2.cc: Likewise.
71310         * elf/tst-unique4.cc: Likewise.
71312         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71314 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71316         [BZ #13566]
71317         * assert/assert.h (static_assert): Don't define for C++.
71318         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71319         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71321 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71323         * iconv/loop.c (single loop): Fix assertion in storing of
71324         remaining bytes.
71326         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71328 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71330         * posix/getconf.c: Update copyright year.
71331         * nss/getent.c: Likewise.
71332         * nss/makedb.c: Likewise.
71333         * iconv/iconvconfig.c: Likewise.
71334         * iconv/iconv_prog.c: Likewise.
71335         * elf/ldconfig.c: Likewise.
71336         * elf/pldd.c: Likewise.
71337         * elf/sotruss.ksh: Likewise.
71338         * catgets/gencat.c: Likewise.
71339         * csu/version.c: Likewise.
71340         * elf/ldd.bash.in: Likewise.
71341         * elf/sprof.c (print_version): Likewise.
71342         * locale/programs/locale.c: Likewise.
71343         * locale/programs/localedef.c: Likewise.
71344         * login/programs/pt_chown.c: Likewise.
71345         * nscd/nscd.c (print_version): Likewise.
71346         * debug/xtrace.sh: Likewise.
71347         * malloc/memusage.sh: Likewise.
71348         * malloc/mtrace.pl: Likewise.
71349         * debug/catchsegv.sh: Likewise.
71351 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71353         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71354         pure attribute.
71356 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71358         [BZ #13533]
71359         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71360         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71361         transformations.
71362         * iconv/gconv_int.h: Likewise.
71363         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71364         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71365         from libc for GLIBC_2.16.
71366         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71367         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71368         * wcsmbs/uchar.h: Really define mbstate_t.
71369         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71370         * wcsmbs/c16rtomb.c: New file.
71371         * wcsmbs/mbrtoc16.c: New file.
71372         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71373         for C/POSIX locale.
71374         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71375         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71377         * wcsmbs/wchar.h: Add missing __restrict.
71379 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71381         [BZ #13532]
71382         * time/Makefile (routines): Add timespec_get.
71383         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71384         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71385         timespec for ISO C11.
71386         * time/timespec_get.c: New file.
71387         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71388         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71390         [BZ #13531]
71391         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71392         * stdlib/stdlib.h: Declare aligned_alloc.
71393         * Versions.def: Add GLIBC_2.16 for libc.
71394         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71396         [BZ 13527]
71397         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71398         ISO C11.
71400         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71401         code.
71403         [BZ #13528]
71404         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71406         [BZ #13529]
71407         * assert/assert.h (static_assert): Define.
71409         * version.h: Update for 2.16 development version.
71411         [BZ #13526]
71412         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71413         _ISOC11_SOURCE.
71415         * version.h (RELEASE): Bump for 2.15 release.
71416         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71418         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71419         Patch by Marek Polacek <mpolacek@redhat.com>.
71421         * bits/byteswap.h: Protect long long constants with __extension__.
71422         * sysdeps/i386/bits/byteswap.h: Likewise.
71423         * sysdeps/ia64/bits/byteswap.h: Likewise.
71424         * sysdeps/s390/bits/byteswap.h: Likewise.
71425         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71427 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71429         [BZ #13540]
71430         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71431         destination buffer.
71432         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71434 2011-12-23  Marek Polacek  <polacek@redhat.com>
71436         * elf/dl-addr.c (determine_info): Add inline keyword.
71437         * elf/tst-auditmod4b.c (check_avx): Likewise.
71438         * elf/tst-auditmod6b.c (check_avx): Likewise.
71439         * elf/tst-auditmod6c.c (check_avx): Likewise.
71440         * elf/tst-auditmod7b.c (check_avx): Likewise.
71442 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71444         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71445         !__SSE_MATH__.
71447 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71449         [BZ #13540]
71450         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71451         processing for last bytes.
71453 2011-08-06  Bruno Haible  <bruno@clisp.org>
71455         [BZ #13061]
71456         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71457         U+0385, not to U+1FEE.
71459         [BZ #13062]
71460         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71461         entry for U+00A5 U+0301.
71463 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71465         [BZ #13166]
71466         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71467         buffer for the output is too small.
71469         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71470         optimization.
71472         [BZ #13185]
71473         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71474         SSE flags if possible.
71476 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71478         [BZ #13540]
71479         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71480         processing for last bytes.
71482 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71484         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71485         (syscall-list-default-options, syscall-list-default-condition)
71486         (syscall-list-includes): Define.
71487         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71488         list of ABIs and options and #if conditions for each ABI.  Do not
71489         handle common syscalls between ABIs specially.
71490         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71491         Remove.
71492         (syscall-list-variants, syscall-list-32bit-options)
71493         (syscall-list-32bit-condition, syscall-list-64bit-options)
71494         (syscall-list-64bit-condition): Define.
71495         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71496         (syscall-list-variants, syscall-list-32bit-options)
71497         (syscall-list-32bit-condition, syscall-list-64bit-options)
71498         (syscall-list-64bit-condition): Define.
71499         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71500         Remove.
71501         (syscall-list-variants, syscall-list-32bit-options)
71502         (syscall-list-32bit-condition, syscall-list-64bit-options)
71503         (syscall-list-64bit-condition): Define.
71504         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71505         Remove.
71506         (syscall-list-variants, syscall-list-32bit-options)
71507         (syscall-list-32bit-condition, syscall-list-64bit-options)
71508         (syscall-list-64bit-condition): Define.
71510 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71512         * locale/iso-639.def: Add brx entry.
71514         [BZ #13328]
71515         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71516         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71518         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71519         __feraiseexcept_renamed.
71521 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71523         [BZ #13538]
71524         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71525         EPOLLET with unsigned values.
71526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71527         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71529         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71530         to large cancellation.
71531         * math/s_cacoshf.c: Likewise.
71532         * math/s_cacoshl.c: Likewise.
71534 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71536         [BZ #13305]
71537         [BZ #12786]
71538         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71539         * math/s_cacoshf.c: Likewise.
71540         * math/s_cacoshl.c: Likewise.
71542 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71544         [BZ #13439]
71545         * iconv/gconv.h: Define __GCONV_SWAP.
71546         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71547         * iconvdata/utf-16.c: Likewise.
71548         * iconvdata/utf-32.c: Likewise.
71550 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71552         [BZ #13524]
71553         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71554         numerator after shifting it by one limb.
71556 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71558         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71559         under [__USE_EXTERN_INLINES].
71561 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71563         [BZ #13446]
71564         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71566 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71568         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71569         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71570         optimized code.
71571         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71572         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71573         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71574         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71575         for strncasecmp/strncasecmp_l compilation.
71576         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71577         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71579 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71581         [BZ #13484]
71582         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71583         of __asm__.
71585 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71587         [BZ #13506]
71588         * time/tzfile.c (__tzfile_read): Check values from file header.
71590 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71592         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71593         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71594         * powerpc/powerpc32/dl-start.S: Likewise.
71595         * powerpc/powerpc32/elf/start.S: Likewise.
71596         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71597         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71598         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71599         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71600         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71601         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71602         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71603         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71604         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71605         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71606         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71607         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71608         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71609         * powerpc/powerpc32/memset.S: Likewise.
71610         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71611         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71612         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71613         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71614         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71615         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71616         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71617         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71618         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71619         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71620         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71621         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71622         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71624 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71626         * math/libm-test.inc: Added more nearbyint tests.
71627         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71628         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71630         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71632 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71634         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71635         FD_CLOEXEC.
71637 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71639         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71640         Add wcscpy-ssse3 wcscpy-c.
71641         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71642         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71643         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71644         * sysdeps/x86_64/wcschr.S: New file.
71645         * sysdeps/x86_64/wcsrchr.S: New file.
71646         * string/test-strcmp.c: Remove checking of wcscmp function for
71647         wrong alignments.
71648         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71649         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71650         wcsrchr-sse2 wcsrchr-c.
71651         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71652         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71653         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71654         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71655         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71656         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71657         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71658         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71659         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71660         * wcsmbc/wcschr.c (WCSCHR): New macro.
71662 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71664         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71665         * wcsmbs/test-wcsrchr.c: New file.
71666         * string/test-strrchr.c: Add wcsrchr support.
71667         (WIDE): New macro.
71668         * wcsmbs/test-wcscpy.c: New file.
71669         * string/test-strcpy.c: Add wcscpy support.
71670         (WIDE): New macro.
71672 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71674         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71675         the inner loop.
71677 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71679         [BZ #13472]
71680         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71682 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71684         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71685         Minor optimizations.
71687         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71688         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71689         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71691 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71693         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71694         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71695         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71696         for gcc to avoid warnings.
71697         * inet/Makefile (tests): Add tst-checks.
71698         * inet/tst-checks.c: New file.
71700         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71701         warning.
71703         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71704         __wmemcmp_sse2.
71706         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71707         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71709         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71711 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71713         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71714         problem.
71716         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71718 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71720         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71721         conditional on GCC version.
71722         (__arch_compare_and_exchange_val_8_acq)
71723         (__arch_compare_and_exchange_val_16_acq)
71724         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71725         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71726         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71728 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71730         * sysdeps/sh/backtrace.c: New file.
71732 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71734         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71735         parenthesis.
71737 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71739         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71740         falling back to utime.
71742 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71744         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71745         expectations for float.
71747 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71749         * locale/weight.h (findidx): Add parameter len.
71750         * locale/weightwc.h (findidx): Likewise.
71751         * posix/fnmatch_loop.c (FCT): Adjust caller.
71752         * posix/regcomp.c (build_equiv_class): Likewise.
71753         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71754         * posix/regexec.c (check_node_accept_bytes): Likewise.
71755         * string/strcoll_l.c (STRCOLL): Likewise.
71756         * string/strxfrm_l.c (STRXFRM): Likewise.
71758 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71760         * Makefile.in: Remove CVSOPT handling.
71761         * configure.in: Remove use of AC_REVISION.
71762         * iconvdata/Makefile (distribute): No need to filter out CVS.
71763         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71764         handling.
71766 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71769         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71770         [USE_AS_STRNCASECMP_L]: Likewise.
71771         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71772         NO_TLS_DIRECT_SEG_REFS.
71773         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71774         Fix argument offsets for non-PIC.
71775         [USE_AS_STRNCASECMP_L]: Likewise.
71776         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71777         NO_TLS_DIRECT_SEG_REFS.
71779 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71781         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71782         O_CLOEXEC.
71783         * locale/loadlocale.c (_nl_load_locale): Likewise.
71785 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71787         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71788         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71789         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71790         (SYSCALL_GETTIME): Set errno on error.
71792         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71793         count references to noai6ai_cached.
71795 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71797         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71799         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71800         FD_CLOEXEC for /proc/self/maps.
71802         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71803         FD_CLOEXEC for /proc/meminfo.
71805         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71806         gai.conf.
71808         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71809         FD_CLOEXEC for given file.
71811         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71813         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71814         FD_CLOEXEC for /etc/hosts.
71815         (_gethtent): Likewise.
71817         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71819         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71820         cancellation and set FD_CLOEXEC for /etc/netgroup.
71822         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71823         reading /etc/publickey.
71825         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71826         allow cancellation when reading /etc/group.
71828         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71829         cancellation.
71830         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71832         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71833         when using data file.
71835         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71837         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71838         (write_nis_obj): Use "c" and "e" in fopen.
71840         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71842         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71844         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71846         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71848         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71849         locale.alias.
71851         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71853         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71855         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71857         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71858         file parsing and set FD_CLOEXEC.
71860 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71862         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71864 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71866         * malloc/arena.c (arena_get2): Don't call reused_arena when
71867         _int_new_arena failed.
71869 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71871         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71872         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71873         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71874         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71876         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71877         to compile strcasecmp and strncasecmp.
71878         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71879         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71883 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71885         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71886         locale-defines.sym to gen-as-const-headers.
71887         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71888         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71890         to compile strcasecmp and strncasecmp.
71891         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71892         strcasecmp_l and strncasecmp_l.
71893         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71894         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71895         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71896         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71897         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71898         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71899         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71900         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71901         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71902         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71903         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71905 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71907         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71908         result of SYSDEP_GETTIME_CPU to retval.
71909         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71910         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71912         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71913         variable.
71915         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71916         mantissa words.
71917         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71920         from unused variable.
71922         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71923         DWARF definitions.
71924         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71925         for assembling.
71927         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71928         over namespaces.
71930         * sunrpc/rpc_prot.c (rejected): Fix case value.
71932         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71933         unsigned long long int to avoid warnings in shift.
71935         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71936         of use of trans.
71937         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71938         variable tmp.
71940         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71941         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71942         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71944         * nis/nis_table.c (nis_list): Use variable of correct type for
71945         result of __follow_path call.
71947 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71949         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71950         of math functions ceil, trunc, floor, round, and sqrt, when
71951         avaliable on the platform.
71952         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71953         name clash.
71954         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71955         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71956         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71958 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71960         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71961         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71963 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71965         * include/unistd.h: Fix __readlink return type.
71966         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71968 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71970         * stdlib/ucontext.h: Undo last change for makecontext.
71972 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71974         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71976         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71977         * setjmp/setjmp.h: Mark functions as non-leaf.
71978         * setjmp/bits/setjmp2.h: Likewise.
71979         * stdlib/ucontext.h: Likewise.
71981 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71983         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71984         (reused_arena): Don't check arena limit.
71985         (arena_get2): Atomically check arena limit.
71987 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71989         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71990         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71993         instructions.
71995 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71997         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71998         handler when locking.
72000         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72001         Fix size of allocated buffer.
72003 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72005         [BZ #10103]
72006         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72007         declarations for long double functions.
72008         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72010         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72012 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72014         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72015         installed.
72017         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72018         is disabled.
72020 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72022         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72024 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72026         * include/alloca.h (stackinfo_alloca_round): Define.
72027         (extend_alloca): Use it.
72028         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72029         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72030         here.
72032         * scripts/check-local-headers.sh: Ignore libaudit.h.
72034         * nscd/Makefile (extra-objs): Make recursively expanded.
72036 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72038         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72039         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72041         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72042         * posix/tst-rfc3484-2.c: Likewise.
72043         * posix/tst-rfc3484-3.c: Likewise.
72045         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72046         process_vm_writev.
72047         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72048         process_vm_writev.
72049         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72050         process_vm_writev from libc using GLIBC_2.15 version.
72052         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72054 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72056         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72057         stack usage.
72059 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72061         [BZ #13367]
72062         * nss/getent.c (initgroups_keys): Show error message in case no group
72063         names are given.
72065         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72066         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72067         __bump_nl_timestamp.
72068         * nscd/connections (nscd_init): When host database is served open
72069         netlink socket and request notification about configuration changes.
72070         (main_loop_poll): Track netlink file descriptor and bump timestamp
72071         in case data becomes available.
72072         (main_loop_epoll): Likewise.
72073         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72074         (database_pers_head): Add extra_data fileds.
72075         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72076         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72077         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72078         Adjust caller.
72079         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72080         in6ai data, call __free_in6ai.
72081         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72082         Add -DHAVE_NETLINK.
72083         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72084         interface information.  Reuse previous data if netlink timestamp
72085         is not changed.
72086         (__bump_nl_timestamp): New function.
72087         (__free_in6ai): New function.
72089 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72091         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72092         close_not_cancel_no_status here.
72093         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72095 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72097         [BZ #13276]
72098         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72099         return value.
72101         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72102         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72103         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72105 2011-07-03  Andreas Jaeger  <aj@suse.de>
72107         [BZ #10709]
72108         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72109         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72110         * math/libm-test.inc (sin_test): Add test case.
72112 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72114         [BZ #13337]
72115         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72116         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72118         * elf/chroot_canon.c (chroot_canon): Cleanups.
72120         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72122         [BZ #13335]
72123         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72124         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72126         * string/test-strchr.c: Make usable for strchrnul testing.
72127         * string/test-strchrnul.c: New file.
72128         * string/Makefile (strop-tests): Add strchrnul.
72130         * po/it.po: Update from translation team.
72131         * po/es.po: Likewise.
72133 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72135         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72136         the three constants needed as parameters.  Drop the others.
72137         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72138         __m128i_strloadu_tolower.
72139         Create and initialize variable zero and use it in all the places
72140         where _mm_setzero_si128 was used.
72142         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72143         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72144         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72145         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72146         anymore.
72147         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72148         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72149         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72150         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72151         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72152         __mpranred, __mptan.
72153         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72154         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72155         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72156         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72157         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72158         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72159         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72160         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72161         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72163 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72165         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72166         redefine if SHARED.
72167         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72169         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72170         wide char related routines to wcsmbs subdir.
72172 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72174         [BZ #13344]
72175         * misc/sys/cdefs.h (__THROWNL): Define.
72176         * posix/unistd.h: Use __THREADNL instead of __THREAD
72177         for memory synchronization functions.
72179 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72181         [BZ #13349]
72182         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72183         doesn't exist.
72184         * manual/stdio.texi (Obstack Streams): Node removed.
72186 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72188         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72189         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72190         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72192         * math/math_private.h (math_force_eval): Allow non-addressable
72193         arguments.
72194         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72198         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72199         file is not needed.
72201         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72203         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72204         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72205         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72206         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72207         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72208         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72209         Add AVX variants.
72210         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72211         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72212         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72213         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72214         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72215         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72216         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72217         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72218         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72219         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72220         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72221         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72222         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72223         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72224         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72225         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72226         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72227         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72228         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72230         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72231         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72233         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72234         place.  Use VEX encoding when compiling for AVX.
72236 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72238         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72239         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72241         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72245         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72246         useless if() expression.
72247         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72248         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72249         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72251         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72252         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72253         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72254         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72255         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72256         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72257         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72258         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72259         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72260         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72261         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72262         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72263         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72264         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72265         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72267         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72269 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72271         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72272         condition.
72273         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72275 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72277         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72278         .text section.  Avoid duplicate constants.
72279         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72281         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72283         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72284         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72286         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72287         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72288         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72289         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72290         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72291         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72292         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72293         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72294         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72295         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72296         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72297         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72299         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72300         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72301         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72302         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72303         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72304         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72305         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72306         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72307         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72308         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72309         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72310         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72311         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72312         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72313         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72314         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72315         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72316         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72317         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72318         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72319         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72320         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72321         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72322         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72323         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72325 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72327         * sysdeps/x86_64/dla.h: Move to ...
72328         * sysdeps/x86_64/fpu/dla.h: ...here.
72329         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72330         situations.  Use __builtin_fma only for gcc 4.6 and up.
72332         * config.make.in: Add have-mfma4 entry.
72333         * configure.in: Substitute libc_cv_cc_fma4.
72334         * math/Makefile (dbl-only-routines): Add sincostab.
72335         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72336         Use __sincostab not sincos.
72337         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72338         name is a macro.
72339         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72340         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72341         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72343         using __copysign.
72344         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72345         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72346         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72347         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72348         and __inv.
72349         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72350         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72351         __copysign.
72352         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72353         define aliases when function name is a macro.
72354         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72355         sysdeps/ieee754/dbl-64/sincos.tbl.
72356         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72357         fma4-enabled routines.
72358         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72359         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72360         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72361         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72362         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72363         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72364         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72365         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72366         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72367         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72368         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72369         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72370         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72371         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72373         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72374         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72375         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72376         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72377         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72378         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72379         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72380         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72381         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72383         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72384         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72385         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72386         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72387         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72389         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72390         rename.
72391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72400 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72402         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72404 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72406         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72408         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72409         prediction.
72410         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72412         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72413         Remove unused variable magic_bits.
72414         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72416         * string/strnlen.c: Define and use STRNLEN macro.
72417         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72418         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72419         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72420         * wcsmbs/wcslen.c: Define and use WCSLEN.
72421         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72422         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72423         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72424         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72425         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72426         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72427         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72429 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72432         strnlen-sse2-no-bsf.
72433         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72435         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72436         Add strnlen support.
72437         (USE_AS_STRNLEN): New macro.
72438         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72439         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72440         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72441         * sysdeps/x86_64/wcslen.S: New file.
72443 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72445         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72446         XMM-moves are used for copying on small sizes.
72448 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72450         * wcsmbs/Makefile (strop-tests): Add wcschr.
72451         * wcsmbs/test-wcschr.c: New file.
72452         * string/test-strchr.c: Update.
72453         Add wcschr support.
72454         (WIDE): New macro.
72456 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72458         * wcsmbs/Makefile (strop-tests): Add wcslen.
72459         * wcsmbs/test-wcslen.c: New file.
72460         * string/test-strlen.c: Update.
72461         Add wcslen support.
72462         (WIDE): New macro.
72464 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72466         * po/it.po: Update from translation team.
72468 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72470         * sysdeps/x86_64/wcscmp.S: Update.
72471         Fix wrong comparison semantics.
72472         wcscmp shall use signed comparison not unsigned.
72473         Don't use substraction to avoid overflow bug.
72474         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72475         * wcsmbc/wcscmp.c: Likewise.
72476         * string/test-strcmp.c: Likewise.
72477         Add new tests to check cases with negative values.
72479 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72481         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72482         * sysdeps/x86_64/dla.h: ...here.  New file.
72483         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72484         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72485         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72486         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72487         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72488         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72489         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72490         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72491         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72493 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72496         __ynl_finite aliases.
72498 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72502         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72503         define DLA_FMA.
72504         [DLA_FMA] (EMULV): Use DLA_FMA.
72505         [DLA_FMA] (MUL12): Use EMULV.
72506         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72507         that are not needed.
72508         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72510         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72511         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72512         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72513         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72514         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72516 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72518         * math/s_nan.c: Undef __nan.
72519         * math/s_nanf.c: Undef __nanf.
72520         * math/s_nanl.c: Undef __nanl.
72521         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72522         "math_private.h".
72524 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72526         * math/s_catan.c: Add branch predictions.
72527         * math/s_catanf.c: Likewise.
72528         * math/s_catanh.c: Likewise.
72529         * math/s_catanhf.c: Likewise.
72530         * math/s_catanhl.c: Likewise.
72531         * math/s_catanl.c: Likewise.
72532         * math/s_cexp.c: Likewise.
72533         * math/s_cexpf.c: Likewise.
72534         * math/s_cexpl.c: Likewise.
72535         * math/s_clog.c: Likewise.
72536         * math/s_clog10.c: Likewise.
72537         * math/s_clog10f.c: Likewise.
72538         * math/s_clog10l.c: Likewise.
72539         * math/s_clogf.c: Likewise.
72540         * math/s_clogl.c: Likewise.
72541         * math/s_csqrt.c: Likewise.
72542         * math/s_csqrtf.c: Likewise.
72543         * math/s_csqrtl.c: Likewise.
72544         * math/s_ctanf.c: Likewise.
72545         * math/s_ctanh.c: Likewise.
72546         * math/s_ctanhf.c: Likewise.
72547         * math/s_ctanhl.c: Likewise.
72548         * math/s_ctanl.c: Likewise.
72550         * math/math_private.h: Define __nan, __nanf, __nanl.
72551         * math/s_cacosh.c: Include <math_private.h>.
72552         * math/s_cacoshl.c: Likewise.
72553         * math/s_casinh.c: Likewise.
72554         * math/s_casinhf.c: Likewise.
72555         * math/s_casinhl.c: Likewise.
72556         * math/s_ccos.c: Rely entire on ccosh.
72557         * math/s_ccosf.c: Rely entire on ccoshf.
72558         * math/s_ccosl.c: Rely entirely on ccoshl.
72559         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72560         Remove tests for FE_INVALID.
72561         * math/s_ccoshf.c: Likewise.
72562         * math/s_ccoshl.c: Likewise.
72563         * math/s_csin.c: Likewise.
72564         * math/s_csinf.c: Likewise.
72565         * math/s_csinh.c Likewise.
72566         * math/s_csinhf.c: Likewise.
72567         * math/s_csinhl.c: Likewise.
72568         * math/s_csinl.c: Likewise.
72569         * math/s_ctan.c: Likewise.
72570         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72571         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72572         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72574 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72577         compilation problems.
72579         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72580         __builtin_expect.
72582 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72584         * sysdeps/i386/configure.in: Test for -mfma4 option.
72585         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72586         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72587         COMMON_CPUID_INDEX_80000001.
72588         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72589         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72590         use it if FMA3 is not supported.
72591         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72593         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72594         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72596 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72598         [BZ #12892]
72599         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72600         it would create a cycle with a link time dependency.
72602 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72604         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72605         instruction.
72606         * string/Makefile (strop-tests): Add rawmemchr.
72607         * string/test-rawmemchr.c: New file.
72609         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72610         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72611         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72612         when compiling str{,n}casecmp and when AVX is available.  Hook up
72613         new optimized code in initializers.
72615 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72617         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72618         __feraiseexcept instead of feraiseexcept.
72620 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72622         * math/math_private.h: Define defaults for libc_fetestexcept and
72623         libc_feupdateenv.
72624         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72625         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72626         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72627         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72628         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72629         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72630         libc_fetestexcept and libc_feupdateenv.
72632         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72633         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72634         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72635         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72636         libc_feholdexcept_setround.
72638         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72639         Add s_nearbyint-c and s_nearbyintf-c.
72640         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72641         nearbyintf inlines.
72642         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72643         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72644         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72645         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72647         * math/math_private.h: Define defaults for libc_fegetround,
72648         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72649         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72650         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72651         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72652         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72653         standard functions.
72654         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72655         Remove comments and hacks for old compiler versions.
72656         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72657         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72658         libc_feholdexceptl.
72660 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72662         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72663         (__feraiseexcept_renamed): Add __NTH.
72664         (feraiseexcept): Add __NTH.  Rename local variables to fix
72665         namespace violations.
72667 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72669         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72671         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72673         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72674         recently added interfaces.
72675         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72677         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72678         about macro parameter expansion.
72680         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72681         __NO_MATH_INLINES is defined.  Cleanups.
72683         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72684         and __floorf is target has SSE4.1.
72685         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72686         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72687         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72688         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72690         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72691         name.
72692         (floorf): Likewise.
72694         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72696 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72698         * misc/sys/cdefs.h: Fix last change.
72700         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72701         database lookup.
72703 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72705         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72707         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72709         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72710         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72712         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72713         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72714         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72715         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72716         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72717         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72718         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72719         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72720         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72721         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72722         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72723         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72724         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72725         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72726         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72727         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72728         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72730         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72731         ceil, ceilf, floor, floorf.
72733         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72734         Perform IRELATIVE relocations last.
72736         * elf/do-rel.h: Add another parameter nrelative, replacing the
72737         local variable with the same name.  Change name of the function
72738         to end in Rel or Rela (uppercase).
72739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72740         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72741         elf_dynamic_do_##reloc function.
72743 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72745         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72746         is sufficient, at least on modern CPUs.
72748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72750         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72751         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72753         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72754         __expl_finite.
72755         * math/bits/math-finite.h: Add entries for exp.
72756         * math/e_expl.c: Add __*_finite alias.
72757         * sysdeps/i386/fpu/e_exp.S: Likewise.
72758         * sysdeps/i386/fpu/e_expf.S: Likewise.
72759         * sysdeps/i386/fpu/e_expl.c: Likewise.
72760         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72761         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72764         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72765         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72766         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72768         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72769         is sufficient, at least on modern CPUs.
72771         * ctype/ctype-info.c (__ctype_init): Define.
72772         * include/ctype.h (__ctype_init): Declare.
72773         (__ctype_b_loc): The variable is always initialized.
72774         (__ctype_toupper_loc): Likewise.
72775         (__ctype_tolower_loc): Likewise.
72776         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72777         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72779 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72781         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72783         * configure.in: Also look in $cxxmachine/include for C++ system
72784         headers.
72786 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72788         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72789         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72790         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72791         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72792         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72793         (USE_AS_WMEMCMP): New macro.
72794         Fixing indents.
72795         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72796         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72797         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72798         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72799         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72800         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72801         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72802         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72803         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72804         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72805         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72806         (USE_AS_WMEMCMP): New macro.
72807         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72808         * sysdeps/string/test-memcmp.c: Update.
72809         Fix simple_wmemcmp.
72810         Add new tests.
72811         * wcsmbs/wmemcmp.c: Update.
72812         (WMEMCMP): New macro.
72813         Fix overflow bug.
72815 2011-10-12  Andreas Jaeger  <aj@suse.de>
72817         [BZ #13268]
72818         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72820 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72822         * libio/iofwide.c (do_length): Avoid warning.
72824         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72826 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72828         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72830         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72831         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72832         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72833         * sysdeps/i386/i686/fpu/e_log.S: New file.
72834         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72835         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72837         * ctype/ctype.h: Add support for inlined isXXX functions when
72838         compiling C++ code.
72840 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72842         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72844         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72846 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72848         [BZ #13291]
72849         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72851 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72853         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72854         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72855         feraiseexcept.
72857         * sysdeps/x86_64/memrchr.S: Check for zero size.
72859         * string/stratcliff.c: Add memrchr tests.
72861 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72864         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72865         rawmemchr-sse2 rawmemchr-sse2-bsf.
72866         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72867         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72868         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72869         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72870         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72871         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72872         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72873         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72874         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72875         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72876         * string/memrchr.c (MEMRCHR): New macro.
72878 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72880         Add integration with gcc's -ffinite-math-only and optimize wrapper
72881         functions in libm.
72882         * Versions.def: Define GLIBC_2.15 version for libm.
72883         * math/Makefile (headers): Add bits/math-finite.h.
72884         * math/bits/math-finite.h: New file.
72885         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72886         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72887         * math/e_acoshl.c: Add __*_finite alias.
72888         * math/e_acosl.c: Likewise.
72889         * math/e_asinl.c: Likewise.
72890         * math/e_atan2l.c: Likewise.
72891         * math/e_atanhl.c: Likewise.
72892         * math/e_coshl.c: Likewise.
72893         * math/e_exp10.c: Likewise.
72894         * math/e_exp10f.c: Likewise.
72895         * math/e_exp10l.c: Likewise.
72896         * math/e_exp2l.c: Likewise.
72897         * math/e_fmodl.c: Likewise.
72898         * math/e_gammal_r.c: Likewise.
72899         * math/e_hypotl.c: Likewise.
72900         * math/e_j0l.c: Likewise.
72901         * math/e_j1l.c: Likewise.
72902         * math/e_jnl.c: Likewise.
72903         * math/e_lgammal_r.c: Likewise.
72904         * math/e_log10l.c: Likewise.
72905         * math/e_log2l.c: Likewise.
72906         * math/e_logl.c: Likewise.
72907         * math/e_powl.c: Likewise.
72908         * math/e_sinhl.c: Likewise.
72909         * math/e_sqrtl.c: Likewise.
72910         * math/e_scalb.c: Completely rewritten and optimized.
72911         * math/e_scalbf.c: Likewise.
72912         * math/e_scalbl.c: Likewise.
72913         * math/w_acos.c: Likewise.
72914         * math/w_acosf.c: Likewise.
72915         * math/w_acosl.c: Likewise.
72916         * math/w_acosh.c: Likewise.
72917         * math/w_acoshf.c: Likewise.
72918         * math/w_acoshl.c: Likewise.
72919         * math/w_asin.c: Likewise.
72920         * math/w_asinf.c: Likewise.
72921         * math/w_asinl.c: Likewise.
72922         * math/w_atan2.c: Likewise.
72923         * math/w_atan2f.c: Likewise.
72924         * math/w_atan2l.c: Likewise.
72925         * math/w_atanh.c: Likewise.
72926         * math/w_atanhf.c: Likewise.
72927         * math/w_atanhl.c: Likewise.
72928         * math/w_exp10.c: Likewise.
72929         * math/w_exp10f.c: Likewise.
72930         * math/w_exp10l.c: Likewise.
72931         * math/w_fmod.c: Likewise.
72932         * math/w_fmodf.c: Likewise.
72933         * math/w_fmodl.c: Likewise.
72934         * math/w_j0.c: Likewise.
72935         * math/w_j0f.c: Likewise.
72936         * math/w_j0l.c: Likewise.
72937         * math/w_j1.c: Likewise.
72938         * math/w_j1f.c: Likewise.
72939         * math/w_j1l.c: Likewise.
72940         * math/w_jn.c: Likewise.
72941         * math/w_jnf.c: Likewise.
72942         * math/w_log.c: Likewise.
72943         * math/w_logf.c: Likewise.
72944         * math/w_logl.c: Likewise.
72945         * math/w_log10.c: Likewise.
72946         * math/w_log10f.c: Likewise.
72947         * math/w_log10l.c: Likewise.
72948         * math/w_log2.c: Likewise.
72949         * math/w_log2f.c: Likewise.
72950         * math/w_log2l.c: Likewise.
72951         * math/w_pow.c: Likewise.
72952         * math/w_powf.c: Likewise.
72953         * math/w_powl.c: Likewise.
72954         * math/w_remainder.c: Likewise.
72955         * math/w_remainderf.c: Likewise.
72956         * math/w_remainderl.c: Likewise.
72957         * math/w_scalb.c: Likewise.
72958         * math/w_scalbf.c: Likewise.
72959         * math/w_scalbl.c: Likewise.
72960         * math/w_sqrt.c: Likewise.
72961         * math/w_sqrtf.c: Likewise.
72962         * math/w_sqrtl.c: Likewise.
72963         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72964         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72965         used.
72966         * math/math_private.h: Declare __kernel_standard_f.
72967         * math/w_cosh.c: Remove cruft and optimize a bit.
72968         * math/w_coshf.c: Likewise.
72969         * math/w_coshl.c: Likewise.
72970         * math/w_exp2.c: Likewise.
72971         * math/w_exp2f.c: Likewise.
72972         * math/w_exp2l.c: Likewise.
72973         * math/w_hypot.c: Likewise.
72974         * math/w_hypotf.c: Likewise.
72975         * math/w_hypotl.c: Likewise.
72976         * math/w_lgamma.c: Likewise.
72977         * math/w_lgamma_r.c: Likewise.
72978         * math/w_lgammaf.c: Likewise.
72979         * math/w_lgammaf_r.c: Likewise.
72980         * math/w_lgammal.c: Likewise.
72981         * math/w_lgammal_r.c: Likewise.
72982         * math/w_sinh.c: Likewise.
72983         * math/w_sinhf.c: Likewise.
72984         * math/w_sinhl.c: Likewise.
72985         * math/w_tgamma.c: Likewise.
72986         * math/w_tgammaf.c: Likewise.
72987         * math/w_tgammal.c: Likewise.
72988         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72989         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72990         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72991         Minor optimizations.  Pretty printing.  Remove cruft.
72992         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72993         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72994         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72995         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72996         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72997         * sysdeps/i386/fpu/e_asin.S: Likewise.
72998         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72999         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73000         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73001         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73002         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73003         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73004         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73005         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73006         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73007         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73008         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73009         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73010         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73011         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73012         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73013         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73014         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73015         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73016         * sysdeps/i386/fpu/e_log.S: Likewise.
73017         * sysdeps/i386/fpu/e_log10.S: Likewise.
73018         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73019         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73020         * sysdeps/i386/fpu/e_log2.S: Likewise.
73021         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73022         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73023         * sysdeps/i386/fpu/e_logf.S: Likewise.
73024         * sysdeps/i386/fpu/e_logl.S: Likewise.
73025         * sysdeps/i386/fpu/e_pow.S: Likewise.
73026         * sysdeps/i386/fpu/e_powf.S: Likewise.
73027         * sysdeps/i386/fpu/e_powl.S: Likewise.
73028         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73029         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73030         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73031         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73032         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73033         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73034         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73035         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73036         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73037         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73038         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73040         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73041         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73042         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73043         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73044         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73045         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73046         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73047         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73048         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73049         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73050         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73051         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73052         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73053         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73054         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73057         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73058         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73059         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73060         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73061         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73062         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73063         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73064         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73065         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73066         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73067         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73068         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73069         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73070         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73071         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73072         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73073         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73074         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73075         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73076         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73077         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73078         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73079         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73080         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73081         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73082         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73083         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73084         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73085         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73086         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73087         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73088         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73089         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73090         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73092         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73093         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73094         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73095         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73096         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73097         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73098         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73101         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73102         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73103         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73104         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73105         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73106         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73107         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73108         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73109         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73110         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73111         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73112         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73113         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73114         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73115         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73116         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73117         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73118         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73119         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73120         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73121         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73122         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73123         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73124         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73125         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73126         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73127         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73128         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73129         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73130         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73131         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73132         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73133         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73134         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73135         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73136         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73137         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73138         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73139         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73140         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73141         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73142         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73143         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73144         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73145         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73146         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73147         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73148         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73149         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73150         (__isnanf): Likewise.
73151         (__isinf_ns): Likewise.
73152         (__isinf_nsf): Likewise.
73153         (__finite): Likewise.
73154         (__finitef): Likewise.
73155         (__ieee754_sqrt): Define as macro.
73156         (__ieee754_sqrtf): Define as macro.
73157         (__ieee754_sqrtl): Define as macro.
73158         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73159         inlined copy.
73160         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73161         __FINITE_MATH_ONLY__ consistent.
73162         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73164 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73166         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73167         of rawmemchr.
73169         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73171 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73173         * po/ja.po: Update from translation team.
73175 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73177         * locale/programs/locarchive.c (prepare_address_space): New function.
73178         (create_archive, enlarge_archive, open_archive): Use it.
73180         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73181         inside [SHARED], where it is used.
73183         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73185         * nss/getent.c (netgroup_keys): Remove unused variable.
73186         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73188 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73190         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73191         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73192         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73193         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73194         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73195         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73196         * math/Makefile (libm-calls): Add s_isinf_ns.
73197         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73198         * math/multc3.c: Likewise.
73199         * math/s_casin.c: Likewise.
73200         * math/s_casinf.c: Likewise.
73201         * math/s_casinl.c: Likewise.
73202         * math/s_ccos.c: Likewise.
73203         * math/s_ccosf.c: Likewise.
73204         * math/s_ccosl.c: Likewise.
73205         * math/s_ctan.c: Likewise.
73206         * math/s_ctanf.c: Likewise.
73207         * math/s_ctanh.c: Likewise.
73208         * math/s_ctanhf.c: Likewise.
73209         * math/s_ctanhl.c: Likewise.
73210         * math/s_ctanl.c: Likewise.
73211         * math/w_fmod.c: Likewise.
73212         * math/w_fmodf.c: Likewise.
73213         * math/w_fmodl.c: Likewise.
73214         * math/w_remainder.c: Likewise.
73215         * math/w_remainderf.c: Likewise.
73216         * math/w_remainderl.c: Likewise.
73217         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73218         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73220         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73221         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73222         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73223         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73224         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73226         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73227         of the number.
73228         * stdio-common/printf_fphex.c: Likewise.
73229         * stdio-common/printf_size.c: Likewise.
73231         * math/e_exp10.c: Include math_private.h using <...> not "...".
73232         * math/e_exp10f.c: Likewise.
73233         * math/e_exp10l.c: Likewise.
73234         * math/e_exp2l.c: Likewise.
73235         * math/e_j0l.c: Likewise.
73236         * math/e_j1l.c: Likewise.
73237         * math/e_jnl.c: Likewise.
73238         * math/e_lgammal_r.c: Likewise.
73239         * math/e_rem_pio2l.c: Likewise.
73240         * math/e_scalb.c: Likewise.
73241         * math/e_scalbf.c: Likewise.
73242         * math/e_scalbl.c: Likewise.
73243         * math/k_cosl.c: Likewise.
73244         * math/k_sinl.c: Likewise.
73245         * math/k_tanl.c: Likewise.
73246         * math/s_cacoshf.c: Likewise.
73247         * math/s_catan.c: Likewise.
73248         * math/s_catanf.c: Likewise.
73249         * math/s_catanh.c: Likewise.
73250         * math/s_catanhf.c: Likewise.
73251         * math/s_catanhl.c: Likewise.
73252         * math/s_catanl.c: Likewise.
73253         * math/s_ccosh.c: Likewise.
73254         * math/s_ccoshf.c: Likewise.
73255         * math/s_ccoshl.c: Likewise.
73256         * math/s_cexp.c: Likewise.
73257         * math/s_cexpf.c: Likewise.
73258         * math/s_cexpl.c: Likewise.
73259         * math/s_clog.c: Likewise.
73260         * math/s_clog10.c: Likewise.
73261         * math/s_clog10f.c: Likewise.
73262         * math/s_clog10l.c: Likewise.
73263         * math/s_clogf.c: Likewise.
73264         * math/s_clogl.c: Likewise.
73265         * math/s_csin.c: Likewise.
73266         * math/s_csinf.c: Likewise.
73267         * math/s_csinh.c: Likewise.
73268         * math/s_csinhf.c: Likewise.
73269         * math/s_csinhl.c: Likewise.
73270         * math/s_csinl.c: Likewise.
73271         * math/s_csqrt.c: Likewise.
73272         * math/s_csqrtf.c: Likewise.
73273         * math/s_csqrtl.c: Likewise.
73274         * math/s_ctan.c: Likewise.
73275         * math/s_ctanf.c: Likewise.
73276         * math/s_ctanh.c: Likewise.
73277         * math/s_ctanhf.c: Likewise.
73278         * math/s_ctanhl.c: Likewise.
73279         * math/s_ctanl.c: Likewise.
73280         * math/s_ldexp.c: Likewise.
73281         * math/s_ldexpf.c: Likewise.
73282         * math/s_ldexpl.c: Likewise.
73283         * math/s_significand.c: Likewise.
73284         * math/s_significandf.c: Likewise.
73285         * math/s_significandl.c: Likewise.
73286         * math/w_acos.c: Likewise.
73287         * math/w_acosf.c: Likewise.
73288         * math/w_acosh.c: Likewise.
73289         * math/w_acoshf.c: Likewise.
73290         * math/w_acoshl.c: Likewise.
73291         * math/w_acosl.c: Likewise.
73292         * math/w_asin.c: Likewise.
73293         * math/w_asinf.c: Likewise.
73294         * math/w_asinl.c: Likewise.
73295         * math/w_atan2.c: Likewise.
73296         * math/w_atan2f.c: Likewise.
73297         * math/w_atan2l.c: Likewise.
73298         * math/w_atanh.c: Likewise.
73299         * math/w_atanhf.c: Likewise.
73300         * math/w_atanhl.c: Likewise.
73301         * math/w_cosh.c: Likewise.
73302         * math/w_coshf.c: Likewise.
73303         * math/w_coshl.c: Likewise.
73304         * math/w_dremf.c: Likewise.
73305         * math/w_exp10.c: Likewise.
73306         * math/w_exp10f.c: Likewise.
73307         * math/w_exp10l.c: Likewise.
73308         * math/w_exp2.c: Likewise.
73309         * math/w_exp2f.c: Likewise.
73310         * math/w_fmod.c: Likewise.
73311         * math/w_fmodf.c: Likewise.
73312         * math/w_fmodl.c: Likewise.
73313         * math/w_hypot.c: Likewise.
73314         * math/w_hypotf.c: Likewise.
73315         * math/w_hypotl.c: Likewise.
73316         * math/w_j0.c: Likewise.
73317         * math/w_j0f.c: Likewise.
73318         * math/w_j0l.c: Likewise.
73319         * math/w_j1.c: Likewise.
73320         * math/w_j1f.c: Likewise.
73321         * math/w_j1l.c: Likewise.
73322         * math/w_jn.c: Likewise.
73323         * math/w_jnf.c: Likewise.
73324         * math/w_jnl.c: Likewise.
73325         * math/w_lgamma.c: Likewise.
73326         * math/w_lgamma_r.c: Likewise.
73327         * math/w_lgammaf.c: Likewise.
73328         * math/w_lgammaf_r.c: Likewise.
73329         * math/w_lgammal.c: Likewise.
73330         * math/w_lgammal_r.c: Likewise.
73331         * math/w_log.c: Likewise.
73332         * math/w_log10.c: Likewise.
73333         * math/w_log10f.c: Likewise.
73334         * math/w_log10l.c: Likewise.
73335         * math/w_log2.c: Likewise.
73336         * math/w_log2f.c: Likewise.
73337         * math/w_log2l.c: Likewise.
73338         * math/w_logf.c: Likewise.
73339         * math/w_logl.c: Likewise.
73340         * math/w_pow.c: Likewise.
73341         * math/w_powf.c: Likewise.
73342         * math/w_powl.c: Likewise.
73343         * math/w_remainder.c: Likewise.
73344         * math/w_remainderf.c: Likewise.
73345         * math/w_remainderl.c: Likewise.
73346         * math/w_scalb.c: Likewise.
73347         * math/w_scalbf.c: Likewise.
73348         * math/w_scalbl.c: Likewise.
73349         * math/w_sinh.c: Likewise.
73350         * math/w_sinhf.c: Likewise.
73351         * math/w_sinhl.c: Likewise.
73352         * math/w_sqrt.c: Likewise.
73353         * math/w_sqrtf.c: Likewise.
73354         * math/w_sqrtl.c: Likewise.
73355         * math/w_tgamma.c: Likewise.
73356         * math/w_tgammaf.c: Likewise.
73357         * math/w_tgammal.c: Likewise.
73359         * po/ja.po: Update from translation team.
73361 2011-09-29  Andreas Jaeger  <aj@suse.de>
73363         [BZ #13179]
73364         * sunrpc/netname.c (netname2host): Fix logic.
73366         [BZ #6779]
73367         [BZ #6783]
73368         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73369         correctly.
73370         * math/w_remainder.c (__remainder): Likewise.
73371         * math/w_remainderf.c (__remainderf): Likewise.
73372         * math/libm-test.inc (remainder_test): Add test cases.
73374 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73376         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73377         sdiv_qrnnd.
73379 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73381         * string/test-memcmp.c: Avoid unncessary #defines.
73382         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73384 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73386         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73387         Use new sse2 version for core i3 - i7 as it's faster
73388         than sse42 version.
73389         (bit_Prefer_PMINUB_for_stringop): New.
73390         * sysdeps/x86_64/rawmemchr.S: Update.
73391         Replace with faster SSE2 version.
73392         * sysdeps/x86_64/memrchr.S: New file.
73393         * sysdeps/x86_64/memchr.S: Update.
73394         Replace with faster SSE2 version.
73396 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73398         * elf/dl-load.c (lose): Add cast to avoid warning.
73400 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73402         * po/ca.po: Update from translation team.
73404         * inet/getnetgrent_r.c: Hook up nscd.
73405         * nscd/Makefile (routines): Add nscd_netgroup.
73406         (nscd-modules): Add netgroupcache.
73407         (CFLAGS-netgroupcache.c): Define.
73408         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73409         (cache_search): Add const to second parameter.
73410         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73411         INNETGR.
73412         (dbs): Add netgrdb entry.
73413         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73414         (verify_persistent_db): Handle netgrdb.
73415         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73416         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73417         GETFDNETGR.
73418         (netgroup_response_header): Define.
73419         (innetgroup_response_header): Define.
73420         (datahead): Add netgroup_response_header and innetgroup_response_header
73421         elements.
73422         * nscd/nscd.conf: Add entries for netgroup cache.
73423         * nscd/nscd.h (dbtype): Add netgrdb.
73424         (_PATH_NSCD_NETGROUP_DB): Define.
73425         (netgroup_iov_disabled): Declare.
73426         (xmalloc, xcalloc, xrealloc): Move declarations here.
73427         (cache_search): Adjust prototype.
73428         Add netgroup-related prototypes.
73429         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73430         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73431         (__nscd_innetgr): Declare.
73432         * nscd/selinux.c (perms): Use access_vector_t as element type and
73433         add netgroup-related initializers.
73434         * nscd/netgroupcache.c: New file.
73435         * nscd/nscd_netgroup.c: New file.
73436         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73437         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73438         For four parameters use innetgr.
73439         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73440         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73441         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73442         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73444         * nscd/connections.c (register_traced_file): Don't register file
73445         for disabled databases.
73447 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73449         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73451         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73452         from tree and freeing node.
73454 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73456         * nss/nsswitch.c (__nss_database_lookup): Handle
73457         nss_parse_service_list out of memory case.
73459 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73461         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73462         out of memory case.
73464 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73466         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73467         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73468         pass it down.
73469         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73470         elf_machine_rela, elf_machine_lazy_rel.
73471         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73472         (ELF_DYNAMIC_DO_REL): Likewise.
73473         (ELF_DYNAMIC_DO_RELA): Likewise.
73474         (ELF_DYNAMIC_RELOCATE): Likewise.
73475         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73476         to ELF_DYNAMIC_DO_REL.
73477         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73478         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73479         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73480         elf_machine_rela.
73481         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73482         skip_ifunc, don't call ifunc function if non-zero.
73483         (elf_machine_rela): Likewise.
73484         (elf_machine_lazy_rel): Likewise.
73485         (elf_machine_lazy_rela): Likewise.
73486         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73487         (elf_machine_lazy_rel): Likewise.
73488         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73489         Likewise.
73490         (elf_machine_lazy_rel): Likewise.
73491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73492         Likewise.
73493         (elf_machine_lazy_rel): Likewise.
73494         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73495         (elf_machine_lazy_rel): Likewise.
73496         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73497         (elf_machine_lazy_rel): Likewise.
73498         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73499         (elf_machine_lazy_rel): Likewise.
73500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73501         (elf_machine_lazy_rel): Likewise.
73502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73503         (elf_machine_lazy_rel): Likewise.
73504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73505         (elf_machine_lazy_rel): Likewise.
73507 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73509         * nss/nss_files/files-init.c (_nss_files_init): Use static
73510         initialization for all the *_traced_file variables.
73512 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73514         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73516 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73518         [BZ #13226]
73519         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73521 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73523         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73524         Reread the line before reparsing it.
73526 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73528         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73530 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73531             Maxim Kuvyrkov  <maxim@codesourcery.com>
73532             Joseph Myers  <joseph@codesourcery.com>
73534         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73535         if needed for __stack_chk_guard.
73537 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73539         * sysdeps/posix/spawni.c (script_execute): Always define it.
73540         It will be optimized away if unused.
73541         (maybe_script_execute): New function.
73542         (__spawni): Call it.
73544         * Makerules: Don't include tls.make.
73545         (config-tls): Always set to thread.
73546         * tls.make.c: File removed.
73548 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73550         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73551         * config.make.in (CPPFLAGS-config): New substituted variable.
73553 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73555         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73557         [BZ #13192]
73558         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73559         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73561 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73563         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73564         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73565         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73566         (CALL_FAIL): Likewise.
73567         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73568         (CALL_FAIL): Macro removed.
73569         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73571 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73573         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73574         for __FINITE_MATH_ONLY__ == 1.
73576 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73578         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73579         __ieee754_sqrt instead of sqrt.
73580         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73581         __ieee754_sqrtf instead of sqrtf.
73582         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73583         __floorf instead of floorf.
73584         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73585         __floorf, __truncf instead of floorf, truncf.
73587 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73589         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73591         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73592         __extern_always_inline.
73593         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73594         32-bit.
73596 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73598         * elf/rtld.c (dl_main): Also relocate in dependency order when
73599         doing symbol dependency testing.
73601 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73603         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73604         Always define `refsym'.
73606 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73608         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73609         (__FD_ELT): Renamed from __FDELT.
73610         * misc/bits/select2.h (__FD_ELT): Likewise.
73611         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73612         __FD_MASK instead of __FDELT, __FDMASK.
73613         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73614         Likewise.
73615         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73616         Likewise.
73618         * elf/Makefile (gen-ldd): Fix pattern.
73620         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73621         (init_tls): Likewise.
73623 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73625         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73627 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73629         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73630         `struct cmsghdr *' instead of `void *'.
73631         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73632         Likewise.
73634 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73636         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73637         if non-absolute.
73638         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73639         ldd_rewrite_script.
73641 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73643         * configure.in: Remove --with-tls option.
73644         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73645         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73646         out in case it is missing.
73647         * sysdeps/ia64/elf/configure.in: Likewise.
73648         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73649         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73650         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73651         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73652         * sysdeps/sh/elf/configure.in: Likewise.
73653         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73654         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73655         * sysdeps/x86_64/elf/configure.in: Likewise.
73656         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73657         * sysdeps/mach/hurd/tls.h: Likewise.
73659         [BZ #13067]
73660         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73662         [BZ #13090]
73663         * configure.in: Fix use of AC_INIT.
73665         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73667 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73669         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73670         __set_errno.
73671         * malloc/hooks.c: Likewise.
73673         [BZ #11929]
73674         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73675         variables statically.
73676         (narenas): Initialize.
73677         (list_lock): Initialize.
73678         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73679         initializtion of main_arena and list_lock.  Small cleanups.
73680         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73681         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73682         Add initializers to main_arena and mp_.
73683         (malloc_state): Remove pagesize member.  Change all users to use
73684         GLRO(dl_pagesize).
73686         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73687         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73688         is always initialized.
73690         * malloc/malloc.c: Removed unused configurations and dead code.
73691         * malloc/arena.c: Likewise.
73692         * malloc/hooks.c: Likewise.
73693         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73695         * include/tls.h: Removed.  USE___THREAD must always be defined.
73696         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73697         * elf/dl-libc.c: Likewise.
73698         * elf/dl-tsd.c: Likewise.
73699         * include/errno.h: Likewise.
73700         * include/netdb.h: Likewise.
73701         * include/resolv.h: Likewise.
73702         * inet/herrno-loc.c: Likewise.
73703         * inet/herrno.c: Likewise.
73704         * malloc/arena.c: Likewise.
73705         * malloc/hooks.c: Likewise.
73706         * malloc/malloc.c: Likewise.
73707         * resolv/res-state.c: Likewise.
73708         * resolv/res_libc.c: Likewise.
73709         * sysdeps/i386/dl-machine.h: Likewise.
73710         * sysdeps/ia64/dl-machine.h: Likewise.
73711         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73712         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73713         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73714         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73715         * sysdeps/sh/dl-machine.h: Likewise.
73716         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73717         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73718         * sysdeps/unix/i386/sysdep.S: Likewise.
73719         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73720         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73721         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73722         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73723         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73724         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73726         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73729         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73730         * sysdeps/x86_64/dl-machine.h: Likewise.
73731         * tls.make.c: Likewise.
73733         * configure.in: Remove --with-__thread option.  Make tests for
73734         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73735         tls_model attribute fail if no support is available.  Remove
73736         USE_IN_LIBIO.
73737         * Makeconfig: Adjust for dropped configure option.  All features are
73738         now mandatory.
73739         * Makerules: Likewise.
73740         * Versions.def: Likewise.
73741         * argp/argp-fmtstream.c: Likewise.
73742         * argp/argp-fmtstream.h: Likewise.
73743         * argp/argp-help.c: Likewise.
73744         * assert/assert.c: Likewise.
73745         * config.h.in: Likewise.
73746         * config.make.in: Likewise.
73747         * configure: Likewise.
73748         * configure.in: Likewise.
73749         * csu/Versions: Likewise.
73750         * csu/init.c: Likewise.
73751         * elf/tst-audit2.c: Likewise.
73752         * elf/tst-tls10.c: Likewise.
73753         * elf/tst-tls10.h: Likewise.
73754         * elf/tst-tls11.c: Likewise.
73755         * elf/tst-tls12.c: Likewise.
73756         * elf/tst-tls14.c: Likewise.
73757         * elf/tst-tlsmod11.c: Likewise.
73758         * elf/tst-tlsmod12.c: Likewise.
73759         * elf/tst-tlsmod13.c: Likewise.
73760         * elf/tst-tlsmod13a.c: Likewise.
73761         * elf/tst-tlsmod14a.c: Likewise.
73762         * elf/tst-tlsmod15b.c: Likewise.
73763         * elf/tst-tlsmod16a.c: Likewise.
73764         * elf/tst-tlsmod16b.c: Likewise.
73765         * elf/tst-tlsmod7.c: Likewise.
73766         * elf/tst-tlsmod8.c: Likewise.
73767         * elf/tst-tlsmod9.c: Likewise.
73768         * gmon/gmon.c: Likewise.
73769         * grp/fgetgrent_r.c: Likewise.
73770         * grp/putgrent.c: Likewise.
73771         * hurd/fopenport.c: Likewise.
73772         * include/libc-symbols.h: Likewise.
73773         * include/tls.h: Likewise.
73774         * intl/gettextP.h: Likewise.
73775         * intl/loadinfo.h: Likewise.
73776         * locale/global-locale.c: Likewise.
73777         * locale/localeinfo.h: Likewise.
73778         * mach/devstream.c: Likewise.
73779         * malloc/arena.c: Likewise.
73780         * malloc/set-freeres.c: Likewise.
73781         * misc/err.c: Likewise.
73782         * misc/getttyent.c: Likewise.
73783         * misc/mntent_r.c: Likewise.
73784         * posix/getopt.c: Likewise.
73785         * posix/wordexp.c: Likewise.
73786         * pwd/fgetpwent_r.c: Likewise.
73787         * resolv/Versions: Likewise.
73788         * resolv/res_hconf.c: Likewise.
73789         * shadow/fgetspent_r.c: Likewise.
73790         * shadow/putspent.c: Likewise.
73791         * stdio-common/printf_fphex.c: Likewise.
73792         * stdio-common/tmpfile.c: Likewise.
73793         * stdlib/abort.c: Likewise.
73794         * stdlib/fmtmsg.c: Likewise.
73795         * sunrpc/auth_unix.c: Likewise.
73796         * sunrpc/clnt_perr.c: Likewise.
73797         * sunrpc/clnt_tcp.c: Likewise.
73798         * sunrpc/clnt_udp.c: Likewise.
73799         * sunrpc/clnt_unix.c: Likewise.
73800         * sunrpc/openchild.c: Likewise.
73801         * sunrpc/svc_simple.c: Likewise.
73802         * sunrpc/svc_tcp.c: Likewise.
73803         * sunrpc/svc_udp.c: Likewise.
73804         * sunrpc/svc_unix.c: Likewise.
73805         * sunrpc/xdr.c: Likewise.
73806         * sunrpc/xdr_array.c: Likewise.
73807         * sunrpc/xdr_rec.c: Likewise.
73808         * sunrpc/xdr_ref.c: Likewise.
73809         * sunrpc/xdr_stdio.c: Likewise.
73811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73813         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73815 2011-07-03  Andreas Jaeger  <aj@suse.de>
73817         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73818         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73819         regenerate with gen-libm-tests.pl.
73821 2010-05-12  Petr Baudis  <pasky@suse.cz>
73823         [BZ #11589]
73824         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73825         around j0() zero points by switching to j1().
73826         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73827         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73829         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73831 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73833         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73834         instead of 0.
73835         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73836         instead of 0.
73837         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73838         Patch in part by Pavel Roskin <proski@gnu.org>.
73840         [BZ #13138]
73841         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73842         realloc.
73843         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73844         Free memory block if necessary.
73846         [BZ #12847]
73847         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73848         be NULL.  Don't lock in this case.
73850 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73852         * elf/elf.h (ELFOSABI_GNU): New macro.
73853         (ELFOSABI_LINUX): Define to that.
73855 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73857         * string/strncat.c (strncat): Undef the symbol in case it has been
73858         defined in bits/string.h.
73860 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73862         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73864         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73865         link map.
73867 2011-08-17  Andreas Jaeger  <aj@suse.de>
73869         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73871 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73872             Ian Lance Taylor  <iant@google.com>
73874         * math/libm-test.inc (lround_test): New testcase.
73875         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73877 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73879         * Makefile: Remove support for automatic cvs check-ins.
73880         * Makerules: Likewise.
73881         * config.make.in: Likewise.
73882         * configure.in: Likewise.
73883         * intl/Makefile: Likewise.
73884         * locale/Makefile: Likewise.
73885         * po/Makefile: Likewise.
73886         * posix/Makefile: Likewise.
73887         * sysdeps/gnu/Makefile: Likewise.
73888         * sysdeps/mach/hurd/Makefile: Likewise.
73889         * sysdeps/sparc/sparc32/Makefile: Likewise.
73891         [BZ #13118]
73892         * posix/Makefile (bug-regex32-ENV): Define.
73893         Patch by John Stanley <jpsinthemix@verizon.net>.
73895         * misc/Makefile (headers): Add bits/select2.h.
73896         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73897         * misc/bits/select2.h: New file.
73898         * include/bits/select2.h: New file.
73899         * debug/Makefile (routines): Add fdelt_chk.
73900         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73901         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73902         FD_ISSET.
73903         * debug/fdelt_chk.c: New file.
73905         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73906         * wcsmbs/test-wmemcmp.c: Likewise.
73907         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73908         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73910 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73912         * string/Makefile (strop-tests): Add memcmp.
73913         * string/test-wmemcmp.c: New file.
73914         * string/test-memcmp.c: Add wmemcmp support.
73916 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73918         [BZ #13153]
73919         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73920         2011-07-19 change.
73922         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73923         garbage value in a __mach_port_mod_refs call in the cases of the
73924         task-self and thread-self ports.
73926 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73928         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73930 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73932         * elf/dl-load.c (lose): Check for non-null L.
73934 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73936         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73938         * elf/dl-libc.c (dlerror_run): Pass back error code from
73939         dl_catch_error.
73941         [BZ #13123]
73942         * elf/dl-load.c (lose): Free l_origin if it is valid.
73944         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73945         names.
73946         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73947         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73948         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73949         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73950         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73951         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73953 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73955         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73956         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73957         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73958         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73959         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73960         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73961         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73962         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73963         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73964         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73966 2011-08-15  Alan Modra  <amodra@gmail.com>
73968         [BZ #13092]
73969         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73970         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73971         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73972         ppc_mcount to static-only-routines.
73973         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73974         __mcount_internal.
73975         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73976         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73978 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73980         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73981         for finite and infinity parameters.
73983 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73985         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73986         and add nop instructions for throughput optimization.
73987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73989 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73991         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73992         aligned copy for power7 with vector-scalar instructions.
73993         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73995 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73997         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73998         AVX check.
74000 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74002         [BZ #13144]
74003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74004         last change.
74006 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74008         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74009         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74010         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74011         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74012         clock_gettime.
74014 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74016         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74017         Forgot to demangle the pointer.
74019         * sysdeps/i386/sysdep.h: Define atom_text_section.
74020         * sysdeps/x86_64/sysdep.h: Likewise.
74021         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74022         section with atom_text_section.
74023         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74024         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74026         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74027         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74029         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74030         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74031         already be defined.  Change to take two parameters and don't assign
74032         result to variable.  Adjust all users.
74033         Define INTERNAL_GETTIME if not already defined.
74034         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74035         call.
74036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74037         HAVE_CLOCK_GETTIME_VSYSCALL.
74038         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74040         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74041         gettimeofday vsyscall, just use time.
74043 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74045         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74046         <errno.h>.
74048 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74050         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74051         syscall on x86-64.
74052         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74053         syscall.
74054         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74055         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74056         syscall if possible.
74058 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74060         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74061         e_ident.  Don't pass to find_mapsXX.
74062         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74064 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74067         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74068         * sysdeps/x86_64/multiarch/strchr.S: Update.
74069         Check bit_slow_BSF bit.
74070         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74071         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74072         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74074 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74076         [BZ #13134]
74077         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74078         before glibc 2.15.
74079         (tryshell): Define.
74080         (__spawni): Change last parameter to be flag.  Test
74081         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74082         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74083         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74084         * posix/spawni.c: Likewise.
74085         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74086         * posix/spawnp.c: Likewise.  Change normal version to use
74087         SPAWN_XFLAGS_USE_PATH.
74088         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74089         SPAWN_XFLAGS_TRY_SHELL.
74091         [BZ #13150]
74092         * posix/glob.h: Remove gcc 1.x support.
74094         [BZ #13068]
74095         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74097 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74099         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74100         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74101         strrchr-sse2-bsf
74102         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74103         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74104         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74105         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74106         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74109 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74111         * sysdeps/x86_64/wcscmp.S: New file.
74113         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74114         wcscmp-c wcscmp-sse2
74115         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74116         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74117         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74118         * wcsmbs/wcscmp.c: Allow renaming.
74120 2011-09-05  David S. Miller  <davem@davemloft.net>
74122         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74123         stack slot, rather than the struct return pointer slot.
74124         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74125         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74127         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74129 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74131         * po/ja.po: Update from translation team.
74133         [BZ #13144]
74134         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74135         kernel in 64-bit binaries.
74137 2011-09-01  David S. Miller  <davem@davemloft.net>
74139         * elf/elf.h (HWCAP_SPARC_*): Move to..
74140         * sysdeps/sparc/sysdep.h: this new file and add new values.
74141         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74142         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74143         _DL_HWCAP_COUNT to 24.
74144         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74145         entries.
74146         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74147         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74148         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74149         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74150         instead of magic constants.
74151         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74153 2011-08-31  David S. Miller  <davem@davemloft.net>
74155         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74157         Reimplement to do errno handling inline.
74158         (SYSCALL_ERROR_HANDLER): New macro.
74159         (__SYSCALL_STRING): Do not do errno handling in asm.
74160         (__CLONE_SYSCALL_STRING): Delete.
74161         (__INTERNAL_SYSCALL_STRING): Delete.
74162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74163         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74164         (PSEUDO): Reimplement to do errno handling inline.
74165         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74166         (SYSCALL_ERROR_HANDLER): New macro.
74167         (__SYSCALL_STRING): Do not do errno handling in asm.
74168         (__CLONE_SYSCALL_STRING): Delete.
74169         (__INTERNAL_SYSCALL_STRING): Delete.
74170         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74171         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74172         i386.
74173         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74174         (inline_syscall*): Add 'err' argument.
74175         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74176         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74177         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74178         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74180         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74181         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74183 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74185         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74187 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74189         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74190         directive.
74192 2011-08-24  David S. Miller  <davem@davemloft.net>
74194         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74196 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74198         * elf/Makefile: Add rules to build and run unload8 test.
74199         * elf/unload8.c: New file.
74200         * elf/unload8mod1.c: New file.
74201         * elf/unload8mod1x.c: New file.
74202         * elf/unload8mod2.c: New file.
74203         * elf/unload8mod3.c: New file.
74205         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74206         it wasn't used.
74208 2011-08-23  David S. Miller  <davem@davemloft.net>
74210         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74211         subtract stack bias.
74212         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74213         %sp not %fp in calculations.
74214         (_JMPBUF_UNWINDS_ADJ): Likewise.
74216         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74217         (aio_suspend): Call it to force an exception region around the
74218         AIO_MISC_WAIT() invocation.
74220 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74222         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74223         backslash.
74225 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74227         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74228         protection macro.
74229         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74230         and <dl-machine.h>.
74231         (Elf64_FuncDesc): Remove.
74233 2011-08-22  David S. Miller  <davem@davemloft.net>
74235         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74236         sigaltstack check, add missing cfi directives.
74237         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74238         missing cfi directives, and sigaltstack handling.
74240 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74242         [BZ #11724]
74243         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74244         object is seen twice.
74245         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74247         * elf/Makefile (distribute): Add tst-initorder2.c.
74248         (tests): Add tst-initorder2.
74249         (modules-names): Add tst-initorder2a tst-initorder2b
74250         tst-initorder2c tst-initorder2d.  Add rules to build them.
74251         ($(objpfx)tst-initorder2.out): New rule.
74252         * elf/tst-initorder2.c: New file.
74253         * elf/tst-initorder2.exp: New file.
74255 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74257         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74259         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74260         dependencies back to end of function.
74262         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74263         $(elfobjdir)/ld.so.
74265 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74267         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74268         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74270         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74271         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74272         of __vdso_gettimeofday.
74273         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74274         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74275         attribute_hidden.
74276         (_libc_vdso_platform_setup): Remove initialization of
74277         __vdso_gettimeofday and __vdso_time.
74279 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74281         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74282         and fgetc_unlocked.
74283         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74284         getc_unlocked.
74286         * elf/dl-open.c (add_to_global): Report additions to the global scope
74287         for LD_DEBUG=scopes.
74288         (dl_open_worker): Also print scope of newly loaded dependencies.
74289         (_dl_show_scope): Indicate if there is no scope.
74291         [BZ #13114]
74292         * stdio-common/Makefile (tests): Add bug24.
74293         * stdio-common/bug24.c: New file.
74295 2011-08-19  Andreas Jaeger  <aj@suse.de>
74297         [BZ #13114]
74298         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74299         non-existant file when using close-on-exec mode.
74301 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74303         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74304         the very first instruction.
74306         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74307         the CFI state in the end.
74308         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74309         inclusion of dl-trampoline.h.
74310         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74312 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74314         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74315         expectations for long double.
74317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74318         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74320 2011-08-14  David S. Miller  <davem@davemloft.net>
74322         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74323         artificual limit depends upon the system page size.
74325 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74327         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74328         * resolv/Makefile: Define CFLAGS-libresolv.
74330 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74332         * nss/makedb.c (compute_tables): Make variables used in nested
74333         function static.
74335 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74337         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74338         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74339         if buffer was too small.
74341         * elf/pldd.c (main): Attach to all threads in the process.
74342         Rewrite /proc handling to use *at functions.
74344 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74346         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74347         specifies first scope to show.
74348         (dl_open_worker): Update callers.  Move printing scope of new
74349         object to before the relocation.
74350         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74351         * sysdeps/generic/ldsodefs.h: Update declaration.
74353         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74354         string for the scope number.
74356 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74358         * nscd/servicescache.c (cache_addserv): Make sure written is always
74359         initialized.
74361 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74363         * sysdeps/i386/i486/bits/atomic.h
74364         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74365         statement expression, so as to suppress "set but not used" warning.
74366         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74368         * string/strncat.c (STRNCAT): Use prototype definition.
74370         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74371         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74372         -Iprograms here.
74373         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74374         (localedef-modules): Add localedef.
74375         (locale-modules): Add locale.
74377         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74378         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74379         to avoid a warning.
74381 2011-08-14  David S. Miller  <davem@davemloft.net>
74383         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74384         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74386 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74388         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74389         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74390         * elf/rtld.c (dl_main): Set l_name of vDSO.
74391         Call _dl_show_scope when DL_DEBUG_SCOPES.
74392         (process_dl_debug): Recognize scopes flag and also set it for all.
74393         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74394         Declare _dl_show_scope.
74396         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74397         (do_dlopen): Pass caller_dlopen to dl_open.
74398         (__libc_dlopen_mode): Initialize caller_dlopen.
74400         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74401         of libc.  Make tolower call locale-independent.  Optimize a bit by
74402         using isdigit instead of isalnum.
74403         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74405 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74407         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74408         was a dependency or dynamically loaded.
74410 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74412         * intl/l10nflist.c: Allow architecture-specific pop function.
74413         * sysdeps/x86_64/l10nflist.c: New file.
74415         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74416         classification.
74418 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74420         * include/dirent.h: Add libc_hidden_proto for scandirat and
74421         scandirat64.  Don't declare __scandirat64.
74422         * dirent/scandirat.c: Add libc_hidden_def.
74423         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74424         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74426 2011-08-10  David S. Miller  <davem@davemloft.net>
74428         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74429         enum.
74430         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74432         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74434 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74436         * Versions.def [libc]: Add GLIBC_2.15.
74437         * dirent/Makefile (routines): Add scandirat and scandirat64.
74438         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74439         GLIBC_2.15.
74440         * dirent/dirent.h: Declare scandirat and scandirat64.
74441         * dirent/scandirat.c: New file.
74442         * dirent/scandirat64.c: New file.
74443         * sysdeps/wordsize-64/scandirat.c: New file.
74444         * sysdeps/wordsize-64/scandirat64.c: New file.
74445         * dirent/opendir.c: Define opendirat.
74446         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74447         using scandirat.
74448         * dirent/scandir64.c: Adjust for scandir.c change.
74449         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74450         __scandirat64, and __scandir_cancel_handler.
74451         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74452         additional parameter and use openat instead of open (outside of ld.so).
74453         Add new __opendir as wrapper around __opendirat.
74454         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74455         here without requiring old scandirat implementation.
74457 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74459         * dirent/scandir.c (cancel_handler): Renamed to
74460         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74461         defined.  Adjust users.
74462         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74463         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74465 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74467         * string/test-string.h (IMPL): Use __STRING to expand name and then
74468         stringify it.
74470         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74471         of cleanups.
74473 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74475         * string/Makefile: Update.
74476         (strop-tests): Append strncat.
74477         * string/test-wcscmp.c: New file.
74478         New comprehensive test for wcscmp.
74479         * string/test-strcmp.c: Update.
74480         (WIDE): New define.
74482 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74484         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74485         line.
74487 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74490         encoding to ACE if AI_IDN.
74492 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74494         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74495         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74497 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74499         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74500         Fix overflow bug in strncat.
74501         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74503         * string/test-strncat.c: Update.
74504         Add new tests for checking overflow bugs.
74506 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74508         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74509         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74510         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74511         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74513         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74514         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74515         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74516         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74518         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74519         (USE_AS_STRCAT): Define.
74520         Add strcat and strncat support.
74521         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74523 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74525         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74526         __n bigger than INT_MAX+1.
74527         (__strncmp_g): Likewise.
74529 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74531         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74532         * libio/stido.h: Likewise.
74534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74535         (AF_NFC): Define.
74536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74537         (AF_NFC): Define.
74539         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74540         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74541         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74542         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74543         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74545         [BZ #13021]
74546         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74547         installed.
74549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74550         typo.
74551         (_dl_x86_64_save_sse): Likewise.
74553 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74555         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74556         OSXSAVE.
74557         (_dl_x86_64_save_sse): Likewise.
74559         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74561         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74563 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74565         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74566         change.
74567         (_dl_x86_64_save_sse): Use correct AVX check.
74569 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74571         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74572         bug in strncpy/strncat.
74573         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74575 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74577         * string/tester.c (test_strcat): Add tests for different alignments
74578         of source and destination.
74579         (test_strncat): Likewise.
74581 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74583         [BZ #12852]
74584         * posix/glob.c (glob): Check passed in values before using them in
74585         expressions to avoid some overflows.
74586         (glob_in_dir): Likewise.
74588         [BZ #13007]
74589         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74590         check for AVX enablement so that we don't crash with old kernels and
74591         new hardware.
74592         * elf/tst-audit4.c: Add same checks here.
74593         * elf/tst-audit6.c: Likewise.
74595         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74597 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74599         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74601 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74603         * po/cs.po: Update from translation team.
74604         * po/bg.po: Likewise.
74606 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74608         * misc/sys/cdefs.h: Add support for const attribute.
74609         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74610         to gnu_dev_{major,minor,makedev} functions.
74612 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74614         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74616 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74618         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74619         strlen results.
74621 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74623         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74624         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74625         register in order to avoid conflicts with the soft frame pointer
74626         being held in r11 when necessary.
74627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74628         (INTERNAL_VSYSCALL_NCS): Likewise.
74630 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74632         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74633         * elf/dl-fini.c (_dl_fini): Adjust caller.
74634         * elf/dl-close.c (_dl_close_worker): Likewise.
74635         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74637 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74639         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74640         "aux_cache->nlibs < 0".
74642         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74643         in the reload-count case.
74645 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74648         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74649         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74650         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74651         * sysdeps/x86_64/multiarch/strcat.S: New file.
74652         * sysdeps/x86_64/multiarch/strncat.S: New file.
74653         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74654         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74655         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74656         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74657         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74658         (USE_AS_STRCAT): Define.
74659         Add strcat and strncat support.
74660         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74662         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74663         * string/strncat.c: Update.
74664         (USE_AS_STRNCAT): Define.
74665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74666         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74667         and i7.
74668         * sysdeps/x86_64/multiarch/init-arch.h
74669         (bit_Prefer_PMINUB_for_stringop): New.
74670         (index_Prefer_PMINUB_for_stringop): Likewise.
74671         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74672         bit_Prefer_PMINUB_for_stringop.
74674 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74676         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74677         buffer64.
74678         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74679         of casting of buffer.
74680         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74681         buffer32 and buffer64.
74682         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74683         writes instead of casting of buffer.
74684         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74685         buffer32.
74686         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74687         casting of buffer.
74689 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74691         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74693 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74695         * nscd/nscd.c (termination_handler): Don't do anything for a database
74696         if it has not yet been initialized.
74698 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74700         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74702 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74704         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74706 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74708         * po/nl.po: Update from translation team.
74709         * po/sv.po: Likewise.
74711 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74713         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74714         now disallowed by GCC.
74716         * configure.in (use-default-link): Default to yes if a test -shared
74717         link meets our qualifications.
74718         * configure: Regenerated.
74720         * config.make.in (output-format): New variable.
74721         * configure.in: Check for ld --print-output-format support.
74722         * configure: Regenerated.
74723         * Makerules ($(common-objpfx)format.lds)
74724         [$(output-format) != unknown]: Just use $(output-format),
74725         instead of the linker-script munging.
74727 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74729         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74730         of $(common-objpfx)shlib.lds.
74731         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74733         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74734         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74736         * configure.in (-z relro check): Adjust test code to add a large
74737         writable data section after it.
74738         * configure: Regenerated.
74740 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74742         * configure.in (-z relro check): Fix test code to make the variable
74743         truly const.
74744         * configure: Regenerated.
74746 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74748         * nscd/nscd.h (struct traced_file): Define.
74749         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74750         elements.  Add traced_files.
74751         (inotify_fd): Declare.
74752         (register_traced_file): Declare.
74753         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74754         (inotify_fd): Export.
74755         (resolv_conf_descr): Remove.
74756         (nscd_init): Move inotify descriptor creation to main.
74757         Don't register files for notification here.
74758         (register_traced_file): New function.
74759         (invalidate_cache): Don't use reset_res to determine whether to call
74760         res_init, go through the list of registered files.
74761         (main_loop_poll): The inotify descriptors are now stored in the
74762         structures for the traced files.
74763         (main_loop_epoll): Likewise.
74764         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74765         to __nss_disable_nscd.
74766         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74767         for a database anymore.  Check the records for all the registered
74768         files instead.
74769         * nss/Makefile (libnss_files-routines): Add files-init.
74770         (libnss_db-routines): Add db-init.
74771         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74772         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74773         * nss/nss_db/db-init.c: New file.
74774         * nss/nss_files/files-init.c: New file.
74775         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74776         __nss_lookup_function.
74777         (__nss_lookup_function): Call nss_load_library.
74778         (nss_load_all_libraries): New function.
74779         (__nss_disable_nscd): Take parameter with callback function for files
74780         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74781         used for the cached services.
74782         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74783         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74784         options for features to all the files in nscd.
74786         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74788 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74790         * csu/elf-init.c (__libc_csu_init): Comment typo.
74792 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74794         * po/pl.po: Update from translation team.
74795         * po/ja.po: Likewise.
74796         * po/ru.po: Likewise.
74797         * po/ko.po: Likewise.
74798         * po/fr.po: Likewise.
74800 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74802         * configure.in (.ctors/.dtors header and trailer check):
74803         Use an empirical test on a built program.
74804         * configure: Regenerated.
74806         * configure.in (-z relro check): Use an empirical test on a built DSO.
74807         Detect, but do not require, on ia64.
74808         * configure: Regenerated.
74810         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74811         Update tests that use readelf to use $READELF instead.
74812         * configure: Regenerated.
74814 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74816         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74817         if the result is not used.
74819 2011-07-05  Andreas Jaeger  <aj@suse.de>
74821         [BZ#9696]
74822         * stdlib/tst-strtod.c: Add testcase.
74824 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74826         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74827         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74828         The latter has a higher limit.  Take additional parameter to pass to
74829         the new function.
74830         (__pathconf): Pass file to __statfs_link_max.
74831         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74832         __statfs_link_max.
74833         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74834         __statfs_link_max.
74836         [BZ #12868]
74837         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74839         Handle Lustre.
74840         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74841         (__statfs_filesize_max): Likewise.
74842         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74844 2011-07-05  Andreas Jaeger  <aj@suse.de>
74846         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74848 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74850         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74851         `status' variable.
74852         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74853         Likewise.
74855 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74857         * Makefile (strop-tests): Add strncat.
74858         * string/test-strncat.c: New file.
74860 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74862         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74864 2011-06-21  Andreas Jaeger  <aj@suse.de>
74866         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74867         Copy rule from iconvdata/Makefile.
74869 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74871         [BZ #12922]
74872         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74873         but no long options are defined, just return 'W'.
74875 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74877         [BZ #9696]
74878         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74880 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74882         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74883         netgroups to read.
74884         (innetgr): Likewise.
74886 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74888         * config.make.in (install_root): Default to $(DESTDIR).
74890 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74892         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74894 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74896         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74898         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74899         containing directory rather than embedding absolute directory names.
74901         * scripts/check-local-headers.sh: Rewritten using awk.
74902         Match by word, not by line.  Print error messages for matches.
74903         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74905         * Makerules [shlib-lds-flags empty]:
74906         ($(common-objpfx)libc_pic.opts): New target.
74907         ($(common-objpfx)libc_pic.os.clean): New target.
74908         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74910         * config.make.in (OBJCOPY): New variable.
74911         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74912         * configure: Regenerated.
74914         * config.make.in (use-default-link): New variable.
74915         * configure.in (use_default_link): Grok --with-default-link to set it.
74916         * configure: Regenerated.
74917         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74918         (shlib-lds, shlib-lds-flags): Define to empty.
74920         * Makerules (shlib-lds): New variable.
74921         (shlib-lds-flags): New variable.
74922         (build-shlib, build-moduile, build-module-asneeded): Use it.
74923         ($(common-objpfx)libc.so): Use $(shlib-lds).
74924         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74925         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74927         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74928         DT_FLAGS/DT_FLAGS_1 with zero flags.
74930         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74931         linker script munging.
74933 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74935         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74936         as 128-bit value.
74937         * crypt/sha512.c (sha512_process_block): Perform total addition using
74938         128-bit if possible.
74939         (__sha512_finish_ctx): Likewise.
74940         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74941         as 64-bit value.
74942         * crypt/sha256.c (SWAP64): Define.
74943         (sha256_process_block): Perform total addition using 64-bit if
74944         possible.
74945         (__sha256_finish_ctx): Likewise.
74947 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74949         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74950         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74951         * nscd/hstcache.c (cache_addhst): Likewise.
74952         * nscd/grpcache.c (cache_addgr): Likewise.
74953         * nscd/aicache.c (addhstaiX): Likewise.
74954         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74956 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74958         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74959         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74960         * nscd/hstcache.c (cache_addhst): Likewise.
74961         * nscd/grpcache.c (cache_addgr): Likewise.
74962         * nscd/aicache.c (addhstaiX): Likewise.
74964 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74966         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74967         domain only when needed.
74969 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74972         is always restored.
74974 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74976         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74977         are re-adding the entry.
74978         * nscd/servicescache.c (cache_addserv): Likewise.
74980 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74982         * sysdeps/generic/dl-irel.h: fix protection against multiple
74983         inclusions.
74984         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74986 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74988         [BZ #12935]
74989         * malloc/memusage.sh: Fix quoting in message.
74990         * debug/xtrace.sh: Likewise.
74992         * configure.in: Remove support for --experimental-malloc option, make
74993         it the default.
74994         * config.make.in: Likewise.
74995         * malloc/Makefile: Likewise.
74997 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74999         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75000         two-byte characters.
75002 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75004         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75005         AC_CACHE_CHECK invocation.
75006         * configure: Regenerated.
75008         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75010 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75012         [BZ #12350]
75013         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75014         bit from old_res_options.
75016         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75018         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75019         value type for setfct.
75021 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75024         __gettimeofday instead of gettimeofday.
75026 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75028         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75030 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75032         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75034         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75035         info.
75037 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75040         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75041         strcpy-sse2-unaligned strncpy-sse2-unaligned
75042         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75043         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75044         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75045         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75046         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75047         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75049         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75050         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75051         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75052         (STRCPY): Support SSE2 and SSSE3 versions.
75054 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75056         [BZ #12874]
75057         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75058         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75059         kernels which artificially limit size of requests.
75061 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75064         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75065         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75066         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75067         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75068         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75069         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75070         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75071         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75072         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75073         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75074         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75075         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75076         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75077         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75079         Enable unaligned load optimization for Intel Core i3, i5 and i7
75080         processors.
75081         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75082         Define.
75083         (index_Fast_Unaligned_Load): Define.
75084         (HAS_FAST_UNALIGNED_LOAD): Define.
75086 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75088         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75090 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75092         [BZ #12907]
75093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75094         until it is clear that the information is realy needed.
75095         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75097 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75099         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75101 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75104         /sys/devices/system/cpu/online if it is usable.
75106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75107         reading the information from the /proc filesystem to once a second.
75109 2011-06-21  Andreas Jaeger  <aj@suse.de>
75111         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75112         NULL after inclusion of kernel headers.
75114 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75116         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75117         calls to internal_setent.
75119         [BZ #12885]
75120         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75121         addresses using gethostbyname4_r ignore IPv4 addresses.
75123         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75124         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75126         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75128 2011-06-20  David S. Miller  <davem@davemloft.net>
75130         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75131         inclusions.
75132         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75134         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75135         (elf_irel): Use it.
75136         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75137         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75138         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75139         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75140         * sysdeps/x86_64/dl-irel.h: Likewise.
75142         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75143         * elf/dl-sym.c: Likewise.
75145 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75147         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75148         need to dereference resplen2.
75150 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75152         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75154 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75156         * Makeconfig: Define vardbdir and inst_vardbdir.
75157         * nss/Makefile: Add rules to install db-Makefile.
75159         * nss/nss_db/db-XXX.c: Cleanup.
75161         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75162         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75163         GLIBC_PRIVATE.
75164         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75165         * nss/makedb.c: Implement -g option to specify that value strings
75166         are generated and should not be added to table iterated over for
75167         get*ent calls.
75168         * nss/nss_db/db-initgroups.c: New file.
75170         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75171         interface.
75173         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75174         (internal_getgrouplist): Adjust to name change.
75175         Update use_initgroups_entry if this is not the first call.
75176         * nss/databases.def: Add initgroups entry.
75178         * nss/makedb.c (compute_tables): Check result of multiple hash table
75179         sizes to minimize maximum chain length.
75181 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75183         * Versions.def: Add entry for libnss_db.
75184         * shlib-versions: Likewise.
75185         * nss/Makefile: Add rules to build libnss_db.
75186         * nss/Versions: Add libnss_db information.  Organize libnss_files
75187         entries better.
75188         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75189         makedb progra.  Some minor improvements to generate smaller files.
75190         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75191         here from...
75192         * nss/makedb.c: ...here.
75193         Improve database format to be smaller and require less memory at
75194         runtime.
75195         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75196         db anymore.
75197         * nss/nss_db/db-netgrp.c: Likewise.
75198         * nss/nss_db/db-open.c: Likewise.
75199         * nss/nss_files/flies-XXX.x: Adjust comments.
75200         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75201         * nss/nss_files/files-grp.c: Likewise.
75202         * nss/nss_files/files-hosts.c: Likewise.
75203         * nss/nss_files/files-network.c: Likewise.
75204         * nss/nss_files/files-proto.c: Likewise.
75205         * nss/nss_files/files-pwd.c: Likewise.
75206         * nss/nss_files/files-rpc.c: Likewise.
75207         * nss/nss_files/files-service.c: Likewise.
75208         * nss/nss_files/files-sgrp.c: Likewise.
75209         * nss/nss_files/files-spwd.c: Likewise.
75210         * nss/nss_db/db-alias.c: Removed.
75211         * nss/nss_db/dummy-db.h: Removed.
75213 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75215         * nss/makedb.c: Rewritten to not use database library.
75216         * nss/Makefile: Update to build new makedb program.
75218 2011-06-14  Andreas Jaeger  <aj@suse.de>
75220         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75221         memset declaration.
75223 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75226         tmpbuf.
75228 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75230         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75231         * elf/Makefile ($(objpfx)ld.so): Likewise.
75233         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75234         Don't list ld.so twice in dependencies.
75236         * posix/bug-regex31.c: Include <stdlib.h>.
75238         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75240         * nis/nss_compat/compat-spwd.c
75241         (getspent_next_nss_netgr): Remove unused variable.
75242         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75244         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75245         nonmembers" output to use the right array.
75247         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75249         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75251         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75252         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75253         * catgets/gencat.c (read_input_file): Likewise.
75254         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75256         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75257         variable definition inside #if's controlling its use.
75259         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75261         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75263         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75265         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75266         unreachable code.
75268         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75270         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75271         * configure: Regenerated.
75273         * Makerules: Revert last change.
75274         * elf/Makefile: Likewise.
75276 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75278         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75279         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75280         (reloc-link): Likewise.
75282 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75284         * elf/Makefile: Add rules to build pldd.
75285         * elf/pldd.c: New file.
75286         * elf/pldd-xx.c: New file.
75288 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75290         * version.h: Update for 2.15 development version.
75292 2011-06-07  David S. Miller  <davem@davemloft.net>
75294         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75295         ifuncs.
75296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75297         elf_machine_lazy_rel): Likewise.
75298         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75300         elf_machine_lazy_rel): Likewise.
75301         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75302         dl_hwcap via passed in argument.
75303         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75304         Likewise.
75306 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75308         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75310 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75312         [BZ #12849]
75313         * manual/fdl-1.1.texi: New file, verbatim from:
75314         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75315         * manual/lgpl-2.1.texi: New file, verbatim from:
75316         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75317         * manual/Makefile (licenses): New variable, list those new file names.
75318         (texis): Use it.
75319         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75321         * manual/fdl.texi: File removed.
75322         * manual/lesser.texi: File removed.
75323         * manual/libc.texinfo (Copying, Documentation License):
75324         Use new @include file names, put @appendix directive before @include.
75326 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75328         [BZ #12841]
75329         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75330         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75331         (mq_open): Add __NTH.
75333 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75336         Assume Intel Core i3/i5/i7 processor if AVX is available.
75338 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75340         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75341         typo.
75343 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75345         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75346         memory.  Use alloca_account.  Fix memory leak when retrying.
75348 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75350         * version.h (RELEASE): Bump for 2.14 release.
75351         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75353         * config.make.in (RANLIB): Remove entry.
75355 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75357         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75358         (libc.pot): Work around missing support for .ksh extension in xgettext.
75360         [BZ #12684]
75361         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75362         if both request failed.
75363         (send_dg): In case of server errors clear resplen or *resplen2.
75365         [BZ #12454]
75366         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75367         when there are multiple maps.
75368         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75369         (_dl_fini): Remove test here.
75371         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75373 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75375         [BZ #12350]
75376         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75377         bit from old_res_options.
75378         (gaih_inet): Likewise.
75380         [BZ #11099]
75381         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75382         as signed.
75384         * resolv/res_init.c (res_setoptions): Make the code more compact.
75386         [BZ #11558]
75387         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75388         set RES_USEVC.
75390         [BZ #11634]
75391         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75393         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75395         [BZ #11781]
75396         * malloc/malloc.h: Declare malloc hook variables as volatile.
75398         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75399         in last patch.
75401         [BZ #11799]
75402         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75403         raise in the comment.
75404         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75405         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75406         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75408 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75410         [BZ #12811]
75411         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75412         grow the buffers more if it already has to be sufficient.
75413         (build_wcs_upper_buffer): Likewise.
75414         * posix/regexec.c (check_matching): Likewise.
75415         (clean_state_log_if_needed): Likewise.
75416         (extend_buffers): Don't enlarge buffers beyond size of the input
75417         buffer.
75418         Patches mostly by Emil Wojak <emil@wojak.eu>.
75419         * posix/bug-regex32.c: New file.
75420         * posix/Makefile (tests): Add bug-regex32.
75422         * locale/findlocale.c (_nl_find_locale): Return right away if
75423         _nl_explode_name failed.
75424         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75426         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75428         * debug/xtrace.sh: Unify messages.
75429         * malloc/memusage.sh: Likewise.
75431         [BZ #12813]
75432         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75433         time symbol from vDSO.  Substitute with vsyscall if not available.
75434         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75435         __vdso_time.
75437         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75438         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75439         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75440         Add sendmmsg and internal_sendmmsg.
75441         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75442         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75443         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75445         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75446         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75447         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75449 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75451         [BZ #12813]
75452         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75453         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75454         available.
75455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75456         __vdso_getcpu.
75458         [BZ #12814]
75459         * iconvdata/Makefile (tests): Add bug-iconv9.
75460         * iconvdata/bug-iconv9.c: New file.
75462 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75464         [BZ #12814]
75465         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75467 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75470         (struct user_regs_struct): Change intcs field back to cs.
75472 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75474         * po/ja.po: Update from translation team.
75476 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75478         [BZ #12795]
75479         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75480         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75482 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75484         * stdlib/longlong.h: Update from GCC.
75486 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75488         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75489         parameter name.
75490         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75491         Add parameter name.
75492         (__sysconf): Pass it down.
75494 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75496         [BZ #12671]
75497         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75498         some situations.
75499         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75500         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75501         add in in __libc_use_alloca calls.  Adjust callers.
75502         (glob): Use malloc in some situations.
75504         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75505         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75506         pltexit.
75508 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75510         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75511         and CLOCK_BOOTTIME_ALARM.
75513         [BZ #12782]
75514         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75515         is returned.
75517         * string/_strerror.c (__strerror_r): Print negative errors as signed
75518         numbers.
75520         [BZ #12777]
75521         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75522         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75523         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75525         * configure.in: Fix typo in redirection and correct removal of test
75526         files in two cases.
75528         [BZ #12788]
75529         * locale/setlocale.c (new_composite_name): Fix test to check for
75530         identical name of all categories.
75532         [BZ #12792]
75533         * libio/filedoalloc.c (local_isatty): New function.
75534         (_IO_file_doallocate): Use local_isatty.
75535         * stdio-common/perror.c (perror): In case a new stream is used
75536         forward the stream error.
75537         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75538         error flag.
75540 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75542         [BZ #11884]
75543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75544         alloca.
75545         * include/alloca.h (extend_alloca_account): Define.
75547         [BZ #11857]
75548         * posix/regex.h: Fix comments with documentation of user-accessible
75549         fields after compilation and describe correct free'ing of pattern
75550         after re_compile_pattern.
75551         Patch by Reuben Thomas <rrt@sc3d.org>.
75553 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75555         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75556         and -mno-altivec to prevent the compiler from using Altivec and/or
75557         VSX instructions when the corresponding registers are not available.
75559 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75561         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75563 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75565         * libio/freopen.c (freopen): Use __dup2, not dup2.
75566         * libio/freopen64.c (freopen64): Likewise.
75568 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75570         [BZ #12775]
75571         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75572         * math/Makefile (tests): Add test-powl.
75573         (CFLAGS-test-powl.c): Define.
75574         * math/test-powl.c: New file.
75576 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75578         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75580 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75582         [BZ #11837]
75583         * iconvdata/gb18030.c: Update to GB18020-2005.
75585 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75587         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75588         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75589         Patch by Aharon Robbins <arnold@skeeve.com>.
75591         [BZ #11892]
75592         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75593         on the stack.
75595         [BZ #11895]
75596         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75597         through underflows.
75599         [BZ #12766]
75600         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75601         point to strings before performing equality test for error_one_per_line
75602         mode.
75604         [BZ #11697]
75605         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75607         [BZ #11820]
75608         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75609         (struct user_fpregs_struct): Avoid __uint*_t types.
75611         [BZ #6420]
75612         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75613         symbol info.  Use it instead of calling _dl_addr locally.
75614         (lock_and_info): New function.
75615         (tr_freehook): Call lock_and_info and pass symbol info as additional
75616         parameter to tr_where.
75617         (tr_mallochook): Likewise.
75618         (tr_reallochook): Likewise.
75619         (tr_memalignhook): Likewise.
75621         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75622         used and couldn't be at all thread-safe.
75624 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75626         * libio/freopen.c (freopen): Don't close old file descriptor
75627         before the new one is opened.  Instead dup the new file descriptor
75628         to the old one after the new stream is created.
75629         * libio/freopen64.c (freopen64): Likewise.
75630         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75631         * libio/fileops.c (_IO_new_file_close_it): Handle new
75632         _IO_FLAGS2_NOCLOSE flag.
75633         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75634         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75635         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75636         _IO_FLAGS2_NOCLOSE flag.
75637         * include/unistd.h: Add hidden_proto for dup3.
75638         Define __have_dup3.
75639         * io/dup3.c: Define hidden symbol.
75640         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75642         [BZ #7101]
75643         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75644         when an incomplete long option is used.
75645         * posix/tst-getopt_long1.c: New file.
75646         * posix/Makefile (tests): Add tst-getopt_long1.
75648         [BZ #10138]
75649         * scripts/config.guess: Update from autoconf-2.68.
75650         * scripts/config.sub: Likewise.
75652         [BZ #10157]
75653         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75654         tests into ...
75655         (has_cpuclock): ...this.  New function.
75656         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75657         macro here based on has_cpuclock code.
75659         [BZ #10149]
75660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75661         First byte (not low byte) is now always NUL.
75662         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75665         Use non-cancelable interfaces.
75667         [BZ #9809]
75668         * locale/iso-639.def: Add entry for Sorani.
75670         [BZ #11901]
75671         * include/stdlib.h: Move include protection to the right place.
75672         Define abort_msg_s.  Declare __abort_msg with it.
75673         * stdlib/abort.c (__abort_msg): Adjust type.
75674         * assert/assert.c (__assert_fail_base): New function.  Majority
75675         of code from __assert_fail.  Allocate memory for __abort_msg with
75676         mmap.
75677         (__assert_fail): Now call __assert_fail_base.
75678         * assert/assert-perr.c: Remove bulk of implementation.  Use
75679         __assert_fail_base.
75680         * include/assert.hL Declare __assert_fail_base.
75681         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75682         mmap.
75683         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75685 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75687         [BZ #11952]
75688         [BZ #12453]
75689         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75690         until all modules are registered in the DTV.
75691         * elf/Makefile: Add rules to build and run tst-tls19.
75692         * elf/tst-tls19.c: New file.
75693         * elf/tst-tls19mod1.c: New file.
75694         * elf/tst-tls19mod2.c: New file.
75695         * elf/tst-tls19mod3.c: New file.
75696         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75698         [BZ #12083]
75699         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75700         correctly.
75702         [BZ #12601]
75703         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75704         two-byte sequence errors.
75705         * iconvdata/Makefile (tests): Add bug-iconv8.
75706         * iconvdata/bug-iconv8.c: New file.
75708         [BZ #12626]
75709         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75710         buf2 definition.
75712         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75714         [BZ #12432]
75715         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75716         (dummy_getcfa): New function.
75717         (init): Get _Unwind_GetCFA address, use dummy if not found.
75718         (backtrace_helper): In recursion check, also check whether CFA changes.
75719         (__backtrace): Completely initialize arg.
75721         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75722         storing incomplete byte sequence in state object.  Avoid testing for
75723         guaranteed too small input if we know there is enough data available.
75725 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75727         * Makeconfig (+link-pie): Indent.
75728         * Rules (binaries-pie): Define if $(have-fpie) and
75729         $(build-shared).
75730         (binaries-shared): Also filter out $(binaries-pie).
75731         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75732         * nscd/Makefile (others-pie): Add nscd.
75733         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75734         ($(objpfx)nscd): Remove command override.
75735         * login/Makefile (others-pie): Add pt_chown.
75736         ($(objpfx)pt_chown): Remove command override.
75737         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75738         remove command overrides.
75740 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75742         * libio/tst_putwc.c: Fix error messages.
75744         [BZ #12724]
75745         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75746         currently writing and seek to current position when not.
75747         * libio/Makefile (tests): Add bug-fclose1.
75748         * libio/bug-fclose1.c: New file.
75750 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75752         [BZ #12511]
75753         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75754         don't set DF_1_NODELETE here.
75755         (do_lookup_x): When entering new entry test for copy relocation
75756         and if necessary set DF_1_NODELETE flag.
75757         * elf/tst-unique4.cc: New file.
75758         * elf/tst-unique4.h: New file.
75759         * elf/tst-unique4lib.cc: New file.
75760         * elf/Makefile: Add rules to build and run tst-unique4.
75761         Patch by Piotr Bury <pbury@goahead.com>.
75763 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75765         [BZ #12052]
75766         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75768         [BZ #12625]
75769         * misc/mntent_r.c (addmntent): Flush the stream after the output
75771         [BZ #12393]
75772         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75773         (is_trusted_path_normalize): Skip initial colon.  Append slash
75774         to empty buffer.  Duplicate is_trusted_path code but allow
75775         constructed patch to be prefix.
75776         (is_dst): Allow $ORIGIN followed by /.
75777         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75778         Correct testing of result of is_trusted_path_normalize
75779         (decompose_rpath): Fix warning.
75781 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75783         [BZ #11257]
75784         * grp/initgroups.c (internal_getgrouplist): When we found the service
75785         list through the initgroups entry in nsswitch.conf do not always
75786         continue on a successful lookup.  Don't always use the
75787         __nss_group_database value if it is set.
75788         * nss/nsswitch.conf (initgroups): Change action for successful db
75789         lookup to continue for compatibility.
75791 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75793         [BZ #11532]
75794         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75795         and CP774 modules.
75796         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75797         and CP774 modules.
75798         * iconvdata/tst-tables.sh: Likewise.
75799         * iconvdata/cp770.c: New file.
75800         * iconvdata/cp771.c: New file.
75801         * iconvdata/cp772.c: New file.
75802         * iconvdata/cp773.c: New file.
75803         * iconvdata/cp774.c: New file.
75804         * iconvdata/testdata/CP770: New file.
75805         * iconvdata/testdata/CP770..UTF8: New file.
75806         * iconvdata/testdata/CP771: New file.
75807         * iconvdata/testdata/CP771..UTF8: New file.
75808         * iconvdata/testdata/CP772: New file.
75809         * iconvdata/testdata/CP772..UTF8: New file.
75810         * iconvdata/testdata/CP773: New file.
75811         * iconvdata/testdata/CP773..UTF8: New file.
75812         * iconvdata/testdata/CP774: New file.
75813         * iconvdata/testdata/CP774..UTF8: New file.
75815         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75816         END CHARMAP line.
75817         * iconvdata/gen-8bit-gap.sh: Likewise.
75818         * iconvdata/gen-8bit.sh: Likewise.
75820         * locale/iso-639.def: Add ary entry.
75822         [BZ #11258]
75823         * locale/C-translit.h.in: Add U20A1 transliteration.
75825         [BZ #12178]
75826         * locale/iso-639.def: Add wae entry.
75827         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75829         [BZ #12545]
75830         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75831         for n.
75833         [BZ #12711]
75834         * locale/C-translit.h.in: Add entry for U20B9.
75835         Patch by pravin.d.s@gmail.com.
75837 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75839         [BZ #12713]
75840         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75841         ENAMETOOLONG use generic getcwd.
75842         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75843         in rtld.  Use *stat64.
75844         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75845         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75846         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75847         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75848         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75849         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75850         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75851         __fstatat64 macros.
75852         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75853         * dirent/rewinddir.c: Add libc_hidden_def.
75854         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75855         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75857         * include/dirent.h (__alloc_dir): Add flags parameter.
75858         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75859         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75860         __alloc_dir.
75861         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75862         from fdopendir if O_CLOEXEC is already set.
75864 2011-03-15  Alan Modra  <amodra@gmail.com>
75866         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75867         l_tls_firstbyte_offset non-zero.  Save padding offset in
75868         l_tls_firstbyte_offset for later use.
75869         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75870         freeing static tls block.
75872 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75874         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75875         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75876         being defined by the kernel headers.
75878 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75880         [BZ #12734]
75881         * resolv/resolv.h: Define RES_NOTLDQUERY.
75882         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75883         no-tld-query and set RES_NOTLDQUERY.
75884         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75885         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75886         modern BIND to search name as TLD unless forbidden.
75888 2011-05-07  Petr Baudis  <pasky@suse.cz>
75889             Ulrich Drepper  <drepper@gmail.com>
75891         [BZ #12393]
75892         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75893         (is_trusted_path): ...to here.
75894         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75895         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75896         using is_trusted_path_normalize() in setuid scripts.
75898 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75900         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75901         __BEGIN/__END_DECLS.
75903 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75906         NSS_STATUS_NOTFOUND if no record was found.
75908 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75910         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75911         (headers-not-in-tirpc): Remove rpc/netdb.h
75912         * resolv/netdb.h: Revert last change.
75914 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75916         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75917         circular dependency between libgcc.a and libc.a.
75919 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75921         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75922         * nis/Makefile: Don't install rpcsvc/*.
75923         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75924         instead of <rpc/types.h>.
75925         (MAXHOSTNAMELEN): Define.
75927 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75929         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75931 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75933         [BZ #12714]
75934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75935         gethostbyname4_r when IPv6 results are possible.
75937 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75939         [BZ #12723]
75940         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75941         _PC_PIPE_BUF handling.
75943 2011-04-30  Bruno Haible  <bruno@clisp.org>
75945         [BZ #12717]
75946         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75947         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75948         to 'int'.
75949         * inet/getnameinfo.c (getnameinfo): Likewise.
75951 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75953         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75954         to groups setting in database lookup.
75955         * nss/nsswitch.conf: Add initgroups entry.
75957 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75959         [BZ #12685]
75960         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75961         mode string.
75962         Patch by Eric Blake <eblake@redhat.com>.
75964 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75966         * sunrpc/Makefile (need-export-routines): Add svc_run.
75967         (routines): Remove svc_run.
75968         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75969         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75970         * sunrpc/svc_run.c (svc_run): Likewise.
75971         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75973 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75975         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75976         problem in reallocation in last patch.
75978 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75980         * sunrpc/Makefile: Move inclusion of Rules.
75982 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75984         * nss/nss_files/files-initgroups.c: New file.
75985         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75986         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75987         _nss_files_initgroups_dyn.
75989 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75991         * elf/elf.h (R_ARM_IRELATIVE): Define.
75993 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75995         * po/ru.po: Update from translation team.
75997 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75999         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76000         dependencies.
76002 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76004         [BZ #12653]
76005         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76006         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76007         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76011 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76013         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76014         differing bytes.
76015         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76016         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76017         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76019 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76021         [BZ #12420]
76022         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76023         storing it.
76024         * stdlib/bug-getcontext.c: New file.
76025         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76027 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76029         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76030         instructions into .machine "z9-109".
76031         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76032         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76034 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76036         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76037         between environment variables and auxiliary vector.
76039 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76041         * Makefile: Add rules to build linkobj/libc.so.
76042         * include/libc-symbols.h: Define libc_hidden_nolink.
76043         * include/rpc/auth.h: Mark functions which are to be hidden.
76044         * include/rpc/auth_des.h: Likewise.
76045         * include/rpc/auth_unix.h: Likewise.
76046         * include/rpc/clnt.h: Likewise.
76047         * include/rpc/des_crypt.h: Likewise.
76048         * include/rpc/key_prot.h: Likewise.
76049         * include/rpc/pmap_clnt.h: Likewise.
76050         * include/rpc/pmap_prot.h: Likewise.
76051         * include/rpc/pmap_rmt.h: Likewise.
76052         * include/rpc/rpc_msg.h: Likewise.
76053         * include/rpc/svc.h: Likewise.
76054         * include/rpc/svc_auth.h: Likewise.
76055         * include/rpc/xdr.h: Likewise.
76056         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76057         * nss/Makefile: Likewise.
76058         * sunrpc/Makefile: Don't install headers.  Build library with normal
76059         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76060         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76061         for the compat linking library.  Remove use of INTDEF/INTUSE.
76062         * sunrpc/auth_none.c: Likewise.
76063         * sunrpc/auth_unix.c: Likewise.
76064         * sunrpc/authdes_prot.c: Likewise.
76065         * sunrpc/authuxprot.c: Likewise.
76066         * sunrpc/clnt_gen.c: Likewise.
76067         * sunrpc/clnt_perr.c: Likewise.
76068         * sunrpc/clnt_raw.c: Likewise.
76069         * sunrpc/clnt_simp.c: Likewise.
76070         * sunrpc/clnt_tcp.c: Likewise.
76071         * sunrpc/clnt_udp.c: Likewise.
76072         * sunrpc/clnt_unix.c: Likewise.
76073         * sunrpc/des_crypt.c: Likewise.
76074         * sunrpc/des_soft.c: Likewise.
76075         * sunrpc/get_myaddr.c: Likewise.
76076         * sunrpc/key_call.c: Likewise.
76077         * sunrpc/key_prot.c: Likewise.
76078         * sunrpc/netname.c: Likewise.
76079         * sunrpc/pm_getmaps.c: Likewise.
76080         * sunrpc/pm_getport.c: Likewise.
76081         * sunrpc/pmap_clnt.c: Likewise.
76082         * sunrpc/pmap_prot.c: Likewise.
76083         * sunrpc/pmap_prot2.c: Likewise.
76084         * sunrpc/pmap_rmt.c: Likewise.
76085         * sunrpc/publickey.c: Likewise.
76086         * sunrpc/rpc_cmsg.c: Likewise.
76087         * sunrpc/rpc_common.c: Likewise.
76088         * sunrpc/rpc_dtable.c: Likewise.
76089         * sunrpc/rpc_prot.c: Likewise.
76090         * sunrpc/rpc_thread.c: Likewise.
76091         * sunrpc/rtime.c: Likewise.
76092         * sunrpc/svc.c: Likewise.
76093         * sunrpc/svc_auth.c: Likewise.
76094         * sunrpc/svc_authux.c: Likewise.
76095         * sunrpc/svc_raw.c: Likewise.
76096         * sunrpc/svc_run.c: Likewise.
76097         * sunrpc/svc_simple.c: Likewise.
76098         * sunrpc/svc_tcp.c: Likewise.
76099         * sunrpc/svc_udp.c: Likewise.
76100         * sunrpc/svc_unix.c: Likewise.
76101         * sunrpc/svcauth_des.c: Likewise.
76102         * sunrpc/xcrypt.c: Likewise.
76103         * sunrpc/xdr.c: Likewise.
76104         * sunrpc/xdr_array.c: Likewise.
76105         * sunrpc/xdr_float.c: Likewise.
76106         * sunrpc/xdr_intXX_t.c: Likewise.
76107         * sunrpc/xdr_mem.c: Likewise.
76108         * sunrpc/xdr_rec.c: Likewise.
76109         * sunrpc/xdr_ref.c: Likewise.
76110         * sunrpc/xdr_sizeof.c: Likewise.
76111         * sunrpc/xdr_stdio.c: Likewise.
76113 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76115         [BZ #12650]
76116         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76117         * sysdeps/ia64/dl-tls.h: Likewise.
76118         * sysdeps/powerpc/dl-tls.h: Likewise.
76119         * sysdeps/s390/dl-tls.h: Likewise.
76120         * sysdeps/sh/dl-tls.h: Likewise.
76121         * sysdeps/sparc/dl-tls.h: Likewise.
76122         * sysdeps/x86_64/dl-tls.h: Likewise.
76123         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76125 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76127         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76128         rpath element also skip the following colon.
76129         (expand_dynamic_string_token): Add is_path parameter and pass
76130         down to DL_DST_REQUIRED and _dl_dst_substitute.
76131         (decompose_rpath): Call expand_dynamic_string_token with
76132         non-zero is_path.  Ignore empty rpaths.
76133         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76134         with zero is_path.
76136 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76139         Make cancelable.
76141 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76143         [BZ #12655]
76144         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76145         Patch by Filipe David Manana <fdmanana@apache.org>.
76147 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76149         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76150         Maintain aligned stack.
76151         (CHECK_RSP): Remove unused macro.
76153 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76155         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76156         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76158 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76160         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76162         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76164 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76166         [BZ #12518]
76167         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76168         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76169         * sysdeps/x86_64/memmove.c: New file.
76170         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76171         (memcpy): Renamed to ...
76172         (__new_memcpy): This.
76173         (memcpy): Provide GLIBC_2_14 memcpy.
76174         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76175         (memcpy): Provide GLIBC_2_2_5 memcpy.
76177 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76179         [BZ #12631]
76180         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76182 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76184         * misc/syncfs.c: New file.
76185         * misc/Makefile (routines): Add syncfs.
76186         * posix/unistd.h: Declare syncfs.
76187         * sysdeps/unix/syscalls.list: Add syncfs.
76189 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76191         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76192         open_by_handle_at.
76193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76194         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76195         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76196         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76197         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76198         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76201 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76203         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76204         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76205         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76206         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76207         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76208         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76209         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76211         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76212         sync_file_range.c with -fexceptions.
76213         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76214         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76215         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76216         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76217         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76218         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76219         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76220         sync_file_range as cancellation point
76221         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76222         now a wrapper around __call_sync_file_range with cancellation handling.
76223         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76224         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76225         function name to __call_sync_file_range.
76226         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76227         Add call_sync_file_range.
76229 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76232         bits/timex.h.
76234 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76236         * iconv/iconv.h: Fix typo in comment.
76237         * io/fcntl.h: Likewise.
76238         * libio/stdio.h: Likewise.
76239         * posix/spawn.h: Likewise.
76240         * posix/unistd.h: Likewise.
76241         * stdlib/stdlib.h: Likewise.
76242         * time/time.h: Likewise.
76243         * wcsmbs/wchar.h: Likewise.
76245         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76246         open_by_handle): Add.
76247         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76248         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76249         Augment a few comments.
76250         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76251         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76252         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76253         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76254         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76255         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76256         open_by_handle.
76258         * io/fcntl.h (AT_EMPTY_PATH): Define.
76260 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76262         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76263         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76264         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76265         to...
76266         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76267         * Versions.def: Add GLIBC_2.14.
76268         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76269         Export.
76271 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76273         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76274         round counter.
76275         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76277 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76279         [BZ #12597]
76280         * string/test-strncmp.c (do_page_test): New function.
76281         (check2): Likewise.
76282         (test_main): Call check2.
76283         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76285 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76287         [BZ #12587]
76288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76289         Handle cache information in CPU leaf 4.
76290         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76292 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76294         [BZ #12583]
76295         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76296         character representation.
76297         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76299 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76301         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76302         END(__isnan) to END(__isnanf) to match function entry point/label
76303         EALIGN(__isnanf,...).
76305 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76307         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76309 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76311         [BZ #12510]
76312         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76313         copy from the symbol referenced in the relocation to initialize the
76314         used variable.
76315         Patch by Piotr Bury <pbury@goahead.com>.
76316         * elf/Makefile: Add rules to build and tst-unique3.
76317         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76318         * elf/tst-unique3.cc: New file.
76319         * elf/tst-unique3.h: New file.
76320         * elf/tst-unique3lib.cc: New file.
76321         * elf/tst-unique3lib2.cc: New file.
76323         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76325 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76327         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76328         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76329         to _start.
76331 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76333         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76334         to-be-loaded object along a path to loader is ld.so.
76336 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76337             Ulrich Drepper  <drepper@gmail.com>
76339         * sysdeps/x86_64/memset.S: After aligning destination, code
76340         branches to different locations depending on the value of
76341         misalignment, when multiarch is enabled. Fix this.
76343 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76345         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76346         Set _x86_64_preferred_memory_instruction for AMD processsors.
76347         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76348         Set bit_Prefer_SSE_for_memop for AMD processors.
76350 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76352         * libio/fmemopen.c (fmemopen): Optimize a bit.
76354 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76356         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76358 2011-03-03  Roland McGrath  <roland@redhat.com>
76360         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76362 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76364         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76365         __bzero_ultra1 instead of __memset_ultra1.
76367 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76368             Ulrich Drepper  <drepper@gmail.com>
76370         [BZ #12509]
76371         * include/link.h (struct link_map): Add l_orig_initfini.
76372         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76373         returning unsuccessfully.
76374         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76375         close of a file loaded at startup, restore the original l_initfini
76376         list.
76377         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76378         list, store the pointer.
76379         * elf/Makefile ($(objpfx)noload-mem): New rule.
76380         (noload-ENV): Define.
76381         (tests): Add $(objpfx)noload-mem.
76382         * elf/noload.c: Include <memcheck.h>.
76383         (main): Call mtrace.  Close all opened handles.
76385 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76387         [BZ #12454]
76388         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76389         dependencies are missing.
76391 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76393         Fix __if_freereq crash: Unlike the generic version which uses free,
76394         Hurd needs munmap.
76395         * sysdeps/mach/hurd/ifreq.h: New file.
76397 2011-01-27  Petr Baudis  <pasky@suse.cz>
76398             Ulrich Drepper  <drepper@gmail.com>
76400         [BZ 12445]#
76401         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76402         to extend_alloca().
76403         * stdio-common/bug23.c: New file.
76404         * stdio-common/Makefile (tests): Add bug23.
76406 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76407             Ulrich Drepper  <drepper@gmail.com>
76409         [BZ #12489]
76410         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76411         before performing relro protection.  At old place add assertion
76412         to make sure nothing changed.
76414 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76415             Glauber de Oliveira Costa  <glommer@gmail.com>
76417         * elf/elf.h: Add new ARM TLS relocs.
76419 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76422         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76423         cast from r3.
76424         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76425         'tests' variable.
76426         * sysdeps/wordsize-64/tst-writev.c: New file.
76428 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76430         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76431         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76432         insns in _dl_start to prevent a TOC reference before relocs are
76433         resolved.
76435 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76437         [BZ #12469]
76438         * Makeconfig: Remove RANLIB definition.
76439         * Makerules: Don't use RANLIB.
76440         * aclocal.m4: Remove ranlib test.
76441         * configure.in: No need to check for ranlib.
76442         * elf/rtld-Rules: Don't use RANLIB.
76444 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76446         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76447         protection macro.
76448         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76449         inclusion protection macro.
76451         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76452         SIGRTMIN and SIGRTMAX and print information in that case only when
76453         SIGRTMIN is defined.
76455 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76457         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76458         arginfo fn returning -1.
76460         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76461         and thousands string is zero terminated.
76463 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76466         sysdeps/unix/sysv/linux/bits/socket.h.
76468 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76470         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76471         (__CPU_COUNT): Remove old macros.
76472         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76473         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76474         (__CPU_ALLOC, __CPU_FREE): Add macros.
76475         (__sched_cpualloc, __sched_cpufree): Add declarations.
76477 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76479         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76480         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76481         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76482         (readdhstai): Return value of addhstaiX call.
76483         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76484         (addgrbyX): Return value returned by cache_addgr.
76485         (readdgrbyname): Return value returned by addgrbyX.
76486         (readdgrbygid): Likewise.
76487         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76488         (addpwbyX): Return value returned by cache_addpw.
76489         (readdpwbyname): Return value returned by addhstbyX.
76490         (readdpwbyuid): Likewise.
76491         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76492         (addservbyX): Return value returned by cache_addserv.
76493         (readdservbyname): Return value returned by addservbyX:
76494         (readdservbyport): Likewise.
76495         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76496         (addhstbyX): Return value returned by cache_addhst.
76497         (readdhstbyname): Return value returned by addhstbyX.
76498         (readdhstbyaddr): Likewise.
76499         (readdhstbynamev6): Likewise.
76500         (readdhstbyaddrv6): Likewise.
76501         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76502         (readdinitgroups): Return value returned by addinitgroupsX.
76503         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76504         (prune_cache): Keep track of timeout value of re-added entries.
76505         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76506         * nscd/nscd.h: Adjust prototypes of readd* functions.
76508 2011-02-04  Roland McGrath  <roland@redhat.com>
76510         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76511         (nis_stats): Likewise.
76512         * nis/nis_modify.c (nis_modify): Likewise.
76513         * nis/nis_remove.c (nis_remove): Likewise.
76514         * nis/nis_add.c (nis_add): Likewise.
76516         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76518         * posix/fnmatch_loop.c: Add some consts.
76520         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76522 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76524         [BZ #12460]
76525         * config.make.in (config-cflags-novzeroupper): Define.
76526         * configure.in: Substitute libc_cv_cc_novzeroupper.
76527         * elf/Makefile (AVX-CFLAGS): Define.
76528         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76529         (CFLAGS-tst-auditmod4a.c): Likewise.
76530         (CFLAGS-tst-auditmod4b.c): Likewise.
76531         (CFLAGS-tst-auditmod6b.c): Likewise.
76532         (CFLAGS-tst-auditmod6c.c): Likewise.
76533         (CFLAGS-tst-auditmod7b.c): Likewise.
76534         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76536 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76538         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76539         function to the callback.
76540         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76542 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76544         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76545         of errno.
76547 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76549         [BZ #11724]
76550         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76551         of constructors.
76552         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76553         of destructors.
76554         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76556         [BZ #11724]
76557         * elf/Makefile: Add rules to build and run new test.
76558         * elf/tst-initorder.c: New file.
76559         * elf/tst-initorder.exp: New file.
76560         * elf/tst-initordera1.c: New file.
76561         * elf/tst-initordera2.c: New file.
76562         * elf/tst-initordera3.c: New file.
76563         * elf/tst-initordera4.c: New file.
76564         * elf/tst-initorderb1.c: New file.
76565         * elf/tst-initorderb2.c: New file.
76566         * elf/tst-order-a1.c: New file.
76567         * elf/tst-order-a2.c: New file.
76568         * elf/tst-order-a3.c: New file.
76569         * elf/tst-order-a4.c: New file.
76570         * elf/tst-order-b1.c: New file.
76571         * elf/tst-order-b2.c: New file.
76572         * elf/tst-order-main.c: New file.
76573         New test case by George Gensure <werkt0@gmail.com>.
76575 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76578         decoding ACE if AI_CANONIDN.
76580 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76582         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76584 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76586         * version.h (RELEASE): Bump for 2.13 release.
76587         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76589         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76591         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76592         MADV_NOHUGEPAGE.
76593         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76594         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76595         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76596         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76597         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76598         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76600         * posix/getconf.c: Update copyright year.
76601         * catgets/gencat.c: Likewise.
76602         * csu/version.c: Likewise.
76603         * debug/catchsegv.sh: Likewise.
76604         * debug/xtrace.sh: Likewise.
76605         * elf/ldconfig.c: Likewise.
76606         * elf/ldd.bash.in: Likewise.
76607         * elf/sprof.c (print_version): Likewise.
76608         * iconv/iconv_prog.c: Likewise.
76609         * iconv/iconvconfig.c: Likewise.
76610         * locale/programs/locale.c: Likewise.
76611         * locale/programs/localedef.c: Likewise.
76612         * malloc/memusage.sh: Likewise.
76613         * malloc/mtrace.pl: Likewise.
76614         * nscd/nscd.c (print_version): Likewise.
76615         * nss/getent.c: Likewise.
76617         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76618         PF_CAIF, and PF_ALG.
76619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76621 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76623         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76624         (modules-names): Use them.
76625         (ifunc-test-modules, ifunc-pie-tests): Define.
76626         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76627         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76628         (test-extras): Likewise.
76629         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76630         $(compile-command.c).
76631         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76632         (all-built-dso): Define.
76633         (check-textrel.out, check-execstack.out): Depend on it.
76635         * configure.in: Don't override --enable-multi-arch.
76637 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76639         [BZ #6812]
76640         * nscd/hstcache.c (tryagain): Define.
76641         (cache_addhst): Return tryagain not notfound for temporary errors.
76642         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76643         failed.
76645 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76647         [BZ #10563]
76648         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76649         to make the syscall.
76650         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76652         [BZ #12378]
76653         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76654         and fall back to matching as normal character if the string ends before
76655         the matching ']' is found.  This is what POSIX requires.
76656         * posix/testfnm.c: Adjust test result.
76657         * posix/globtest.sh: Adjust test result.  Add new test.
76658         * posix/tst-fnmatch.input: Likewise.
76659         * posix/tst-fnmatch2.c: Add new test.
76661 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76663         * elf/Makefile (check-execstack): Revert last change.  Depend on
76664         check-execstack.h.
76665         (check-execstack.h): New target.
76666         (generated): Add check-execstack.h.
76667         * elf/check-execstack.c: Include "check-execstack.h".
76668         (main): Revert last change.
76669         (handle_file): Return zero if GNU_STACK is absent and
76670         DEFAULT_STACK_PERMS doesn't include PF_X.
76672 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76674         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76675         in child fails because the descriptor is already closed.
76676         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76677         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76678         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76680         [BZ #12397]
76681         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76682         syscall.
76684         [BZ #10484]
76685         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76686         temporary buffer used to handle multi lookups locally.
76687         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76689 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76691         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76692         loader is ld.so.
76694 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76696         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76697         alignment for SSE2.
76699 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76701         [BZ #12394]
76702         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76703         characters.  When rounding increased number of integer digits recompute
76704         number of groups.
76705         * stdio-common/tst-grouping.c: New file.
76706         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76708 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76710         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76711         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76713         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76714         void.
76715         * bits/select.h: Likewise.
76717 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76719         * po/ja.po: Update from translation team.
76721 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76723         [BZ #11155]
76724         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76725         implementation just like for lxstat, fxstatat, et al.
76727 2010-12-27  Jim Meyering  <meyering@redhat.com>
76729         [BZ #12348]
76730         * posix/regexec.c (build_trtable): Return failure indication upon
76731         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76733 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76735         [BZ #12201]
76736         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76737         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76738         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76739         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76741         [BZ #12207]
76742         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76744         [BZ #12204]
76745         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76746         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76748 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76750         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76751         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76752         script has SORT_BY_INIT_PRIORITY.
76753         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76754         NO_CTORS_DTORS_SECTIONS is defined.
76755         * elf/soinit.c: Likewise.
76756         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76757         NO_CTORS_DTORS_SECTIONS is defined.
76758         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76759         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76760         * sysdeps/sh/init-first.c: Likewise.
76761         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76763 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76765         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76766         always use the slow path.
76768 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76770         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76771         similar rule which adds the sysdep directories to the header search in
76772         order to pick up the correct platform stackinfo.h.
76773         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76774         perform test if it is, otherwise return successfully without testing.
76775         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76776         DEFAULT_STACK_PERMS define in stackinfo.h.
76777         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76778         defined in stackinfo.h.
76779         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76780         DEFAULT_STACK_PERMS defined in stackinfo.h.
76781         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76782         * sysdeps/ia64/stackinfo.h: Likewise.
76783         * sysdeps/s390/stackinfo.h: Likewise.
76784         * sysdeps/sh/stackinfo.h: Likewise.
76785         * sysdeps/sparc/stackinfo.h: Likewise.
76786         * sysdeps/x86_64/stackinfo.h: Likewise.
76787         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76788         PF_X for powerpc64.  Retain PF_X for powerpc32.
76790 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76792         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76793         accurately.
76794         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76795         GETDENTS_64BIT_ALIGNED.
76797 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76799         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76801 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76803         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76804         _GNU_SOURCE.
76806         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76807         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76808         Remove __restrict.
76809         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76810         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76812 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76814         [BZ #11655]
76815         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76816         are initialized.
76818 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76820         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76822 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76824         * po/it.po: Update from translation team.
76826 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76829         unused codes.
76831 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76833         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76835 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76837         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76838         specially.
76839         (gaih_getanswer_slice): Likewise.
76841 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76845 2010-05-31  Petr Baudis  <pasky@suse.cz>
76847         [BZ #11149]
76848         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76849         silently even in the chroot mode.
76851 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76853         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76854         last patch a bit.  Pretty printing
76856 2010-05-31  Petr Baudis <pasky@suse.cz>
76858         [BZ #10085]
76859         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76860         initialization of skip_initgroups_dyn.
76862 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76864         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76865         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76867 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76869         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76871 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76873         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76874         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76875         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76876         ($(objpfx)tst-fnmatch-mem): New rule.
76877         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76878         * posix/tst-fnmatch.c (main): Call mtrace.
76880 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76883         Support Intel processor model 6 and model 0x2c.
76885 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76887         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76888           signed comparison.
76890 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76892         [BZ #12205]
76893         * string/test-strncasecmp.c (check_result): New function.
76894         (do_one_test): Use it.
76895         (check1): New function.
76896         (test_main): Use it.
76897         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76898         Support strcasecmp and strncasecmp.
76900 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76902         [BZ #12194]
76903         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76904         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76906 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76908         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76909         IFUNC support.
76910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76911         memset-x86-64.
76912         * sysdeps/x86_64/multiarch/bzero.S: New file.
76913         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76914         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76915         * sysdeps/x86_64/multiarch/memset.S: New file.
76916         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76918         Set bit_Prefer_SSE_for_memop for Intel processors.
76919         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76920         Define.
76921         (index_Prefer_SSE_for_memop): Define.
76922         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76924 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76926         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76927         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76929 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76931         [BZ #12191]
76932         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76933         (__x86_64_raw_data_cache_size_half): Likewise.
76934         (__x86_64_raw_shared_cache_size): Likewise.
76935         (__x86_64_raw_shared_cache_size_half): Likewise.
76937         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76938         (__x86_64_raw_data_cache_size_half): Likewise.
76939         (__x86_64_raw_shared_cache_size): Likewise.
76940         (__x86_64_raw_shared_cache_size_half): Likewise.
76941         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76942         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76943         and __x86_64_raw_shared_cache_size_half.  Round
76944         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76945         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76946         to multiple of 256 bytes.
76948 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76950         [BZ #12167]
76951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76952         of inacessible symlinks.  Verify result of symlink before returning it.
76953         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76954         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76956 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76958         * math/math.h (isinf): Fix typo in comment.
76960 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76962         * po/da.po: Update from translation team.
76964 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76966         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76967         is added to the list.
76969 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76970             Ulrich Drepper  <drepper@gmail.com>
76972         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76973         the global list here.  Move code to...
76974         (_dl_add_to_namespace_list): ...here.  New function.
76975         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76976         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76977         * elf/dl-load.c (lose): Don't remove the element from the list.
76978         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76979         (_dl_map_object): Likewise.
76981 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76983         [BZ #12159]
76984         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76985         into all bytes of SSE register.
76986         Patch by Richard Li <richardpku@gmail.com>.
76988 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76990         [BZ #12140]
76991         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76992         perturbing.
76994 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76996         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76997         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76998         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76999         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77001         submachine.
77002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77004 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77006         * include/dlfcn.h (__RTLD_SECURE): Define.
77007         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77008         mode & __RTLD_SECURE instead.
77009         (open_path): Rename preloaded parameter to secure.
77010         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77011         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77012         * elf/dl-deps.c (openaux): Likewise.
77013         * elf/rtld.c (struct map_args): Remove is_preloaded.
77014         (map_doit): Don't use it.
77015         (dl_main): Likewise.
77016         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77017         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77019 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77021         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77022         (sysd-rules-targets): Remove duplicates.
77023         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77024         rtld-%.$o dependency.
77026 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77028         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77029         _dl_map_object do it.
77031 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77033         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77034         fast fma builtins, define the macros in the C99 standard.
77035         (FP_FAST_FMAF): Likewise.
77036         (FP_FAST_FMAL): Likewise.
77037         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77039         * bits/mathdef.h: Update copyright year.
77040         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77042 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77044         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77045         builtins, define the macros in the C99 standard.
77046         (FP_FAST_FMAF): Likewise.
77047         (FP_FAST_FMAL): Likewise.
77048         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77049         multiply/add.
77050         (FP_FAST_FMAF): Likewise.
77052 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77054         [BZ #3268]
77055         * math/libm-test.inc (fma_test): Some new testcases.
77056         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77057         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77058         y and infinite z.  Do multiplication by C already in long double.
77059         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77061         y and infinite z.  Do bitwise or of inexact bit into u.d.
77062         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77063         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77064         * sysdeps/i386/fpu/s_fma.S: Removed.
77065         * sysdeps/i386/fpu/s_fmal.S: Removed.
77067 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77069         [BZ #3268]
77070         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77072         computation is not scheduled after fetestexcept.  Fix value
77073         of minimum denormal long double.
77075 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77077         [BZ #3268]
77078         * math/libm-test.inc (fma_test): Add some more tests.
77079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77080         correctly.
77082 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77084         * scripts/data/localplt-s390-linux-gnu.data: New file.
77085         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77087 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77089         [BZ #3268]
77090         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77091         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77092         instead of dbl-64.
77093         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77094         inlines.
77095         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77097         if one of x and y is very large and the other is subnormal.
77098         * sysdeps/s390/fpu/s_fmaf.c: New file.
77099         * sysdeps/s390/fpu/s_fma.c: New file.
77100         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77101         * sysdeps/powerpc/fpu/s_fma.S: New file.
77102         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77103         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77104         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77106 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77108         [BZ #3268]
77109         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77110         fma tests.
77111         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77112         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77113         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77114         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77115         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77116         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77117         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77119 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77121         [BZ #12078]
77122         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77123         * posix/bug-regex31.input: Add test case.
77125 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77127         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77128         * posix/bug-regex31.input: New file.
77130         [BZ #12078]
77131         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77132         (parse_sub_exp): Fix last change, use postorder.
77134         * posix/bug-regex31.c: New file.
77135         * posix/Makefile: Add rules to build and run bug-regex31.
77137         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77139         [BZ #12078]
77140         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77142         [BZ #12108]
77143         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77144         to have entries in sys_siglist.
77146         [BZ #12093]
77147         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77148         be NULL.
77150 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77152         [BZ #3268]
77153         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77154         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77155         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77156         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77157         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77158         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77159         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77160         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77161         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77162         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77163         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77164         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77165         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77166         * math/ftestexcept.c (fetestexcept): Likewise.
77167         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77168         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77169         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77170         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77171         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77172         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77173         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77175 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77177         [BZ #12107]
77178         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77179         newline.
77181 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77183         * string/bug-strstr1.c: New file.
77184         * string/Makefile: Add rules to build and run bug-strstr1.
77186 2010-10-05  Eric Blake  <eblake@redhat.com>
77188         [BZ #12092]
77189         * string/str-two-way.h (two_way_long_needle): Always clear memory
77190         when skipping input due to the shift table.
77192 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77194         [BZ #12005]
77195         * malloc/mcheck.c: Handle large requests.
77197         [BZ #12077]
77198         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77199         for strncmp and strncasecmp.
77200         * string/stratcliff.c: Add tests for strcmp and strncmp.
77201         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77203 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77205         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77206         __set_fpscr.
77208 2010-09-30  Andreas Jaeger  <aj@suse.de>
77210         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77211         (CGROUP_SUPER_MAGIC): Define.
77212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77213         Handle btrfs and cgroup file systems.
77214         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77215         Likewise.
77217 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77219         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77220         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77222 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77224         [BZ #12067]
77225         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77226         trying to locate the ELF header.
77228 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77230         [BZ #11611]
77231         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77232         Mask out sign-bit copies when constructing f_fsid.
77234 2010-09-24  Petr Baudis <pasky@suse.cz>
77236         * debug/stack_chk_fail_local.c: Add missing licence exception.
77237         * debug/warning-nop.c: Likewise.
77239 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77241         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77242         implementing getdents64 using getdents syscall, set d_type if
77243         __ASSUME_GETDENTS32_D_TYPE.
77245 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77247         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77248         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77250 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77252         [BZ #12037]
77253         * posix/unistd.h: Undo change of feature selection for ftruncate from
77254         2010-01-11.
77256 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77258         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77259         detection.
77261 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77263         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77264         fanotify_mark.
77265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77267 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77269         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77270         variables after CHECK_SP call.
77271         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77273 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77274             Ulrich Drepper  <drepper@redhat.com>
77276         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77277         re-relocationg ld.so.
77278         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77279         _dl_init_paths call.
77280         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77281         here anymore.
77283 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77285         * resolv/res_init.c (__res_vinit): Count the default server we added.
77287 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77288             Ulrich Drepper  <drepper@redhat.com>
77290         [BZ #11968]
77291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77292         (____longjmp_chk): Use %ebx for saving value across system call.
77293         Add unwind info.
77295 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77297         * manual/Makefile: Don't mix pattern rules with normal rules.
77299 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77301         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77302         operation.
77303         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77304         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77305         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77306         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77307         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77308         Likewise.
77310 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77312         [BZ #11979]
77313         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77314         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77316 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77318         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77319         * sysdeps/x86_64/addmul_1.S: Likewise.
77320         * sysdeps/x86_64/lshift.S: Likewise.
77321         * sysdeps/x86_64/mul_1.S: Likewise.
77322         * sysdeps/x86_64/rshift.S: Likewise.
77323         * sysdeps/x86_64/sub_n.S: Likewise.
77324         * sysdeps/x86_64/submul_1.S: Likewise.
77326 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77328         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77329         Define __sched_param instead of SCHED_* and sched_param when
77330         <bits/sched.h> is included with __need_schedparam defined.
77331         * bits/sched.h [__need_schedparam]
77332         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77333         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77334         (__defined_schedparam): Define to 1.
77335         (__sched_param): New structure, identical to sched_param.
77336         (__need_schedparam): Undefine.
77338 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77340         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77341         (epoll_create1): Declare.
77343         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77345 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77347         [BZ #7066]
77348         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77349         shifting retval into place.
77351 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77353         * nis/rpcsvc/nis.h: Update copyright notice.
77354         * nis/rpcsvc/nis.x: Likewise.
77355         * nis/rpcsvc/nis_callback.h: Likewise.
77356         * nis/rpcsvc/nis_callback.x: Likewise.
77357         * nis/rpcsvc/nis_object.x: Likewise.
77358         * nis/rpcsvc/nis_tags.h: Likewise.
77359         * nis/rpcsvc/yp.h: Likewise.
77360         * nis/rpcsvc/yp.x: Likewise.
77361         * nis/rpcsvc/ypupd.h: Likewise.
77362         * nis/yp_xdr.c: Likewise.
77363         * nis/ypupdate_xdr.c: Likewise.
77365         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77366         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77367         (pmap_getport): Use __libc_rpc_getport.
77368         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77369         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77370         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77372 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77375         fanotify_mark.
77377 2010-08-27  Roland McGrath  <roland@redhat.com>
77379         * sysdeps/i386/i686/multiarch/Makefile
77380         (CFLAGS-varshift.c): New variable.
77382 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77384         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77385         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77387         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77389         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77391 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77393         * sysdeps/x86_64/strlen.S: Unroll the loop.
77394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77395         strlen-sse2 strlen-sse2-bsf.
77396         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77397         __strlen_no_bsf if bit_Slow_BSF is set.
77398         (__strlen_sse42): Removed.
77399         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77400         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77402 2010-08-25  Roland McGrath  <roland@redhat.com>
77404         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77405         * sysdeps/x86_64/multiarch/varshift.c: New file.
77406         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77407         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77408         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77409         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77411 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77414         strlen-sse2 strlen-sse2-bsf.
77415         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77416         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77417         (__strlen_sse2): Removed.
77418         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77419         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77421         bit_Slow_BSF for Atom.
77422         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77423         (index_Slow_BSF): Define.
77424         (HAS_SLOW_BSF): Define.
77426 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77428         [BZ #10851]
77429         * resolv/res_init.c (__res_vinit): When no server address at all
77430         is given default to loopback.
77432 2010-08-24  Roland McGrath  <roland@redhat.com>
77434         * configure.in: Remove config-name.h generation.
77435         * configure: Regenerated.
77436         * config-name.in: File removed.
77437         * scripts/config-uname.sh: New file.
77438         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77439         ($(objdir)config-name.h): New target.
77441         * sunrpc/rpc_parse.h: Avoid nested comment.
77443 2010-08-24  Richard Henderson  <rth@redhat.com>
77444             Ulrich Drepper  <drepper@redhat.com>
77445             H.J. Lu  <hongjiu.lu@intel.com>
77447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77448         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77449         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77450         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77451         _mm_alignr_epi8 with _mm_loadu_si128.
77452         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77453         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77454         (__m128i_shift_right): Removed.
77455         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77456         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77457         * sysdeps/x86_64/multiarch/varshift.h: New file.
77458         * sysdeps/x86_64/multiarch/varshift.S: New file.
77460 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77462         * configure.in: Move assembler checks to before sysdep dir checking.
77464 2010-08-20  Petr Baudis  <pasky@suse.cz>
77466         * LICENSES: Sync the sunrpc license.
77468 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77470         * sunrpc/auth_des.c: Update copyright notice once again.
77471         * sunrpc/auth_none.c: Likewise.
77472         * sunrpc/auth_unix.c: Likewise.
77473         * sunrpc/authdes_prot.c: Likewise.
77474         * sunrpc/authuxprot.c: Likewise.
77475         * sunrpc/bindrsvprt.c: Likewise.
77476         * sunrpc/clnt_gen.c: Likewise.
77477         * sunrpc/clnt_perr.c: Likewise.
77478         * sunrpc/clnt_raw.c: Likewise.
77479         * sunrpc/clnt_simp.c: Likewise.
77480         * sunrpc/clnt_tcp.c: Likewise.
77481         * sunrpc/clnt_udp.c: Likewise.
77482         * sunrpc/clnt_unix.c: Likewise.
77483         * sunrpc/des_crypt.c: Likewise.
77484         * sunrpc/des_soft.c: Likewise.
77485         * sunrpc/get_myaddr.c: Likewise.
77486         * sunrpc/getrpcport.c: Likewise.
77487         * sunrpc/key_call.c: Likewise.
77488         * sunrpc/key_prot.c: Likewise.
77489         * sunrpc/openchild.c: Likewise.
77490         * sunrpc/pm_getmaps.c: Likewise.
77491         * sunrpc/pm_getport.c: Likewise.
77492         * sunrpc/pmap_clnt.c: Likewise.
77493         * sunrpc/pmap_prot.c: Likewise.
77494         * sunrpc/pmap_prot2.c: Likewise.
77495         * sunrpc/pmap_rmt.c: Likewise.
77496         * sunrpc/rpc/auth.h: Likewise.
77497         * sunrpc/rpc/auth_unix.h: Likewise.
77498         * sunrpc/rpc/clnt.h: Likewise.
77499         * sunrpc/rpc/des_crypt.h: Likewise.
77500         * sunrpc/rpc/key_prot.h: Likewise.
77501         * sunrpc/rpc/netdb.h: Likewise.
77502         * sunrpc/rpc/pmap_clnt.h: Likewise.
77503         * sunrpc/rpc/pmap_prot.h: Likewise.
77504         * sunrpc/rpc/pmap_rmt.h: Likewise.
77505         * sunrpc/rpc/rpc.h: Likewise.
77506         * sunrpc/rpc/rpc_des.h: Likewise.
77507         * sunrpc/rpc/rpc_msg.h: Likewise.
77508         * sunrpc/rpc/svc.h: Likewise.
77509         * sunrpc/rpc/svc_auth.h: Likewise.
77510         * sunrpc/rpc/types.h: Likewise.
77511         * sunrpc/rpc/xdr.h: Likewise.
77512         * sunrpc/rpc_clntout.c: Likewise.
77513         * sunrpc/rpc_cmsg.c: Likewise.
77514         * sunrpc/rpc_common.c: Likewise.
77515         * sunrpc/rpc_cout.c: Likewise.
77516         * sunrpc/rpc_dtable.c: Likewise.
77517         * sunrpc/rpc_hout.c: Likewise.
77518         * sunrpc/rpc_main.c: Likewise.
77519         * sunrpc/rpc_parse.c: Likewise.
77520         * sunrpc/rpc_parse.h: Likewise.
77521         * sunrpc/rpc_prot.c: Likewise.
77522         * sunrpc/rpc_sample.c: Likewise.
77523         * sunrpc/rpc_scan.c: Likewise.
77524         * sunrpc/rpc_scan.h: Likewise.
77525         * sunrpc/rpc_svcout.c: Likewise.
77526         * sunrpc/rpc_tblout.c: Likewise.
77527         * sunrpc/rpc_util.c: Likewise.
77528         * sunrpc/rpc_util.h: Likewise.
77529         * sunrpc/rpcinfo.c: Likewise.
77530         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77531         * sunrpc/rpcsvc/key_prot.x: Likewise.
77532         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77533         * sunrpc/rpcsvc/mount.x: Likewise.
77534         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77535         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77536         * sunrpc/rpcsvc/rex.x: Likewise.
77537         * sunrpc/rpcsvc/rstat.x: Likewise.
77538         * sunrpc/rpcsvc/rusers.x: Likewise.
77539         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77540         * sunrpc/rpcsvc/spray.x: Likewise.
77541         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77542         * sunrpc/rtime.c: Likewise.
77543         * sunrpc/svc.c: Likewise.
77544         * sunrpc/svc_auth.c: Likewise.
77545         * sunrpc/svc_authux.c: Likewise.
77546         * sunrpc/svc_raw.c: Likewise.
77547         * sunrpc/svc_run.c: Likewise.
77548         * sunrpc/svc_simple.c: Likewise.
77549         * sunrpc/svc_tcp.c: Likewise.
77550         * sunrpc/svc_udp.c: Likewise.
77551         * sunrpc/svc_unix.c: Likewise.
77552         * sunrpc/svcauth_des.c: Likewise.
77553         * sunrpc/xcrypt.c: Likewise.
77554         * sunrpc/xdr.c: Likewise.
77555         * sunrpc/xdr_array.c: Likewise.
77556         * sunrpc/xdr_float.c: Likewise.
77557         * sunrpc/xdr_mem.c: Likewise.
77558         * sunrpc/xdr_rec.c: Likewise.
77559         * sunrpc/xdr_ref.c: Likewise.
77560         * sunrpc/xdr_sizeof.c: Likewise.
77561         * sunrpc/xdr_stdio.c: Likewise.
77563         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77564         handling.
77566 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77568         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77570 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77572         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77573         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77574         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77575         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77576         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77577         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77579         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77580         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77581         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77582         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77583         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77584         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77585         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77587 2010-07-26  Anton Blanchard  <anton@samba.org>
77589         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77590         * malloc/arena.c (heap_trim): Likewise.
77592 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77594         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77595         here.  Not...
77596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77597         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77599 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77601         * sysdeps/i386/elf/Makefile: New file.
77603 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77605         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77606         from fanotify_init.
77607         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77610 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77612         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77613         of strncasecmp_l.
77614         * sysdeps/multiarch/strcmp.S: Likewise.
77616 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77618         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77619         strncase_l-nonascii.
77620         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77621         Add strncase_l-ssse3.
77622         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77623         * sysdeps/x86_64/strcmp.S: Likewise.
77624         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77625         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77626         * sysdeps/x86_64/strncase.S: New file.
77627         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77628         * sysdeps/x86_64/strncase_l.S: New file.
77629         * string/Makefile (strop-tests): Add strncasecmp.
77630         * string/test-strncasecmp.c: New file.
77632         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77633         warning.
77635         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77636         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77638 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77640         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77642 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77644         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77645         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77646         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77648 2010-05-01  Alan Modra  <amodra@gmail.com>
77650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77651         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77652         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77653         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77654         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77655         tidying.  Don't tail-call __sigjmp_save for static lib.
77656         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77657         save location.
77658         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77659         (CALL_MCOUNT): Add eh info, and nop after bl.
77660         (TAIL_CALL_SYSCALL_ERROR): New macro.
77661         (PSEUDO_RET): Use it.
77662         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77663         Correct save location of integer regs and cr.
77664         (_dl_profile_resolve): Correct cr save location.  Delete nops
77665         after bl when SHARED.  Reduce cfi size a little by better
77666         placement of cfi directives.
77667         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77668         make a stack frame.  Instead use parm save area as a temp.
77669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77670         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77672         Don't make a stack frame for parent, use parm save area.
77673         Increase child stack frame to 112 bytes.  Don't save unused reg,
77674         and adjust reg usage.  Set up cfi on error recovery and
77675         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77677         (__makecontext): Add dummy nop after jump to exit.
77678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77679         Use correct parm save area and cr save, reduce stack frame.
77680         Correct cfi for possible PSEUDO_RET frame setup.
77681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77682         Branch to local label emitted by PSEUDO_RET rather than
77683         __syscall_error.
77685 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77687         [BZ #11904]
77688         * locale/programs/locale.c (print_assignment): New function.
77689         (show_locale_vars): Use it.
77691 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77693         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77694         field.
77695         (struct statfs64): Likewise.
77696         (_STATFS_F_FLAGS): Define.
77697         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77698         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77699         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77700         (ST_VALID): Define locally.
77701         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77702         __statvfs_getflags, use the provided value.
77703         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77704         __ASSUME_STATFS_F_FLAGS.
77706         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77708         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77709         Add sys/fanotify.h.
77710         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77711         fanotify_mask for GLIBC_2.13.
77712         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77713         fanotify_init and fanotify_mark.
77714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77715         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77717         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77718         Add prlimit.
77719         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77720         prlimit64 for GLIBC_2.13.
77721         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77722         prlimit64.
77723         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77724         syscall.
77725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77727         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77728         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77729         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77730         add prlimit alias.
77731         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77733         [BZ #11903]
77734         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77735         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77737         * nss/Makefile: Add rules to build and run tst-nss-test1.
77738         * shlib-versions: Add entry for libnss_test1.
77739         * nss/nss_test1.c: New file.
77740         * nss/tst-nss-test1.c: New file.
77742         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77743         (__nss_configure_lookup): Set appropriate entry in
77744         __nss_configure_lookup to true.
77745         * nss/nsswitch.h: Define enum with indeces of databases in
77746         databases and __nss_database_custom arrays.  Declare
77747         __nss_database_custom.
77748         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77749         to avoid using nscd when custom rules are installed.
77750         * nss/getXXbyYY_r.c: Likewise.
77751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77753         * nss/nss_files/files-parse.c: Whitespace fixes.
77755 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77757         [BZ #11883]
77758         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77759         * posix/fnmatch_loop.c: Likewise.
77761 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77763         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77764         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77765         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77766         * Versions.def [GLIBC_2.13]: Add.
77768 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77770         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77771         Also fail if tpwd after pwuid call is NULL.
77773 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77775         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77776         when converting to ms.
77778 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77780         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77781         EOPNOTSUPP errors with ENOTTY.
77782         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77783         EOPNOTSUPP errors with ENOTTY.
77785 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77787         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77788         Add strcasecmp_l-ssse3.
77789         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77790         strcasecmp.
77791         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77792         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77793         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77795 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77797         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77799         * string/Makefile (strop-tests): Add strcasecmp.
77800         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77801         strcasecmp_l-nonascii.
77802         (gen-as-const-headers): Add locale-defines.sym.
77803         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77804         * sysdeps/x86_64/strcasecmp.S: New file.
77805         * sysdeps/x86_64/strcasecmp_l.S: New file.
77806         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77807         * sysdeps/x86_64/locale-defines.sym: New file.
77808         * string/test-strcasecmp.c: New file.
77810         * string/test-strcasestr.c: Test both ends of the range of characters.
77811         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77813 2010-07-29  Roland McGrath  <roland@redhat.com>
77815         [BZ #11856]
77816         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77818 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77820         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77821         for ld.so.
77823 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77825         * manual/memory.texi (Malloc Tunable Parameters): Document
77826         M_PERTURB.
77828 2010-07-26  Roland McGrath  <roland@redhat.com>
77830         [BZ #11840]
77831         * configure.in (-fgnu89-inline check): Set and substitute
77832         gnu89_inline, not libc_cv_gnu89_inline.
77833         * configure: Regenerated.
77834         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77836 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77838         * string/test-strnlen.c: New file.
77839         * string/Makefile (strop-tests): Add strnlen.
77840         * string/tester.c (test_strnlen): Add a few more test cases.
77841         * string/tst-strlen.c: Better error reporting.
77843         * sysdeps/x86_64/strnlen.S: New file.
77845 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77847         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77848         lower-latency instructions.
77850 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77852         * string/test-strcasestr.c: New file.
77853         * string/test-strstr.c: New file.
77854         * string/Makefile (strop-tests): Add strstr and strcasestr.
77855         * string/str-two-way.h: Don't undefine MAX.
77856         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77858 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77860         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77861         strcasestr-nonascii.
77862         (CFLAGS-strcasestr-nonascii.c): Define.
77863         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77864         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77865         Remove unused attribute.
77867 2010-07-20  Roland McGrath  <roland@redhat.com>
77869         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77870         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77871         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77872         like LD_HWCAP_MASK can disable hwcaps.
77874 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77876         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77878 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77880         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77881         call in strcasestr.
77882         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77883         __strcasestr_sse42_nonascii.
77884         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77885         strcasestr-nonascii.c.
77886         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77888 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77890         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77892         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77893         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77895 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77897         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77898         fcntl.
77900 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77902         [BZ #11577]
77903         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77904         dl_signal_cerror.
77906 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77908         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77909         _PC_PIPE_BUF using F_GETPIPE_SZ.
77911 2010-07-05  Roland McGrath  <roland@redhat.com>
77913         * manual/arith.texi (Rounding Functions): Fix rint description
77914         implicit in round description.
77916 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77918         * elf/Makefile: Fix linking for a few tests to make recent linker
77919         happy.
77921 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77923         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77924         $(common-objpfx)libc_nonshared.a.
77926 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77928         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77929         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77930         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77931         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77932         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77933         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77934         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77935         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77950         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77951         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77952         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77953         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77954         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77955         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77956         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77957         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77958         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77959         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77960         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77961         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77977 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77979         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77980         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77981         * string/memmove.c (memmove): Renamed to ...
77982         (MEMMOVE): ...this.  Default to memmove.
77983         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77984         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77985         (END_CHK): Define.
77986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77987         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77988         mempcpy-ssse3-back memmove-ssse3-back.
77989         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77992         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77993         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77994         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77995         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77996         * sysdeps/x86_64/multiarch/memmove.c: New file.
77997         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77998         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77999         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78000         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78001         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78003         Define.
78004         (index_Fast_Copy_Backward): Define.
78005         (HAS_ARCH_FEATURE): Define.
78006         (HAS_FAST_REP_STRING): Define.
78007         (HAS_FAST_COPY_BACKWARD): Define.
78009 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78011         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78012         Restore proper fallback handling.
78014 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78016         [BZ #11701]
78017         * posix/group_member.c (__group_member): Correct checking loop.
78019         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78020         OOM in getpwuid_r correctly.  Return error number when the caller
78021         should return, otherwise -1.
78022         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78023         call returning > 0 value.
78024         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78026 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78028         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78029         libc_nonshared.a from targets in modules-names.
78031 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78033         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78034         requires it.
78036 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78038         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78039         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78040         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78041         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78043 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78045         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78047 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78049         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78050         and F_GETPIPE_SZ.
78051         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78052         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78053         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78054         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78055         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78056         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78058 2010-06-14  Roland McGrath  <roland@redhat.com>
78060         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78062 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78064         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78065         __REDIRECT followed by __THROW.
78066         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78067         * posix/getopt.h (getopt): Likewise.
78069 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78071         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78072         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78073         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78074         in AT_FLAGS.
78075         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78076         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78078 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78080         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78082 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78084         [BZ #11640]
78085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78086         Properly check family and model.
78088 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78090         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78092 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78094         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78096 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78098         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78099         symbol reference.
78101 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78103         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78104         symbol reference.
78106 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78108         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78109         and internal_recvmmsg.
78110         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78111         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78112         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78113         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78115         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78116         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78117         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78119 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78121         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78123 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78125         POWER7 optimizations.
78126         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78127         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78129 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78131         * version.h: Update for 2.13 development version.
78133 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78135         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78136         exceptions.  Return 0.
78138 2010-05-07  Roland McGrath  <roland@redhat.com>
78140         * elf/ldconfig.c (main): Add a const.
78142 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78144         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78145         (args_options): Add no-idn option.
78146         (ahosts_keys_int): Add idn_flags to ai_flags.
78147         (parse_option): Handle 'i' option to clear idn_flags.
78149         * malloc/malloc.c (_int_free): Possible race in the most recently
78150         added check.  Only act on the data if no current modification
78151         happened.
78153 See ChangeLog.17 for earlier changes.