Fix typo in last arith.texi change.
[glibc.git] / ChangeLog
blob954af379c50026d5202c8c38b2e4e753d92ed7f1
1 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3         * manual/arith.texi (nextup): Fix typo in last change.
5 2016-08-03  Zack Weinberg  <zackw@panix.com>
7         [BZ #19239]
8         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
9         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10         define major, minor, and makedev to issue deprecation warnings on use.
11         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12         previously-activated deprecation warnings for these macros and prevent
13         subsequent inclusions of this header from having any effect.
14         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15         including <sys/sysmacros.h>, and undefine it again afterward.
17 2016-08-03  Zack Weinberg  <zackw@panix.com>
19         * sysdeps/generic/sys/sysmacros.h: Delete file.
20         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
21         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
22         * bits/sysmacros.h: ... here; this encoding is now the generic
23         encoding.  Now defines only the following macros:
24         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
25         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
26         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
28         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
29         bits/sysmacros.h and the above new macros to generate the
30         public implementations of major, minor, and makedev.
31         * misc/tst-makedev.c: New test.
32         * include/sys/sysmacros.h: New wrapper.
34         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
35         (routines): Add makedev.
36         (tests): Add tst-makedev.
37         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
38         gnu_dev_makedev.
39         * posix/Makefile (headers): Remove sys/sysmacros.h.
40         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
42         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
43         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
44         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
45         * sysdeps/unix/sysv/linux/alpha/libc.abilist
46         * sysdeps/unix/sysv/linux/arm/libc.abilist
47         * sysdeps/unix/sysv/linux/hppa/libc.abilist
48         * sysdeps/unix/sysv/linux/i386/libc.abilist
49         * sysdeps/unix/sysv/linux/ia64/libc.abilist
50         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
51         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
52         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
53         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
54         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
55         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
56         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
57         * sysdeps/unix/sysv/linux/nios2/libc.abilist
58         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
59         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
60         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
61         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
62         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
63         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
64         * sysdeps/unix/sysv/linux/sh/libc.abilist
65         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
66         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
67         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
68         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
69         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
70         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
71         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
72         Add GLIBC_2.25.
74         * include/features.h (__glibc_clang_prereq): New macro.
75         * misc/sys/cdefs.h (__glibc_clang_has_extension)
76         (__attribute_deprecated_msg__): New macros.
78 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
80         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
81         macro.
82         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
83         * manual/arith.texi (issignaling): Document as ISO from TS
84         18661-1:2014.
85         (nextup): Likewise.
86         (nextupf): Likewise.
87         (nextupl): Likewise.
88         (nextdown): Likewise.
89         (nextdownf): Likewise.
90         (nextdownl): Likewise.
91         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
92         macro.
93         * math/math.h: Define
94         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
95         <bits/libc-header-start.h> instead of including <features.h>.
96         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
97         [__USE_GNU].
98         * math/bits/mathcalls.h (nextdown): Declare if
99         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
100         (nextup): Likewise.
101         (__issignaling): Likewise.
103 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
105         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
106         check, and remove __glibc_likely hint
107         from FP_INFINITE check.
108         * s_csinhf.c (__csinhf): Likewise.
110         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
111         hint from FP_INFINITE check.
112         * s_csinhl.c (__csinhl): Likewise.
114 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
116         * math/Makefile (libm-calls): Insert F placeholder into
117         object names.  Move w_lgamma_compat* routines into
118         (libm-compat-calls): New variable.
119         (libm-compat-calls-ldouble-yes): New variable.
120         (calls): Insert F placeholder.
121         (generated): Redefine using new type-foreach macro call.
122         (routines): Likewise.
124         (types): New variable to hold a list of symbolic names
125         for each type supported by the target machine.
126         (libm-routines): Redefine using new types variable.
127         (type-foreach): macro to replace fooF with the
128         appropriately suffixed foo for each types.
130         (type-ldouble-suffix): New variable.
131         (type-ldouble-routines): Likewise.
132         (type-ldouble-yes): Likewise.
133         (type-double-suffix): Likewise.
134         (type-double-routines): Likewise.
135         (type-float-suffix): Likewise.
136         (type-float-routines): Likewise.
138         (dbl-only-routines): Remove.
139         (long-c-yes): Likewise.
140         (long-m-routines): Likewise.
141         (long-m-support): Likewise.
142         (long-m-yes): Likewise.
143         (test-longdouble-yes): Likewise.
145         (test-float.o): Simplify by increasing the scope of the
146         recipe which adds libm-test.stmp to the vector types.
147         (test-ifloat.o): Likewise.
148         (test-float-finite.o): Likewise.
149         (test-double.o): Likewise
150         (test-idouble.o): Likewise.
151         (test-double-finite.o): Likewise.
152         (test-ldouble.o): Likewise
153         (test-ildoubl.o): Likewise.
154         (test-ldouble-finite.o): Likewise.
156         (libm-tests): Redefine type tests using foreach and the
157         list of types in types.
159         (CPPFLAGS-test-ildoubl.c): Rename to
160         (CPPFLAGS-test-ildouble.c): New variable
162         * math/test-ildoubl.c: Rename to
163         * math/test-ildouble.c: New file.
165 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
167         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
168         Use fabsl instead of fabs.
169         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
170         Likewise.
171         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
172         Add long double suffix to constant to ensure proper
173         promotion to long double.
175 2016-08-03  Tom Tromey  <tom@tromey.com>
177         [BZ #20311]
178         * nptl_db/Makefile (headers): Add proc_service.h.
179         * nptl_db/proc_service.h: Add include guard.  Use
180         __BEGIN/__END_DECLS.
181         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
182         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
183         arguments.
186 2016-08-03  Florian Weimer  <fweimer@redhat.com>
188         [BZ #17730]
189         Avoid using memalign for TCB allocations.
190         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
191         (_dl_allocate_tls_storage): Use malloc and manual alignment.
192         Avoid alignment gap in the TLS_DTV_AT_TP case.
193         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
194         determine the pointer to free.
195         * nptl/tst-tls3-malloc.c: New test.
196         * nptl/Makefile (tests): Add it.
197         (tst-tls3-malloc): Link with libdl, libpthread.
198         (LDFLAGS-tst-tls3-malloc): Set.
199         (tst-tls3-malloc.out): Depend on DSO used in test.
201 2016-08-03  Florian Weimer  <fweimer@redhat.com>
203         [BZ #17730]
204         Avoid using memalign for TLS allocations.
205         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
206         is_static member with to_free member.
207         (union dtv): Use struct dtv_pointer.
208         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
209         dtv_pointer instead of is_static.
210         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
211         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
212         instead of val.
213         (allocate_dtv_entry): New function.
214         (allocate_and_init): Return struct dtv_pointer.  Call
215         allocate_dtv_entry instead of __libc_memalign.
216         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
217         instead of val.
218         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
219         instead of is_static.  Adjust call to allocate_and_init.
220         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
221         struct dtv_pointer instead of val.
223 2016-08-03  Florian Weimer  <fweimer@redhat.com>
225         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
226         (MALLOC_ALIGN_MASK): Move ...
227         * malloc/malloc-internal.h: ... to here.
228         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
230 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
232         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
233         (UDP_ENCAP_GTP1U): Likewise.
235         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
236         (PF_MAX): Update value.
237         (AF_QIPCRTR): New macro.
239 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
241         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
242         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
243         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
244         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
245         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
246         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
247         s_truncf-vis3, s_trunc-vis3.
248         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
249         (CFLAGS-s_ceil-vis3.c): Likewise.
250         (CFLAGS-s_floorf-vis3.c): Likewise.
251         (CFLAGS-s_floor-vis3.c): Likewise.
252         (CFLAGS-s_truncf-vis3.c): Likewise.
253         (CFLAGS-s_trunc-vis3.c): Likewise.
254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
257         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
258         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
259         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
260         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
262         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
263         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
264         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
265         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
267 2016-08-02  David S. Miller  <davem@davemloft.net>
269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
270         (__nearbyint_vis3): Don't check for sNaN before float register is
271         loaded with the incoming argument.
272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
273         (__nearbyintf_vis3): Likewise.
274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
275         Likewise.
276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
277         Likewise.
279         * string/test-strncmp.c (do_test_limit): Make sure the test data
280         stream is aligned as required for the type "CHAR".
281         (do_test): Likewise.
283 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
285         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
286         by beq instructions jumping to the end of the function.
287         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
288         clobber list. Use "i" constraint instead of "X".
289         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
290         of "X".
292 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
294         * bits/libc-header-start.h: New file.
295         * Makefile (headers): Add bits/libc-header-start.h.
296         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
297         (__GLIBC_USE): New macro.
298         * libio/stdio.h: Define
299         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
300         <bits/libc-header-start.h> instead of including <features.h>.
301         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
302         (open_memstream): Likewise.
303         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
304         (__asprintf): Likewise.
305         (asprintf): Likewise.
306         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
307         (getdelim): Likewise.
308         (getline): Likewise.
309         * string/string.h: Define
310         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
311         <bits/libc-header-start.h> instead of including <features.h>.
312         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
313         (strndup): Likewise.
314         * wcsmbs/wchar.h: Define
315         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
316         <bits/libc-header-start.h> instead of including <features.h>.
317         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
318         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
320 2016-08-02  Florian Weimer  <fweimer@redhat.com>
322         Support linking against compatibility symbols, for use in tests.
323         * include/libc-symbols.h (symbol_version_reference): New macro.
324         (symbol_version): Use it.
325         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
326         (compat_symbol): Use compat_symbol_reference.
327         (compat_symbol_1, compat_symbol_2): Remove.
328         (compat_symbol_reference, compat_symbol_reference_1)
329         (compat_symbol_reference_2): New macro.  Use
330         symbol_version_reference.
332 2016-08-02  Florian Weimer  <fweimer@redhat.com>
334         [BZ #19469]
335         * malloc/Makefile (CPPFLAGS): Compile tests with
336         -DTEST_NO_MALLOPT.
337         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
339 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
341         [BZ #20033]
342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
343         finite version.
344         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
345         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
346         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
347         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
348         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
351         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
352         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
354         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
355         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
356         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
357         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
358         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
359         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
360         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
361         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
362         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
363         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
364         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
365         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
366         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
367         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
368         in zero power.
370 2016-08-02  Florian Weimer  <fweimer@redhat.com>
372         [BZ #20370]
373         * malloc/arena.c (get_free_list): Update comment.  Assert that
374         arenas on the free list have no attached threads.
375         (remove_from_free_list): New function.
376         (reused_arena): Call it.
378 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
380         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
381         when it is a NaN.
382         [_IEEE_FP_INEXACT] Remove.
383         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
384         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
385         when it is a NaN.
386         [_IEEE_FP_INEXACT] Remove.
387         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
388         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
389         when it is a NaN.
390         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
391         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
392         when its absolute value is greater than 0x1.0p52.
393         [_IEEE_FP_INEXACT] Remove.
394         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
395         when its absolute value is greater than 0x1.0p23.
396         [_IEEE_FP_INEXACT] Remove.
398 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
400         * version.h (RELEASE): Set to "development"
401         (VERSION): Set to 2.24.90.
402         * NEWS: Add 2.25 section.
404         * version.h (RELEASE): Set to "stable"
405         (VERSION): Set to 2.24.
406         * include/features.h (__GLIBC_MINOR__): Set to 24.
408         * NEWS: Add 2.24 fixed bugs.
409         * po/libc.pot: Regenerate.
411 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
414         [$(subdir) = math] (libm-sysdep_routines): Remove.
415         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
416         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
417         s_truncf-vis3, s_trunc-vis3.
418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
420         file.
421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
454         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
455         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
456         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
457         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
458         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
459         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
460         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
461         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
462         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
463         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
465 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
467         [BZ #20384]
468         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
469         test-double-libmvec-sincos-avx-main.o,
470         test-double-libmvec-sincos-avx2-main.o,
471         test-double-libmvec-sincos-main.o,
472         test-float-libmvec-sincosf-avx-main.o,
473         test-float-libmvec-sincosf-avx2-main.o and
474         test-float-libmvec-sincosf-main.o.
475         test-float-libmvec-sincosf-avx512-main.o.
476         ($(objpfx)test-double-libmvec-sincos): Also link with
477         $(objpfx)test-double-libmvec-sincos-main.o.
478         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
479         $(objpfx)test-double-libmvec-sincos-avx-main.o.
480         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
481         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
482         ($(objpfx)test-float-libmvec-sincosf): Also link with
483         $(objpfx)test-float-libmvec-sincosf-main.o.
484         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
485         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
486         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
487         test-double-libmvec-sincos-avx512-main.o and
488         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
489         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
490         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
491         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
492         (CFLAGS-test-double-libmvec-sincos.c): Removed.
493         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
494         (CFLAGS-test-double-libmvec-sincos-main.c): New.
495         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
496         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
497         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
498         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
499         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
500         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
501         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
502         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
503         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
504         -DREQUIRE_AVX2.
505         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
506         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
507         -DREQUIRE_AVX512F.
508         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
509         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
510         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
511         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
512         file.
513         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
514         Likewise.
515         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
516         Likewise.
517         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
518         Likewise.
519         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
520         Likewise.
521         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
522         Likewise.
523         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
524         Likewise.
525         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
526         Likewise.
528 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
530         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
532 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
534         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
535         and typo in a comment about AT_HWCAP entry.
537 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
539         * sysdeps/aarch64/libm-test-ulps: Updated.
541 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
543         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
544         of r13 as it is not restored in mvcle case.
546 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
548         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
549         Rename "ret" to "__ret".
550         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
551         inline_syscall5, inline_syscall6): Likewise.
553 2016-07-19   Will Newton  <will.newton@gmail.com>
555         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
556         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
557         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
558         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
559         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
561 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
563         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
564         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
565         -mfpmath=387 with $(rtld-CFLAGS).
566         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
567         $(rtld-CFLAGS).
569 2016-07-18   Ross Burton  <ross.burton@intel.com>
570              Khem Raj  <raj.khem@gmail.com>
572         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
573         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
574         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
575         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
576         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
577         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
578         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
579         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
580         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
581         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
582         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
583         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
584         R_METAG_TLS_DTPOFF): New.
586 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
587             Matt Clay  <mclay@lycos.com>
589         [BZ #20357]
590         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
591         to call __mpsin/__mpcos and to negate values.
592         * math/auto-libm-test-in: Add test.
593         * math/auto-libm-test-out: Regenerate.
595 2016-07-18  Zack Weinberg  <zackw@panix.com>
597         * grp/Makefile: Don't install the internal header grp-merge.h.
599 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
601         * sysdeps/aarch64/libm-test-ulps: Regenerated.
603 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
605         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
607 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
609         [BZ #15368]
610         * sysdeps/unix/sysv/linux/nptl-signals.h
611         (__nptl_clear_internal_signals): New function.
612         (__libc_signal_block_all): Likewise.
613         (__libc_signal_block_app): Likewise.
614         (__libc_signal_restore_set): Likewise.
615         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
616         implementation.
617         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
618         the cached pid/tid value in pthread structure.
620 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
622         [BZ #20347]
623         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
625 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
627         [BZ #20348]
628         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
629         preadv64, pwrite64 and pwritev64.
631 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
633         [BZ #20350]
634         * posix/tst-preadwrite.c: Renamed to ...
635         * posix/tst-preadwrite-common.c: This.
636         (PREAD): Removed.
637         (PWRITE): Likewise.
638         (STRINGIFY): Likewise.
639         (STRINGIFY2): Likewise.
640         (do_prepare): Make it static and remove function arguments.
641         (do_test): Likewise.
642         (PREPARE): Updated.
643         (TEST_FUNCTION): New.
644         (name): Make it static.
645         (fd): Likewise.
646         (do_prepare): Use create_temp_file.
647         (do_test): Renamed to ...
648         (do_test_with_offset): This.  Make it static and accept offset.
649         Properly check return value of PWRITE and PREAD.  Return bytes
650         read.  Don't close fd nor unlink name.
651         * posix/tst-preadwrite.c: Rewrite.
652         * posix/tst-preadwrite64.c: Likewise.
654 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
656         [BZ #20309]
657         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
658         -mtls-dialect=gnu2 works.
659         * configure: Regenerated.
660         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
661         (tests): Add tst-gnu2-tls1.
662         (modules-names): Add tst-gnu2-tls1mod.
663         ($(objpfx)tst-gnu2-tls1): New.
664         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
665         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
666         * elf/tst-gnu2-tls1.c: New file.
667         * elf/tst-gnu2-tls1mod.c: Likewise.
668         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
669         bytes for push in the PLT entry to align the stack.
671 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
673         [BZ #20349]
674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
676 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
678         [BZ #18707]
679         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
680         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
682 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
684         * sysdeps/unix/sysv/linux/sysdep.h
685         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
686         guards.
687         * misc/tst-preadvwritev-common.c: New file.
688         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
689         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
690         a check for files larger than 2GB.
692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
693         (__ASSUME_OFF_DIFF_OFF64): Remove define.
694         * sysdeps/unix/sysv/linux/pread.c
695         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
696         __OFF_T_MATCHES_OFF64_T.
697         * sysdeps/unix/sysv/linux/pread64.c
698         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
699         * sysdeps/unix/sysv/linux/preadv.c
700         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
701         * sysdeps/unix/sysv/linux/preadv64.c
702         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
703         * sysdeps/unix/sysv/linux/pwrite.c
704         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
705         * sysdeps/unix/sysv/linux/pwrite64.c
706         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
707         * sysdeps/unix/sysv/linux/pwritev.c
708         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
709         * sysdeps/unix/sysv/linux/pwritev64.c
710         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
712 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
714         * sysdeps/unix/sysv/linux/tile/kernel-features.h
715         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
717 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
719         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
721 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
723         [BZ #20240]
724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
725         (CFLAGS-s_modf-ppc32.c): New variable.
726         (CFLAGS-s_modff-ppc32.c): Likewise.
727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
728         (CFLAGS-s_modf-ppc64.c): Likewise.
729         (CFLAGS-s_modff-ppc64.c): Likewise.
731 2016-07-07  Andreas Schwab  <schwab@suse.de>
733         [BZ #20263]
734         * nptl/tst-robust10.c: New test.
735         * nptl/Makefile (tests): Add tst-robust10.
737 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
739         [BZ #20263]
740         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
742 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
744         * sysdeps/s390/linkmap.h (struct link_map_machine):
745         Remove member gotplt and add member jmprel.
746         * sysdeps/s390/s390-32/dl-machine.h
747         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
748         instead of gotplt with &got[3].
749         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
750         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
752 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
754         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
756 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
758         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
759         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
760         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
761         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
762         * libio/vtables.c (_IO_vtable_check)
763         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
764         * libio/libioP.h (IO_set_accept_foreign_vtables)
765         [!PTR_MANGLE]: Do not call PTR_MANGLE.
767 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
769         [BZ #20314]
770         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
771         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
772         $(common-objpfx)cmath.
773         ($(common-objpfx)cstdlib): New target.
774         ($(common-objpfx)cmath): Likewise.
776 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
778         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
780 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
782         [BZ #20327]
783         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
784         are not part of the string.
786 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
788         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
789         * nptl/tst-cancel4-common.h (fifoname): New variable.
790         (fifofd): Likewise.
791         (cl_fifo): New function.
792         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
793         SIGINT.
794         (tf_open): Add early cancel test.
796 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
798         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
800 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
802         * sysdeps/generic/ldsodefs.h
803         (dl_symbol_visibility_binds_local_p): New inline function.
804         * elf/dl-addr.c (determine_info): Treat hidden and internal
805         symbols as local.
806         * elf/dl-lookup.c (do_lookup_x): Likewise.
807         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
809 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
811         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
812         invalid exception for a sNaN input.
813         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
814         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
815         (__nearbyint_vis3): Likewise
816         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
817         (__nearbyintf_vis3): Likewise
818         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
819         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
820         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
821         Likewise.
822         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
823         Likewise.
825 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
827         [BZ #20139]
828         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
829         (HAVE_AVX512DQ_ASM_SUPPORT): This.
830         * sysdeps/x86_64/configure.ac: Require assembler from binutils
831         2.24 or above.
832         (HAVE_AVX512_ASM_SUPPORT): Removed.
833         (HAVE_AVX512DQ_ASM_SUPPORT): New.
834         * sysdeps/x86_64/configure: Regenerated.
835         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
836         check unconditional.
837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
838         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
839         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
840         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
841         Likewise.
842         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
843         Likewise.
844         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
845         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
846         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
847         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
848         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
849         Likewise.
850         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
851         Likewise.
852         * sysdeps/x86_64/multiarch/memset.S: Likewise.
853         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
854         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
855         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
856         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
857         Likewise.
858         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
859         Likewise.
860         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
861         Likewise.
862         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
863         Likewise.
864         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
865         Likewise.
866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
867         Likewise.
868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
869         Likewise.
870         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
871         Likewise.
872         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
873         Likewise.
874         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
875         Likewise.
876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
877         Likewise.
879 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
881         [BZ #20024]
882         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
884         of this implementation of vector function.
885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
888         Likewise.
889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
891         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
892         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
893         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
894         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
895         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
896         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
897         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
898         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
899         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
900         for testing vector sincos with fixed ABI.
901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
902         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
903         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
904         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
905         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
906         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
907         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
908         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
909         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
910         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
911         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
912         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
913         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
914         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
915         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
916         * sysdeps/x86_64/fpu/Makefile: Added new tests.
918 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
920         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
922 2016-06-30  Anton Blanchard  <anton@samba.org>
924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
925         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
926         s_sinf-ppc64.
927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
930         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
932 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
936         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
937         e_expf-ppc64.
938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
941         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
943 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
945         [BZ #20277]
946         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
947         when SHARED is defined.
949 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
951         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
952         (index_arch_Prefer_ERMS): Likewise.
953         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
954         __memcpy_erms for Prefer_ERMS.
955         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
956         (__memmove_erms): Enabled for libc.a.
957         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
958         __memmove_erms or Prefer_ERMS.
959         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
960         __mempcpy_erms for Prefer_ERMS.
961         * sysdeps/x86_64/multiarch/memset.S (memset): Return
962         __memset_erms for Prefer_ERMS.
964 2016-06-30  Andreas Schwab  <schwab@suse.de>
966         [BZ #20262]
967         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
968         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
969         of memory.
971 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
973         [BZ #18645]
974         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
975         (test-extras): Add tst-cleanupx4aux.
976         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
977         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
978         tst-cleanupx4aux.o.
979         * nptl/tst-cleanupx4aux.c: New file.
981 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
983         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
985 2016-06-29  Andreas Schwab  <schwab@suse.de>
987         [BZ #20260]
988         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
989         address before the beginning of the string as an integer to avoid
990         array-bounds warning.
992 2016-06-28  Richard Henderson  <rth@redhat.com>
994         * elf/elf.h (EM_BPF): New.
995         (EM_NUM): Update.
996         (R_BPF_NONE, R_BPF_MAP_FD): New.
998         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
999         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1000         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1001         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1002         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1003         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1004         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1005         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1006         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1007         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1008         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1009         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1010         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1011         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1012         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1013         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1014         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1015         (EM_NUM): Update.
1017 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1019         [BZ #18960]
1020         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1021         Set _nl_current_LC_CATEGORY_used to two instead of one.
1023 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1025         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1026         (do_test): ... this.
1027         (TEST_FUNCTION): New macro.
1028          Include test-skeleton.c.
1029         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1030         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1032 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1034         [BZ #15479]
1035         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1036         floating-point environment rather than just control word.
1037         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1038         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1039         floating-point environment, with "invalid" exceptions merged in,
1040         rather than just control word.
1041         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1042         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1043         "inexact" exceptions.
1045         [BZ #15479]
1046         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1047         floating-point environment rather than just control word.
1048         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1049         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1050         floating-point environment, with "invalid" exceptions merged in,
1051         rather than just control word.
1052         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1053         * math/libm-test.inc (floor_test_data): Do not allow spurious
1054         "inexact" exceptions.
1056         [BZ #15479]
1057         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1058         floating-point environment rather than just control word.
1059         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1060         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1061         floating-point environment, with "invalid" exceptions merged in,
1062         rather than just control word.
1063         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1064         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1065         "inexact" exceptions.
1067 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1069         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1070         __libc_vfork.
1071         (__vfork) [IS_IN (libc)]: Remove alias.
1072         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1076 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1078         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1079         of atomic_compare_and_exchange_bool_rel.
1080         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1081         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1082         catomic_compare_and_exchange_bool_rel): Remove.
1083         * sysdeps/aarch64/atomic-machine.h
1084         (atomic_compare_and_exchange_bool_rel): Likewise.
1085         * sysdeps/alpha/atomic-machine.h
1086         (atomic_compare_and_exchange_bool_rel): Likewise.
1087         * sysdeps/arm/atomic-machine.h
1088         (atomic_compare_and_exchange_bool_rel): Likewise.
1089         * sysdeps/mips/atomic-machine.h
1090         (atomic_compare_and_exchange_bool_rel): Likewise.
1091         * sysdeps/microblaze/atomic-machine.h
1092         ( __arch_compare_and_exchange_bool_8_rel,
1093         __arch_compare_and_exchange_bool_16_rel): Likewise.
1094         * sysdeps/powerpc/atomic-machine.h
1095         ( __arch_compare_and_exchange_bool_8_rel,
1096         __arch_compare_and_exchange_bool_16_rel): Likewise.
1097         * sysdeps/powerpc/powerpc32/atomic-machine.h
1098         ( __arch_compare_and_exchange_bool_32_rel,
1099         __arch_compare_and_exchange_bool_64_rel): Likewise.
1100         * sysdeps/powerpc/powerpc64/atomic-machine.h
1101         ( __arch_compare_and_exchange_bool_32_rel,
1102         __arch_compare_and_exchange_bool_64_rel): Likewise.
1103         * sysdeps/tile/atomic-machine.h
1104         (atomic_compare_and_exchange_bool_rel): Likewise.
1106 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1108         [BZ #20296]
1109         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1110         when either argument is a NaN.
1111         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1112         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1114         * math/libm-test.inc (snan_value_ld): New macro.
1115         (isgreater_test_data): Add sNaN tests.
1116         (isgreaterequal_test_data): Likewise.
1117         (isless_test_data): Likewise.
1118         (islessequal_test_data): Likewise.
1119         (islessgreater_test_data): Likewise.
1120         (isunordered_test_data): Likewise.
1121         (nextafter_test_data): Likewise.
1122         (nexttoward_test_data): Likewise.
1123         (remainder_test_data): Likewise.
1124         (remquo_test_data): Likewise.
1125         (significand_test_data): Likewise.
1126         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1128 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1130         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1131         environment macros are defined.
1132         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1134 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1136         [BZ #20191]
1137         Implement vtable verification in libio.
1138         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1139         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1140         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1141         _IO_new_file_init_internal instead of _IO_file_init.
1142         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1143         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1144         * libio/Makefile (routines): Add vtables.
1145         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1146         (_IO_init): Remove, not for internal use.
1147         (_IO_init_internal): Declare, internal replacement for _IO_init.
1148         (_IO_file_init): Remove, not for internal use.
1149         (_IO_new_file_init): Remove, not for internal use.
1150         (_IO_new_file_init_internal): Declare, internal replacement for
1151         _IO_new_file_init.
1152         (_IO_old_file_init): Remove, not for internal use.
1153         (_IO_old_file_init_internal): Declare, internal replacement for
1154         _IO_old_file_init.
1155         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1156         internal use.
1157         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1158         Declare.
1159         (libio_vtable): New macro.
1160         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1161         functions.
1162         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1163         _IO_new_file_init.
1164         (_IO_new_file_init): New externally visible wrapper which disables
1165         vtable verification.
1166         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1167         Define as vtables.
1168         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1169         (_IO_init): New externally visible wrapper which disables
1170         vtable verification.
1171         * libio/iofdopen.c (_IO_new_fdopen): Call
1172         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1173         comment.
1174         * libio/iofopen.c (__fopen_internal): Call
1175         _IO_new_file_init_internal instead of _IO_file_init.
1176         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1177         Define as vtables.
1178         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1179         _IO_new_file_init_internal instead of _IO_file_init.
1180         * libio/iopopen.c (_IO_new_popen): Likewise.
1181         (_IO_proc_jumps): Define as vtable.
1182         * libio/iovdprintf.c (_IO_vdprintf): Call
1183         _IO_new_file_init_internal instead of _IO_file_init.
1184         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1185         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1186         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1187         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1188         _IO_old_file_init.
1189         (_IO_old_file_init): New externally visible wrapper which disables
1190         vtable verification.
1191         (_IO_old_file_jumps): Define as vtable.
1192         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1193         _IO_old_file_init_internal instead of _IO_old_file_init.
1194         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1195         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1196         (_IO_old_proc_jumps): Define as vtable.
1197         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1198         Define as vtables.
1199         * libio/vtables.c: New file.
1200         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1201         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1202         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1203         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1204         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1205         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1206         instead of _IO_init.
1208 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1210         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1212 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1214         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1215         potentially unused.
1217 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1219         * test-skeleton.c (write_message): New function.
1220         * malloc/tst-mallocfork2.c (write_message): Remove.
1221         * debug/tst-longjmp_chk2.c (write_indented): New function.
1222         (write_message): Remove.
1223         (stackoverflow_handler): Call write_indented.
1225 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1227         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1228         "inexact" exceptions after fnstenv.
1229         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1230         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1231         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1233 2015-06-22  Zack Weinberg  <zackw@panix.com>
1235         * sysdeps/generic/bits/hwcap.h: Moved to ...
1236         * bits/hwcap.h: Here.
1238 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1240         * sysdeps/aarch64/memcpy.S (memcpy):
1241         Further tuning for performance.
1243 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1245         [BZ #20284]
1246         * malloc/arena.c (reused_arena): Do not return NULL if we start
1247         out with a non-corrupted arena.
1249 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1251         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1252         * misc/tst-preadvwritev.c: New file.
1253         * misc/tst-preadvwritev64.c: Likewise.
1254         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1255         usage.
1256         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1257         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1258         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1259         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1261 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1263         [BZ #19654]
1264         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1265         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1266         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1267         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1268         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1269         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1270         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1271         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1272         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1273         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1274         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1275         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1276         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1277         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1278         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1279         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1280         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1281         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1282         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1283         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1284         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1285         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1286         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1287         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1288         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1289         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1291 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1293         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1294         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1296 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1298         * sysdeps/aarch64/memcpy.S (memcpy):
1299         Rewrite of optimized memcpy and memmove.
1300         * sysdeps/aarch64/memmove.S (memmove): Remove
1301         memmove code (merged into memcpy.S).
1303 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1305         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1306         * sysdeps/generic/dl-dtv.h: New file.
1307         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1308         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1309         (dtv_t): Remove.
1310         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1311         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1312         (dtv_t): Remove.
1313         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1314         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1315         (dtv_t): Remove.
1316         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1317         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1318         (dtv_t): Remove.
1319         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1320         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1321         (dtv_t): Remove.
1322         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1323         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1324         (dtv_t): Remove.
1325         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1326         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1327         (dtv_t): Remove.
1328         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1329         (dtv_t): Remove.
1330         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1331         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1332         (dtv_t): Remove.
1333         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1334         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1335         (dtv_t): Remove.
1336         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1337         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1338         (dtv_t): Remove.
1339         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1340         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1341         (dtv_t): Remove.
1342         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1343         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1344         (dtv_t): Remove.
1345         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1346         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1347         (dtv_t): Remove.
1348         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1349         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1350         (dtv_t): Remove.
1351         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1352         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1353         (dtv_t): Remove.
1355 2016-06-20  Florian Weimer  <fweimer@redhat.com>
1357         Revert symbol poisoning of  __malloc_initialize_hook.
1358         * include/stdc-predef.h (__malloc_initialize_hook): Remove
1359         poisoning.
1360         * malloc/Makefile: Remove un-poisoning.
1361         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1362         instead of old__malloc_initialize_hook.
1363         * malloc/malloc-hooks.h: Likewise.
1364         * malloc/malloc.c: Likewise.
1365         * malloc/mcheck-init.c: Likewise.
1367 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
1369         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1371 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
1373         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1374         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1375         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1376         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1378 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1380         * NEWS: Mention addition of nextup and nextdown.
1381         * manual/arith.texi: Document nextup and nextdown.
1382         * manual/libm-err-tab.pl: Add nextup and nextdown.
1383         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1384         * math/Versions (libm): Add GLIBC_2.24.
1385         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1386         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1387         Add new test.
1388         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1389         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1390         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1391         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1392         (nextup_test_data): Likewise.
1393         (nextdown_test_data): Likewise.
1394         * math/s_nextdown.c: New file.
1395         * math/s_nextdownf.c: Likewise.
1396         * math/s_nextdownl.c: Likewise.
1397         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1398         F(nextup): New function.
1399         F(nextdown): Likewise.
1400         * math/tgmath.h: Add nextup and nextdown.
1401         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1402         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1403         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1404         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1405         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1406         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1407         Add nextup and nextdown.
1408         (CFLAGS-nldbl-nextup.c): New variable.
1409         (CFLAGS-nldbl-nextdown.c): Likewise.
1410         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1411         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1412         * sysdeps/nacl/libm.abilist: Update.
1413         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1414         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1415         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1416         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1417         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1418         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1419         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1420         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1421         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1422         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1423         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1427         Likewise.
1428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1437         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1438         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1439         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1440         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1442 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1444         * manual/pattern.texi: Fix typos & grammar errors.
1446 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1448         * manual/search.texi: Fix typos & grammar errors.
1450 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1452         * manual/message.texi: Fix typos & grammar errors.
1454 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
1456         * manual/contrib.texi: Fix spelling typos.
1457         * manual/crypt.texi: Likewise.
1458         * manual/filesys.texi: Likewise.
1459         * manual/locale.texi: Likewise.
1460         * manual/message.texi: Likewise.
1461         * manual/nss.texi: Likewise.
1462         * manual/string.texi: Likewise.
1464 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1466         * manual/locale.texi: Fix typos & grammar errors.
1468 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1470         * manual/charset.texi: Fix typos & grammar errors.
1472 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1474         * manual/string.texi: Fix typos.
1476 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1478         * manual/ctype.texi: Fix typos.
1480 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
1482         * manual/memory.texi: Fix various typos & grammar errors.
1484 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
1486         [BZ #20255]
1487         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
1488         * math/libm-test.inc (fdim_test_data): Add another test.
1490         [BZ #6796]
1491         [BZ #20255]
1492         [BZ #20256]
1493         * math/s_fdim.c: Include <math_private.h>.
1494         (__fdim): Use math_narrow_eval on result.
1495         * math/s_fdimf.c: Include <math_private.h>.
1496         (__fdimf): Use math_narrow_eval on result.
1497         * sysdeps/i386/fpu/s_fdim.S: Remove file.
1498         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1499         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1500         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1501         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1502         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1503         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1504         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1505         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1506         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1507         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1508         * math/libm-test.inc (fdim_test_data): Expect errno setting on
1509         overflow.  Add sNaN tests.
1511         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1512         fpclassify.
1513         * math/s_fdimf.c (__fdimf): Likewise.
1514         * math/s_fdiml.c (__fdiml): Likewise.
1516 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1518         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1519         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1521         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1522         ifunc'ed strcasecmp/strncasecmp.
1523         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1524         [EALIGN]: Removed.
1525         [END]: Likewise.
1526         [__strcasecmp]: Define instead of the above to control symbol name.
1527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1528         for __strcasecmp_power8.
1529         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1530         for __strncasecmp_power8.
1531         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1532         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1533         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1534         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1535         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1536         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1538 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
1540         [BZ #20252]
1541         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1542         arguments when second argument is a NaN.
1543         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1544         qNaN tests.
1546         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1547         (conj_test_data): Likewise.
1548         (copysign_test_data): Likewise.
1549         (creal_test_data): Likewise.
1550         (fma_test_data): Likewise.
1551         (fmod_test_data): Likewise.
1553         [BZ #20250]
1554         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1555         itself.
1556         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1557         zero input to itself.
1558         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1559         Likewise.
1560         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1561         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1562         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1563         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1564         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1566 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1568         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1569         * nptl/tst-cancel4-common.c: New file.
1570         * nptl/tst-cancel4-common.h: Likewise.
1571         * nptl/tst-cancel4.c: Move common definitions to
1572         tst-cancel4-common.{c,h} file.
1573         * nptl/tst-cancel4_1.c: New test.
1574         * nptl/tst-cancel4_2.c: New test.
1576 2016-06-13  Florian Weimer  <fweimer@redhat.com>
1578         [BZ #20248]
1579         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1580         (write_message): New function.
1581         (stackoverflow_handler): Call it instead of printf, to avoid
1582         excessive stack usage by printf.
1583         (do_test): Restore SIGSEGV, SIGBUS default handlers.
1585 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1587         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1588         (prio_inherit_missing): Remove define.
1589         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1590         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1592         Likewise.
1593         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1594         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1595         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1596         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1597         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1598         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1600 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1602         [BZ #19670]
1603         [BZ #19672]
1605         * io/test-lfs.c (do_prepare): Use xmalloc.
1606         * io/tst-fcntl.c (do_prepare): Likewise.
1607         * libio/tst-fopenloc.c (do_bz17916): Likewise.
1608         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1609         * login/tst-utmp.c (do_prepare): Likewise.
1610         * posix/tst-exec.c (do_prepare): Likewise.
1611         * posix/tst-pathconf.c (prepare): Likewise.
1612         * posix/tst-spawn.c (do_prepare): Likewise.
1613         * posix/tst-truncate.c (do_prepare): Likewise.
1614         * rt/tst-aio.c (do_prepare): Likewise.
1615         * rt/tst-aio64.c (do_prepare): Likewise.
1617 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1619         [BZ #20237]
1620         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1621         (get*ent): Set entidx to NULL during initialization.  If entidx is
1622         NULL, start iteration from the beginning.
1624 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1626         * malloc/malloc.c (musable): Return correct size for dumped fake
1627         mmapped chunk.
1629 2016-06-11  Florian Weimer  <fweimer@redhat.com>
1631         [BZ #20222]
1632         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1633         (_IO_cookie_write): Likewise.
1634         (_IO_cookie_seek): Likewise.
1635         (_IO_cookie_close): Likewise.
1636         (_IO_old_cookie_seek): Likewise.
1637         (set_callbacks): New function.
1638         (_IO_cookie_init): Call set_callbacks to copy callbacks.
1640 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
1642         * locale/programs/localedef.c (oldstyle_tables): Remove.
1643         * locale/programs/localedef.h (oldstyle_tables): Likewise.
1645 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #20240]
1648         * math/Makefile (CFLAGS-s_modf.c): New variable.
1649         (CFLAGS-s_modff.c): Likewise.
1650         (CFLAGS-s_modfl.c): Likewise.
1651         * math/libm-test.inc (modf_test_data): Add sNaN tests.
1653 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
1655         [BZ #20215]
1656         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1657         [!__GNUC_PREREQ (3,2)]: Likewise.
1659 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1661         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1662         (msghdr.msg_controllen): Likewise.
1663         (cmsghdr.cmsg_len): Likewise.
1664         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1665         ptw-oldsendmsg.
1666         (CFLAGS-oldrecvmsg.c): Remove rule.
1667         (CFLAGS-oldsendmsg.c): Likewise.
1668         (CFLAGS-recvmsg.c): Add rule.
1669         (CFLAGS-sendmsg.c): Likewise.
1670         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1671         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1672         (CFLAGS-recvmsg.c): Remove rule.
1673         (CFLAGS-sendmsg.c): Likewise.
1674         (CFLAGS-oldrecvmsg.c): Likewise.
1675         (CFLAGS-oldsendmsg.c): Likewise.
1676         (CFLAGS-recvmmsg.c): Likewise.
1677         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1678         to kernel defined interfaces.
1679         (msghdr.msg_controllen): Likewise.
1680         (cmsghdr.cmsg_len): Likewise.
1681         (msghdr.__glibc_reserved1): Remove member.
1682         (msghdr.__glibc_reserved2): Likewise.
1683         (cmsghdr.__glibc_reserved1): Likewise.
1684         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1685         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1686         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1687         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1688         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1689         version.
1690         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1691         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1692         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1693         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1694         Remove recvmsg and sendmsg.
1695         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1696         Likewise.
1697         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1698         Likewise.
1699         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1700         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1701         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1702         Likewise.
1703         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1704         Likewise.
1705         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1706         [libc] (GLIBC_2.24): Likewise.
1707         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1708         Likewise.
1709         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1710         Likewise.
1711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1712         [libc] (GLIBC_2.24): Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1716         Likewise.
1717         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1718         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1719         Likewise.
1720         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1721         Likewise.
1722         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1723         Likewise.
1724         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1725         Likewise.
1726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1727         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1728         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1729         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1730         version for {recv,send,recm,sendm}msg.
1731         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1732         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1733         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1734         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1735         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1736         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1737         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1738         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1739         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1740         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1741         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1742         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1744         Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1746         Likewise.
1747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1749         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1750         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1751         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1752         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1753         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1754         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1757         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1758         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1759         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1761 2016-06-10  Florian Weimer  <fweimer@redhat.com>
1763         [BZ #19564]
1764         Remove __malloc_initialize_hook from the API.
1765         * malloc/malloc.h (__malloc_initialize_hook): Remove.
1766         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1767         #pragma GCC poison.
1768         * malloc/malloc-hooks.h: New file.
1769         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1770         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1771         (old__malloc_initialize_hook): Rename from
1772         __malloc_initialize_hook to evade poisoning.  Turn into compat
1773         symbol.
1774         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1775         __malloc_initialize_hook.
1776         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1777         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1778         * manual/memory.texi (Hooks for Malloc): Remove
1779         __malloc_initialize_hook.  Adjust hook example.
1781 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
1783         [BZ #20235]
1784         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1785         itself.
1786         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1787         * math/libm-test.inc (log2_test_data): Add sNaN tests.
1789         [BZ #20234]
1790         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1791         infinity or NaN input to itself.
1793         [BZ #20233]
1794         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1795         to itself.
1797         [BZ #20232]
1798         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1799         itself.
1801 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1803         * sysdeps/x86_64/start.S (_start): Always indirect branch to
1804         __libc_start_main via GOT.
1806 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1808         * sysdeps/x86_64/memcopy.h: New file.
1809         * sysdeps/x86_64/wordcopy.c: Likewise.
1811 2016-06-09  Florian Weimer  <fweimer@redhat.com>
1813         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1814         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1815         <cstdlib>.
1816         (optimization_barrier): New.
1817         (do_test): Use it.  Call quick_exit in the global namespace.
1818         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1819         instead of <cstdlib>, <thread>.
1820         (optimization_barrier): New.
1821         (non_main_thread): Adjust declaration.  Call optimization_barrier.
1822         Call quick_exit in the global namespace.
1823         (do_test): Call optimization_barrier.  Use pthread_create,
1824         pthread_join instead of std::thread.
1826 2016-06-09  Andreas Schwab  <schwab@suse.de>
1828         [BZ #19755]
1829         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1830         new entries in auto-propagate mode.
1831         * nscd/grpcache.c (cache_addgr): Likewise.
1833 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1835         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1836         New functions.
1837         (add_temp_file): Use them.
1839 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
1841         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1843 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
1845         [BZ #20229]
1846         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
1847         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
1848         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
1850         [BZ #20228]
1851         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
1852         itself.
1853         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1854         * math/libm-test.inc (log10_test_data): Add sNaN tests.
1856         [BZ #20227]
1857         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
1858         itself.
1859         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1860         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1861         * math/libm-test.inc (log_test_data): Add sNaN tests.
1863         [BZ #20226]
1864         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
1865         itself.
1866         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1867         * math/libm-test.inc (exp_test_data): Add sNaN tests.
1868         (exp10_test_data): Likewise.
1869         (expm1_test_data): Likewise.
1871         [BZ #20225]
1872         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
1873         itself.
1874         * math/s_ldexpf.c (__ldexpf): Likewise.
1875         * math/s_ldexpl.c (__ldexpl): Likewise.
1876         * math/w_scalbln.c (__w_scalbln): Likewise.
1877         * math/w_scalblnf.c (__w_scalblnf): Likewise.
1878         * math/w_scalblnl.c (__w_scalblnl): Likewise.
1879         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
1880         (scalbln_test_data): Likewise.
1882         [BZ #20224]
1883         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
1884         argument to itself.
1885         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
1887 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1889         [BZ #19776]
1890         * sysdeps/x86_64/memcpy.S: Make it dummy.
1891         * sysdeps/x86_64/mempcpy.S: Likewise.
1892         * sysdeps/x86_64/memmove.S: New file.
1893         * sysdeps/x86_64/memmove_chk.S: Likewise.
1894         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1895         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1896         * sysdeps/x86_64/memmove.c: Removed.
1897         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1898         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1899         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
1900         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1901         Likewise.
1902         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1903         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1905         memcpy-sse2-unaligned, memmove-avx-unaligned,
1906         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
1907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1908         (__libc_ifunc_impl_list): Replace
1909         __memmove_chk_avx512_unaligned_2 with
1910         __memmove_chk_avx512_unaligned.  Remove
1911         __memmove_chk_avx_unaligned_2.  Replace
1912         __memmove_chk_sse2_unaligned_2 with
1913         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
1914         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
1915         with __memmove_avx512_unaligned.  Replace
1916         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
1917         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
1918         with __memcpy_chk_avx512_unaligned.  Remove
1919         __memcpy_chk_avx_unaligned_2.  Replace
1920         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
1921         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
1922         Replace __memcpy_avx512_unaligned_2 with
1923         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
1924         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
1925         with __mempcpy_chk_avx512_unaligned.  Remove
1926         __mempcpy_chk_avx_unaligned_2.  Replace
1927         __mempcpy_chk_sse2_unaligned_2 with
1928         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
1929         Replace __mempcpy_avx512_unaligned_2 with
1930         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
1931         Replace __mempcpy_sse2_unaligned_2 with
1932         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
1933         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
1934         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
1935         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
1936         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
1937         (ENTRY): Removed.
1938         (END): Likewise.
1939         (ENTRY_CHK): Likewise.
1940         (libc_hidden_builtin_def): Likewise.
1941         Don't include ../memcpy.S.
1942         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
1943         __memcpy_chk_avx512_unaligned_erms and
1944         __memcpy_chk_avx512_unaligned.  Use
1945         __memcpy_chk_avx_unaligned_erms and
1946         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1947         Default to __memcpy_chk_sse2_unaligned.
1948         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1949         Change function suffix from unaligned_2 to unaligned.
1950         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
1951         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
1952         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
1953         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
1954         (ENTRY): Removed.
1955         (END): Likewise.
1956         (ENTRY_CHK): Likewise.
1957         (libc_hidden_builtin_def): Likewise.
1958         Don't include ../mempcpy.S.
1959         (mempcpy): New.  Add a weak alias.
1960         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
1961         __mempcpy_chk_avx512_unaligned_erms and
1962         __mempcpy_chk_avx512_unaligned.  Use
1963         __mempcpy_chk_avx_unaligned_erms and
1964         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
1965         Default to __mempcpy_chk_sse2_unaligned.
1967 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1969         [BZ #19881]
1970         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
1971         into ...
1972         * sysdeps/x86_64/memset.S: This.
1973         (__bzero): Removed.
1974         (__memset_tail): Likewise.
1975         (__memset_chk): Likewise.
1976         (memset): Likewise.
1977         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
1978         defined.
1979         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
1980         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
1981         (__memset_zero_constant_len_parameter): Check SHARED instead of
1982         PIC.
1983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1984         memset-avx2 and memset-sse2-unaligned-erms.
1985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1986         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
1987         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
1988         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1989         (__bzero): Enabled.
1990         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
1991         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
1992         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
1993         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
1994         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1995         (memset): Removed.
1996         (__memset_chk): Likewise.
1997         (MEMSET_SYMBOL): New.
1998         (libc_hidden_builtin_def): Replace __memset_sse2 with
1999         __memset_sse2_unaligned.
2000         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2001         __memset_chk_sse2 and __memset_chk_avx2 with
2002         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2003         Use __memset_chk_sse2_unaligned_erms or
2004         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2005         __memset_chk_avx512_unaligned_erms and
2006         __memset_chk_avx512_unaligned.
2008 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2010         * math/gen-auto-libm-test.c (fp_format_desc): remove
2011         suffix member.
2012         (output_generic_value): Remove usage of suffix member,
2013         and the resulting unuse of the fp_format argument.
2014         (output_for_one_input_case): Remove unused fp_format
2015         parameter.
2017         * math/auto-libm-test-out: Regenerate.
2019         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2020         usage with TEST_COND_ibm128.
2021         (TEST_COND_flt_32): Remove.
2022         (TEST_COND_dbl_64): Remove.
2023         (TEST_COND_ldbl_96_intel): Remove.
2024         (TEST_COND_ldbl_96_m68k): Remove.
2025         (TEST_COND_ldbl_128): Remove.
2027 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2029         * auto-libm-test-in:
2030         Replace flt-32 usage with binary32.
2031         Replace dbl-64 usage with binary64.
2032         Replace ldbl-intel-96 usage with intel96.
2033         Replace ldbl-m68k-96 usage with m68k96.
2034         Replace ldbl-128ibm usage with ibm128.
2035         Replace ldbl-128 usage with binary128.
2037         * auto-libm-test-out: Regenerate.
2039 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2041         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2042         (parse_ulps): Dynamically generate type name matching
2043         string from all_floats.
2044         (get_ulps): Generate the ulps as an array instead.
2045         (output_ulps): Dynamically compose the type based
2046         on the number of supported formats, and print
2047         the indices as type specific helper macros.
2049         * math/libm-test.inc: Remove comment about CHOOSE.
2050         (ulp_data): Generate the type in libm-test-ulps.h.
2051         (ULP_IDX): New macro.
2052         (find_ulps): Update usage of max_ulp.
2054         * math/test-double-vlen2.h (CHOOSE): Remove.
2055         * math/test-double-vlen4.h (CHOOSE): Likewise.
2056         * math/test-double-vlen8.h (CHOOSE): Likewise.
2057         * math/test-float.c (CHOOSE): Likewise.
2058         * math/test-float-finite.c (CHOOSE): Likewise.
2059         * math/test-double.c (CHOOSE): Likewise.
2060         * math/test-double-finite.c (CHOOSE): Likewise.
2061         * math/test-idouble.c (CHOOSE): Likewise.
2062         * math/test-ifloat.c (CHOOSE): Likewise.
2063         * math/test-ildoubl.c (CHOOSE): Likewise.
2064         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2065         * math/test-ldouble.c (CHOOSE): Likewise.
2067         * math/test-float.h (TEST_FLOAT): Remove.
2068         * math/test-double.h (TEST_DOUBLE): Likewise.
2069         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2071 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2073         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2074         (parse_args): Strip C suffix from floating point literals
2075         typed with 'f' and wrap them with LIT().
2077         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2078         (test_ff_f_data_nexttoward): Rename to
2079         (test_fj_f_data): New struct.
2080         (nexttoward_test_data): Relabel tests as
2081         TEST_fj_f instead of TEST_ff_f.
2083 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2085         Emacs bug 23726.
2086         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2087         (__libc_realloc): Correct size computation for dumped fake mmapped
2088         chunks.
2090 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2092         [BZ #20219]
2093         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2094         to itself.
2095         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2097         [BZ #20218]
2098         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2099         to itself.
2100         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2102 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2104         [BZ #20195]
2105         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2106         check to ...
2107         (init_cpu_features): Here.
2109 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2111         [BZ #20214]
2112         * sysdeps/unix/sysv/linux/bits/in.h
2113         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2114          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2115         Define to 1.
2116         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2117          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2118         Define to 0.
2119         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2120         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2122 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2124         [BZ #20198]
2125         * stdlib/Makefile (tests): Add tst-quick_exit, and
2126         tst-thread-quick_exit.
2127         [ifeq ($(have-cxx-thread_local),yes)]
2128         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2129         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2130         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2131         (LDLIBS-tst-thread-quick_exit): Likewise.
2132         [ifneq ($(have-cxx-thread_local),yes)]
2133         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2134         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2135         If run_dtors is true call __call_tls_dtors.
2136         (exit): Call __run_exit_handlers with run_dtors set to true.
2137         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2138         definition.
2139         * stdlib/quick_exit.c (quick_exit): Remove function.
2140         (__new_quick_exit): New function.
2141         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2142         function.
2143         * stdlib/tst-quick_exit.cc: New file.
2144         * stdlib/tst-thread-quick_exit.cc: New file.
2145         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2146         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2147         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2149         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2150         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2151         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2152         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2155         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2156         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2157         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2158         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2160         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2165         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2166         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2167         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2168         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2169         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2172         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2173         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2174         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2176 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2178         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2179         a typo in comments.
2181 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2183         [BZ #20213]
2184         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2185         argument to itself.
2186         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2188 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2190         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2191         required flags.
2192         (CFLAGS-pwritev64.c): Likewise.
2193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2195         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2196         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2197         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2198         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2199         syscall from auto-generation.
2200         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2201         [WORDSIZE == 64] (pwritev64): Remove macro.
2202         [!PWRITEV] (PWRITEV): Likewise.
2203         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2204         [!PWRITEV] (PWRITE): Likewise.
2205         [!PWRITEV] (OFF_T): Likewise.
2206         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2207         (LO_HI_LONG): Remove macro.
2208         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2209         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2210         (PWRITEV): Remove macro.
2211         (PWRITEV_REPLACEMENTE): Likewise.
2212         (PWRITE): Likewise.
2213         (OFF_T): Likewise.
2214         (pwritev64): New function.
2215         * nptl/tst-cancel4.c (tf_writev): Add test.
2217         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2218         required flags.
2219         (CFLAGS-preadv64.c): Likewise.
2220         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2221         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2222         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2223         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2224         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2225         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2226         syscall from auto-generation.
2227         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2228         [WORDSIZE == 64] (preadv64): Remove macro.
2229         [!PREADV] (PREADV): Likewise.
2230         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2231         [!PREADV] (PREAD): Likewise.
2232         [!PREADV] (OFF_T): Likewise.
2233         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2234         (LO_HI_LONG): Remove macro.
2235         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2236         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2237         (PREADV): Remove macro.
2238         (PREADV_REPLACEMENTE): Likewise.
2239         (PREAD): Likewise.
2240         (OFF_T): Likewise.
2241         (preadv64): New function.
2242         * nptl/tst-cancel4.c (tf_preadv): Add test.
2244 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2246         [BZ #20212]
2247         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2248         argument to itself.
2249         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2251 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2253         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2254         New symbol defined as libc_hidden_def.
2255         (strcasestr): Became a weak alias to __strcasestr.
2256         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2257         according to multi-arch support.  Move __stpncpy hidden
2258         definition from here to...
2259         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2260         symbol stpncpy.
2261         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2262         libc_hidden_builtin_def.
2263         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2264         memset symbol to use when multi-arch support is available.
2266 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2268         * dlfcn/tst-rec-dlopen.c: Include string.h.
2270 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2272         * manual/install.texi: Remove mention of --without-tls
2273         * INSTALL: Regenerate.
2275 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2277         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2278         Remove.
2279         (call_function, interposed_malloc_called): New variables.
2280         (malloc): New function.
2281         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2282         and clear call_function as needed.
2284 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2286         * include/wchar.h (__wmemset): Use __typeof.
2288 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
2290         * include/wchar.h (__wmemset): Declare function without typeof.
2292 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
2294         [BZ #20205]
2295         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2296         exponent when incrementing negative subnormal with low mantissa
2297         word zero.
2298         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2299         Add another test.
2301 2016-06-03  Florian Weimer  <fweimer@redhat.com>
2303         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2304         __wmemset instead of wmemset.
2306 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
2308         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2309         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2310         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2311         __USE_KERNEL_IPV6_DEFS to 0.
2312         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2313         Update comment.
2315 2016-06-01  Florian Weimer  <fweimer@redhat.com>
2317         [BZ #19861]
2318         Do not use IFUNC resolver with potentially unrelocated symbol.
2319         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2320         (DEFINE_FORK): Remove macro and inline definition.
2321         (fork_alias): Renamed from fork_ifunc.
2322         (__fork_alias): Renamed from __fork_ifunc.
2324 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
2326         [BZ 19653]
2327         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2328         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2330 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2332         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2333         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2334         i386-linux-gnu).
2335         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2336         Set to no.
2337         * sysdeps/mach/hurd/configure: Refresh.
2339 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2341         [BZ #20178]
2342         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2343         on failure instead of exit.
2345 2016-05-30  Roland McGrath  <roland@hack.frob.com>
2347         [BZ #3629]
2348         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2349         of POSIX.1-2008.
2351 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2353         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2354           Use PLT entry for calling _hurd_self_sigstate.
2356 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
2358         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2359         available logical processors with SMT level type sharing L2
2360         cache for Intel processors.
2362 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2364         [BZ #20160]
2365         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2366         argument to itself before returning the result.
2367         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2368         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2369         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2371         Likewise.
2372         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2373         Likewise.
2374         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2375         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2376         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2377         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2378         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2379         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2381         [BZ #20160]
2382         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2383         argument to itself before returning the result.
2384         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2385         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2386         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2387         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2388         Likewise.
2389         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2390         Likewise.
2391         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2392         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2393         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2394         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2395         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2396         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2398 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2400         * libm-test.inc: Replace usage of M_El with
2401         (lit_e): New macro.
2403 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2405         * libm-test.inc: Replace usage of M_PI_4l with
2406         (lit_pi_4_d): New macro.
2408 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2410         * libm-test.inc: Replace usage of M_PIl with
2411         (lit_pi): New macro.
2413 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2415         * libm-test.inc: Replace usage of M_PI2l with
2416         (lit_pi_2_d): New macro.
2418         * math/test-double.h (LITM): New macro.
2419         * math/test-float.h (LITM): Likewise.
2420         * math/test-ldouble.h (LITM): Likewise.
2422 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2424         * libm-test.inc (M_PI_34l): Rename to
2425         (lit_pi_3_m_4_d): New Macro.
2426         (M_PI_34_LOG10El): Rename to
2427         (lit_pi_3_m_4_ln10_m_d): New Macro.
2428         (M_PI2_LOG10El): Rename to
2429         (lit_pi_2_ln10_m_d):  New Macro.
2430         (M_PI4_LOG10El): Rename to
2431         (lit_pi_4_ln10_m_d):  New Macro.
2432         (M_PI_LOG10El): Rename to
2433         (lit_pi_ln10_d):  New Macro.
2435 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2437         [BZ #20157]
2438         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2439         determine whether to negate low half if [_ARCH_PPCGR], and integer
2440         comparison otherwise.
2441         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2442         determine whether to negate low half.
2444         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2445         (NO_TEST_INLINE_DOUBLE): Likewise.
2446         (TEST_COND_x86_64): Likewise.
2447         (TEST_COND_x86): Likewise.
2448         (M_PI_6l): Likewise.
2450 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2452         * math/libm-test.inc:
2453         (TEST_FLOAT): Change usage to TEST_COND_binary32.
2454         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2455         (TEST_LDOUBLE): Update usage to evaluate as true if
2456         the guarded tests match the property being tested.
2457         (LDBL_MAX_EXP): Change to MAX_EXP.
2458         (LDBL_MIN_EXP): Change to MIN_EXP.
2459         (LDBL_MANT_DIG): Change to MANT_DIG, except for
2460         nexttoward tests.
2462 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2464         * math/libm-test.inc:
2465         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2466         (TYPE_MIN): Likewise.
2467         (TYPE_TRUE_MIN): Likewise.
2468         (TYPE_MAX): Likewise.
2469         (MIN_EXP): Likewise.
2470         (MAX_EXP): Likewise.
2471         (MANT_DIG): Likewise.
2473         (FSTR_MAX): New macro.
2474         (__CONCATX): Likewise.
2475         (QTYPE_STR): Likewise.
2476         (TEST_COND_binary32): Likewise.
2477         (TEST_COND_binary64): Likewise.
2478         (TEST_COND_binary128): Likewise.
2479         (TEST_COND_ibm128): Likewise.
2480         (TEST_COND_intel96): Likewise.
2481         (TEST_COND_m68k96): Likewise.
2483         (TEST_COND_flt_32): Redefine as equivalent format test macro.
2484         (TEST_COND_dbl_64): Likewise.
2485         (TEST_COND_ldbl_96_intel): Likewise.
2486         (TEST_COND_ldbl_96_m68k): Likewise.
2487         (TEST_COND_ldbl_128): Likewise.
2488         (TEST_COND_ldbl_128ibm): Likewise.
2490         (plus_zero): Redefine using LIT macro.
2491         (minus_zero): Likewise.
2492         (plus_infty): Redefine as (INF).
2493         (minux_infty): Redefine as (-INF).
2494         (max_value): Redefine as TYPE_MAX.
2495         (min_value): Redefine as TYPE_MIN.
2496         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2498         (print_float): Refactor to use snprintf to convert FLOAT values
2499         to string. This brings it closer to dropin replacement of strtof
2500         for the TS 18661 defined types.
2501         (update_stats): Likewise.
2502         (print_complex_function_ulps): Likewise.
2503         (print_max_error): Likewise.
2504         (print_complex_max_error): Likewise.
2505         (check_float_internal): Likewise.
2507         * math/test-float.h (PREFIX): New macro.
2508         (LIT): Likewise.
2509         (TYPE_STR): Likewise.
2510         (FTOSTR): Likewise.
2512         * math/test-double.h (PREFIX): New macro.
2513         (LIT): Likewise.
2514         (TYPE_STR): Likewise.
2515         (FTOSTR): Likewise.
2517         * math/test-ldouble.h (PREFIX): New macro.
2518         (LIT): Likewise.
2519         (TYPE_STR): Likewise.
2520         (FTOSTR): Likewise.
2522 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
2524         [BZ #20156]
2525         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2526         to itself when zero or not finite.
2527         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2528         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2529         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2530         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2532 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
2534         [BZ #20153]
2535         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2536         x * x + x for infinities and NaNs.
2538         [BZ #20151]
2539         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2540         argument to itself before returning result.
2541         (__ieee754_y0l): Likewise.
2542         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2543         (__ieee754_y1l).
2545         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2546         (atan_test_data): Likewise.
2547         (ceil_test_data): Likewise.
2548         (cos_test_data): Likewise.
2549         (cosh_test_data): Likewise.
2550         (erf_test_data): Likewise.
2551         (exp2_test_data): Likewise.
2552         (fabs_test_data): Likewise.
2553         (floor_test_data): Likewise.
2554         (ilogb_test_data): Likewise.
2555         (j0_test_data): Likewise.
2556         (j1_test_data): Likewise.
2557         (jn_test_data): Likewise.
2558         (lgamma_test_data): Likewise.
2559         (lrint_test_data): Likewise.
2560         (llrint_test_data): Likewise.
2561         (logb_test_data): Likewise.
2562         (lround_test_data): Likewise.
2563         (llround_test_data): Likewise.
2564         (nearbyint_test_data): Likewise.
2565         (rint_test_data): Likewise.
2566         (round_test_data): Likewise.
2567         (sin_test_data): Likewise.
2568         (sincos_test_data): Likewise.
2569         (sinh_test_data): Likewise.
2570         (sqrt_test_data): Likewise.
2571         (tan_test_data): Likewise.
2572         (tanh_test_data): Likewise.
2573         (tgamma_test_data): Likewise.
2574         (trunc_test_data): Likewise.
2575         (y0_test_data): Likewise.
2576         (y1_test_data): Likewise.
2577         (yn_test_data): Likewise.
2579         * math/libm-test.inc: Update comment about NaN testing.
2580         (TEST_SNAN): New macro.
2581         (snan_value): Likewise.
2582         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2583         (fpclassify_test_data): Add sNaN tests.
2584         (isfinite_test_data): Likewise.
2585         (isinf_test_data): Likewise.
2586         (isnan_test_data): Likewise.
2587         (isnormal_test_data): Likewise.
2588         (issignaling_test_data): Likewise.
2589         (signbit_test_data): Likewise.
2590         * math/gen-libm-test.pl (%beautify): Add snan_value.
2591         (show_exceptions): Add argument $test_snan.
2592         (parse_args): Handle snan_value as non-finite.  Update call to
2593         show_exceptions.
2594         * math/Makefile (libm-test-no-inline-cflags): Add
2595         -fsignaling-nans.
2597 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2599         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2600         (CFLAGS-oldsendmsg.c): Add rule.
2601         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2602         Correct recvmsg symbol name.
2603         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2604         Likewise.
2606 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2608         * sysdeps/unix/sysv/linux/Makefile
2609         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2610         oldsendmmsg.
2611         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2612         sendmmsg.
2613         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2614         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2615         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2616         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2621         Likewise.
2622         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2624         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2625         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2626         iovlen and controllen fields to adjust to POSIX specification.
2627         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2629         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2630         and change to correct expected type.
2631         (msghdr.msg_controllen): Likewise.
2632         (cmsghdr.cmsg_len): Likewise.
2633         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2634         expected POSIX assumption about the size.
2635         (msghdr.msg_controllen): Likewise.
2636         (msghdr.__glibc_reserved1): Likewise.
2637         (msghdr.__glibc_reserved2): Likewise.
2638         (cmsghdr.cmsg_len): Likewise.
2639         (cmsghdr.__glibc_reserved1): Likewise.
2640         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2641         Add ptw-oldrecvmsg and ptw-oldsendmsg.
2642         (CFLAGS-sendmsg.c): Remove rule.
2643         (CFLAGS-recvmsg.c): Likewise.
2644         (CFLAGS-oldsendmsg.c): Add rule.
2645         (CFLAGS-oldrecvmsg.c): Likewise.
2646         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2647         recvmsg and sendmsg.
2648         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2649         Likewise.
2650         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2651         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2652         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2653         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2654         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2655         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2656         Likewise.
2657         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2658         Likewise.
2659         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2660         Likewise.
2661         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2662         Likewise.
2663         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2664         Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2666         Likewise.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2668         (GLIBC_2.24): Likewise.
2669         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2670         Likewise.
2671         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2672         Likewise.
2673         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2674         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2675         Likewise.
2676         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2677         Likewise.
2678         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2679         Likewise.
2680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2681         (GLIBC_2.24): Likewise.
2682         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2683         Likewise.
2684         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/Makefile
2687         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2688         (CFLAGS-sendmsg.c): Add rule.
2689         (CFLAGS-recvmsg.c): Likewise.
2690         (CFLAGS-oldsendmsg.c): Likewise.
2691         (CFLAGS-oldrecvmsg.c): Likewise.
2692         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2693         initialization.
2694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2695         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2696         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2697         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2698         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2699         iovlen and controllen fields to adjust to POSIX specification.
2700         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2701         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2702         added recvmsg and sendmsg.
2703         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2704         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2708         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2709         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2711         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2716         Likewise.
2717         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2719         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2720         Likewise.
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2731         Likewise.
2732         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2736         from auto-generation.
2737         (sendmsg): Likewise.
2738         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2739         (sendmsg): Likewise.
2740         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2741         (sendmsg): Likewise.
2742         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2743         (sendmsg): Likewise.
2744         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2745         (sendmsg): Likewise.
2746         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2747         (sendmsg): Likewise.
2748         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2749         Likewise.
2750         (sendmsg): Likewise.
2751         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2752         (sendmsg): Likewise.
2753         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2754         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2755         Remove.
2756         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2757         Likewise.
2758         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2759         Undefine.
2760         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2761         Likewise.
2762         * sysdeps/unix/sysv/linux/kernel-features.h
2763         (__ASSUME_SENDMSG_SYSCALL): Define.
2764         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2765         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2767         Remove.
2768         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2769         Likewise.
2770         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2771         Undefine.
2772         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2773         Likewise.
2774         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2775         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2776         Remove.
2777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2778         Likewise.
2779         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2780         Undefine.
2781         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2782         Likewise.
2783         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2784         (__ASSUME_SENDMSG_SYSCALL): Undefine.
2785         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2786         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2787         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2788         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2789         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2790         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2791         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2793 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2795         * stdlib/gen-tst-strtod-round.c: Add backslash to
2796         compile command in comment.
2797         (printfp): Remove the literal suffix, and define an infinite
2798         value as INF to avoid expansion clash with INFINITY.
2799         (round_str): Remove the literal suffix.
2800         (round_for_all): Likewise, remove the now duplicate ldbl-64
2801         entry, and remove some magic constants.
2803         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2804         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
2805         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2806         (_CONCAT): New macro.
2807         (CONCAT): Likewise.
2808         (CHOOSE_ld): Likewise.
2809         (CHOOSE_f): Likewise.
2810         (CHOOSE_d): Likewise.
2811         (FTYPE_MEMBER): Likewise.
2812         (BOOL_MEMBER): Likewise.
2813         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2814         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2815         (_XNTRY): Likewise.
2816         (XNTRY): Likewise.
2817         (_ENTRY): Likewise.
2818         (ENTRY): Likewise.
2819         (test_exactness): Generate members via macro.
2820         (test_results): Likewise.
2821         (test): Update members.
2822         (TEST): Redefine using new macros.
2823         (INF): New macro.
2824         (fetestmodes): New structure.
2825         (do_test): Refactor to be type generic.
2826         (test_in_one_mode): Refactor duplicate code into
2827         (GEN_ONE_TEST): New macro.
2829         * stdlib/tst-strtod-round-data.h: Regenerate.
2831         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2832         Extend to pass additional arbitrary parameters to
2833         generators.
2835 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
2837         [BZ #15479]
2838         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2839         floating-point state after first floating-point operation on
2840         input.  Restore full floating-point state instead of just rounding
2841         mode.
2842         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2843         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2844         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2845         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2846         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2848         [BZ #15479]
2849         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
2850         floating-point state after first floating-point operation on
2851         input.  Restore full floating-point state instead of just rounding
2852         mode.
2853         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2854         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2855         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2856         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2857         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2859 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2861         [BZ #19727]
2862         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
2863         valid high surrogate.
2864         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
2865         of an utf16 surrogate.
2866         * iconv/gconv_simple.c (BODY): Likewise.
2867         * iconvdata/bug-iconv12.c: New file.
2868         * iconvdata/Makefile (tests): Add bug-iconv12.
2870 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2872         [BZ #19726]
2873         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
2874         outptrp in case of an illegal input.
2875         * iconv/tst-iconv6.c: New file.
2876         * iconv/Makefile (tests): Add tst-iconv6.
2878 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2880         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
2881         an error in case of a value in range of an utf16 low surrogate.
2883 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2885         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
2886         an error in case of a value in range of an utf16 low surrogate.
2888 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2890         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
2891         Move to ...
2892         * sysdeps/s390/Makefile: ... here.
2893         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
2894         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
2895         (BRANCH_ON_COUNT): New define.
2896         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
2897         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
2898         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
2899         run on s390-32, too.
2900         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
2901         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
2902         run on s390-32, too.
2903         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
2904         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
2905         run on s390-32, too.
2907 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2909         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
2910         etf3eh or new vector loop-variant.
2912 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2914         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
2915         etf3eh or new vector loop-variant.
2917 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2919         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
2920         or new vector loop-variant.
2922 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2924         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
2925         Rename to TR_LOOP and usage of tr instead of troo instruction.
2927 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2929         * sysdeps/s390/multiarch/gconv_simple.c: New File.
2930         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
2932 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2934         * sysdeps/s390/multiarch/8bit-generic.c: New File.
2935         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
2936         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
2937         New override define.
2938         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
2940 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2942         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
2943         * sysdeps/s390/configure.ac: Add test for S390 vector register
2944         support in gcc.
2945         * sysdeps/s390/configure: Regenerated.
2947 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
2949         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
2950         Install file from $(objpfx)gconv-modules.
2951         ($(objpfx)gconv-modules): Concatenate architecture specific file
2952         in variable sysdeps-gconv-modules and gconv-modules in src dir.
2953         * sysdeps/s390/gconv-modules: New file.
2954         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
2955         Deleted.
2956         ($(objpfx)gconv-modules-s390): Deleted.
2957         (sysdeps-gconv-modules): New variable.
2959 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2961         [BZ #15479]
2962         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
2963         of immediate operand to rounding instruction.
2964         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
2965         Likewise.
2966         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
2967         Likewise.
2968         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
2969         Likewise.
2971 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2973         * math/libm-test.inc (MIN_EXP): Directly define as
2974         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
2976 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2978         * math/libm-test.inc (MANT_DIG): Directly define as
2979         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
2981 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2983         * stdlib/gen-tst-strtod-round.c (main):
2984           Change usage to more closely match the generated
2985           output.  Add usage and compilation instructions.
2986           (string_to_fp): Add and use FILE* parameter as
2987           output target.
2988           (print_fp): Likewise.
2989           (round_str): Likewise.
2990           (round_for_all): Likewise.
2991         * stdlib/tst-strtod-round.c (tests): Move into
2992         * stdlib/tst-strtod-round-data.h: New file.
2994 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
2996         [BZ #15479]
2997         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
2998         (__round): Do not force "inexact" exception.
2999         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3000         variable.
3001         (__round): Do not force "inexact" exception.
3002         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3003         (__roundf): Do not force "inexact" exception.
3004         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3005         (__roundl): Do not force "inexact" exception.
3006         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3007         (__roundl): Do not force "inexact" exception.
3008         * math/libm-test.inc (round_test_data): Do not allow spurious
3009         "inexact" exceptions.
3011         [BZ #15479]
3012         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3013         exception in comment.
3014         (huge): Remove variable.
3015         (__floor): Do not force "inexact" exception.
3016         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3017         "inexact" exception in comment.
3018         (huge): Remove variable.
3019         (__floor): Do not force "inexact" exception.
3020         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3021         exception in comment.
3022         (huge): Remove variable.
3023         (__floorf): Do not force "inexact" exception.
3024         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3025         exception in comment.
3026         (huge): Remove variable.
3027         (__floorl): Do not force "inexact" exception.
3029         [BZ #15479]
3030         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3031         exception in comment.
3032         (huge): Remove variable.
3033         (__ceil): Do not force "inexact" exception.
3034         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3035         "inexact" exception in comment.
3036         (huge): Remove variable.
3037         (__ceil): Do not force "inexact" exception.
3038         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3039         (__ceilf): Do not force "inexact" exception.
3040         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3041         exception in comment.
3042         (huge): Remove variable.
3043         (__ceill): Do not force "inexact" exception.
3045 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3047         * config.h.in (BIND_NOW): New.
3048         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3049         * configure: Regenerated.
3050         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3051         indirect branch via the GOT slot.
3053 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3055         [BZ #19765]
3056         * sysdeps/s390/mempcpy.S: New File.
3057         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3058         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3059         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3060         Add mempcpy variants.
3061         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3062         (memcpy): Adjust to be usable from mempcpy entry point.
3063         (__memcpy_mvcle): Likewise.
3064         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3065         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3066         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3067         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3068         (__memcpy_z10): Likewise.
3069         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3071 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3073         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3074         Remove __GI_ symbol.
3075         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3076         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3077         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3078         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3079         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3080         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3082 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3084         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3085         Use cghi instead of chi to compare 64bit value.
3087 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3089         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3090         Jump to 1MB check before executing mvc-loop.
3092 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3094         [BZ #6527]
3095         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3096         unconditionally.
3097         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3099 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3101         * stdlib/tst-strtod6.c (do_test): Use new type generic
3102         invocation of the test function.
3103         (test): Refactor into ...
3104         (TEST_STRTOD): New macro base function.
3106 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3108         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3109         (TEST_STRTOD): New macro.
3110         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3112 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3114         * stdlib/tst-strtod6.c (do_test): Use new type generic
3115         invocation of the test function.
3116         (test): Refactor into ...
3117         (TEST_STRTOD): New macro base function.
3119 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3121         CVE-2016-4429
3122         [BZ #20112]
3123         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3124         payload.
3126 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3128         [BZ #20111]
3129         * bits/sockaddr.h (_SS_SIZE): Define.
3130         * bits/socket.h (_SS_SIZE): Remove.
3131         (_SS_PADSIZE): Adjust to account for all padding.
3132         (struct sockaddr_storage): Update comment.  Avoid implicit
3133         padding.
3134         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3135         (_SS_PADSIZE): Adjust to account for all padding.
3136         (struct sockaddr_storage): Update comment.  Avoid implicit
3137         padding.
3138         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3139         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3140         (_SS_PADSIZE): Adjust to account for all padding.
3141         (struct sockaddr_storage): Update comment.  Avoid implicit
3142         padding.
3143         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3144         __SS_SIZE is 126 in this version.
3145         * inet/tst-sockaddr.c: New file.
3146         * inet/Makefile (tests): Add tst-sockaddr.c
3147         (tst-sockaddr.c): Compile with non-strict aliasing.
3149 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3151         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3152         [XPG3 || XPG4].
3153         (NL_ARGMAX): Also expect for [XPG3].
3154         (NL_LANGMAX): Likewise.
3155         (NL_MSGMAX): Likewise.
3156         (NL_NMAX): Likewise.
3157         (NL_SETMAX): Likewise.
3158         (NL_TEXTMAX): Likewise.
3159         (NZERO): Likewise.
3160         (TMP_MAX): Likewise.
3161         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3162         variable.
3164         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3165         (PF_MAX): Update value.
3166         (AF_KCM): New macro.
3167         (SOL_NETBEUI): Likewise.
3168         (SOL_LLC): Likewise.
3169         (SOL_DCCP): Likewise.
3170         (SOL_NETLINK): Likewise.
3171         (SOL_TIPC): Likewise.
3172         (SOL_RXRPC): Likewise.
3173         (SOL_PPPOL2TP): Likewise.
3174         (SOL_BLUETOOTH): Likewise.
3175         (SOL_PNPIPE): Likewise.
3176         (SOL_RDS): Likewise.
3177         (SOL_IUCV): Likewise.
3178         (SOL_CAIF): Likewise.
3179         (SOL_ALG): Likewise.
3180         (SOL_NFC): Likewise.
3181         (SOL_KCM): Likewise.
3182         (MSG_BATCH): New enum value and macro.
3184 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3186         [BZ #18185]
3187         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3188         sharing L2 cache to 2 for Knights Landing.
3190 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3192         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3193         (FTW_DP): Do not expect for [XPG3 || XPG4].
3194         (FTW_SL): Do not expect for [XPG3].
3195         (FTW_SLN): Likewise.
3196         (FTW_PHYS): Likewise.
3197         (FTW_MOUNT): Likewise.
3198         (FTW_DEPTH): Likewise.
3199         (FTW_CHDIR): Likewise.
3200         (nftw): Likewise.
3201         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3202         variable.
3204 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3206         * manual/errno.texi: Fix various typos & grammar errors.
3208 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3210         * manual/intro.texi: Fix duplicated typo.
3212 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3214         [BZ #13304]
3215         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3216         <float.h>, <math_private.h> and <stdlib.h>.
3217         (add_split): New function.
3218         (mul_split): Likewise.
3219         (ext_val): New typedef.
3220         (store_ext_val): New function.
3221         (mul_ext_val): New function.
3222         (compare): New function.
3223         (add_split_ext): New function.
3224         (__fmal): After checking for Inf, NaN and zero, compute result as
3225         an exact sum of scaled double values in round-to-nearest before
3226         adding those up and adjusting for other rounding modes.
3227         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3228         tests of fma.
3229         * math/auto-libm-test-out: Regenerated.
3231 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3233         [BZ #20119]
3234         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3235         processor level type mask for CPUID with EAX == 11.
3237 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3239         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3240         logical threads if the HTT bit is 0.
3241         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3242         (index_cpu_HTT): Likewise.
3243         (reg_HTT): Likewise.
3245 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3247         [BZ #20115]
3248         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3249         Remove alignments on jump targets.
3251 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3253         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3254         (getpwent): Likewise.
3255         (setpwent): Likewise.
3256         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3257         variable.
3259         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3260         (remque): Likewise.
3261         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3262         variable.
3264 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3266         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3267         not being tested.
3269 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3272         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3273         call.
3274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3275         (__condvar_cleanup1): Likewise.
3277 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3279         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3280         New
3281         (__pthread_unwind): Renamed to ...
3282         (PTHREAD_UNWIND): This.
3283         (__pthread_enable_asynccancel): Replace
3284         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3286 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3288         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3289         (CLONE_NEWCGROUP): New macro.
3291         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3292         (Q_GETNEXTQUOTA): New macro.
3294 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3296         [BZ #19907]
3297         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3298         buffer updated by the previous run.
3299         * string/test-memcpy.c (do_one_test): Likewise.
3300         * benchtests/bench-memmove.c (do_one_test): Add a comment.
3301         * string/test-memmove.c (do_one_test): Likewise.
3303 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
3305         [BZ #20094]
3306         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3307         not [__USE_XOPEN].
3308         (unlockpt): Likewise.
3309         (ptsname): Likewise.
3310         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3311         variable.
3313         [BZ #20076]
3314         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3315         instead of [__USE_UNIX98].
3316         (S_ISSOCK): Likewise.
3317         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3318         variable.
3320         [BZ #20074]
3321         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3322         [__USE_POSIX].
3323         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3324         variable.
3326         [BZ #20051]
3327         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3328         (ttyslot): Do not declare.
3329         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3330         (ttyslot): New prototype.
3331         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3332         variable.
3333         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3335 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3337         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3339 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3341         Fix race condition in tst-mallocfork2, use fewer resources.
3342         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3343         to current process group.
3344         (signal_sender): Yield in the non-sleeping case.
3346 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
3348         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3349         (ecvt): Likewise.
3350         (fcvt): Likewise.
3351         (gcvt): Likewise.
3352         (getsubopt): Likewise.
3353         (grantpt): Likewise.
3354         (initstate): Likewise.
3355         (l64a): Likewise.
3356         (mktemp): Likewise.
3357         (mkstemp): Likewise.
3358         (ptsname): Likewise.
3359         (random): Likewise.
3360         (realpath): Likewise.
3361         (setstate): Likewise.
3362         (srandom): Likewise.
3363         (ttyslot): Likewise.
3364         (unlockpt): Likewise.
3365         (valloc): Likewise.
3367         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3368         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3369         variable.
3371 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3373         [BZ #20072]
3374         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3375         init_cpu_features only if SHARED is defined.
3376         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3378 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3380         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3381         non-inclusive caches on Intel processors.
3383 2016-05-13  Florian Weimer  <fweimer@redhat.com>
3385         * malloc/malloc.c (dumped_main_arena_start)
3386         (dumped_main_arena_end): New variables.
3387         (DUMPED_MAIN_ARENA_CHUNK): New macro.
3388         (do_check_chunk): Skip dumped fake mmapped chunks.
3389         (munmap_chunk): Likewise.
3390         (__libc_free): Do not adjust statistics for fake mmapped chunks.
3391         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
3392         mmapped chunks.
3393         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3394         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
3395         and dumped_main_arena_end to cover the dumped heap.
3397 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
3399         * conform/data/time.h-data (getdate_err): Do not expect for
3400         [XPG3].
3401         (getdate): Likewise.
3402         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3403         variable.
3405         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3406         (F_ULOCK): Likewise.
3407         (F_TEST): Likewise.
3408         (F_TLOCK): Likewise.
3409         (useconds_t): Likewise.
3410         (intptr_t): Do not expect for [XPG3] or [XPG4].
3411         (brk): Do not expect for [XPG3]
3412         (fchown): Likewise.
3413         (fchdir): Likewise.
3414         (ftruncate): Likewise.
3415         (getdtablesize): Likewise.
3416         (gethostid): Likewise.
3417         (getpagesize): Likewise.
3418         (getpgid): Likewise.
3419         (getsid): Likewise.
3420         (getwd): Likewise.
3421         (lchown): Likewise.
3422         (lockf): Likewise.
3423         (readlink): Likewise.
3424         (sbrk): Likewise.
3425         (setpgrp): Likewise.
3426         (setregid): Likewise.
3427         (setreuid): Likewise.
3428         (symlink): Likewise.
3429         (sync): Likewise.
3430         (truncate): Likewise.
3431         (ualarm): Likewise.
3432         (usleep): Likewise.
3433         (vfork): Likewise.
3434         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3435         variable.
3437         [BZ #20054]
3438         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3439         not [__USE_UNIX98].
3440         * conform/data/unistd.h-data (gethostname): Do not expect for
3441         [XPG3].
3443         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3444         [!POSIX] (S_IFBLK): Likewise.
3445         [!POSIX] (S_IFCHR): Likewise.
3446         [!POSIX] (S_IFIFO): Likewise.
3447         [!POSIX] (S_IFREG): Likewise.
3448         [!POSIX] (S_IFDIR): Likewise.
3449         [!POSIX] (S_IFLNK): Likewise.
3450         [!POSIX] (S_IFSOCK): Likewise.
3451         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3452         variable.
3453         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3455 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
3457         * sysdeps/aarch64/memset.S (__memset):
3458         Rewrite of optimized memset.
3460 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3462         [BZ #19703]
3463         Partially async-signal-safe fork for single-threaded processes.
3464         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3465         variable.  Do not acquire and reset/release malloc and libio locks
3466         in single-threaded processes.
3467         * malloc/tst-mallocfork2.c: New file.
3468         * malloc/Makefile (tests): Add it.
3470 2016-05-12  Florian Weimer  <fweimer@redhat.com>
3472         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3473         argument.  Use scratch buffer instead of extend_alloca.
3474         (gethosts): Use scratch buffer instead of extend_alloca.
3475         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
3476         extend_alloca.
3477         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3479 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
3481         [BZ #20055]
3482         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3483         instead of [__USE_UNIX98].
3484         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3485         [__USE_UNIX98].
3486         * conform/data/termios.h-data (tcgetsid): Do not expect for
3487         [XPG3].
3488         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3489         variable.
3490         (test-xfail-XPG4/termios.h/conform): Likewise.
3492 2016-05-11  Florian Weimer  <fweimer@redhat.com>
3494         Do not use mcheck in localedef.
3495         * locale/programs/localedef.c (turn_on_mcheck)
3496         (__malloc_initialize_hook): Remove.
3498 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3500         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3501         * sysdeps/s390/s390-64/Makefile: Likewise.
3503 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
3505         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3506         Remove ifunc-defines.sym.
3507         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3508         Likewise.
3509         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3510         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3511         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3512         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3513         rtld-global-offsets.sym.
3514         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3515         * sysdeps/x86/cpu-features-offsets.sym: This.
3516         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3517         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3519 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
3521         [BZ #20073]
3522         * io/sys/stat.h (fchmod): Declare for
3523         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3524         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3525         variable.
3527         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3528         [XPG3] (S_IFSOCK): Likewise.
3529         [XPG3] (S_ISVTX): Likewise.
3530         [XPG3] (S_ISLNK): Likewise.
3531         [XPG3] (S_ISSOCK): Likewise.
3532         [XPG3] (fchmod): Likewise.
3533         [XPG3] (lstat): Likewise.
3534         [XPG3] (mknod): Likewise.
3536         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3537         [XPG3].  Expect type long and XFAIL for [XPG4].
3538         (st_blocks): Likewise.
3540         [BZ #20044]
3541         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3542         (pthread_atfork): New prototype.
3543         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3544         variable.
3546         [BZ #20043]
3547         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3548         prototype.
3550 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3552         [BZ #20017]
3553         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3554         gmtime.
3556 2016-05-10  Florian Weimer  <fweimer@redhat.com>
3558         [BZ #19994]
3559         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3560         flag in _res.options.
3562 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
3564         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3565         [XPG3 || XPG4].
3566         (blksize_t): Likewise.
3567         (clockid_t): Likewise.
3568         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3569         variable.
3570         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3572 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3574         * sysdeps/unix/sysv/linux/s390/init-first.c:
3575         Add VDSO_SYMBOL(getcpu).
3576         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3577         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3578         Add VDSO_SYMBOL(getcpu).
3579         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3580         New define HAVE_GETCPU_VSYSCALL.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3583 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
3585         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3586         instead of <sysdeps/x86_64/cacheinfo.c>.
3587         * sysdeps/x86_64/cacheinfo.c: Moved to ...
3588         * sysdeps/x86/cacheinfo.c: Here.
3590 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3592         * malloc/malloc-internal.h: Adjust header file guard.
3594 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3596         [BZ #19787]
3597         * inet/getnameinfo.c (check_sprintf_result): New function.
3598         (CHECKED_SNPRINTF): New macro.
3599         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3600         to the host buffer.
3601         (gni_host_local): Use checked_copy to copy the host name.
3602         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3603         (gni_serv_local): Use checked_copy to copy the service name.
3604         (getnameinfo): Remove unnecessary truncation of result buffers.
3606 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3608         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3609         in case of inet_ntop failure.
3611 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3613         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3614         avoid long lines.
3615         (gni_host_inet_numeric): Likewise.  Reduce scope of local
3616         variables.
3617         (gni_host_inet, gni_host_local): Add comment.
3618         (gni_host): Add comment.  Use temporary to avoid long lines.
3620 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3622         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3623         registers specifiers where general purpose registers specifiers should
3624         have been used.
3626 2016-05-04  Florian Weimer  <fweimer@redhat.com>
3628         [BZ #19779]
3629         CVE-2016-1234
3630         Avoid copying names of directory entries.
3631         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3632         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3633         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3634         (struct readdir_result): New type.
3635         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3636         (GL_READDIR): New macros.
3637         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3638         (convert_dirent, convert_dirent64): New functions.
3639         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
3640         convert_dirent64.  Adjust references to the readdir result.
3641         * sysdeps/unix/sysv/linux/i386/glob64.c:
3642         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3643         * posix/bug-glob2.c (LONG_NAME): Define.
3644         (filesystem): Add LONG_NAME.
3645         (my_DIR): Increase the size of room_for_dirent.
3647 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
3649         [BZ #20041]
3650         * misc/sys/select.h (__need_timespec): Only define if
3651         [__USE_XOPEN2K].
3652         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3653         variable.
3654         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3655         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3656         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3658 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3659             Segher Boessenkool  <segher@gcc.gnu.org>
3661         [BZ #20004]
3662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3663         (__novec_swapcontext): Add missing load.
3665 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
3667         [BZ #20023]
3668         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3669         <time.h>.
3670         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3671         variable.
3672         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3674 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3677         flags CLONE_VM compare.
3679 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3681         [BZ #20031]
3682         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3683         completely empty.
3685 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3687         [BZ #19573]
3688         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3689         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3690         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3691         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3692         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3693         (hesiod_free_list): Mark as hidden.
3694         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3695         res_set, res_get.
3696         * hesiod/hesiod.c: Remove unnecessary forward declarations.
3697         (init, __hesiod_res_get, __hesiod_res_set): Remove.
3698         (hesiod_init): Remove obsolete res_ninit call.
3699         (hesiod_end): Do not free resolver state.  Do not invoke callback.
3700         (hesiod_bind): Do not call init.
3701         (get_txt_records): Use res_mkquery, res_send instead of
3702         res_nmkquery, res_nsend.
3703         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3704         instead of _nss_hesiod_init.
3705         (_nss_hesiod_initgroups_dyn): Likewise.
3706         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3707         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3708         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3710 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3712         * hesiod/hesiod_p.h (DEF_RHS): Remove.
3713         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3715 2016-05-02  Florian Weimer  <fweimer@redhat.com>
3717         * hesiod/hesiod.h: Remove RCS keyword.
3718         * hesiod/hesiod_p.h: Likewise.
3720         * hesiod/hesiod.c: Likewise.
3722 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
3724         [BZ #12450]
3725         * locale/iso-639.def: Add Samogitian/sgs.
3727 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
3729         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3731         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3733 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
3734             Carlos O'Donell  <carlos@redhat.com>
3736         [BZ #19072]
3737         * grp/Makefile (headers): Add grp-merge.h
3738         (routines): Add grp-merge.
3739         * grp/getgrgid_r.c: Include grp-merge.h.
3740         (DEEPCOPY_FN): Define.
3741         (MERGE_FN): Define.
3742         * grp/getgrname_r.c: Include grp-merge.h.
3743         (DEEPCOPY_FN): Define.
3744         (MERGE_FN): Define.
3745         * grp/grp-merge.c: New file.
3746         * grp/grp-merge.h: New file.
3747         * include/grp-merge.h: New file.
3748         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3749         __copy_grp@GLIBC_PRIVATE.
3750         * manual/nss.texi (Actions in the NSS configuration): Describe
3751         return, continue, and merge.
3752         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3753         (DEEPCOPY_FN): Define.
3754         (MERGE_FN): Define.
3755         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3756         (DEEPCOPY_FN): Define.
3757         (MERGE_FN): Define.
3758         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3759         [!MERGE_FN]: Define __merge_einval.
3760         (CHECK_MERGE): Define.
3761         (REENTRANT_NAME): Process merge if do_merge is true.
3762         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3763         (__nss_getent_r): Likewise.
3764         * nss/nsswitch.c (nss_parse_service_list): Likewise.
3765         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3767 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3769         [BZ #20012]
3770         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3771         length to calculate the buffer to read.
3772         (fmemopen_write): Set the buffer position based on bytes written.
3773         (fmemopen_seek): Return EINVAL for invalid whence modes.
3775         [BZ #19957]
3776         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3777         tst-getpid2.
3778         (test): Add tst-clone2.
3779         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3780         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3781         pid/tid fields for CLONE_VM.
3782         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3783         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3784         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3785         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3786         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3787         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3788         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3789         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3791         Likewise.
3792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3793         Likewise.
3794         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3795         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3796         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3797         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3799         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3800         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3801         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3803 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3805         [BZ #19642]
3806         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3807         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3808         (gni_serv_local, gni_serv): New functions extracted from
3809         getnameinfo.
3810         (getnameinfo): Call gni_host and gni_serv to perform the
3811         processing.  Always free scratch buffer.
3813 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3815         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3816         remaining bytes in the dest string, with zeros.
3818 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3820         [BZ #20010]
3821         CVE-2016-3706
3822         * sysdeps/posix/getaddrinfo.c
3823         (convert_hostent_to_gaih_addrtuple): New function.
3824         (gethosts): Call convert_hostent_to_gaih_addrtuple.
3825         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3826         AF_INET data.
3828 2016-04-29  Florian Weimer  <fweimer@redhat.com>
3830         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3831         callback function gl_readdir.
3832         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3833         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3834         (glob_in_dir): Remove len.  Use strdup instead of malloc and
3835         memcpy to copy the name.
3836         * manual/pattern.texi (Calling Glob): Document requirements for
3837         implementations of the gl_readdir callback function.
3838         * manual/examples/mkdirent.c: New example.
3839         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3840         per the manual guidance.
3841         * posix/tst-gnuglob.c (my_readdir): Likewise.
3843 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
3845         [BZ #20014]
3846         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
3847         not [__USE_POSIX].
3848         (getchar_unlocked): Likewise.
3849         (putc_unlocked): Likewise.
3850         (putchar_unlocked): Likewise.
3851         (flockfile): Likewise.
3852         (ftrylockfile): Likewise.
3853         (funlockfile): Likewise.
3854         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
3855         variable.
3856         (test-xfail-XPG4/stdio.h/conform): Likewise.
3858         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
3859         Expect constant.
3860         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
3861         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
3862         variable.
3863         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3864         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3866         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
3867         [__USE_LARGEFILE64] (off64_t): Likewise.
3868         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
3869         variable.
3871 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3873         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
3875 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3877         * resolv/inet_addr.c: Reindent preprocessor conditionals.
3878         * resolv/res_init.c: Likewise.
3879         * resolv/res_mkquery.c: Likewise.
3881 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3883         * resolv/res_init.c (isascii): Do not define.  Use definition in
3884         <ctype.h>.
3885         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
3886         (LOG_AUTH): Remove.
3887         (SPRINTF): Remove, adjust caller.
3888         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
3890 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3892         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
3893         SUNSECURITY conditional.
3894         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
3896 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3898         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
3899         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
3900         Remove BSD-related preprocessor conditionals.
3901         * conf/portability.h: Remove.
3903 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3905         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
3906         * resolv/res_data.c: Likewise.
3908 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3910         * resolv/res_comp.c: Remove code conditional on __ultrix__.
3911         * resolv/res_data.c: Remove code conditional on ultrix.
3913 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3915         * resolv/res_init.c (RFC1535): Do not define.  Remove
3916         RFC1535 preprocessor conditionals.
3917         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
3918         because there configuration options which make the resolver
3919         behavior different.
3921 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3923         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
3924         RESOLVSORT preprocessor conditionals.
3925         * resolv/nss_dns/dns-host.c: Likewise.
3926         * resolv/res_init.c: Likewise.
3928 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3930         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
3931         is never defined.
3933 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3935         * inet/inet_lnaof.c: Remove SCSS keyword.
3936         * inet/inet_mkadr.c: Likewise.
3937         * inet/inet_net.c: Likewise.
3938         * inet/inet_netof.c: Likewise.
3939         * inet/rcmd.c: Likewise.
3940         * inet/rexec.c: Likewise.
3941         * inet/ruserpass.c: Likewise.
3943 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3945         * resolv/inet_addr.c: Remove _LIBC conditionals.
3946         * resolv/res_data.c: Likewise.
3947         * resolv/res_init.c: Likewise.
3948         * resolv/res_mkquery.c: Likewise.
3949         * resolv/res_libc.c: Update comment.
3950         * resolv/README: Update.
3952 2016-04-28  Florian Weimer  <fweimer@redhat.com>
3954         * resolv/gethnamaddr.c: Remove SCSS keyword.
3955         * resolv/herror.c: Likewise.
3956         * resolv/inet_addr.c: Likewise.
3957         * resolv/inet_net_ntop.c: Likewise.
3958         * resolv/inet_net_pton.c: Likewise.
3959         * resolv/inet_neta.c: Likewise.
3960         * resolv/inet_ntop.c: Likewise.
3961         * resolv/inet_pton.c: Likewise.
3962         * resolv/ns_date.c: Remove RCS keyword.
3963         * resolv/ns_name.c: Likewise.
3964         * resolv/ns_netint.c: Likewise.
3965         * resolv/ns_parse.c: Likewise.
3966         * resolv/ns_print.c: Likewise.
3967         * resolv/ns_samedomain.c: Likewise.
3968         * resolv/ns_ttl.c: Likewise.
3969         * resolv/nsap_addr.c: Likewise.
3970         * resolv/res_comp.c: Remove SCSS and RCS keyword.
3971         * resolv/res_data.c: Remove RCS keyword.
3972         * resolv/res_debug.c: Remove SCSS and RCS keyword.
3973         * resolv/res_init.c: Likewise.
3974         * resolv/res_mkquery.c: Likewise.
3975         * resolv/res_query.c: Likewise.
3976         * resolv/res_send.c: Likewise.
3978 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
3980         * conform/data/stdio.h-data (fdopen): Expect also for
3981         [XPG3 || XPG4].
3983         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
3984         (fseeko): Likewise.
3985         (ftello): Likewise.
3986         (ftrylockfile): Likewise.
3987         (funlockfile): Likewise.
3988         (getc_unlocked): Likewise.
3989         (getchar_unlocked): Likewise.
3990         (putc_unlocked): Likewise.
3991         (putchar_unlocked): Likewise.
3993 2016-04-27  Florian Weimer  <fweimer@redhat.com>
3995         [BZ #19868]
3996         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
3997         DNS packet syntax checks (which were not needed before).  Skip
3998         over non-PTR records.
4000 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4002         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4003         definition.  Include <stddef.h> instead.
4005 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4007         [BZ #19831]
4008         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4009         function.
4010         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4011         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4013 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4015         [BZ #19862]
4016         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4017         (getanswer_r): Do not call syslog.
4018         (gaih_getanswer_slice): Likewise.
4019         * resolv/gethnamaddr.c (AskedForGot): Remove.
4020         (getanswer): Do not call syslog.
4021         (gethostbyaddr): Likewise.
4023 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4025         * conform/data/signal.h-data (union sigval): Expect also if
4026         [XOPEN2K].
4027         (struct sigevent): Likewise.
4028         (SIGEV_NONE): Likewise.
4029         (SIGEV_SIGNAL): Likewise.
4030         (SIGEV_THREAD): Likewise.
4031         (SIGRTMIN): Likewise.
4032         (SIGRTMAX): Likewise.
4033         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4034         variable.
4035         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4037 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4039         [BZ #19830]
4040         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4041         (gaih_getanswer_slice): Likewise.
4042         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4043         Also check for availability of RR metadata.
4045 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4047         [BZ #19825]
4048         * resolv/res_send.c (send_vc): Remove early *resplen2
4049         initialization.  Set *resplen2 on socket error.  Call
4050         close_and_return_error for other errors.
4052 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4054         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4055         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4056         (SCM_IUCV_TRGCLS): New define.
4058 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4060         [BZ #20005]
4061         * libio/fmemopen.c (fmemopen_write): Update internal position after
4062         write.
4063         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4064         * stdio-common/tst-fmemopen4.c: New file..
4066 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4068         [BZ #19996]
4069         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4070         not [__USE_XOPEN2K].
4071         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4072         variable.
4074         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4075         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4076         variable.
4078         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4079         [__USE_XOPEN2K8].
4080         [__USE_LARGEFILE64] (off64_t): Likewise.
4081         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4082         variable.
4084 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4086         [BZ #19989]
4087         * libio/stdio.h (cuserid): Do not declare if
4088         [__USE_XOPEN2K && !__USE_GNU].
4089         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4090         variable.
4092 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4094         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4095         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4097         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4098         ifunc'ed strcspn.
4099         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4100         [EALIGN]: Removed.
4101         [END]: Likewise
4102         [STRSPN]: Define instead of the above to control symbol name.
4103         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4104         New file.
4105         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4106         Likewise.
4107         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4108         Likewise.
4109         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4110         Likewise.
4111         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4112         [INITIAL_MASK]: New macro.
4113         [STRCSPN]: Likewise.
4114         [UPDATE_MASK]: Likewise.
4115         [USE_AS_STRCSPN]: Lisewise.
4117 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4119         [BZ #19931]
4120         * stdio-common/tst-vfprintf-width-prec.c: New file.
4121         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4122         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4123         (generated): Add mtrace-related files.
4124         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4125         (tst-%-mem.out): New pattern rule, replaces
4126         tst-printf-bz18872-mem.out.
4127         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4128         specifier, deallocate any previously allocated work buffer.
4130 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4132         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4133         Add nop before __startcontext, add explaining comments.
4135 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4137         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4138         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4139         completely different API.
4141         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4142         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4143         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4144         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4145         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4146         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4147         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4148         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4149         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4150         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4152 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4154         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4156 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4158         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4159         when it is the default of 0.
4161 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4163         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4164         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4165         (sysdep_routines): Add new strcasestr targets.
4166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4167         (__libc_ifunc_impl_list): Likewise.
4168         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4169         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4170         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4171         * sysdeps/powerpc/powerpc64/power8/Makefile:
4172         New file to add strcasestr-ppc64 to sysdep_routines.
4173         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4174         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4176 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4178         * benchtests/Makefile (wcsmbs-benchset): Include only for
4179         native builds and runs.
4180         (LOCALES): Likewise.
4181         (bench-build): Build timing-type here instead of the bench
4182         target.  Generate locale only for native builds.
4183         * benchtests/README: Add note for cross-building.
4185         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4187         * benchtests/README: Update README to include instructions on
4188         using bench-build.
4190         * Makefile.in (bench-build): New target.
4191         * Rules (PHONY): Add bench-build target.
4192         * benchtests/Makefile (bench): Depend on bench-build.
4193         (bench-build): New target.
4195 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4197         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4198         profil_reply_port.
4199         (profile_waiter): Do not initialize profil_reply_port.
4200         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4201         frequency instead of tick length in us.
4203 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4205         [BZ #18712]
4206         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4207         (__old_mempcpy_small): Likewise.
4208         (__old_strcpy_small): Likewise.
4209         (__old_stpcpy_small): Likewise.
4210         (__old_strpbrk_c2): Fix compat symbol name.
4211         (__old_strpbrk_c3): Likewise.
4212         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4213         (__mempcpy_small): Remove.
4214         (__strcpy_small): Remove.
4215         (__stpcpy_small): Remove.
4217 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4219         [BZ #19400]
4220         * locale/iso-639.def: Add the Talossan/tzl language.
4222 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4224         [BZ #16983]
4225         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4226         comment.  Add "ln" to strchr check on postal_fmt.
4228 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4230         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4231         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4232         tel_dom_fmt.
4234 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4236         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4237         (sysdep_routines): Added __strlen_power8.
4238         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4239         __strlen_power8 entry.
4240         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4241         Implementation for POWER8.
4242         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4243         for __strlen_power8.
4244         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4245         Implementation for POWER8.
4247 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4249         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4251 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4253         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4254         Goldmont and Airmont processors.
4256 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4258         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4259         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4260         (__STRING2_SMALL_GET32): Remove.
4261         (memset): Remove.
4262         (__memset_1): Remove.
4263         (__memset_gc): Remove.
4264         (__mempcpy): Remove.
4265         (mempcpy): Remove.
4266         (__mempcpy_args): Remove.
4267         (strchr): Remove.
4268         (strcpy): Remove.
4269         (strcpy_args): Remove.
4270         (__stpcpy_args): Remove.
4271         (__strcmp_cc): Remove.
4272         (__strcmp_gc): Remove.
4273         (strstr): Remove.
4275 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4277         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4278         * nis/nis_call.c (nis_server_cache_add): Likewise.
4280 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4282         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4284 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4286         * malloc/arena.c (__malloc_fork_lock_parent)
4287         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4288         internal_function attribute.
4290 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
4292         * stdio-common/printf_fp.c (__printf_fp_l):
4293         Rename ___printf_fp_l to __printf_fp_l and
4294         remove strong alias. Use libc_hidden_def instead
4295         of ldbl_hidden_def macro.
4297 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4299         Remove malloc hooks from fork handler.  They are no longer needed
4300         because malloc runs right before fork, and no malloc calls from
4301         other fork handlers are not possible anymore.
4302         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4303         declarations.
4304         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4305         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4306         (atfork_recursive_cntr): Remove.
4307         (__malloc_fork_lock_parent): Do not override malloc hooks and
4308         thread_arena.
4309         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4310         thread_arena.
4311         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
4312         thread_arena instead of save_arena.
4314 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4316         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4317         (thread_atfork, thread_atfork_static): Remove.
4318         * sysdeps/mach/hurd/malloc-machine.h:
4319         (thread_atfork, thread_atfork_static): Remove.
4321 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4323         [BZ #19431]
4324         Run the malloc fork handler as late as possible to avoid deadlocks.
4325         * malloc/malloc-internal.h: New file.
4326         * malloc/malloc.c: Include it.
4327         * malloc/arena.c (ATFORK_MEM): Remove.
4328         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4329         Update comment.
4330         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4331         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4332         Remove outdated comment.
4333         (ptmalloc_init): Do not call thread_atfork.  Remove
4334         thread_atfork_static.
4335         * malloc/tst-malloc-fork-deadlock.c: New file.
4336         * Makefile (tests): Add tst-malloc-fork-deadlock.
4337         (tst-malloc-fork-deadlock): Link against libpthread.
4338         * manual/memory.texi (Aligned Memory Blocks): Update safety
4339         annotation comments.
4340         * sysdeps/nptl/fork.c (__libc_fork): Call
4341         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4342         __malloc_fork_unlock_child.
4343         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4345 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4347         [BZ #19613]
4348         Remove union wait.
4349         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4350         (w_stopsig, w_stopval): Remove.
4351         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4352         stat_loc argument.
4353         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4354         (__WAIT_STATUS_DEFN): Remove.
4355         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4356         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4357         (wait, wait3, wait4): Use int * for the stat_loc argument.
4358         * posix/wait.c (__wait): Likewise.
4359         * posix/wait3.c (__wait3): Likewise.
4360         * posix/wait4.c (__wait4): Likewise.
4361         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4362         (__WAIT_STATUS_DEFN): Remove.
4363         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4364         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4365         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4366         argument.
4367         * sysdeps/posix/wait.c (__libc_wait): Likewise.
4368         * sysdeps/posix/wait3.c (__wait3): Likewise.
4369         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4370         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4371         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4372         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4373         stat_loc argument.
4374         * manual/process.texi (BSD Wait Functions): Remove union wait.
4376 2016-04-13  Andreas Schwab  <schwab@suse.de>
4378         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4379         (test-extras): Add tst-tlsalign-vars.
4380         * math/Makefile: Wrap long lines.
4381         (libm-vec-test-wrappers): Define.
4382         (test-extras): Add $(libm-vec-test-wrappers).
4383         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4384         * nss/Makefile (extra-test-objs): Add nss_test1.os.
4385         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4386         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4387         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4388         (extra-test-objs): Add corresponding objects.
4390 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
4392         [BZ #19928]
4393         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4394         New.
4395         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4396         times of shared cache size.
4397         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4398         (VMOVNT): New.
4399         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4400         (VMOVNT): Likewise.
4401         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4402         (VMOVNT): Likewise.
4403         (VMOVU): Changed to movups for smaller code sizes.
4404         (VMOVA): Changed to movaps for smaller code sizes.
4405         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4406         comments.
4407         (PREFETCH): New.
4408         (PREFETCH_SIZE): Likewise.
4409         (PREFETCHED_LOAD_SIZE): Likewise.
4410         (PREFETCH_ONE_SET): Likewise.
4411         Rewrite to use forward and backward loops, which move 4 vector
4412         registers at a time, to support overlapping addresses and use
4413         non temporal store if size is above the threshold and there is
4414         no overlap between destination and source.
4416 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
4418         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4419         Include dl-vdso.
4420         * sysdeps/unix/sysv/linux/mips/Versions: Add
4421         __vdso_clock_gettime.
4422         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4423         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4424         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4425         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4426         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4427         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4428         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4429         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4430         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4432 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4434         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4435         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4438         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4439         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4442         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4444         syscalls generation.
4445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4446         [__NR_pwrite64] (__NR_write): Remove define.
4447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4448         [__NR_pwrite64] (__NR_write): Remove define.
4449         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4450         Remove define.
4451         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4452         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4453         Remove define.
4454         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4455         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4456         Linux implementation as base.
4457         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4459         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4460         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4461         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4462         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4465         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4467         syscall generation.
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4469         [__NR_pread64] (__NR_pread): Remove define.
4470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4471         [__NR_pread64] (__NR_pread): Likewise.
4472         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4473         define.
4474         (__libc_pread): Use SYSCALL_LL macro on offset argument.
4475         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4476         Remove define.
4477         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4478         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4479         Linux implementation as base.
4480         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4481         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4482         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4484         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4485         definition.
4486         (__ALIGNMENT_COUNT): Likewise.
4487         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4488         (__ALIGNMENT_COUNT): Likewise.
4489         (SYSCALL_LL): New define.
4490         (SYSCALL_LL64): Likewise.
4491         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4492         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4493         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4494         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4497         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4498         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4499         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4500         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4501         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4503 2016-04-11  Florian Weimer  <fweimer@redhat.com>
4505         [BZ #19865]
4506         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4507         original buffer before retry.
4509 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4511         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4512         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4513         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4514         GLRO(dl_auxv) list.
4515         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4516         including <ldsodefs.h>.
4517         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4519 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
4521         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4522         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4523         $(CPPFLAGS).
4525 2016-04-09  Khem Raj  <raj.khem@gmail.com>
4527         [BZ #17950]
4528         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4529         Add -mfpmath=387.
4531 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
4533         * sysdeps/i386/configure.ac: Change == to = when calling test.
4534         * sysdeps/x86_64/configure.ac: Likewise.
4535         * sysdeps/i386/configure: Regenerated.
4536         * sysdeps/x86_64/configure: Likewise.
4538 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
4540         [BZ #16137]
4541         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4542         * benchtests/bench-strcoll.c (input_files): Likewise.
4543         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4544         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4545         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4547 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
4549         [BZ #19929]
4550         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4551         [__USE_XOPEN2K8 && !__USE_GNU].
4552         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4553         variable.
4555         [BZ #19925]
4556         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4557         define if [!__USE_MISC && __USE_XOPEN2K].
4558         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4559         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4560         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4561         Likewise.
4562         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4563         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4564         variable.
4565         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4567 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4569         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4570         (sysdep_routines): Add new strspn targets.
4571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4572         (__libc_ifunc_impl_list): Add strspn.
4573         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4574         New file.
4575         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4576         Likewise.
4577         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4578         Likewise.
4579         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4580         Likewise.
4582 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4584         * misc/hsearch_r.c: Include <limits.h>.
4586 2016-04-07  Florian Weimer  <fweimer@redhat.com>
4588         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4590 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4592         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4593         (MEMCPY_SYMBOL): New.
4594         (MEMPCPY_SYMBOL): Likewise.
4595         (MEMMOVE_CHK_SYMBOL): Likewise.
4596         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4597         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4598         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
4599         Provide alias for memcpy in libc.a and ld.so.
4601 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4603         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4604         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
4605         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4606         Disabled fro now.
4607         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4608         symbols.  Properly check USE_MULTIARCH on __memset symbols.
4610 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
4612         * benchtests/Makefile (string-benchset): Add memcpy-large,
4613         memmove-large and memset-large.
4614         * benchtests/bench-memcpy-large.c: New file.
4615         * benchtests/bench-memmove-large.c: Likewise.
4616         * benchtests/bench-memmove-large.c: Likewise.
4617         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4619 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4621         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4622         32-bit displacement to avoid long nop between instructions.
4624 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
4626         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4627         a comment on VMOVU and VMOVA.
4629 2016-04-04  Florian Weimer  <fweimer@redhat.com>
4631         [BZ #19633]
4632         Use specified locale for number formatting in strfmon_l.
4633         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4634         (__nl_lookup_word): New inline functions.
4635         * include/printf.h (__print_fp_l): Declare.
4636         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4637         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
4638         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4639         (___printf_fp): New function.
4640         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4641         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4642         * stdlib/tst-strfmon_l.c (do_test): New test.
4643         * stdlib/Makefile (tests): Add kt.
4644         (LOCALES): Build additional locales.
4645         (tst-strfmon_l.out): Require locales.
4647 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4649         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4650         if not in libc.
4651         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4652         Likewise.
4653         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4654         Likewise.
4655         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4656         Likewise.
4658 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
4660         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4661         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4662         with unaligned_erms.
4663         (__memmove_erms): Skip if source == destination.
4664         (__memmove_unaligned_erms): Don't check source == destination
4665         first.
4667 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4669         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4670         bit_arch_Fast_Copy_Backward for Intel Core proessors.
4672 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4674         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4675         * string/strspn.c (strspn): Likewise.
4677 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4679         * benchtests/bench-memset.c (do_test): Support 64-byte
4680         alignment.
4681         (test_main): Test 64-byte alignment.
4683 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4685         * benchtests/bench-memmove.c (test_main): Test 64-byte
4686         alignment.
4688 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
4690         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4692 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4694         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4695         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4696         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4698         * string/strpbrk.c (strpbrk): Rewrite function.
4699         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4700         (__strpbrk_c2): Likewise.
4701         (__strpbrk_c3): Likewise.
4702         * string/string-inlines.c
4703         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4704         Likewise.
4705         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4706         Likewise.
4708         * string/strspn.c (strcspn): Rewrite function.
4709         * string/bits/string2.h (strspn): Use __builtin_strcspn.
4710         (__strspn_c1): Remove inline function.
4711         (__strspn_c2): Likewise.
4712         (__strspn_c3): Likewise.
4713         * string/string-inlines.c
4714         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4715         compatibility symbol.
4716         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4717         Likewise.
4718         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4719         Likewise.
4720         * string/string-inlines.c: Include generic version.
4722 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
4723             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4725         * string/Version (libc): Add GLIBC_2.24.
4726         * string/strcspn.c (strcspn): Rewrite function.
4727         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4728         (__strcspn_c1): Remove inline function.
4729         (__strcspn_c2): Likewise.
4730         (__strcspn_c3): Likewise.
4731         * string/string-inline.c
4732         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4733         compatibility symbol.
4734         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4735         Likewise.
4736         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4737         Likewise.
4738         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4740 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4742         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4743         Use ahi instead of aghi to adjust stack pointer.
4745 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4747         [BZ #19853]
4748         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4749         TEST to take significant digits as second parameter.
4750         [TEST]: Redefine in terms of TEST_N taking 30
4751         significant digits.
4752         (do_test): Add test case to demonstrate precision
4753         failure in the ldbl-128ibm printf.
4754         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4755         (__mpn_extract_long_double): Carry 7 extra intermediate
4756         bits of precision to aide computing difference when
4757         signs differ.
4759 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4761         [BZ #19881]
4762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4763         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4764         memset-avx512-unaligned-erms.
4765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4766         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4767         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4768         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4769         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4770         __memset_sse2_unaligned_erms, __memset_erms,
4771         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4772         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4773         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4774         file.
4775         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4776         Likewise.
4777         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4778         Likewise.
4779         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4780         Likewise.
4782 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
4784         [BZ #19776]
4785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4786         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4787         memmove-avx512-unaligned-erms.
4788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4789         (__libc_ifunc_impl_list): Test
4790         __memmove_chk_avx512_unaligned_2,
4791         __memmove_chk_avx512_unaligned_erms,
4792         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4793         __memmove_chk_sse2_unaligned_2,
4794         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4795         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4796         __memmove_avx512_unaligned_erms, __memmove_erms,
4797         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4798         __memcpy_chk_avx512_unaligned_2,
4799         __memcpy_chk_avx512_unaligned_erms,
4800         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4801         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4802         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4803         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4804         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4805         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4806         __mempcpy_chk_avx512_unaligned_erms,
4807         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4808         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4809         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4810         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4811         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4812         __mempcpy_erms.
4813         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4814         file.
4815         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4816         Likwise.
4817         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4818         Likwise.
4819         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4820         Likwise.
4822 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4824         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4825         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4826         (La_s390_64_regs): Likewise.
4827         (La_s390_32_retval): Append vector register lrv_v24.
4828         (La_s390_64_retval): Likeweise.
4829         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4830         Handle extended structs La_s390_32_regs and La_s390_32_retval.
4831         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4832         Handle extended structs La_s390_64_regs and La_s390_64_retval.
4834 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4836         [BZ #19916]
4837         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4838         to create a non-vector/vector version for _dl_runtime_resolve and
4839         _dl_runtime_profile. Move implementation to ...
4840         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4841         (_dl_runtime_resolve) Save and restore fpr/vrs.
4842         (_dl_runtime_profile) Save and restore vrs and fix some issues
4843         if _dl_call_pltexit is called.
4844         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
4845         Choose the correct resolver function if running on a machine with vx.
4846         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
4847         to create a non-vector/vector version for _dl_runtime_resolve and
4848         _dl_runtime_profile. Move implementation to ...
4849         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
4850         (_dl_runtime_resolve) Save and restore fpr/vrs.
4851         (_dl_runtime_profile) Save and restore vrs and fix some issues
4852         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
4853         Choose the correct resolver function if running on a machine with vx.
4855 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4857         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
4859 2016-03-31  Florian Weimer  <fweimer@redhat.com>
4861         [BZ #19509]
4862         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
4863         skip_map != NULL.
4864         * elf/tst-dlsym-error.c: New file.
4865         * elf/Makefile (tests): Add tst-dlsym-error.
4866         (tst-dlsym-error): Link against libdl.
4868 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
4870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4871         (__ASSUME_FUTIMESAT): Remove macro.
4872         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
4874 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4876         [BZ #19879]
4877         CVE-2016-3075
4878         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
4879         copy name.
4881 2016-03-29  Florian Weimer  <fweimer@redhat.com>
4883         [BZ #19837]
4884         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
4885         error if parse_line fails.
4887 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4889         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
4890         (index_cpu_ERMS): Likewise.
4891         (reg_ERMS): Likewise.
4893 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
4895         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
4896         PER_LINUX_FDPIC): Add.
4898 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4901         memcpy-avx512-no-vzeroupper.
4902         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
4903         to ...
4904         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
4905         (MEMCPY): Don't define.
4906         (MEMCPY_CHK): Likewise.
4907         (MEMPCPY): Likewise.
4908         (MEMPCPY_CHK): Likewise.
4909         (MEMPCPY_CHK): Renamed to ...
4910         (__mempcpy_chk_avx512_no_vzeroupper): This.
4911         (MEMPCPY_CHK): Renamed to ...
4912         (__mempcpy_chk_avx512_no_vzeroupper): This.
4913         (MEMCPY_CHK): Renamed to ...
4914         (__memmove_chk_avx512_no_vzeroupper): This.
4915         (MEMCPY): Renamed to ...
4916         (__memmove_avx512_no_vzeroupper): This.
4917         (__memcpy_avx512_no_vzeroupper): New alias.
4918         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
4920 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4922         [BZ #18858]
4923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4924         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
4925         and mempcpy-avx512-no-vzeroupper.
4926         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
4927         New.
4928         (MEMPCPY): Likewise.
4929         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
4930         (MEMPCPY_CHK): New.
4931         (MEMPCPY): Likewise.
4932         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
4933         (MEMPCPY): Likewise.
4934         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
4935         (MEMPCPY): Likewise.
4936         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
4937         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
4938         Likewise.
4939         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
4940         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
4942 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
4943              Amit Pawar  <Amit.Pawar@amd.com>
4945         [BZ #19583]
4946         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4947         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
4948         processors.  Set Fast_Copy_Backward for AMD Excavator
4949         processors.
4950         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
4951         New.
4952         (index_arch_Fast_Unaligned_Copy): Likewise.
4953         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
4954         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
4956 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4958         [BZ #19791]
4959         * resolv/res_send.c (close_and_return_error): New function.
4960         (send_dg): Initialize *resplen2 after reopen failure.  Call
4961         close_and_return_error for error returns.  On error paths without
4962         __res_iclose, initialze *resplen2 explicitly.  Update comment for
4963         successful return.
4965 2016-03-25  Florian Weimer  <fweimer@redhat.com>
4967         [BZ# 19860]
4968         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
4969         zero if the compiler does not provide the AVX512F bit.
4971 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
4973         [BZ #19848]
4974         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
4975         from 8 to 4.
4976         (__ieee754_powl): Compare integer exponent against 4 not 8.
4977         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
4978         from 8 to 4.
4979         (__ieee754_powl): Compare integer exponent against 4 not 8.
4980         * math/auto-libm-test-in: Add more tests of pow.
4981         * math/auto-libm-test-out: Regenerated.
4982         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
4983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4985 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4987         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
4988         Make code unconditional.
4989         [!__NR_utimensat]: Remove conditional code.
4990         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
4991         Make code unconditional.
4992         [!__NR_utimensat]: Remove conditional code.
4993         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
4994         Make code unconditional.
4995         [!__NR_utimensat]: Remove conditional code.
4997 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
4999         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5000         Make code unconditional.
5002 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5004         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5005         call-clobbered %eax on retry path.
5006         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5008 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5010         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5011         Don't set %rcx twice before "rep movsb".
5013 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5015         [BZ #19583]
5016         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5017         inline.  Check family before setting family, model and
5018         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5019         bits here.
5020         (init_cpu_features): Replace HAS_CPU_FEATURE and
5021         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5022         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5023         for Intel processors with usable AVX2.  Call get_common_indeces
5024         for other processors with family == NULL.
5025         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5026         (CPU_FEATURES_ARCH_P): Likewise.
5027         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5028         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5030 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5032         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5033         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5034         $(shared-thread-library) instead of hardcoding the path to libpthread.
5036 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5038         * sysdeps/unix/sysv/linux/kernel-features.h
5039         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5040         * sysdeps/unix/sysv/linux/getdents.c
5041         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5042         [!have_no_getdents64_defined]: Likewise.
5043         (__GETDENTS): Remove __have_no_getdents64 conditional.
5045 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5047         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5048         Remove macro.
5049         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5050         <kernel-features.h>.
5051         (signalfd) [__NR_signalfd4]: Make code unconditional.
5052         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5054 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5056         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5057         style.
5059 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5061         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5062         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5063         __pthread_unwind.
5064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5065         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5067         (__condvar_cleanup1): Likewise.
5069 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5071         [BZ #19822]
5072         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5073         move it to the final $@ location.
5075 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5077         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5078         access where posix_spawn success and pid argument is null.
5079         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5080         success case.
5082 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5084         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5086         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5088         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5089         and __fcntl.
5090         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5091         __fcntl only.
5092         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5093         adding attribute_hidden to __open and __fcntl.
5095         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5096         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5097         depend on libc-modules.h,
5098         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5100 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5103         Remove macro.
5104         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5105         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5106         entry.
5108         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5109         Remove macro.
5110         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5111         include <kernel-features.h>.
5112         [!__ASSUME_FALLOCATE]: Remove conditional code.
5113         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5115 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5118         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5119         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5120         (_ZGVdN4v_cos_avx2): Likewise.
5121         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5122         (_ZGVdN4v_cos): Likewise.
5123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5124         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5126         (_ZGVdN4v_exp_avx2): Likewise.
5127         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5128         (_ZGVdN4v_exp): Likewise.
5129         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5130         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5131         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5132         (_ZGVdN4v_log_avx2): Likewise.
5133         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5134         (_ZGVdN4v_log): Likewise.
5135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5136         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5137         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5138         (_ZGVdN4vv_pow_avx2): Likewise.
5139         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5140         (_ZGVdN4vv_pow): Likewise.
5141         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5142         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5143         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5144         (_ZGVdN4v_sin_avx2): Likewise.
5145         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5146         (_ZGVdN4v_sin): Likewise.
5147         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5148         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5149         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5150         (_ZGVdN4vvv_sincos_avx2): Likewise.
5151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5152         (_ZGVdN4vvv_sincos): Likewise.
5153         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5154         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5156         (_ZGVbN4v_cosf_sse4): Likewise.
5157         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5158         (_ZGVdN8v_cosf_avx2): Likewise.
5159         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5160         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5161         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5162         (_ZGVbN4v_expf_sse4): Likewise.
5163         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5164         (_ZGVdN8v_expf_avx2): Likewise.
5165         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5166         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5167         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5168         (_ZGVbN4v_logf_sse4): Likewise.
5169         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5170         (_ZGVdN8v_logf_avx2): Likewise.
5171         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5172         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5174         (_ZGVbN4vv_powf_sse4): Likewise.
5175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5176         (_ZGVdN8vv_powf_avx2): Likewise.
5177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5178         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5180         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5181         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5182         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5184         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5186         (_ZGVbN4v_sinf_sse4): Likewise.
5187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5188         (_ZGVdN8v_sinf_avx2): Likewise.
5189         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5190         Use JUMPTARGET to call callee.
5191         (WRAPPER_IMPL_SSE2_ff): Likewise.
5192         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5193         (WRAPPER_IMPL_AVX): Likewise.
5194         (WRAPPER_IMPL_AVX_ff): Likewise.
5195         (WRAPPER_IMPL_AVX_fFF): Likewise.
5196         (WRAPPER_IMPL_AVX512): Likewise.
5197         (WRAPPER_IMPL_AVX512_ff): Likewise.
5198         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5199         Likewise.
5200         (WRAPPER_IMPL_SSE2_ff): Likewise.
5201         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5202         (WRAPPER_IMPL_AVX): Likewise.
5203         (WRAPPER_IMPL_AVX_ff): Likewise.
5204         (WRAPPER_IMPL_AVX_fFF): Likewise.
5205         (WRAPPER_IMPL_AVX512): Likewise.
5206         (WRAPPER_IMPL_AVX512_ff): Likewise.
5207         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5209 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5211         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5212         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5213         qualifier.
5214         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5215         internal_function qualifiers.
5217 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5219         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5220         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5221         * math/atest-exp.c (exp_mpn): Mark chk unused.
5222         * math/atest-exp2.c (exp_mpn): Likwise.
5223         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5224         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5226 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5228         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5229         Remove macro.
5230         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5231         <kernel-features.h>.
5232         [__NR_ppoll]: Make code unconditional.
5233         [!__ASSUME_PPOLL]: Remove conditional code.
5235         * sysdeps/unix/sysv/linux/kernel-features.h
5236         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5237         (__ASSUME_ACCEPT4): Likewise.
5238         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5239         Define.
5240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5241         Likewise.
5242         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5243         Likewise.
5244         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5245         Likewise.
5246         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5247         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5248         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5249         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5250         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5251         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5252         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5253         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5254         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5255         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5256         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5257         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5258         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5260         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5262         Likewise.
5263         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5264         Likewise.
5265         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5266         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5267         0x040300].
5268         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5269         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5271         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5272         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5273         0x030300].
5274         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5275         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5276         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5277         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5278         0x040300].
5279         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5282         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5283         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5284         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5285         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5286         0x030300].
5287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5288         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5289         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5291         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5292         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5293         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5294         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5295         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5296         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5297         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5298         0x040300].
5299         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5300         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5301         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5302         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5304         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5305         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5306         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5307         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5310         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5311         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5312         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5313         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5314         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5315         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5316         Likewise.
5317         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5318         Likewise.
5320 2016-03-15  Andreas Schwab  <schwab@suse.de>
5322         [BZ #19257]
5323         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5324         statp->_u._ext.nscount as loop count.
5326 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
5328         * math/test-signgam-finite-c99.c: Also #undef
5329         __LIBC_INTERNAL_MATH_INLINES.
5330         * math/test-signgam-main.c: Likewise.
5332 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
5334         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5335         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5336         (MADV_FREE): Likewise.
5337         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5338         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5339         EPOLLEXCLUSIVE.
5341 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
5343         * timezone/README: Remove mention of checktab.awk. Mention wiki
5344         SharedSourceFiles.
5346 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
5348         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5349         WUNTRACED.
5351 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5353         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5354         order to match the type of p when calling atomic_exchange_acq().
5356 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5358         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5359         cfi_offset calls.
5360         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5361         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5362         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5363         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5364         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5366 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
5368         * timezone/checktab.awk: Removed.
5370 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
5372         * manual/math.texi (Errors in Math Functions): Document relaxed
5373         accuracy goals for IBM long double.
5374         * math/libm-test.inc (test_exceptions): Always allow spurious
5375         "underflow" and "inexact" exceptions for IBM long double.
5377 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
5379         [BZ #19762]
5380         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5381         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5382         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5383         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5384         (bit_arch_*): This for feature array.
5385         (bit_*): Renamed to ...
5386         (bit_cpu_*): This for cpu array.
5387         (index_*): Renamed to ...
5388         (index_arch_*): This for feature array.
5389         (index_*): Renamed to ...
5390         (index_cpu_*): This for cpu array.
5391         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5392         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5393         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5394         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5395         bit_##name with index_cpu_##name and bit_cpu_##name.
5396         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5397         bit_##name with index_arch_##name and bit_arch_##name.
5399 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
5401         [BZ #19792]
5402         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5403         Terminate FDE before return label.
5405 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
5407         [BZ #19790]
5408         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5409         (rintl): Define as macro.
5410         [USE_AS_NEARBYINTL] (__rintl): Likewise.
5411         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5412         of fesetround.  Ensure results are evaluated before end of scope.
5413         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5414         USE_AS_NEARBYINTL and include s_rintl.c.
5415         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5416         Disable exception traps in new environment.
5417         (libc_feholdsetround_ppc_ctx): Likewise.
5419 2016-03-08  Roland McGrath  <roland@hack.frob.com>
5421         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5422         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5423         (tst_audit10_aux) [__AVX512F__]: ... here.
5425 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
5427         * include/sys/auxv.h: New file.
5429 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5431         [BZ #19759]
5432         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5434 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5436         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5437         operand modifier.
5438         (feclearexcept): Likewise.
5440 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5442         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5443         to reflect the entire 32-bit HWCAP.
5444         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5445         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
5447 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
5449         [BZ #19783]
5450         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5451         $(test-via-rtld-prefix).
5452         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5454 2016-03-08  Florian Weimer  <fweimer@redhat.com>
5456         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5457         union wait.  Report any non-zero exit status as error.
5459 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5461         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5462         configured with --enable-hardcoded-path-in-tests.
5464 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
5466         [BZ #19677]
5467         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5468         (__ieee754_remainderl): Put zero low parts in canonical form.
5469         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5470         file.  Based on
5471         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5472         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5473         with wrapper round test-fmodrem-ldbl-128ibm.c.
5474         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5475         file.
5476         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5477         Likewise.
5478         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5479         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5481 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5483         [BZ #19610]
5484         * elf/ldconfig.c (opt_link): Update comment.
5485         (options): Update help string for option -X.
5486         (search_dir): Unlink stale symbolic link only if updating symbolic
5487         links.
5488         * elf/tst-ldconfig-X.sh: New file.
5489         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5490         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5492 2016-03-07  Andreas Schwab  <schwab@suse.de>
5494         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5495         needed arguments.
5497 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
5499         [BZ #15333]
5500         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5501         to lstat64.
5503 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5505         * libio/filedoalloc.c (isatty): Remove.
5506         (local_isatty): Add comment.  Call __isatty directly.
5507         (_IO_file_doallocate): Update comment.  Assume _LIBC.
5508         * libio/wfiledoalloc.c (isatty): Remove.
5509         (_IO_wfile_doallocate): Update comment.
5511 2016-03-07  Florian Weimer  <fweimer@redhat.com>
5513         [BZ #19269]
5514         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5515         tst-audit4-aux.o.
5516         (tst-audit10): Depend on tst-audit10-aux.o.
5517         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5518         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5519         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5520         instead of inline AVX code.
5521         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5522         instead of inline AVX512 code.
5523         * sysdeps/x86_64/tst-audit4-aux.c: New file
5524         * sysdeps/x86_64/tst-audit10-aux.c: New file
5526         [BZ #19648]
5527         * test-skeleton.c (main): Do not set RLIMIT_DATA.
5529 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5531         [BZ #14750]
5532         [BZ #10354]
5533         [BZ #18433]
5534         * include/sched.h (__clone): Add hidden prototype.
5535         (__clone2): Likewise.
5536         * include/unistd.h (__dup): Likewise.
5537         * posix/Makefile (tests): Add tst-spawn2.
5538         * posix/tst-spawn2.c: New file.
5539         * sysdeps/posix/dup.c (__dup): Add hidden definition.
5540         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5541         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5542         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5543         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5544         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5545         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5546         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5547         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5548         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5549         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5551         Likewise.
5552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5555         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5556         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5557         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5558         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5559         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5560         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5561         * sysdeps/unix/sysv/linux/nptl-signals.h
5562         (____nptl_is_internal_signal): New function.
5563         * sysdeps/unix/sysv/linux/spawni.c: New file.
5565         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5566         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5567         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5568         * posix/tst-execvp2.c (do_test): Likewise.
5569         * posix/tst-execvp3.c (do_test): Likewise.
5570         * posix/tst-execvp4.c (do_test): Likewise.
5571         * posix/tst-execvpe1.c: New file.
5572         * posix/tst-execvpe2.c: Likewise.
5573         * posix/tst-execvpe3.c: Likewise.
5574         * posix/tst-execvpe4.c: Likewise.
5575         * posix/tst-execvpe5.c: Likewise.
5576         * posix/tst-execvpe6.c: Likewise.
5578         [BZ #19534]
5579         * posix/execl.c (execl): Remove dynamic memory allocation.
5580         * posix/execle.c (execle): Likewise.
5581         * posix/execlp.c (execlp): Likewise.
5583 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5585         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5586         Replace .text with .text.avx512.
5587         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5588         Likewise.
5590 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
5592         * sysdeps/generic/libnsl.abilist: New file.
5593         * sysdeps/generic/libutil.abilist: New file.
5595 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5597         [BZ #19762]
5598         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5599         HAS_ARCH_FEATURE with Fast_Rep_String.
5600         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5601         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5602         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5603         Likewise.
5604         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5605         Likewise.
5606         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5607         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5608         Likewise.
5609         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5610         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5611         Likewise.
5613 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5615         [BZ #19745]
5616         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5617         with *%rax in call.
5619 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5621         [BZ #19745]
5622         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5623         with *__libc_start_main@GOTPCREL(%rip) in call.
5625 2016-03-04  Roland McGrath  <roland@hack.frob.com>
5627         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5628         inside conditional for nonempty $(CXX).
5630         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5631         nonempty.
5633         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5634         to test for empty $(CXX) rather than $(CXX) of "no".
5636 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
5638         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5640 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
5641             H.J. Lu  <hongjiu.lu@intel.com>
5643         [BZ #18880]
5644         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5645         instead of Slow_BSF, and also check for Fast_Copy_Backward to
5646         enable __memcpy_ssse3_back.
5648 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5650         [BZ #19758]
5651         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5652         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5654 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5656         [BZ #19490]
5657         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5658         (__fentry__): Likewise.
5660 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
5662         * gmon/Makefile (noprof): Add $(sysdep_noprof).
5663         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5665 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5667         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5668         __mcount_internal directly.
5669         (C_LABEL(__fentry__)): Likewise.
5670         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5671         directly.
5673 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
5675         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5676         (__start_context): Call __setcontext directly.
5678 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
5680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5681         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5682         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5683         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5685         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5686         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5687         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5688         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5689         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5690         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5691         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5692         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5693         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5694         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5695         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5696         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5698         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5699         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5700         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5701         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5702         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5703         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5704         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5705         Remove conditional code.
5706         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5707         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5708         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5709         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5710         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5711         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5712         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5713         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5714         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5715         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5716         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5717         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5719 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
5721         * NEWS (2.23): Fix typo in bug 19048 text.
5723 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
5725         [BZ #14259]
5726         * Makeconfig: Rename msgcatdir to localedir.
5727         Rename inst_msgcatdir to inst_localedir.
5728         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5729         * config.make.in: Add localedir.
5730         * elf/Makefile ($(objpfx)sotruss): Use localedir.
5731         (ldd-rewrite): Likewise.
5732         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5733         (install-others): Use inst_localedir.
5734         (CPPFLAGS): Use localedir.
5735         * locale/Makefile (locale-CPPFLAGS): Likewise.
5736         * po/Makefile (mo-installed): Use inst_localedir.
5738         [BZ #19575]
5739         * localedata/charmaps/GB18030: Update comments regarding PAU to
5740         non-PUA mappings.
5742 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
5744         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5745         test for header.
5746         * sysdeps/unix/sysv/linux/configure: Regenerated.
5747         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5748         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5749         Remove conditional code.
5750         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5752         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5753         Define to 3.2.0.
5754         (arch_minimum_kernel): Likewise.
5755         * sysdeps/unix/sysv/linux/configure: Regenerated.
5756         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5757         Define to 2.6.32.
5758         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5759         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5760         (arch_minimum_kernel): Define to 2.6.32.
5761         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5762         * README: Document Linux 3.2 requirement.
5763         * manual/install.texi (Linux): Document Linux 3.2 headers
5764         requirement.
5765         * INSTALL: Regenerated.
5767 2016-02-24  Andreas Schwab  <schwab@suse.de>
5769         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5770         if !NO_LONG_DOUBLE.
5772 2016-02-22  Roland McGrath  <roland@hack.frob.com>
5774         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5775         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5777 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
5779         [BZ #19512]
5780         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5782 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
5784         * posix/tst-dir.c: Include libc-internal.h.
5786 2016-02-20  Florian Weimer  <fweimer@redhat.com>
5788         [BZ #19056]
5789         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5790         * manual/filesys.texi (Reading/Closing Directory): Mention
5791         deprecaion.
5792         * posix/tst-dir.c (main): Disable deprecation warning in test.
5794 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
5796         [BZ #19679]
5797         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5798         Renamed to ...
5799         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
5800         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5801         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
5802         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5803         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5804         * sysdeps/x86_64/dl-trampoline.h
5805         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5806         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5808 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5810         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5812 2016-02-19  Mark Wielaard  <mjw@redhat.com>
5814         * elf/elf.h (R_386_GOT32X): New.
5815         (R_386_NUM): Update.
5816         (R_X86_64_GOTPCRELX: New.
5817         (R_X86_64_REX_GOTPCRELX): New.
5818         (R_X86_64_NUM): Update.
5820 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
5822         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5824 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
5826         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5827         assign attr->stackaddr to it, and adjust it down when
5828         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
5829         [_STACK_GROWS_UP]: Delete assert.
5830         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5831         Implement stack grows up logic.
5832         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5833         stack grows up logic.
5835 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5837         * NEWS: Update with 2.24 template.
5839 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5841         [BZ #19678]
5842         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5843         Ensure +0.0 is returned when taking the next value below the least
5844         positive value.
5846 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5848         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
5849         available.  Do not define NO_THREADS.
5850         * malloc/malloc.c: Do not check NO_THREADS.
5851         * malloc/arena.c: Likewise.
5853 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5855         * malloc/malloc.c (__libc_mallinfo): Update comment.
5856         (struct malloc_par): Remove max_total_mem member, it was always 0.
5857         (int_mallinfo): Store 0 into usmblks (no functional change).
5858         * malloc/hooks.c (struct malloc_state): Document that
5859         max_total_mem is always 0.
5860         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
5861         always 0.
5862         * manual/memory.texi (Statistics of Malloc): Likewise.
5864 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5866         * malloc/malloc.c (sysmalloc): Do not update arena_max.
5867         * malloc/arena.c (arena_max): Remove.
5868         (heap_trim, _int_new_arena): Do not update arena_max.
5870 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5872         * resolv/res_init.c (res_ninit): Update comment.
5874 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5876         [BZ #19505]
5877         * posix/spawn_int.h: Add headers and include guard.
5878         (__spawn_valid_fd): New function.
5879         * posix/spawn_faction_addopen.c
5880         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
5881         * posix/spawn_faction_addclose.c
5882         (posix_spawn_file_actions_addclose): Likewise.
5883         * posix/spawn_faction_adddup2.c
5884         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
5885         second file descriptor.
5886         * posix/spawn_valid_fd.c: New file.
5887         * posix/tst-posix_spawn-fd.c: New file.
5888         * posix/Makefile (routines): Add spawn_valid_fd.
5889         (tests): Add tst-posix_spawn-fd.
5891 2016-02-19  Florian Weimer  <fweimer@redhat.com>
5893         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
5894         (do_test): Limit the number of arenas, so that we can use fewer
5895         outer threads.  Limit timeout to 3 seconds, in preparation for a
5896         larger TIMEOUT value.
5898 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
5900         [BZ #19674]
5901         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
5902         sign in overflowing and underflowing results when overflow or
5903         underflow is detected early.  Include sign in result before rather
5904         than after scaling.
5906         [BZ #19603]
5907         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5908         (__ieee754_remainderl): Adjust sign of integer version of low part
5909         when taking absolute value of high part.
5910         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5911         * math/libm-test.inc (remainder_test_data): Add another test.
5912         (remquo_test_data): Likewise.
5914 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
5916         [BZ #19602]
5917         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
5918         equal high parts and both low parts zero specially.
5919         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
5920         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5921         Add test-fmodl-ldbl-128ibm.
5923         [BZ #19595]
5924         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
5925         common logic for all cases of shifting subnormal results.  Do not
5926         insert sign bit in shifted mantissa.  Always pass -1023 as biased
5927         exponent to ldbl_insert_mantissa in subnormal case.
5929         [BZ #19594]
5930         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
5931         on high and low parts then adjust result and use
5932         ldbl_canonicalize_int if needed.
5934         [BZ #19593]
5935         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
5936         on high part and __floor or __ceil on low part then use
5937         ldbl_canonicalize_int if needed.
5939         [BZ #19592]
5940         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
5941         high and low parts then use ldbl_canonicalize_int if needed.
5943         [BZ #17899]
5944         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5945         New function.
5946         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
5947         on high and low parts then use ldbl_canonicalize_int if needed.
5949 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5951         * configure: Regenerated.
5953         * po/libc.pot: Regenerated.
5955         * po/be.po: Updated translation.
5956         * po/bg.po: Likewise.
5957         * po/ca.po: Likewise.
5958         * po/cs.po: Likewise.
5959         * po/da.po: Likewise.
5960         * po/el.po: Likewise.
5961         * po/eo.po: Likewise.
5962         * po/es.po: Likewise.
5963         * po/fi.po: Likewise.
5964         * po/fr.po: Likewise.
5965         * po/gl.po: Likewise.
5966         * po/hr.po: Likewise.
5967         * po/hu.po: Likewise.
5968         * po/ia.po: Likewise.
5969         * po/id.po: Likewise.
5970         * po/it.po: Likewise.
5971         * po/ja.po: Likewise.
5972         * po/lt.po: Likewise.
5973         * po/nb.po: Likewise.
5974         * po/nl.po: Likewise.
5975         * po/pt_BR.po: Likewise.
5976         * po/rw.po: Likewise.
5977         * po/sk.po: Likewise.
5978         * po/sl.po: Likewise.
5979         * po/sv.po: Likewise.
5980         * po/tr.po: Likewise.
5981         * po/zh_CN.po: Likewise.
5982         * po/zh_TW.po: Likewise.
5984         * version.h (RELEAES): Set to "development".
5985         (VERSION): Set to 2.23.90.
5987         * version.h (RELEASE): Set to "stable".
5988         (VERSION): Set to 2.23.
5989         * include/feature.h (__GLIBC_MINOR__): Set to 23.
5991         * NEWS: Updated fixed bugs.
5993 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
5994             Wilco Dijkstra  <wdijkstr@arm.com>
5996         [BZ #19462]
5997         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
5998         (_STRING_INLINE_unaligned): This.
5999         * include/string.h: Include <string_private.h>.
6000         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6001         _STRING_INLINE_unaligned.
6002         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6003         (_STRING_INLINE_unaligned): New.
6004         * sysdeps/aarch64/string_private.h: New file.
6005         * sysdeps/generic/string_private.h: Likewise.
6006         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6007         * sysdeps/s390/string_private.h: Likewise.
6008         * sysdeps/x86/string_private.h: Likewise.
6009         * sysdeps/m68k/m680x0/m68020/bits/string.h
6010         (_STRING_ARCH_unaligned): Renamed to ...
6011         (_STRING_INLINE_unaligned): This.
6012         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6013         to ...
6014         (_STRING_INLINE_unaligned): This.
6015         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6016         to ...
6017         (_STRING_INLINE_unaligned): This.
6018         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6019         to ...
6020         (_STRING_INLINE_unaligned): This.
6022 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6023             H.J. Lu  <hongjiu.lu@intel.com>
6025         [BZ #19590]
6026         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6027         relocation.
6029 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6031         [BZ #18665]
6032         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6033         *herrno_p.
6034         (gaih_getanswer): Document functional behviour. Return tryagain
6035         if any result is tryagain.
6036         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6037         when freed.
6038         * resolv/res_send.c: Add copyright text.
6039         (__libc_res_nsend): Document that MAXPACKET is expected.
6040         (send_vc): Document. Remove buffer reuse.
6041         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6042         size of the buffer. Add Dprint for truncated UDP buffer.
6044 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6046         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6047         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6048         * INSTALL: Regenerate.
6050 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6051             Jonathan Wakely  <jwakely@redhat.com>
6052             Carlos O'Donell  <carlos@redhat.com>
6054         [BZ 19439]
6055         * math/Makefile (tests): Add test-math-isinff.
6056         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6057         * math/bits/mathcalls.h [__USE_MISC]: Use
6058         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6059         functions not in C++11 and which don't conflict e.g. isinff,
6060         isinfl etc.
6061         * math/test-math-isinff.cc: New file.
6063 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6065         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6067 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6069         [BZ #19529]
6070         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6072 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6074         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6076 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6078         [BZ #19550]
6079         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6080         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6081         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6082         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6083         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6084         New syscall entry.
6085         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6086         New syscall entry.
6087         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6088         syscall entry.
6090 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6092         [BZ #18240]
6093         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6094         unsigned int wraparound.
6096 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6098         [BZ #18240]
6099         * misc/bug18240.c: New test.
6100         * misc/Makefile (tests): Add it.
6102 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6103             Joseph Myers  <joseph@codesourcery.com>
6105         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6106         load in branch delay slot when less than a word of input left.
6108 2016-01-27  Andreas Schwab  <schwab@suse.de>
6110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6111         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6112         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6113         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6115 2016-01-26  David S. Miller  <davem@davemloft.net>
6117         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6119 2016-01-25  David S. Miller  <davem@davemloft.net>
6121         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6122         __sqrtl_finite.
6123         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6124         instead using versioned_symbol.
6125         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6126         of entries.
6128         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6129         __sqrtl_finite to GLIBC_2.23
6131 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6133         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6135 2016-01-25  Andreas Schwab  <schwab@suse.de>
6137         [BZ #17514]
6138         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6139         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6140         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6141         * nptl/tst-mutex-errorcheck.c: New file.
6143 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6145         [BZ #18560]
6146         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6147         (IPCOP_semop): Likewise.
6148         (IPCOP_semget): Likewise.
6149         (IPCOP_semctl): Likewise.
6150         (IPCOP_msgsnd): Likewise.
6151         (IPCOP_msgrcv): Likewise.
6152         (IPCOP_msgget): Likewise.
6153         (IPCOP_msgctl): Likewise.
6154         (IPCOP_shmat): Likewise.
6155         (IPCOP_shmdt): Likewise.
6156         (IPCOP_shmget): Likewise.
6157         (IPCOP_shmctl): Likewise.
6159 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6161         * string/tst-endian.c: Include <libc-internal.h>.
6162         (do_test): Ignore tautological-compare warnings around
6163         "htobeXX (beXXtoh (i)) != i" and
6164         "htoleXX (leXXtoh (i)) != i" if-statements.
6166 2016-01-24  David S. Miller  <davem@davemloft.net>
6168         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6169         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6170         alias.
6171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6172         __sqrtl_finite.
6174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6176 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6178         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6179         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6180         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6182 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6184         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6185         (thread_func): Use new function to simplify barrier check.
6186         (do_test): Use new function to simplify checking barrier exit
6187         code, and actually join the child thread.
6189 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6191         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6192         semicolon.
6193         (__libc_tend): Likewise.
6194         (__libc_tabort): Likewise.
6196 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6198         * sysdeps/nios2/libm-test-ulps: Update.
6199         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6200         (__gtsf2): Likewise.
6201         (__unorddf2): Likewise.
6202         (__unordsf2): Likewise.
6203         (__ledf2): Likewise.
6205 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6207         * nis/nis_table.c (__follow_path): Disable diagnostic for
6208         uninitialized variable that is a false positive for gcc 4.7.
6209         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6211 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6213         * sysdeps/nacl/lowlevellock-futex.h
6214         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6215         Always evaluate PRIVATE argument.
6217 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6219         [BZ #19490]
6220         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6221         (pthread_cond_broadcast): Use ENTRY/END
6222         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6223         (pthread_cond_signal): Likewise.
6224         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6225         Likewise.
6226         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6227         Likewise.
6228         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6229         Likewise.
6231 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6233         * sysdeps/ieee754/dbl-64/s_finite.c
6234         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6235         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6236         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6237         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6238         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6241         (__gtsf2): Add as optional for libc.so.
6242         (__unordsf2): Likewise.
6243         (__signbit): Remove for libc.so.
6244         (__signbitl): Likewise.
6246 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6248         * iconvdata/bug-iconv11.c (test_ibm93x):
6249         Use %zu printf format specifier for size_t argument.
6251 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6253         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6254         already-recorded ulps.
6255         * sysdeps/arm/libm-test-ulps: Regenerated.
6256         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6257         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6258         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6260 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6261             Paul Pluzhnikov  <ppluzhnikov@google.com>
6263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6264         assembler not supporting AVX-512.
6266 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6268         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6270 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6272         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6273         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6275         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6277         * sysdeps/arm/libm-test-ulps: Regenerated.
6279 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6281         [BZ #19451]
6282         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6284 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6286         [BZ #19486]
6287         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6288         * sysdeps/generic/fix-fp-int-convert-overflow.h
6289         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6290         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6291         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6292         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6293         Likewise.
6294         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6295         Avoid conversions to long int where inexact exceptions
6296         could be raised.
6297         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6298         Likewise.
6299         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6300         Avoid conversions to long long int where inexact exceptions
6301         could be raised.
6302         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6303         Likewise.
6305 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
6307         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6308         * configure: Regenerated.
6310 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6312         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6314 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
6316         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6317         outside of comment.
6319 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6321         * nptl/tst-barrier1.c: Add description on first line.
6322         * nptl/tst-barrier2.c: Likewise.
6323         * nptl/tst-barrier3.c: Likewise.
6324         * nptl/tst-barrier4.c: Likewise.
6325         * nptl/tst-barrier5.c: Likewise.
6327 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6329         [BZ #18868]
6330         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6332 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
6334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6336         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6337         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6338         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6339         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6340         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6341         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6342         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6343         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6344         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6346 2016-01-15  Torvald Riegel  <triegel@redhat.com>
6348         [BZ #13065]
6349         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6350         new implementation.
6351         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6352         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6353         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6354         (BARRIER_IN_THRESHOLD): New macro.
6355         * nptl/pthread_barrierattr_setpshared.c
6356         (pthread_barrierattr_setpshared): Clean up.
6357         * nptl/tst-barrier4.c: Correct comment.
6358         * nptl/tst-barrier5.c: New file.
6359         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6360         (gen-as-const-headers): Remove lowlevelbarrier.sym.
6361         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6362         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6363         * nptl/lowlevelbarrier.sym: Remove.
6364         * nptl/DESIGN-barrier.txt: Remove.
6365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6366         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6367         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6368         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6369         error.
6370         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6371         implementation.
6373 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6375         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6376         (do_child): Mask SIGRTMIN while thr is running.
6378 2016-01-15  Martin Sebor  <msebor@redhat.com>
6380         [BZ #19432]
6381         * iconvdata/Makefile: Add bug-iconv11.
6382         * iconvdata/bug-iconv11.c: New test.
6383         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6384         * iconvdata/ibm933.c: Same.
6385         * iconvdata/ibm935.c: Same.
6386         * iconvdata/ibm937.c: Same.
6387         * iconvdata/ibm939.c: Same.
6389 2016-01-15  Martin Sebor  <msebor@redhat.com>
6391         [BZ #19443]
6392         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6393         [DEBUG] (_ufc_set_bits): Declare used.
6394         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6395         [DEBUG] (print_all): Declare used.
6396         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6397         operands of the ternary ?: expression to target type.
6398         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6399         calling the undeclared abort.
6400         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6402 2016-01-15  Martin Sebor  <msebor@redhat.com>
6404         [BZ #18755]
6405         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6406         warnings.
6407         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6408         (__gai_create_helper_thread): Same.
6409         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6410         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6411         to suppress -Wmaybe-uninitialized warnings.
6413 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
6415         [BZ #19465]
6416         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6417         inside if.
6418         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6419         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6420         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6422 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
6424         [BZ #19466]
6425         * time/tst-mktime2.c (time_t_max): Removed.
6426         (time_t_min): Likewise.
6427         (TYPE_SIGNED): New.
6428         (TYPE_MINIMUM): Likewise.
6429         (TYPE_MAXIMUM): Likewise.
6430         (TIME_T_MIN): Likewise.
6431         (TIME_T_MAX): Likewise.
6432         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6433         and TIME_T_MIN.
6434         (do_test): Likewise.
6436 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
6438         [BZ #19467]
6439         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6440         index_Fast_Unaligned_Load flag for Excavator family CPUs.
6442 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
6444         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6446 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
6448         * benchtests/Makefile (PYTHON): Define.
6449         (bench-func): Use $(PYTHON) to run python scripts.
6450         ($(objpfx)bench-%.c): Likewise.
6452 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
6454         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6455         leading slash when `file_name' is "/".
6457 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
6459         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6460         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6461         Likewise.
6462         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6465         Likewise.
6466         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6467         enum constant and macro.
6468         (PTRACE_SETSIGMASK): Likewise.
6469         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6470         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6471         (PTRACE_GETSIGMASK): Likewise.
6472         (PTRACE_SETSIGMASK): Likewise.
6473         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6474         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6475         Likewise.
6476         (PTRACE_SETSIGMASK): Likewise.
6477         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6478         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6479         (PTRACE_GETSIGMASK): Likewise.
6480         (PTRACE_SETSIGMASK): Likewise.
6481         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6483         Likewise.
6484         (PTRACE_SETSIGMASK): Likewise.
6485         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6486         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6487         Likewise.
6488         (PTRACE_SETSIGMASK): Likewise.
6489         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6490         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6491         Likewise.
6492         (PTRACE_SETSIGMASK): Likewise.
6493         (PTRACE_SECCOMP_GET_FILTER): Likewise.
6495 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
6496             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6498         [BZ #19439]
6499         * math/bits/mathcalls.h
6500         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6501         prototype.
6502         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6504 2016-01-11  Andreas Schwab  <schwab@suse.de>
6506         [BZ #19253]
6507         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6508         cache when TZDEFRULES was used.
6509         * time/tst-tzname.c: New file.
6510         * time/Makefile (test): Add tst-tzname.
6511         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6512         * timezone/Makefile (test-zones): Add $(posixrules-file).
6513         ($(testdata)/$(posixrules-file)): New rule.
6515 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
6517         Fix doc quoting problems with Texinfo 5
6518         Without this change, in the info file output, Texinfo 5 quotes code
6519         in text with undirected single quotes 'like this' and generates
6520         code examples that with many PDF readers cannot be cut out of PDFs
6521         and pasted into code.
6522         * manual/libc.texinfo: Configure the libc manual like the GNU
6523         Emacs manual, by using @documentencoding and setting
6524         txicodequoteundirected and txicodequotebacktick.  This way,
6525         Texinfo 5 quotes code in text with directed single quotes ‘like
6526         this’ and produces examples that can be cut out of PDFs.  This
6527         change causes Texinfo 5 to generate info files that contain UTF-8
6528         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6529         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6531 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6533         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6534         __libc_tabort, __libc_tend): New wrappers that enforce compiler
6535         barriers to their respective compiler built-ins.
6536         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6537         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6538         * sysdeps/powerpc/sysdep.h: Likewise.
6539         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6540         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6541         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6543 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
6545         * scripts/config.guess: Revert previous shebang change.
6546         * scripts/config.sub: Likewise.
6547         * scripts/mkinstalldirs: Likewise.
6549 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6551         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6552         PPC_FEATURE2_HAS_IEEE128.
6553         * sysdeps/powerpc/dl-procinfo.c:
6554         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6556 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
6558         [BZ #19415]
6559         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6560         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
6561         (_dl_lookup_address): Rewrite using function resolver trampoline.
6562         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6563         two bits in address.
6565 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6567         * longlong.h: Change !__SHMEDIA__ to
6568         (!defined (__SHMEDIA__) || !__SHMEDIA__).
6569         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6571 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
6572             Joseph Myers  <joseph@codesourcery.com>
6573             Mark Shinwell  <shinwell@codesourcery.com>
6574             Andrew Stubbs  <ams@codesourcery.com>
6575             Rich Felker <dalias@libc.org>
6577         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6579 2016-01-07  Richard Henderson  <rth@redhat.com>
6581         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6583 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
6585         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6586         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6587         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6588         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6589         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6591 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
6592             Joseph Myers  <joseph@codesourcery.com>
6594         * timezone/private.h: Update from tzcode 2015g.
6595         * timezone/tzfile.h: Likewise.
6596         * timezone/tzselect.ksh: Likewise.
6597         * timezone/zdump.c: Likewise.
6598         * timezone/zic.c: Likewise.
6599         * timezone/ialloc.c: Remove file.
6600         * timezone/scheck.c: Likewise.
6601         * timezone/Makefile (extra-objs): Remove variable.
6602         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6603         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6604         -Wno-maybe-uninitialized.
6605         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6606         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6607         (CFLAGS-ialloc.c): Remove variable.
6608         (CFLAGS-scheck.c): Likewise.
6609         * timezone/README: Update list of files from tzcode.
6611 2016-01-07  Khem Raj  <raj.khem@gmail.com>
6613         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6614         instead of __fxprintf when _LIBC is undefined.
6616 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
6618         * catgets/test-gencat.sh: Remove space after shebang.
6619         * conform/GlibcConform.pm: Likewise.
6620         * conform/check-header-lists.sh: Likewise.
6621         * conform/conformtest.pl: Likewise.
6622         * conform/linknamespace.pl: Likewise.
6623         * conform/list-header-symbols.pl: Likewise.
6624         * debug/catchsegv.sh: Likewise.
6625         * elf/genrtldtbl.awk: Likewise.
6626         * elf/tst-pathopt.sh: Likewise.
6627         * elf/tst-rtld-load-self.sh: Likewise.
6628         * grp/tst_fgetgrent.sh: Likewise.
6629         * iconvdata/gen-8bit-gap-1.sh: Likewise.
6630         * iconvdata/gen-8bit-gap.sh: Likewise.
6631         * iconvdata/gen-8bit.sh: Likewise.
6632         * iconvdata/run-iconv-test.sh: Likewise.
6633         * intl/tst-gettext.sh: Likewise.
6634         * intl/tst-gettext2.sh: Likewise.
6635         * intl/tst-gettext4.sh: Likewise.
6636         * intl/tst-gettext6.sh: Likewise.
6637         * intl/tst-translit.sh: Likewise.
6638         * io/ftwtest-sh: Likewise.
6639         * libio/test-freopen.sh: Likewise.
6640         * locale/gen-translit.pl: Likewise.
6641         * malloc/tst-mtrace.sh: Likewise.
6642         * manual/check-safety.sh: Likewise.
6643         * manual/libc-texinfo.sh: Likewise.
6644         * manual/tsort.awk: Likewise.
6645         * manual/xtract-typefun.awk: Likewise.
6646         * nptl/tst-cancel-wrappers.sh: Likewise.
6647         * nptl/tst-tls6.sh: Likewise.
6648         * posix/globtest.sh: Likewise.
6649         * posix/tst-getconf.sh: Likewise.
6650         * posix/wordexp-tst.sh: Likewise.
6651         * scripts/check-c++-types.sh: Likewise.
6652         * scripts/check-local-headers.sh: Likewise.
6653         * scripts/config.guess: Likewise.
6654         * scripts/config.sub: Likewise.
6655         * scripts/cpp: Likewise.
6656         * scripts/cross-test-ssh.sh: Likewise.
6657         * scripts/documented.sh: Likewise.
6658         * scripts/evaluate-test.sh: Likewise.
6659         * scripts/gen-libc-abis: Likewise.
6660         * scripts/gen-sorted.awk: Likewise.
6661         * scripts/list-fixed-bugs.py: Likewise.
6662         * scripts/merge-test-results.sh: Likewise.
6663         * scripts/mkinstalldirs: Likewise.
6664         * scripts/rellns-sh: Likewise.
6665         * scripts/test-installation.pl: Likewise.
6666         * scripts/update-copyrights: Likewise.
6667         * stdio-common/tst-printf.sh: Likewise.
6668         * stdio-common/tst-unbputc.sh: Likewise.
6669         * stdlib/tst-fmtmsg.sh: Likewise.
6670         * stdlib/tst-setcontext3.sh: Likewise.
6671         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6672         * sysdeps/unix/make-syscalls.sh: Likewise.
6674 2016-01-06  John David Anglin  <dave.anglin@bell.net>
6676         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6677         asm stw with atomic_exchange_rel.  Add explanatory comment.
6678         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6679         Likewise.
6681 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6683         [BZ #19122]
6684         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6685         * sysdeps/generic/dl-unistd.h: New file.
6686         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6688 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
6690          [BZ #19122]
6691          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6692          * sysdeps/generic/dl-mman.h: New file.
6693          * sysdeps/mach/hurd/dl-mman.h: Likewise.
6695 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
6697         * manual/texinfo.tex: Update to version 2016-01-04.21 with
6698         trailing whitespace removed.
6699         * scripts/config.guess: Update to version 2016-01-01.
6700         * scripts/config.sub: Update to version 2016-01-01.
6701         * scripts/move-if-change: Update from gnulib.
6703 2016-01-04  Anton Blanchard  <anton@samba.org>
6705         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6706         for array indices.
6707         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6709 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
6711         * NEWS: Update copyright dates.
6712         * catgets/gencat.c (print_version): Likewise.
6713         * csu/version.c (banner): Likewise.
6714         * debug/catchsegv.sh: Likewise.
6715         * debug/pcprofiledump.c (print_version): Likewise.
6716         * debug/xtrace.sh (do_version): Likewise.
6717         * elf/ldconfig.c (print_version): Likewise.
6718         * elf/ldd.bash.in: Likewise.
6719         * elf/pldd.c (print_version): Likewise.
6720         * elf/sotruss.sh: Likewise.
6721         * elf/sprof.c (print_version): Likewise.
6722         * iconv/iconv_prog.c (print_version): Likewise.
6723         * iconv/iconvconfig.c (print_version): Likewise.
6724         * locale/programs/locale.c (print_version): Likewise.
6725         * locale/programs/localedef.c (print_version): Likewise.
6726         * login/programs/pt_chown.c (print_version): Likewise.
6727         * malloc/memusage.sh (do_version): Likewise.
6728         * malloc/memusagestat.c (print_version): Likewise.
6729         * malloc/mtrace.pl: Likewise.
6730         * manual/libc.texinfo: Likewise.
6731         * nptl/version.c (banner): Likewise.
6732         * nscd/nscd.c (print_version): Likewise.
6733         * nss/getent.c (print_version): Likewise.
6734         * nss/makedb.c (print_version): Likewise.
6735         * posix/getconf.c (main): Likewise.
6736         * scripts/test-installation.pl: Likewise.
6737         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6739         * All files with FSF copyright notices: Update copyright dates
6740         using scripts/update-copyrights.
6741         * intl/plural.c: Regenerated.
6742         * locale/programs/charmap-kw.h: Likewise.
6743         * locale/programs/locfile-kw.h: Likewise.
6745 2016-01-02  Helge Deller  <deller@gmx.de>
6747         [BZ #19285]
6748         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6749         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6750         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6751         (MADV_xxK_PAGES): Remove.
6753 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
6755         [BZ #15421]
6756         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6757         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
6758         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6759         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6761 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
6763         [BZ #19408]
6764         * sysdeps/unix/sysv/linux/personality.c: New file.
6765         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6766         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6767         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6768         (sysdep_routines): Add personality.
6769         (tests): Add tst-personality.
6770         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6771         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6772         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6773         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6774         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6775         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6776         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6777         Likewise.
6778         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6779         Likewise.
6780         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6781         Likewise.
6782         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6783         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6784         Likewise.
6786 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
6788         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6789         (PATH_ARM_SYSTYPE): Remove.
6790         (PATH_CPUINFO): Likewise.
6791         (IO_BASE_FOOTBRIDGE): Likewise.
6792         (IO_SHIFT_FOOTBRIDGE): Likewise.
6793         (struct platform): Likewise.
6794         (init_iosys): Remove compatibility code for 2.4 kernels.
6795         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6797 2015-12-29  Florian Weimer  <fweimer@redhat.com>
6799         * malloc/tst-malloc-thread-fail.c: New file.
6800         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6801         (tst-malloc-thread-fail): Link against libpthread.
6803 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
6805         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
6806         (get_parser): New function.
6807         (main): New function.
6809 2015-12-29  Rob Wu  <rob@robwu.nl>
6811         [BZ #19369]
6812         * resolv/res_init.c (__res_vinit): Reset defdname before use.
6814 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
6816         [BZ #19270]
6817         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6819 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
6821         [BZ #15421]
6822         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6824 2015-12-23  Torvald Riegel  <triegel@redhat.com>
6826         [BZ #13690]
6827         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6828         after releasing it.
6829         (__lll_robust_unlock): Likewise.
6830         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6831         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6832         (lll_robust_unlock): Likewise.
6833         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6834         Prevent warnings in callers.
6836 2015-12-23  Florian Weimer  <fweimer@redhat.com>
6838         * malloc/arena.c (list_lock): Update comment.
6840 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6842         * sysdeps/powerpc/hwcapinfo.c: Export symbol
6843         __parse_hwcap_and_convert_at_platform to libc.a.
6845 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6847         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
6848         platform and feature support for POWER9.
6849         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6850         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
6851         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
6852         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
6853         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
6854         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
6855         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
6856         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
6858 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6860         Harmonize generic stdio-lock support with nptl
6862         This fixes build when _IO_funlockfile is a macro, fixes build where
6863         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
6864         stack unwind.
6866         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
6867         _IO_release_lock ): Use cleanup attribute on new
6868         _IO_acquire_lock_file variable instead of assuming that
6869         _IO_release_lock will be called.
6870         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
6871         _IO_acquire_lock_needs_exceptions_enabled.
6872         (_IO_acquire_lock_clear_flags2): New macro.
6874 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6876         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6878 2015-12-21  Florian Weimer  <fweimer@redhat.com>
6880         [BZ #19182]
6881         * malloc/arena.c (list_lock): Document lock ordering requirements.
6882         (free_list_lock): New lock.
6883         (ptmalloc_lock_all): Comment on free_list_lock.
6884         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
6885         (detach_arena): Update comment.  free_list_lock is now needed.
6886         (_int_new_arena): Use free_list_lock around detach_arena call.
6887         Acquire arena lock after list_lock.  Add comment, including FIXME
6888         about incorrect synchronization.
6889         (get_free_list): Switch to free_list_lock.
6890         (reused_arena): Acquire free_list_lock around detach_arena call
6891         and attached threads counter update.  Add two FIXMEs about
6892         incorrect synchronization.
6893         (arena_thread_freeres): Switch to free_list_lock.
6894         * malloc/malloc.c (struct malloc_state): Update comments to
6895         mention free_list_lock.
6897 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
6899         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
6900         Remove functions.
6901         (sloww, sloww1): Accept argument to offset quadrant.
6902         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
6903         quadrant.
6904         (__sin, __cos): Consolidate common code into new functions.
6905         (reduce_sincos_1, do_sincos_1): New functions.
6906         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
6909         code to new functions.
6910         (reduce_sincos_2, do_sincos_2): New functions.
6911         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
6913         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
6914         common code for sincos.
6915         (__cos) [!IN_SINCOS]: Likewise.
6916         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
6917         New function.
6918         (__sincos): Use it.
6920 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
6922         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
6923         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
6924         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6926 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6928         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
6929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
6930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6931         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
6932         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6933         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
6934         index_Prefer_No_VZEROUPPER): New feature.
6935         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
6936         Prefer_No_VZEROUPPER for Knights Landing.
6938 015-12-18  Torvald Riegel  <triegel@redhat.com>
6940         * math/atest-exp2.c (mp_exp_m1): Remove.
6942 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6944         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
6945         syscalls.
6946         (__SYSCALL0): New macro.
6947         (__SYSCALL1): Likewise.
6948         (__SYSCALL2): Likewise.
6949         (__SYSCALL3): Likewise.
6950         (__SYSCALL4): Likewise.
6951         (__SYSCALL5): Likewise.
6952         (__SYSCALL6): Likewise.
6953         (__SYSCALL_CONCAT_X): Likewise.
6954         (__SYSCALL_CONCAT): Likewise.
6955         (__SYSCALL_DIST): Likewise.
6956         (__SYSCALL_CALL): Likewise.
6958 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
6960         [BZ #19363]
6961         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
6963 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6965         [BZ #19375]
6966         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
6967         negative subnormals.
6969 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
6971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
6972         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
6973         (INTERNAL_SYSCALL_NCS): Use it.
6974         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6976 2015-12-16  Florian Weimer  <fweimer@redhat.com>
6978         [BZ #19243]
6979         * malloc/arena.c (get_free_list): Remove assert and adjust
6980         reference count handling.  Add comment about reused_arena
6981         interaction.
6982         (reused_arena): Add comments abount get_free_list interaction.
6983         * malloc/tst-malloc-thread-exit.c: New file.
6984         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
6985         (tst-malloc-thread-exit): Link against libpthread.
6987 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6989         [BZ #19367]
6990         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
6991         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
6992         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6993         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
6994         (index_Prefer_MAP_32BIT_EXEC): Likewise.
6996 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
6998         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
6999         Silvermont optimizations for Knights Landing.
7001 2015-12-15  Andreas Schwab  <schwab@suse.de>
7003         [BZ #17197]
7004         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7005         immediately after emitting SI.
7006         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7007         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7008         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7009         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7010         * iconvdata/bug-iconv10.c: New file.
7011         * iconvdata/Makefile (tests): Add bug-iconv10.
7012         ($(objpfx)bug-iconv10.out): New rule.
7014 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7016         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7017         aliasing violation.
7019 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #18472]
7022         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7023         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7024         conditionals for them.
7025         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7026         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7028         sys/kdaemon.h.
7029         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7030         compat-only syscall, obsoleted in glibc 2.23.
7031         (create_module): Likewise.
7032         (get_kernel_syms): Likewise.
7033         (query_module): Likewise.
7034         (uselib): Likewise.
7035         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7037 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7039         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7040         <linux/version.h>.
7041         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7042         conditional code.
7043         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7044         and ioshift_name initialization.
7046 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7049         Fix indentation.
7051 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7053         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7055 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7057         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7059 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7060             Jakub Wilk  <jwilk@debian.org>
7062         [BZ #19347]
7063         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7064         to change the group of the device to the tty group.
7066 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7068         Split large string section; add truncation advice
7069         * manual/examples/strncat.c: Remove.
7070         This example was misleading, as the code would have undefined
7071         behavior if "hello" was longer than SIZE.  Anyway, the manual
7072         shouldn't encourage strncpy+strncat for this sort of thing.
7073         * manual/string.texi (Copying Strings and Arrays): Split into
7074         three sections Copying Strings and Arrays, Concatenating Strings,
7075         and Truncating Strings, as this section was way too long.  All
7076         cross-referenced changed.  Add advice about string-truncation
7077         functions.  Remove misleading strncat example.
7079 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7081         * manual/nss.texi (NSS Modules Interface): Document
7082         NSS_STATUS_NOTFOUND and SUCCESS.
7084 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7086         [BZ 18568]
7087         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7088         201505L, for Unicode 8.
7090 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7092         * locale/C-translit.h: Regenerate.
7094 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7096         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7097         and U+0153.
7099 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7101         [BZ #19351]
7102         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7103         expanding log(1+z), compare z rather than its square with epsilon
7104         to determine when to avoid evaluating the expansion.
7106         [BZ #19350]
7107         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7108         Increase overflow threshold.
7110         [BZ #19349]
7111         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7112         when small.
7114         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7116         New macro.
7117         [__LINUX_KERNEL_VERSION >= 0x040300]
7118         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7119         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7120         Likewise.
7121         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7122         Likewise.
7123         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7124         Likewise.
7125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7126         Likewise.
7127         [__LINUX_KERNEL_VERSION >= 0x040300]
7128         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7129         [__LINUX_KERNEL_VERSION >= 0x040300]
7130         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7131         [__LINUX_KERNEL_VERSION >= 0x040300]
7132         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7133         [__LINUX_KERNEL_VERSION >= 0x040300]
7134         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7135         [__LINUX_KERNEL_VERSION >= 0x040300]
7136         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7137         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7138         Likewise.
7139         [__LINUX_KERNEL_VERSION >= 0x040300]
7140         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7142         Likewise.
7143         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7144         Likewise.
7145         [__LINUX_KERNEL_VERSION >= 0x040300]
7146         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7148         Likewise.
7149         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7150         Likewise.
7151         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7153         Likewise.
7154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7155         Likewise.
7156         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7157         Likewise.
7158         [__LINUX_KERNEL_VERSION >= 0x040300]
7159         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7161         Likewise.
7162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7163         Likewise.
7164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7165         Likewise.
7166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7167         Likewise.
7168         [__LINUX_KERNEL_VERSION >= 0x040300]
7169         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7170         [__LINUX_KERNEL_VERSION >= 0x040300]
7171         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7172         [__LINUX_KERNEL_VERSION >= 0x040300]
7173         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7174         [__LINUX_KERNEL_VERSION >= 0x040300]
7175         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7176         [__LINUX_KERNEL_VERSION >= 0x040300]
7177         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7178         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7179         Likewise.
7180         [__LINUX_KERNEL_VERSION >= 0x040300]
7181         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7183         Likewise.
7184         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7185         Likewise.
7186         [__LINUX_KERNEL_VERSION >= 0x040300]
7187         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7189         Likewise.
7190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7193         (__ASSUME_SOCKET_SYSCALL): Likewise.
7194         (__ASSUME_BIND_SYSCALL): Likewise.
7195         (__ASSUME_CONNECT_SYSCALL): Likewise.
7196         (__ASSUME_LISTEN_SYSCALL): Likewise.
7197         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7198         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7199         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7200         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7201         (__ASSUME_SEND_SYSCALL): Likewise.
7202         (__ASSUME_SENDTO_SYSCALL): Likewise.
7203         (__ASSUME_RECV_SYSCALL): Likewise.
7204         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7205         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7206         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7207         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7208         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7209         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7210         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7211         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7212         Likewise.
7213         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7214         Likewise.
7215         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7216         Likewise.
7217         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7218         Likewise.
7219         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7220         Likewise.
7221         [__LINUX_KERNEL_VERSION >= 0x020625]
7222         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7223         [__LINUX_KERNEL_VERSION >= 0x020625]
7224         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7225         [__LINUX_KERNEL_VERSION >= 0x020625]
7226         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7228         Likewise.
7229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7230         Likewise.
7231         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7232         Likewise.
7233         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7234         Likewise.
7235         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7236         Likewise.
7237         [__LINUX_KERNEL_VERSION >= 0x020625]
7238         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7239         [__LINUX_KERNEL_VERSION >= 0x020625]
7240         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7241         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7242         Likewise.
7243         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7244         Likewise.
7246 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7248         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7249         record the current if the current ABI and CPU support the FP64
7250         extension.
7251         (has-modd-spreg): Define to record the current if the current ABI and
7252         CPU support 32-bit floating point values in odd FPU registers.
7253         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7254         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7255         $(has-modd-spreg) equals yes.
7256         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7257         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7258         $(has-modd-spreg) equal yes.
7260 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7262         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7263         basename.
7265 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7267         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7268         (bench-string): ... here.
7269         (bench): Add bench-string.
7270         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7271         to *-benchset to reflect what they are.
7272         (benchset): Adjust.
7274         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7275         cos-inputs.
7277 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7279         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7280         __attribute__ ((__simd__)) for vector math function declarations.
7282 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7284         Fix typo in strncat, wcsncat manual entries
7285         * manual/string.texi (Copying and Concatenation): Fix typos in
7286         sample implementations of strncat and wcsncat, by having them use
7287         the old value of the destination length, not the new one.
7289 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #16961]
7292         [BZ #16962]
7293         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7294         string on the stack for strtod.
7295         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7296         a string on the stack for strtof.
7297         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7298         constructing a string on the stack for strtold.
7299         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7300         __strtold_nan to GLIBC_PRIVATE.
7301         * math/test-nan-overflow.c: New file.
7302         * math/test-nan-payload.c: Likewise.
7303         * math/Makefile (tests): Add test-nan-overflow and
7304         test-nan-payload.
7306 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7308         Consistency about byte vs character in string.texi
7309         * manual/string.texi (String and Array Utilities):
7310         Distinguish more carefully among bytes, multibyte characters,
7311         and wide characters.  Use "byte" when talking about C 'char',
7312         to distinguish it more clearly from multibyte characters.
7313         Say "wide character" or "multibyte character" instead of
7314         "character", when a wide or multibyte character is intended.
7315         Similarly for "multibyte string" versus "string".
7316         Define these terms more carefully.
7318 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
7320         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7321         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7322         Likewise.
7323         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7324         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7325         * sysdeps/sh/math_private.h: New file.
7326         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7327         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7328         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7329         long double function name.
7330         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7331         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7332         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7333         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7336         Remove __finitel, __isinfl, and __isnanl.
7337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7338         Likewise.
7339         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7341         Remove __finitel.
7342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7343         Likewise.
7344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7346 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
7348         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7349         installed libmvec_nonshared.a.
7351 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7353         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7354         (sysdep_routines): Likewise.
7355         (sysdep-rtld-routines): Likewise.
7356         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7357         [$(subdir) = nptl](tests-static): test-get_hwcap-static
7358         * sysdeps/powerpc/Versions: Added new
7359         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7360         * sysdeps/powerpc/hwcapinfo.c: New file.
7361         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7362         and parse hwcap, hwcap2 and platform number information.
7363         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
7364         to store HWCAP+HWCAP2 and platform number.
7365         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7366         for HWCAP+HWCAP2 and platform number in the TCB.
7367         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
7368         the HWCAP, HWCAP2 and platform number in the TCB.
7369         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7370         (TLS_INIT_TP): Included calls to add the hwcap and
7371         at_platform values in the TCB in TP initialization.
7372         (TLS_DEFINE_INIT_TP): Likewise.
7373         (THREAD_GET_HWCAP): New macro.
7374         (THREAD_SET_HWCAP): Likewise.
7375         (THREAD_GET_AT_PLATFORM): Likewise.
7376         (THREAD_SET_AT_PLATFORM): Likewise.
7377         * sysdeps/powerpc/powerpc32/dl-machine.h:
7378         (dl_platform_init): New function that calls
7379         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7380         powerpc32.
7381         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7382         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
7383         this functionality, static linking case.
7384         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
7385         linking case.
7386         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7387         __parse_hwcap_and_convert_at_platform for the static linking case.
7388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7389         Included the new __parse_hwcap_and_convert_at_platform symbol in the
7390         ABI list for GLIBC 2.23.
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7392         Likewise.
7393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7394         Likewise.
7396 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
7398         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7399         * configure: Regenerate.
7400         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7401         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
7403 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
7405         * iconvdata/ibm930.c: Add comment explaining encoding uses.
7406         * iconvdata/ibm933.c: Likewise.
7407         * iconvdata/ibm935.c: Likewise.
7408         * iconvdata/ibm937.c: Likewise.
7409         * iconvdata/ibm939.c: Likewise.
7411 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7413         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7414         pthread_join.
7415         * nptl/tst-cancel21.c (tf): Likewise.
7417 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
7419         [BZ #19313]
7420         * bits/typesizes.h (__CPU_MASK_TYPE): New.
7421         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7422         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7423         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7424         Likewise.
7425         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7426         Likewise.
7427         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7428         Likewise.
7429         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7430         Likewise.
7431         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7432         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7433         unsigned long int with __CPU_MASK_TYPE.
7435 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7437         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7439 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
7441         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7442         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7443         t512.x.
7444         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7446 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
7448         [BZ #19214]
7449         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7450         argument to return extended model.  Update family and model
7451         with extended family and model when family == 0x0f.
7452         (init_cpu_features): Updated.
7454 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7456         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7457         signed off_t, so 32bit bigger than 2GiB values are fine actually.
7459         * sysdeps/mach/hurd/mmap64.c: New file.
7461 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
7463         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7464         rights for its main user thread in NEWTASK.
7466 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
7468         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7469         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7471 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
7473         [BZ #14259]
7474         * Makeconfig: Rename localedir to complocaledir.
7475         Rename inst_localedir to inst_complocaledir.
7476         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7477         * config.make.in: Use complocaledir and libc_cv_complocaledir.
7478         * configure.ac: Use libc_cv_complocaledir.
7479         * configure: Regenerate.
7480         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7481         -DCOMPLOCALEDIR.
7482         * locale/findlocale.c: Use COMPLOCALEDIR.
7483         * locale/loadarchive.c: Likewise.
7484         * locale/programs/locale.c: Likewise.
7485         * locale/programs/localedef.c: Likewise.
7486         * locale/programs/locarchive.c: Likewise.
7487         * localedata/Makefile: Use inst_complocaledir.
7488         * sysdeps/gnu/configure: Regenerate.
7489         * sysdeps/hppa/configure: Regenerate.
7490         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7491         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7493         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7494         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7495         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7496         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7498 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
7500         [BZ #19058]
7501         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7502         AS_NEEDED.
7503         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7504         workaround.
7505         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7506         libmvec-static-only-routines): Added new file.
7507         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7509 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7511         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7512         of interrupted RPC instead of restoring it.
7514         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7515         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7516         libc_hidden_def.
7517         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7518         into initialized data instead of common. Define rtld_hidden_data_def.
7519         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7520         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7521         libc_hidden_def.
7522         (if_freenameindex): Add libc_hidden_weak.
7523         (if_nameindex): Add libc_hidden_weak.
7524         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7525         __open64.
7526         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7527         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7528         * sysdeps/mach/nanosleep.c: Include <time.h>
7529         (__nanosleep): Rename to __libc_nanosleep.
7530         (__nanosleep): Add weak_alias.
7531         (nanosleep): Update alias.
7533 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
7535         * stdlib/strtod_nan.c: New file.
7536         * stdlib/strtod_nan_double.h: Likewise.
7537         * stdlib/strtod_nan_float.h: Likewise.
7538         * stdlib/strtod_nan_main.c: Likewise.
7539         * stdlib/strtod_nan_narrow.h: Likewise.
7540         * stdlib/strtod_nan_wide.h: Likewise.
7541         * stdlib/strtof_nan.c: Likewise.
7542         * stdlib/strtold_nan.c: Likewise.
7543         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7544         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7545         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7546         * wcsmbs/wcstod_nan.c: Likewise.
7547         * wcsmbs/wcstof_nan.c: Likewise.
7548         * wcsmbs/wcstold_nan.c: Likewise.
7549         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7550         strtold_nan.
7551         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7552         wcstof_nan.
7553         * include/stdlib.h (__strtof_nan): Declare and use
7554         libc_hidden_proto.
7555         (__strtod_nan): Likewise.
7556         (__strtold_nan): Likewise.
7557         (__wcstof_nan): Likewise.
7558         (__wcstod_nan): Likewise.
7559         (__wcstold_nan): Likewise.
7560         * include/wchar.h (____wcstoull_l_internal): Declare.
7561         * stdlib/strtod_l.c: Do not include <ieee754.h>.
7562         (____strtoull_l_internal): Remove declaration.
7563         (STRTOF_NAN): Define macro.
7564         (SET_MANTISSA): Remove macro.
7565         (STRTOULL): Likewise.
7566         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7567         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7568         (STRTOF_NAN): Define macro.
7569         (SET_MANTISSA): Remove macro.
7570         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7571         (SET_MANTISSA): Remove macro.
7572         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7573         macro.
7574         (SET_MANTISSA): Remove macro.
7575         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7576         macro.
7577         (SET_MANTISSA): Remove macro.
7578         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7579         (SET_MANTISSA): Remove macro.
7580         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7581         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7582         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7584         [BZ #19266]
7585         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7586         upper case and lower case letters inside NAN(), not using TOLOWER.
7587         * stdlib/tst-strtod-nan-locale-main.c: New file.
7588         * stdlib/tst-strtod-nan-locale.c: Likewise.
7589         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7590         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7591         Depend on $(gen-locales).
7592         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7593         * wcsmbs/tst-wcstod-nan-locale.c: New file.
7594         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7595         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7596         Depend on $(gen-locales).
7597         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7599 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
7601         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7603         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7605         __finitel, __isinfl, and __isnanl.
7606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7607         Likewise.
7608         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7610         __finitel.
7611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7612         Likewise.
7613         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7615 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7617         * malloc/memusage.c (me): Remove redundant getenv call.
7619 2015-10-24  Florian Weimer  <fweimer@redhat.com>
7621         [BZ #19143]
7622         [BZ #19164]
7623         * nptl/check-cpuset.h: Remove.
7624         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7625         Remove CPU set size check.
7626         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7627         Likewise.
7628         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7629         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7630         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7631         (__pthread_setaffinity_new): Remove CPU set size check.
7632         * sysdeps/unix/sysv/linux/sched_setaffinity.c
7633         (__kernel_cpumask_size): Remove.
7634         (__sched_setaffinity_new): Remove CPU set size check.
7635         * manual/threads.texi (Default Thread Attributes): Remove stale
7636         reference to check_cpuset_attr, determine_cpumask_size in comment.
7637         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7638         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
7639         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7640         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7641         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7642         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7643         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7644         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7645         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7646         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7647         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7648         skeleton test file.
7649         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
7650         tst-affinity-pid.
7652 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7654         * scripts/update-abilist.sh: New file.
7655         * Makefile (+subdir_targets): Add subdir_update-all-abi.
7656         * Makerules (update-all-abi-%, update-all-abi)
7657         (subdir_update-all-abi): New targets.
7658         * elf/Makefile (update-all-abi): New target.
7660 2015-11-24  Florian Weimer  <fweimer@redhat.com>
7662         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7663         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7664         (__libc_lock_define_initialized): Use it.
7665         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7666         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7667         * malloc/malloc.c (main_arena): Likewise.
7668         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7669         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7671 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
7673         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7674         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7675         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7676         (PTRACE_O_MASK): Update value.
7677         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7678         New value in enum __ptrace_setoptions.
7679         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7680         (PTRACE_O_MASK): Update value.
7681         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7682         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7683         (PTRACE_O_MASK): Update value.
7684         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7685         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7686         (PTRACE_O_MASK): Update value.
7687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7688         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7689         (PTRACE_O_MASK): Update value.
7690         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7691         New value in enum __ptrace_setoptions.
7692         (PTRACE_O_MASK): Update value.
7693         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7694         New value in enum __ptrace_setoptions.
7695         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7696         (PTRACE_O_MASK): Update value.
7698         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7699         New macro.
7700         (PACKET_AUXDATA): Likewise.
7701         (PACKET_ORIGDEV): Likewise.
7702         (PACKET_VERSION): Likewise.
7703         (PACKET_HDRLEN): Likewise.
7704         (PACKET_RESERVE): Likewise.
7705         (PACKET_TX_RING): Likewise.
7706         (PACKET_LOSS): Likewise.
7707         (PACKET_VNET_HDR): Likewise.
7708         (PACKET_TX_TIMESTAMP): Likewise.
7709         (PACKET_TIMESTAMP): Likewise.
7710         (PACKET_FANOUT): Likewise.
7711         (PACKET_TX_HAS_OFF): Likewise.
7712         (PACKET_QDISC_BYPASS): Likewise.
7713         (PACKET_ROLLOVER_STATS): Likewise.
7714         (PACKET_FANOUT_DATA): Likewise.
7715         (PACKET_MR_UNICAST): Likewise.
7717         [BZ #19242]
7718         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7719         (TOUPPER): Likewise.
7720         * stdlib/tst-strtol-locale-main.c: New file.
7721         * stdlib/tst-strtol-locale.c: Likewise.
7722         * stdlib/Makefile (tests): Add tst-strtol-locale.
7723         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7724         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7725         Depend on $(gen-locales).
7726         * wcsmbs/tst-wcstol-locale.c: New file.
7727         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7728         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7729         tr_TR.ISO-8859-9.
7730         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7731         Depend on $(gen-locales).
7733 2015-11-20  Roland McGrath  <roland@hack.frob.com>
7735         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7736         __glibc_likely instead of __builtin_expect.  After falling back to
7737         dyncode_create in a non-ET_DYN case, use the allocate_code_data
7738         system interface to register the code pages as occupied.
7740 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
7742         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7743         [!ARM_MATH_PRIVATE_H].
7744         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7745         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7746         [!HPPA_MATH_PRIVATE_H].
7747         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7748         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7749         to [!I386_MATH_PRIVATE_H].
7750         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7751         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7752         Change guard to [!M68K_MATH_PRIVATE_H].
7753         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7754         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7755         guard to [!MICROBLAZE_MATH_PRIVATE_H].
7756         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7757         macro.
7758         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7759         [!MIPS_MATH_PRIVATE_H].
7760         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7761         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7762         [!NIO2_MATH_PRIVATE_H].
7763         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7764         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7765         [!TILE_MATH_PRIVATE_H].
7766         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7768         [BZ #15421]
7769         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7770         initialize with 0 and define as weak alias of __signgam.
7771         * include/math.h [!_ISOMAC] (__signgam): Declare.
7772         * math/Makefile (libm-calls): Add w_lgamma_compat.
7773         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7774         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7775         test-signgam-ullong-init.
7776         (tests-static): Add test-signgam-uchar-static,
7777         test-signgam-uchar-init-static, test-signgam-uint-static,
7778         test-signgam-uint-init-static, test-signgam-ullong-static and
7779         test-signgam-ullong-init-static.
7780         (CFLAGS-test-signgam-uchar.c): New variable.
7781         (CFLAGS-test-signgam-uchar-init.c): Likewise.
7782         (CFLAGS-test-signgam-uchar-static.c): Likewise.
7783         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7784         (CFLAGS-test-signgam-uint.c): Likewise.
7785         (CFLAGS-test-signgam-uint-init.c): Likewise.
7786         (CFLAGS-test-signgam-uint-static.c): Likewise.
7787         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7788         (CFLAGS-test-signgam-ullong.c): Likewise.
7789         (CFLAGS-test-signgam-ullong-init.c): Likewise.
7790         (CFLAGS-test-signgam-ullong-static.c): Likewise.
7791         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7792         * math/Versions (libm): Add GLIBC_2.23.
7793         * math/lgamma-compat.h: New file.
7794         * math/test-signgam-main.c: Likewise.
7795         * math/test-signgam-uchar-init-static.c: Likewise.
7796         * math/test-signgam-uchar-init.c: Likewise.
7797         * math/test-signgam-uchar-static.c: Likewise.
7798         * math/test-signgam-uchar.c: Likewise.
7799         * math/test-signgam-uint-init-static.c: Likewise.
7800         * math/test-signgam-uint-init.c: Likewise.
7801         * math/test-signgam-uint-static.c: Likewise.
7802         * math/test-signgam-uint.c: Likewise.
7803         * math/test-signgam-ullong-init-static.c: Likewise.
7804         * math/test-signgam-ullong-init.c: Likewise.
7805         * math/test-signgam-ullong-static.c: Likewise.
7806         * math/test-signgam-ullong.c: Likewise.
7807         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7808         wrapper of w_lgamma_main.c.
7809         * math/w_lgamma_compat.c: New file.
7810         * math/w_lgamma_compatf.c: Likewise.
7811         * math/w_lgamma_compatl.c: Likewise.
7812         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
7813         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7814         defining compatibility symbols.
7815         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
7816         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7817         wrapper of w_lgammaf_main.c.
7818         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
7819         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7820         defining compatibility symbols.
7821         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
7822         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7823         wrapper of w_lgammal_main.c.
7824         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
7825         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
7826         defining compatibility symbols.
7827         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
7828         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7829         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7830         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
7831         <lgamma-compat.h>.
7832         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
7833         (__ieee754_gamma): Define as alias.
7834         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7835         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
7836         <lgamma-compat.h>.
7837         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
7838         (__ieee754_gammaf): Define as alias.
7839         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7840         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
7841         <lgamma-compat.h>.
7842         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
7843         (__ieee754_gammal): Define as alias.
7844         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
7845         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
7846         <math/w_lgamma_compat.c>.
7847         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
7848         Define as alias of __lgamma_compat and use in defining lgammal.
7849         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
7850         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
7851         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
7852         (USE_AS_COMPAT): New macro.
7853         (LGAMMA_OLD_VER): Undefine and redefine.
7854         (lgammal): Do not define here.
7855         (gammal): Only define here if [GAMMA_ALIAS].
7856         * conform/linknamespace.pl (@whitelist): Remove signgam.
7857         * sysdeps/nacl/libm.abilist: Update.
7858         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7859         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7860         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7866         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7868         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7869         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7871         Likewise.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7873         Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7877         Likewise.
7878         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7879         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7880         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7884         Likewise.
7885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7886         Likewise.
7887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7888         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7889         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7891 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7893         [BZ #16364]
7894         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
7895         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
7897 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7899         * sysdeps/s390/fpu/bits/mathinline.h:
7900         Use __asm__ [__volatile__] instead of asm [volatile].
7901         * sysdeps/s390/abort-instr.h: Likewise.
7902         * sysdeps/s390/atomic-machine.h: Likewise.
7903         * sysdeps/s390/bits/string.h: Likewise.
7904         * sysdeps/s390/dl-tls.h: Likewise.
7905         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7906         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7907         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7908         * sysdeps/s390/fpu/fesetround.c: Likewise.
7909         * sysdeps/s390/fpu/fpu_control.h: Likewise.
7910         * sysdeps/s390/fpu/s_fma.c: Likewise.
7911         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
7912         * sysdeps/s390/memusage.h: Likewise.
7913         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
7914         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
7915         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
7916         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
7917         * sysdeps/s390/nptl/tls.h: Likewise.
7918         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
7919         * sysdeps/s390/s390-32/backtrace.c: Likewise.
7920         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7921         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
7922         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7923         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7924         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
7925         * sysdeps/s390/s390-64/backtrace.c: Likewise.
7926         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7927         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
7928         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
7929         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7930         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7931         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
7932         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
7933         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
7934         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
7935         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7936         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
7937         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7938         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
7939         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7940         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
7942 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7943             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7945         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7946         Add lwarx hint, and use macro for acquire instruction.
7947         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7948         Likewise.
7949         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
7950         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
7951         update to use new atomic macros.
7953 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7955         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7956         (__lll_trylock_elision): Fix setting of adapt_count.
7957         * sysdeps/unix/sysv/linux/powerpc/htm.h
7958         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
7959         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
7960         (_ABORT_SYSCALL): Renumber, and clarify definition.
7961         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
7963 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7965         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
7966         after system headers to prevent MIN/MAX redefinition.  Define
7967         HAVE_ALLOCA to preserve builtin alloca usage.
7969 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7971         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
7972         static and don't set or restore rounding.
7973         (__cos)[IN_SINCOS]: Likewise.
7974         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
7975         (__sincos): Set and restore rounding mode.  Remove check for infinite
7976         or NaN input.
7978         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
7980         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
7981         as used.
7983 2015-11-16  Florian Weimer  <fweimer@redhat.com>
7985         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
7987 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7989         * config.make.in (have-glob-dat-reloc): New.
7990         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
7991         target supports GLOB_DAT relocaton. AC_SUBST.
7992         * configure: Regenerated.
7993         * elf/Makefile (tests): Add tst-prelink.
7994         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
7995         (tst-prelink-ENV): New.
7996         ($(objpfx)tst-prelink-conflict.out): Likewise.
7997         ($(objpfx)tst-prelink-cmp.out): Likewise.
7998         * sysdeps/x86/tst-prelink.c: Moved to ...
7999         * elf/tst-prelink.c: Here.
8000         * sysdeps/x86/tst-prelink.exp: Moved to ...
8001         * elf/tst-prelink.exp: Here.
8002         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8003         (tst-prelink-ENV): Removed.
8004         ($(objpfx)tst-prelink-conflict.out): Likewise.
8005         ($(objpfx)tst-prelink-cmp.out): Likewise.
8006         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8008 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8010         [BZ #14551]
8011         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8012         (__mpn_construct_long_double): If high part overflows to infinity,
8013         set errno and recompute overflowed result of the correct sign.
8014         * sysdeps/ieee754/ldbl-128ibm/Makefile
8015         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8016         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8017         $(libm).
8018         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8020 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8022         [BZ #15479]
8023         [BZ #19238]
8024         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8025         floating-point state after first operation on input.  Restore full
8026         state rather than just rounding mode.
8027         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8028         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8029         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8031         [BZ #19235]
8032         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8033         add 0.5 to integer arguments.
8034         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8035         Likewise.
8036         (.LC2): New object.
8038 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8040         * scripts/pylintrc (reports): Set to no.
8042 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8044         * elf/dl-load.c (open_verify): Take new argument FD.
8045         Skip __open call if passed FD is not -1.
8046         (_dl_map_object, open_path): Update callers.
8047         * elf/dl-sysdep-open.h: New file.
8048         * elf/dl-load.c: Include it.
8049         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8050         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8051         * sysdeps/nacl/dl-sysdep-open.h: New file.
8052         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8053         from libc to rtld.
8055 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8057         [BZ #19228]
8058         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8059         and restore full floating-point state.
8060         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8061         Likewise.
8062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8063         Likewise.
8064         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8065         Likewise.
8066         * math/test-nearbyint-except-2.c: New file.
8067         * math/Makefile (tests): Add test-nearbyint-except-2.
8069 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8071         [BZ #19178]
8072         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8073         (tst-prelink-ENV): New.
8074         ($(objpfx)tst-prelink-conflict.out): Likewise.
8075         ($(objpfx)tst-prelink-cmp.out): Likewise.
8076         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8077         * sysdeps/x86/tst-prelink.c: New file.
8078         * sysdeps/x86/tst-prelink.exp: Likewise.
8080 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8082         * math/auto-libm-test-in: Add another test of pow.
8083         * math/auto-libm-test-out: Regenerated.
8084         * math/libm-test.inc (pow_test_data): Add another test.
8086 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8088         [BZ #19219]
8089         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8090         weak_alias to nearbyintl.
8092 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8094         * sysdeps/aarch64/bits/string.h: New file.
8095         (_STRING_ARCH_unaligned): Define.
8097 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8099         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8100         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8101         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8102         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8105 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8107         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8108         for original name of the DSO.  Add it to the name list of the DSO
8109         if it is actually given.
8110         (_dl_map_object): Keep track of whether an audit module rewrote
8111         the file name.  If yes, pass the original name to
8112         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8113         debugging is enabled, log the change of the file name.
8114         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8115         _dl_map_object_from_fd.
8116         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8117         * elf/tst-audit11.c: New file
8118         * elf/tst-auditmod11.c: New file.
8119         * elf/tst-audit11mod1.c: New file.
8120         * elf/tst-audit11mod2.c: New file.
8121         * elf/tst-audit11mod2.map: New file.
8122         * elf/tst-audit12.c: New file
8123         * elf/tst-auditmod12.c: New file.
8124         * elf/tst-audit12mod1.c: New file.
8125         * elf/tst-audit12mod2.c: New file.
8126         * elf/tst-audit12mod2.map: New file.
8127         * elf/tst-audit12mod3.c: New file.
8129 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8131         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8132         Don't create weak aliases,
8133         because versioned symbols are created later.
8134         * sysdeps/s390/s390-32/setjmp.S
8135         (setjmp, _setjmp): Remove weak and rename to an unique name
8136         in SHARED case due to existing versioned symbols.
8137         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8139         (getcontext): Create weak alias only in non SHARED case.
8140         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8142 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8144         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8145         (__ASSUME_*_SYSCALL) Define new macros.
8146         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8147         Remove socketcall syscalls.
8148         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8149         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8150         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8151         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8152         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8153         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8155 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8157         [BZ #12926]
8158         Terminate process on invalid netlink response.
8159         * sysdeps/unix/sysv/linux/netlinkaccess.h
8160         (__netlink_assert_response): Declare.
8161         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8162         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8163         (sysdep_routines): Add netlink_assert_response.
8164         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8165         __netlink_assert_response.
8166         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8167         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8168         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8169         __netlink_assert_response.
8171 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8173         [BZ #19178]
8174         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8175         (RTYPE_CLASS_PLT): Likewise.
8176         (RTYPE_CLASS_COPY): Likewise.
8177         (RTYPE_CLASS_TLS): Likewise.
8178         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8179         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8180         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8181         DL_DEBUG_PRELINK.
8183 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8185         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8186         calls with argument -0.5.
8187         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8189         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8190         (libc_cv_z_nodlopen): Likewise.
8191         (libc_cv_z_initfirst): Likewise.
8192         * configure: Regenerated.
8194 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8196         Simplify abilist format to be line-based.
8197         * scripts/abilist.awk: Collect descriptors in the descs variable.
8198         (emit): Write descs variable and sort it
8199         externally, with sort.
8200         * sysdeps/**/*.abilist: Convert to new format.
8202 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8204         [BZ #11460]
8205         * io/Makefile (routines): Add fts64.
8206         (tests): Add tst-fts and tst-fts-lfs.
8207         (CFLAGS-fts64.c): New.
8208         * io/Versions (GLIBC_2.23): New.
8209         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8210         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8211         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8212         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8213         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8214         (FTSENT64): Likewise.
8215         (fts64_children): Likewise.
8216         (fts64_close): Likewise.
8217         (fts64_open): Likewise.
8218         (fts64_read): Likewise.
8219         (fts64_set): Likewise.
8220         * io/fts64.c: New file.
8221         * io/tst-fts.c: New test.
8222         * io/tst-fts-lfs.c: Likewise.
8223         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8224         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8225         fts64_set.
8226         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8227         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8228         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8229         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8230         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8232         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8233         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8234         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8242         Likewise.
8243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8254         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8255         * sysdeps/wordsize-64/fts.c: New file.
8256         * sysdeps/wordsize-64/fts64.c: Likewise.
8257         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8258         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8260         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8262 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8264         * math/libm-test.inc (NON_FINITE): New macro.
8265         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8266         * math/gen-libm-test.pl (show_exceptions): Add argument
8267         $non_finite.
8268         (parse_args): Update call to show_exceptions.
8269         * math/test-math-finite.h: New file.
8270         * math/test-math-no-finite.h: Likewise.
8271         * math/test-double-finite.c: Likewise.
8272         * math/test-float-finite.c: Likewise.
8273         * math/test-ldouble-finite.c: Likewise.
8274         * math/test-double.c: Include "test-math-no-finite.h".
8275         * math/test-float.c: Include "test-math-no-finite.h".
8276         * math/test-ldouble.c: Include "test-math-no-finite.h".
8277         * math/test-math-inline.h (TEST_FINITE): New macro.
8278         * math/test-math-vector.h (TEST_FINITE): Likewise.
8279         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8280         (libm-tests): Add test-float-finite and test-double-finite.
8281         ($(objpfx)test-float-finite.o): New dependency on
8282         $(objpfx)libm-test.stmp.
8283         ($(objpfx)test-double-finite.o): Likewise.
8284         ($(objpfx)test-ldouble-finite.o): Likewise.
8285         (libm-test-no-inline-cflags): New variable.
8286         (libm-test-finite-cflags): Likewise.
8287         (CFLAGS-test-float-finite.c): Likewise.
8288         (CFLAGS-test-double-finite.c): Likewise.
8289         (CFLAGS-test-ldouble-finite.c): Likewise.
8290         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8291         (CFLAGS-test-double.c): Likewise.
8292         (CFLAGS-test-ldouble.c): Likewise.
8294 2015-11-05  Roland McGrath  <roland@hack.frob.com>
8296         * io/fcntl.c (__fcntl): Add ... to prototype.
8297         * misc/ioctl.c (__ioctl): Likewise.
8298         * misc/syscall.c (syscall): Likewise.
8300 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8302         * scripts/list-fixed-bugs.py: New file.
8304         [BZ #19213]
8305         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8306         returned for argument 1.
8307         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8308         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8309         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8310         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8311         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8312         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8314         [BZ #19211]
8315         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8316         __USE_XOPEN], not if [!__USE_ISOC99].
8317         (lgammaf): Likewise.
8318         (lgammal): Likewise.
8319         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8320         (gammaf): Likewise.
8321         (gammal): Likewise.
8322         * math/test-signgam-finite-c11.c: New file.
8323         * math/test-signgam-finite-c99.c: Likewise.
8324         * math/test-signgam-finite.c: Likewise.
8325         * math/Makefile (tests): Add test-signgam-finite,
8326         test-signgam-finite-c99 and test-signgam-finite-c11.
8327         (CFLAGS-test-signgam-finite.c): New variable.
8328         (CFLAGS-test-signgam-finite-c99.c): Likewise.
8329         (CFLAGS-test-signgam-finite-c11.c): Likewise.
8331         [BZ #19212]
8332         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8333         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8334         500].
8335         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8336         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8337         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8338         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8339         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8340         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8341         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8342         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8343         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8344         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8346         [BZ #19209]
8347         * math/bits/math-finite.h (ldexp): Remove declaration.
8348         (ldexpf): Likewise.
8349         (ldexpl): Likewise.
8351         [BZ #19205]
8352         * math/bits/math-finite.h (acosf): Condition declaration on
8353         [__USE_ISOC99].
8354         (acosl): Likewise.
8355         (acoshf): Likewise.
8356         (acoshl): Likewise.
8357         (asinf): Likewise.
8358         (asinl): Likewise.
8359         (atan2f): Likewise.
8360         (atan2l): Likewise.
8361         (atanhf): Likewise.
8362         (atanhl): Likewise.
8363         (coshf): Likewise.
8364         (coshl): Likewise.
8365         (expf): Likewise.
8366         (expl): Likewise.
8367         (fmodf): Likewise.
8368         (fmodl): Likewise.
8369         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8370         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8371         (j0l): Likewise.
8372         (y0f): Likewise.
8373         (y0l): Likewise.
8374         (j1f): Likewise.
8375         (j1l): Likewise.
8376         (y1f): Likewise.
8377         (y1l): Likewise.
8378         (jnf): Likewise.
8379         (jnl): Likewise.
8380         (ynf): Likewise.
8381         (ynl): Likewise.
8382         (lgammaf_r): Condition declaration on [__USE_ISOC99].
8383         (lgammal_r): Likewise.
8384         (__lgamma_r_finite): New declaration.
8385         (__lgammaf_r_finite): Likewise.
8386         (__lgammal_r_finite): Likewise.
8387         (lgamma): Use __lgamma_r_finite.
8388         (lgammaf): Condition definition on [__USE_ISOC99].  Use
8389         __lgammaf_r_finite.
8390         (lgammal): Condition definition on [__USE_ISOC99].  Use
8391         __lgammal_r_finite.
8392         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
8393         __lgamma_r_finite.
8394         (gammaf): Condition definition on [__USE_ISOC99].  Use
8395         __lgammaf_r_finite.
8396         (gammal): Condition definition on [__USE_ISOC99].  Use
8397         __lgammal_r_finite.
8398         (logf): Condition declaration on [__USE_ISOC99].
8399         (logl): Likewise.
8400         (log10f): Likewise.
8401         (log10l): Likewise.
8402         (ldexpf): Likewise.
8403         (ldexpl): Likewise.
8404         (powf): Likewise.
8405         (powl): Likewise.
8406         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8407         __USE_ISOC99].
8408         (remainderf): Condition declaration on [__USE_ISOC99].
8409         (remainderl): Likewise.
8410         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8411         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8412         (scalbl): Likewise.
8413         (sinhf): Condition declaration on [__USE_ISOC99].
8414         (sinhl): Likewise.
8415         (sqrtf): Likewise.
8416         (sqrtl): Likewise.
8418 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8420         * sysdeps/arm/atomic-machine.h
8421         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8422         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8423         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8424         Remove conditional code.
8425         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8426         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8427         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8428         Change conditional to [__ASSEMBLER__].
8429         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8430         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8431         [!__ASSEMBLER__].
8432         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8433         code.
8434         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8435         conditional macro definitions.
8436         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8437         (__arch_compare_and_exchange_val_16_acq): Likewise.
8438         (__arch_compare_and_exchange_val_32_acq): Likewise.
8439         (atomic_exchange_and_add): Likewise.
8440         (atomic_add): Likewise.
8441         (atomic_add_negative): Likewise.
8442         (atomic_add_zero): Likewise.
8443         (atomic_bit_set): Likewise.
8444         (atomic_bit_test_set): Likewise.
8445         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8446         code unconditional.
8447         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8449         * math/test-math-errno.h: New file.
8450         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8451         empty.
8452         (TEST_ERRNO): New macro.
8453         (TEST_EXCEPTIONS): Likewise.
8454         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8455         (TEST_EXCEPTIONS): Likewise.
8456         * math/test-math-vector.h (TEST_ERRNO): Likewise.
8457         * math/test-double.c: Include "test-math-errno.h".
8458         * math/test-float.c: Likewise.
8459         * math/test-ldouble.c: Likewise.
8460         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8461         code unconditional.
8462         (test_exceptions): Only run code if TEST_EXCEPTIONS.
8463         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8464         unconditional.
8465         (test_errno): Only run code if TEST_ERRNO.
8466         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8468 2015-11-04  Florian Weimer  <fweimer@redhat.com>
8470         * nptl/tst-once5.cc: Remove attribution.
8472 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
8474         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8475         sqrt, tan, tanh, y0, y1 and yn.
8476         * math/auto-libm-test-out: Regenerated.
8477         * math/libm-test.inc (scalb_test_data): Add more tests.
8478         (scalbn_test_data): Likewise.
8479         (scalbln_test_data): Likewise.
8480         (signbit_test_data): Likewise.
8481         (sin_test_data): Likewise.
8482         (sincos_test_data): Likewise.
8483         (sinh_test_data): Likewise.
8484         (sqrt_test_data): Likewise.
8485         (tan_test_data): Likewise.
8486         (tanh_test_data): Likewise.
8487         (tgamma_test_data): Likewise.
8488         (y0_test_data): Likewise.
8489         (y1_test_data): Likewise.
8490         (yn_test_data): Likewise.
8491         (significand_test_data): Likewise.
8492         * sysdeps/i386/fpu/libm-test-ulps: Update.
8494 2015-11-03  David Kastrup  <dak@gnu.org>
8496         [BZ #18604]
8497         * assert/assert.h (assert): Don't macro-expand failed assertion
8498         expression in error message.
8499         * malloc/malloc.c (assert): Likewise.
8501 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
8503         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8504         test.
8505         * configure: Regenerated.
8507 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
8509         * math/libm-test.inc (modf_test_data): Add more tests.
8510         (nearbyint_test_data): Likewise.
8511         (nextafter_test_data): Likewise.
8512         (nexttoward_test_data): Likewise.
8513         (pow_test_data): Likewise.
8514         (remainder_test_data): Likewise.
8515         (remquo_test_data): Likewise.
8516         (rint_test_data): Likewise.
8518         [BZ #19201]
8519         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8520         Check for zero remainder in case of large exponents and ensure
8521         correct sign of result in that case.
8522         * math/libm-test.inc (remainder_test_data): Add more tests.
8524         [BZ #6799]
8525         * math/s_nextafter.c: Include <errno.h>.
8526         (__nextafter): Set errno on overflow and underflow.
8527         * math/s_nexttowardf.c: Include <errno.h>.
8528         (__nexttowardf): Set errno on overflow and underflow.
8529         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8530         (__nextafterl): Set errno on overflow and underflow.
8531         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8532         (__nexttoward): Set errno on overflow and underflow.
8533         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8534         (__nexttowardf): Set errno on overflow and underflow.
8535         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8536         (__nextafterf): Set errno on overflow and underflow.
8537         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8538         (__nextafterl): Set errno on overflow and underflow.
8539         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8540         (__nexttoward): Set errno on overflow and underflow.
8541         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8542         (__nexttowardf): Set errno on overflow and underflow.
8543         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8544         (__nextafterl): Set errno on overflow and underflow.
8545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8546         (__nexttoward): Set errno on overflow and underflow.
8547         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8548         (__nexttowardf): Set errno on overflow and underflow.
8549         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8550         (__nexttoward): Set errno on overflow and underflow.
8551         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8552         (__nexttowardf): Set errno on overflow and underflow.
8553         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8554         (__nldbl_nexttowardf): Set errno on overflow and underflow.
8555         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8556         (__nextafterl): Set errno on overflow and underflow.
8557         * math/libm-test.inc (nextafter_test_data): Do not allow errno
8558         setting to be missing on overflow.  Add more tests.
8559         (nexttoward_test_data): Likewise.
8561         * configure.ac (libc_cv_initfini_array): Remove configure test.
8562         * configure: Regenerated.
8564 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
8566         [BZ #19189]
8567         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8568         non-finite argument handle arguments with negative sign.
8570         * math/libm-test.inc (j0_test_data): Do not test sign of zero
8571         result from infinite argument.
8572         (j1_test_data): Likewise.
8573         (jn_test_data): Likewise.
8574         (y0_test_data): Likewise.
8575         (y1_test_data): Likewise.
8576         (yn_test_data): Likewise.
8578         [BZ #16171]
8579         * math/w_remainder.c (drem): Define as weak alias of __remainder.
8580         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8581         * math/w_remainderf.c (dremf): Define as weak alias of
8582         __remainderf.
8583         * math/w_remainderl.c (dreml): Define as weak alias of
8584         __remainderl.
8585         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8586         __remainder.
8587         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8588         __remainderf.
8589         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8590         __remainderl.
8591         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8592         weak alias of remainderl.
8593         * sysdeps/ieee754/ldbl-opt/w_remainder.c
8594         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8595         alias of __remainder.
8596         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8597         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8598         strong alias of __remainderl.
8599         (dreml): Use long_double_symbol.
8600         * math/Makefile (libm-calls): Remove w_drem.
8601         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8602         (CFLAGS-nldbl-drem.c): Remove variable.
8603         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8604         * math/w_drem.c: Remove file.
8605         * math/w_dremf.c: Likewise.
8606         * math/w_dreml.c: Likewise.
8607         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8608         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8609         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8611         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8612         * sysdeps/i386/configure: Regenerated.
8613         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8614         * sysdeps/x86_64/configure: Regenerated.
8616         * configure.ac (libc_cv_asm_protected_directive): Remove configure
8617         test.
8618         (libc_cv_visibility_attribute): Likewise.
8619         (libc_cv_protected_data): Test unconditionally.
8620         (libc_cv_broken_visibility_attribute): Remove configure test.
8621         (libc_cv_have_sdata_section): Test unconditionally.
8622         * configure: Regenerated.
8624         * include/libc-internal.h (libc_max_align_t): Remove typedef.
8625         * include/scratch_buffer.h: Include <stddef.h> instead of
8626         <libc-internal.h>.
8627         (struct scratch_buffer): Use max_align_t instead of
8628         libc_max_align_t.
8630 2015-10-29  Florian Weimer  <fweimer@redhat.com>
8632         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8633         instead of extend_alloca.  Change control flow to avoid a goto.
8634         Remove assert which is trivially always true.
8636 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8638         [BZ #16068]
8639         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8640         (FE_ALL_EXCEPT_X86): New macro.
8641         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8642         FE_ALL_EXCEPT.  Ensure precision control is included in
8643         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8644         handle "denormal operand exception" and clear FZ and DAZ bits.
8645         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8646         (FE_ALL_EXCEPT_X86): New macro.
8647         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8648         FE_ALL_EXCEPT.  Ensure precision control is included in
8649         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8650         handle "denormal operand exception" and clear FZ and DAZ bits.
8651         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8652         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8653         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8654         test-fenv-x87 and test-fenv-sse-2.
8655         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8657         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8658         * math/test-double.h (BUILD_COMPLEX): New macro.
8659         * math/test-float.h (BUILD_COMPLEX): Likewise.
8660         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8662         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8663         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8664         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8666         instead of DBL_DENORM_MIN in comment.
8667         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8668         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8669         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8670         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8671         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8672         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8674 2015-10-28  Florian Weimer  <fweimer@redhat.com>
8676         [BZ# 19048]
8677         * malloc/malloc.c (struct malloc_state): Update comment.  Add
8678         attached_threads member.
8679         (main_arena): Initialize attached_threads.
8680         * malloc/arena.c (list_lock): Update comment.
8681         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8682         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8683         (deattach_arena): New function.
8684         (_int_new_arena): Initialize arena reference count and deattach
8685         replaced arena.
8686         (get_free_list, reused_arena): Update reference count and deattach
8687         replaced arena.
8688         (arena_thread_freeres): Update arena reference count and only put
8689         unreferenced arenas on the free list.
8691 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #19181]
8694         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8695         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8696         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8697         * math/test-fenv-clear-main.c: New file.
8698         * math/test-fenv-clear.c: Likewise.
8699         * math/Makefile (tests): Add test-fenv-clear.
8700         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8701         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8702         test-fenv-clear-sse.
8703         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8705         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8706         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8707         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8709 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8711         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8712         static libc.
8714 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
8716         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8717         test.
8718         * sysdeps/i386/configure: Regenerated.
8719         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8720         test.
8721         * sysdeps/x86_64/configure: Regenerated.
8722         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8723         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8724         memset-avx2 unconditionally instead of conditionally on
8725         [$(config-cflags-avx2) = yes].
8726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8727         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8728         unconditional.
8729         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8730         * sysdeps/x86_64/multiarch/memset_chk.S
8731         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8732         to [IS_IN (libc) && SHARED].
8734 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8736         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8737         configure test.
8738         * sysdeps/arm/configure: Regenerated.
8739         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8740         Define variable if not already defined.
8742         [BZ #17404]
8743         * sysdeps/mips/atomic-machine.h
8744         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8745         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8746         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8748         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8749         unconditional.
8750         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8751         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8752         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8753         unconditional.
8754         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8755         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8756         unconditional.
8757         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8758         * stdlib/setenv.c
8759         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8760         code unconditional.
8761         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8762         Remove conditional code.
8763         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8764         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8765         unconditional.
8766         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8767         code.
8768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8769         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8770         unconditional.
8771         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8772         code.
8773         * sysdeps/ieee754/ldbl-128/k_tanl.c
8774         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8775         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8777         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8778         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8779         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8780         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8781         unconditional.
8782         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8783         code.
8784         * sysdeps/ieee754/ldbl-96/k_tanl.c
8785         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8786         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8788         * nptl/tst-initializers1-c11.c: New file.
8789         * nptl/tst-initializers1-gnu11.c: Likewise.
8790         * nptl/Makefile (tests): Add these new tests.
8791         (CFLAGS-tst-initializers1-c11.c): New variable.
8792         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8794         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8795         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8796         instead of -std=gnu99.
8797         * configure.ac (systemtap): Test with -std=gnu11 instead of
8798         -std=gnu99.
8799         * configure: Regenerated.
8800         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8801         in compilation command in comment.
8803         * sysdeps/nptl/configure.ac: Remove file.
8804         * sysdeps/nptl/configure: Remove generated file.
8805         * configure.ac (libc_cv_forced_unwind): Do not substitute.
8806         * configure: Regenerated.
8807         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8808         * config.make.in (have-forced-unwind): Remove variable.
8809         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8810         unconditional.
8811         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8812         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8813         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8814         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8815         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8816         unconditional.
8818 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8820         [BZ #19174]
8821         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8822         .skip_lock_out_of_tbegin_retries.
8823         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8824         (__lll_lock_elision): Likewise, and respect a value of
8825         try_tbegin <= 0.
8827 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8829         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8830         statement.
8832 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8834         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8835         variable.
8836         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8837         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8839         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8840         of -std=c1x -D_ISOC11_SOURCE.
8842         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8843         * configure: Regenerated.
8844         * manual/install.texi (Tools for Compilation): Document
8845         requirement for GCC 4.7 or later.
8846         * INSTALL: Regenerated.
8848 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
8850         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
8851         on CNT to a conditional jump to 'puntdata'.
8853 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
8855         * configure.ac (libc_cv_gcc___thread): Remove configure test.
8856         (libc_cv_gcc_tls_model_attr): Likewise.
8857         * configure: Regenerated.
8859         * configure.ac (libc_cv_need_minus_P): Remove configure test.
8860         * configure: Regenerated.
8861         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
8863 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
8865         * configure.ac (old_glibc_headers): Remove configure test.
8866         * configure: Regenerated.
8867         * config.make.in (old-glibc-headers): Remove variable.
8868         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
8869         (install): Remove dependency on remove-old-headers.
8870         (headers2_0): Remove variable.
8871         (remove-old-headers): Remove rule.
8873         * configure.ac (libc_cv_dot_text): Remove configure test.
8874         (libc_cv_asm_set_directive): Use .text instead of
8875         ${libc_cv_dot_text} in configure test.
8876         * configure: Regenerated.
8878 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8880         [BZ #19168]
8881         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8883 2015-10-26  Florian Weimer  <fweimer@redhat.com>
8885         * configure.ac (CXX): Clear the variable if the C++ toolchain does
8886         not support static linking.
8887         * configure: Regenerate.
8889 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
8891         * math/libm-test.inc (check_float_internal): Do not special-case
8892         errors up to 0.5 ulp.
8894         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8895         log2.
8896         * math/auto-libm-test-out: Regenerated.
8897         * math/libm-test.inc (MAX_EXP): New macro.
8898         (ilogb_test_data): Add more tests.
8899         (isfinite_test_data): Likewise.
8900         (isgreater_test_data): Likewise.
8901         (isgreaterequal_test_data): Likewise.
8902         (isinf_test_data): Likewise.
8903         (isless_test_data): Likewise.
8904         (islessequal_test_data): Likewise.
8905         (islessgreater_test_data): Likewise.
8906         (isnan_test_data): Likewise.
8907         (isnormal_test_data): Likewise.
8908         (issignaling_test_data): Likewise.
8909         (isunordered_test_data): Likewise.
8910         (j0_test_data): Likewise.
8911         (j1_test_data): Likewise.
8912         (jn_test_data): Likewise.
8913         (lgamma_test_data): Likewise.
8914         (log_test_data): Likewise.
8915         (log10_test_data): Likewise.
8916         (log1p_test_data): Likewise.
8917         (log2_test_data): Likewise.
8918         (logb_test_data): Likewise.
8919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8921         [BZ #18611]
8922         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
8923         avoid excess range and precision on underflow.
8924         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8925         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
8926         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8927         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
8928         underflow.
8929         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8930         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8931         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8932         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8933         * math/auto-libm-test-in: Do not allow missing errno setting for
8934         tests of j1 and jn.
8935         * math/auto-libm-test-out: Regenerated.
8937 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
8939         [BZ #15491]
8940         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
8941         floating-point environment instead of clearing all exceptions.
8942         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8943         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
8944         merging in "invalid" exceptions from frndint.
8945         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8946         * math/test-nearbyint-except.c: New file.
8947         * math/Makefile (tests): Add test-nearbyint-except.
8949 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
8951         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
8953         * sysdeps/tile/libm-test-ulps: Regenerated.
8955 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
8958         (__NR_sync_file_range2): Assume it is always defined.
8959         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
8960         (__NR_sync_file_range): Assume it is always defined.
8962 2015-10-22  Andreas Schwab  <schwab@suse.de>
8964         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8965         INTERNAL_SYSCALL_ERRNO.
8966         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8967         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8968         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8969         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8970         Likewise.
8971         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8973 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8975         * io/tst-fcntl.c (fd): New static variable.
8976         (do_prepare): Open temporary file here....
8977         (do_test): ...not here.
8979         * io/ftwtest-sh: Also trap on exit to remove temporary files.
8981 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
8983         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
8984         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
8985         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8986         Moved before "#ifdef __ASSEMBLER__".
8988 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
8990         [BZ #19156]
8991         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
8992         arguments very close to 0.
8994 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
8996         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
8997         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
8999 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9001         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9002         New.  Defined for GCC 5 and above when not compiling for
9003         profiling.
9004         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9006         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9007         Renamed to ...
9008         (CFLAGS-epoll_pwait.o): This.
9009         (CFLAGS-mmap.c): Renamed to ...
9010         (CFLAGS-mmap.o): This.
9011         (CFLAGS-mmap64.c): Renamed to ...
9012         (CFLAGS-mmap64.o): This.
9013         (CFLAGS-epoll_pwait.os): New.
9014         (CFLAGS-mmap.os): Likewise.
9015         (CFLAGS-mmap64.os): Likewise.
9016         (CFLAGS-semtimedop.os): Likewise.
9017         (CFLAGS-semtimedop.c): Renamed to ...
9018         (CFLAGS-semtimedop.o): This.
9020 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9022         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9023         warning message.
9025 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9027         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9028         * Makefile ($(objpfx)c++-types-check.out): Filter out
9029         $(+gccwarn-c) instead of -Wstrict-prototypes.
9031         * io/fts.c (fts_open): Convert to prototype-style function
9032         definition.
9033         * malloc/mcheck.c (mcheck): Likewise.
9034         (mcheck_pedantic): Likewise.
9035         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9036         internal_function.
9037         (re_search_internal): Likewise.
9038         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9039         prototype-style function definition.
9040         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9041         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9042         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9043         (xdr_utmpptr): Likewise.
9044         (xdr_utmparr): Likewise.
9045         (xdr_utmpidle): Likewise.
9046         (xdr_utmpidleptr): Likewise.
9047         (xdr_utmpidlearr): Likewise.
9049         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9050         log, log10 and log2.
9051         * math/auto-libm-test-out: Regenerated.
9052         * math/libm-test.inc (fmod_test_data): Add more tests.
9053         (fpclassify_test_data): Likewise.
9054         (frexp_test_data): Likewise.
9055         (hypot_test_data): Likewise.
9056         (ilogb_test_data): Likewise.
9058 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9060         * debug/fortify_fail.c (__fortify_fail): Convert to
9061         prototype-style function definition.  Use internal_function.
9062         * libio/genops.c (save_for_backup): Convert to prototype-style
9063         function definition.
9064         * libio/wgenops.c (save_for_wbackup): Likewise.
9065         * login/grantpt.c (grantpt): Likewise.
9066         * login/ptsname.c (ptsname): Likewise.
9067         (__ptsname_r): Likewise.
9068         * login/unlockpt.c (unlockpt): Likewise.
9069         * mach/msgserver.c (__mach_msg_server): Likewise.
9070         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9071         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9072         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9073         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9074         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9075         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9076         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9077         Likewise.
9078         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9079         internal_function.
9080         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9081         prototype-style function definition.
9082         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9083         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9084         (__pthread_create_2_0): Likewise.
9085         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9086         * nptl/register-atfork.c (__register_atfork): Likewise.
9087         * posix/glob.c (glob): Likewise.
9088         * posix/regcomp.c (re_comp): Likewise.
9089         * posix/regexec.c (re_exec): Likewise.
9090         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9091         [!__STDC__]: Remove conditional code.
9092         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9093         [!__STDC__]: Remove conditional code.
9094         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9095         [!__STDC__]: Remove conditional code.
9096         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9097         [!__STDC__]: Remove conditional code.
9098         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9099         [!__STDC__]: Remove conditional code.
9100         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9101         [!__STDC__]: Remove conditional code.
9102         * stdlib/mul.c [__STDC__]: Make code unconditional.
9103         [!__STDC__]: Remove conditional code.
9104         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9105         [!__STDC__]: Remove conditional code.
9106         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9107         [!__STDC__]: Remove conditional code.
9108         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9109         function definition.
9110         (STRTOF): Likewise.
9111         * stdlib/strtod_l.c (__STRTOF): Likewise.
9112         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9113         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9114         (__strtol_l): Likewise.
9115         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9116         [!__STDC__]: Remove conditional code.
9117         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9118         definition.
9119         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9120         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9121         type.
9122         (__strcasecmp): Convert to prototype-style function definition.
9123         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9124         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9125         type.
9126         (__strncasecmp): Convert to prototype-style function definition.
9127         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9128         * sunrpc/xdr.c (xdr_union): Likewise.
9129         * sunrpc/xdr_array.c (xdr_array): Likewise.
9130         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9131         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9132         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9133         Likewise.
9134         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9135         Likewise.
9136         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9137         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9138         Likewise.
9139         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9140         (LOCALE_PARAM_PROTO): Likewise.
9141         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9142         argument type.
9143         (ut_argument_spec): Remove macro.
9144         (ut_argument_spec_iso): Rename to ut_argument_spec.
9145         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9146         prototype-style function definition.
9147         (memcpy_uppcase): Likewise.
9148         (__strftime_internal): Likewise.
9149         (my_strftime): Likewise.
9150         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9151         (LOCALE_PARAM_DECL): Likewise.
9152         [_LIBC] (LOCALE_PARAM): Include argument type.
9153         (__strptime_internal): Convert to prototype-style function
9154         definition.
9155         (strptime): Likewise.
9156         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9157         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9158         type.
9159         (__wcscasecmp): Convert to prototype-style function definition.
9160         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9161         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9162         type.
9163         (__wcsncasecmp): Convert to prototype-style function definition.
9165         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9166         function definition.
9167         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9168         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9169         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9170         * elf/dl-minimal.c (_itoa): Likewise.
9171         * hurd/hurdmalloc.c (malloc): Likewise.
9172         (free): Likewise.
9173         (realloc): Likewise.
9174         * inet/inet6_option.c (inet6_option_space): Likewise.
9175         (inet6_option_init): Likewise.
9176         (inet6_option_append): Likewise.
9177         (inet6_option_alloc): Likewise.
9178         (inet6_option_next): Likewise.
9179         (inet6_option_find): Likewise.
9180         * io/ftw.c (FTW_NAME): Likewise.
9181         (NFTW_NAME): Likewise.
9182         (NFTW_NEW_NAME): Likewise.
9183         (NFTW_OLD_NAME): Likewise.
9184         * libio/iofwide.c (_IO_fwide): Likewise.
9185         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9186         (_IO_str_init_static): Likewise.
9187         (_IO_str_init_readonly): Likewise.
9188         (_IO_str_overflow): Likewise.
9189         (_IO_str_underflow): Likewise.
9190         (_IO_str_count): Likewise.
9191         (_IO_str_seekoff): Likewise.
9192         (_IO_str_pbackfail): Likewise.
9193         (_IO_str_finish): Likewise.
9194         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9195         (_IO_wstr_overflow): Likewise.
9196         (_IO_wstr_underflow): Likewise.
9197         (_IO_wstr_count): Likewise.
9198         (_IO_wstr_seekoff): Likewise.
9199         (_IO_wstr_pbackfail): Likewise.
9200         (_IO_wstr_finish): Likewise.
9201         * locale/programs/localedef.c (normalize_codeset): Likewise.
9202         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9203         (add_locales_to_archive): Likewise.
9204         (delete_locales_from_archive): Likewise.
9205         * malloc/malloc.c (__libc_mallinfo): Likewise.
9206         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9207         * misc/tsearch.c (__tfind): Likewise.
9208         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9209         * nptl/pthread_attr_getdetachstate.c
9210         (__pthread_attr_getdetachstate): Likewise.
9211         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9212         Likewise.
9213         * nptl/pthread_attr_getinheritsched.c
9214         (__pthread_attr_getinheritsched): Likewise.
9215         * nptl/pthread_attr_getschedparam.c
9216         (__pthread_attr_getschedparam): Likewise.
9217         * nptl/pthread_attr_getschedpolicy.c
9218         (__pthread_attr_getschedpolicy): Likewise.
9219         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9220         Likewise.
9221         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9222         Likewise.
9223         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9224         Likewise.
9225         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9226         Likewise.
9227         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9228         (__pthread_attr_init_2_0): Likewise.
9229         * nptl/pthread_attr_setdetachstate.c
9230         (__pthread_attr_setdetachstate): Likewise.
9231         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9232         Likewise.
9233         * nptl/pthread_attr_setinheritsched.c
9234         (__pthread_attr_setinheritsched): Likewise.
9235         * nptl/pthread_attr_setschedparam.c
9236         (__pthread_attr_setschedparam): Likewise.
9237         * nptl/pthread_attr_setschedpolicy.c
9238         (__pthread_attr_setschedpolicy): Likewise.
9239         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9240         Likewise.
9241         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9242         Likewise.
9243         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9244         Likewise.
9245         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9246         Likewise.
9247         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9248         Likewise.
9249         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9250         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9251         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9252         use internal_function.
9253         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9254         prototype-style function definition.
9255         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9256         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9257         internal_function.
9258         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9259         Convert to prototype-style function definition.
9260         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9261         Likewise.
9262         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9263         Likewise.
9264         (__pthread_mutex_unlock): Likewise.
9265         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9266         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9267         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9268         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9269         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9270         * nss/makedb.c (process_input): Likewise.
9271         * posix/fnmatch.c (__strchrnul): Likewise.
9272         (__wcschrnul): Likewise.
9273         (fnmatch): Likewise.
9274         * posix/fnmatch_loop.c (FCT): Likewise.
9275         * posix/glob.c (globfree): Likewise.
9276         (__glob_pattern_type): Likewise.
9277         (__glob_pattern_p): Likewise.
9278         * posix/regcomp.c (re_compile_pattern): Likewise.
9279         (re_set_syntax): Likewise.
9280         (re_compile_fastmap): Likewise.
9281         (regcomp): Likewise.
9282         (regerror): Likewise.
9283         (regfree): Likewise.
9284         * posix/regexec.c (regexec): Likewise.
9285         (re_match): Likewise.
9286         (re_search): Likewise.
9287         (re_match_2): Likewise.
9288         (re_search_2): Likewise.
9289         (re_search_stub): Likewise.  Use internal_function
9290         (re_copy_regs): Likewise.
9291         (re_set_registers): Convert to prototype-style function
9292         definition.
9293         (prune_impossible_nodes): Likewise.  Use internal_function.
9294         * resolv/inet_net_pton.c (inet_net_pton): Convert to
9295         prototype-style function definition.
9296         (inet_net_pton_ipv4): Likewise.
9297         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9298         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9299         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9300         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9301         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9302         Make variadic.
9303         * time/strptime_l.c (localtime_r): Convert to prototype-style
9304         function definition.
9305         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9306         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9307         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9308         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9310         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9311         definition.
9312         (_ufc_doit_r): Likewise.
9313         * crypt/crypt_util.c (_ufc_copymem): Likewise.
9314         (_ufc_output_conversion_r): Likewise.
9315         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9316         * inet/rcmd.c (rcmd_af): Likewise.
9317         (rcmd): Likewise.
9318         (ruserok_af): Likewise.
9319         (ruserok): Likewise.
9320         (ruserok2_sa): Likewise.
9321         (ruserok_sa): Likewise.
9322         (iruserok_af): Likewise.
9323         (iruserok): Likewise.
9324         (__ivaliduser): Likewise.
9325         (__validuser2_sa): Likewise.
9326         * inet/rexec.c (rexec_af): Likewise.
9327         (rexec): Likewise.
9328         * inet/ruserpass.c (ruserpass): Likewise.
9329         * locale/programs/xmalloc.c (xcalloc): Likewise.
9330         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9331         * math/w_drem.c (__drem): Likewise.
9332         * math/w_dremf.c (__dremf): Likewise.
9333         * math/w_dreml.c (__dreml): Likewise.
9334         * misc/daemon.c (daemon): Likewise.
9335         * resolv/res_debug.c (p_fqnname): Likewise.
9336         * stdlib/div.c (div): Likewise.
9337         * string/memcmp.c (memcmp_bytes): Likewise.
9338         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9339         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9341         * crypt/cert.c (main): Convert to prototype-style function
9342         definition.
9343         * io/pipe.c (__pipe): Likewise.
9344         * io/pipe2.c (__pipe2): Likewise.
9345         * misc/futimesat.c (futimesat): Likewise.
9346         * misc/utimes.c (__utimes): Likewise.
9347         * posix/execve.c (__execve): Likewise.
9348         * posix/execvp.c (execvp): Likewise.
9349         * posix/execvpe.c (__execvpe): Likewise.
9350         * posix/fexecve.c (fexecve): Likewise.
9351         * socket/socketpair.c (socketpair): Likewise.
9352         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9353         * stdlib/erand48.c (erand48): Likewise.
9354         * stdlib/erand48_r.c (__erand48_r): Likewise.
9355         * stdlib/jrand48.c (jrand48): Likewise.
9356         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9357         * stdlib/lcong48.c (lcong48): Likewise.
9358         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9359         * stdlib/nrand48.c (nrand48): Likewise.
9360         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9361         * stdlib/seed48.c (seed48): Likewise.
9362         * stdlib/seed48_r.c (__seed48_r): Likewise.
9363         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9364         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9365         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9367 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9369         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9370         * configure: Regenerated.
9371         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9372         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9373         unconditional.
9374         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9375         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9376         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9377         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9378         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9379         unconditional.
9380         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9382         * posix/Makefile (CFLAGS-regex.c): Remove variable.
9383         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9385         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9386         function definition.
9387         * crypt/crypt_util.c (__encrypt_r): Likewise.
9388         * libio/genops.c (_IO_no_init): Likewise.
9389         * libio/iofopncook.c (_IO_fopencookie): Likewise.
9390         (_IO_old_fopencookie): Likewise.
9391         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9392         * libio/iogetline.c (_IO_getline): Likewise.
9393         (_IO_getline_info): Likewise.
9394         * libio/iogetwline.c (_IO_getwline): Likewise.
9395         (_IO_getwline_info): Likewise.
9396         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9397         * libio/vswprintf.c (_IO_vswprintf): Likewise.
9398         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9399         (find_entry): Likewise.
9400         (iterate_table): Likewise.
9401         (lookup): Likewise.
9402         * login/forkpty.c (forkpty): Likewise.
9403         * misc/hsearch_r.c (__hsearch_r): Likewise.
9404         * misc/select.c (__select): Likewise.
9405         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9406         Likewise.
9407         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9408         Likewise.
9409         * nptl/old_pthread_cond_timedwait.c
9410         (__pthread_cond_timedwait_2_0): Likewise.
9411         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9412         * nptl/pthread_barrierattr_getpshared.c
9413         (pthread_barrierattr_getpshared): Likewise.
9414         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9415         Likewise.
9416         * nptl/pthread_mutex_setprioceiling.c
9417         (pthread_mutex_setprioceiling): Likewise.
9418         * nptl/pthread_mutexattr_getprioceiling.c
9419         (pthread_mutexattr_getprioceiling): Likewise.
9420         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9421         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9422         Likewise.
9423         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9424         Likewise.
9425         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9426         Likewise.
9427         * socket/recvfrom.c (__recvfrom): Likewise.
9428         * socket/sendto.c (__sendto): Likewise.
9429         * socket/setsockopt.c (__setsockopt): Likewise.
9430         * stdio-common/_itoa.c (_itoa): Likewise.
9431         * stdio-common/_itowa.c (_itowa): Likewise.
9432         * stdio-common/reg-printf.c (__register_printf_specifier):
9433         Likewise.
9434         (__register_printf_function): Likewise.
9435         * stdio-common/tempname.c (__path_search): Likewise.
9436         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9437         * stdlib/mul_1.c (mpn_mul_1): Likewise.
9438         * stdlib/random_r.c (__initstate_r): Likewise.
9439         * stdlib/setenv.c (__add_to_environ): Likewise.
9440         * stdlib/submul_1.c (mpn_submul_1): Likewise.
9441         * streams/getpmsg.c (getpmsg): Likewise.
9442         * streams/putmsg.c (putmsg): Likewise.
9443         * streams/putpmsg.c (putpmsg): Likewise.
9444         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9445         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9446         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9447         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9448         * sunrpc/pm_getport.c (pmap_getport): Likewise.
9449         * sunrpc/svc_udp.c (cache_get): Likewise.
9450         * sunrpc/xdr_array.c (xdr_vector): Likewise.
9451         * sysdeps/mach/hurd/getcwd.c
9452         (__canonicalize_directory_name_internal): Likewise.
9453         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9454         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9455         * sysdeps/mach/hurd/select.c (__select): Likewise.
9456         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9457         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9458         * sysdeps/sparc/nptl/pthread_barrier_init.c
9459         (__pthread_barrier_init): Likewise.
9460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9461         (__pthread_cond_timedwait): Likewise.
9462         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9463         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9464         Likewise.
9465         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9466         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9467         Likewise.
9468         * sysvipc/semtimedop.c (semtimedop): Likewise.
9469         * time/setitimer.c (__setitimer): Likewise.
9470         * time/strftime_l.c (emacs_strftime): Likewise.
9472 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9474         * config.make.in (have-ssp): Delete.
9475         (stack-protector): New variable.
9476         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
9477         cache test for -fstack-protector-strong.  Export stack_protector to
9478         the best ssp flag.
9479         * configure: Regenerated.
9480         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9481         * nscd/Makefile (CFLAGS-nscd): Likewise.
9482         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9484 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
9486         [BZ #19122]
9487         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9488         attribute_hidden.
9490 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9492         [BZ #18743]
9493         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9494         code to...
9495         (ELIDE_LOCK): ...here.
9496         (__get_new_count): New function with part of the code from
9497         __elide_lock that updates the value of adapt_count after a
9498         transaction abort.
9499         (__elided_trylock): Moved this code to...
9500         (ELIDE_TRYLOCK): ...here.
9502 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
9504         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9505         * configure: Regenerate.
9506         * INSTALL: Regenerate.
9507         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9508         and tweak grammar.
9510 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
9512         * login/programs/pt_chown.c: Include signal.h
9513         (main): Clear any signal mask from the parent process.
9515 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
9517         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9518         * configure: Regenerated.
9519         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9520         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9521         $(gnu89-inline-CFLAGS).
9523         * configure.ac (libc_cv_asm_weak_directive): Remove configure
9524         test.
9525         (libc_cv_asm_weakext_directive): Likewise.
9526         * configure: Regenerated.
9527         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9528         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9529         * include/libc-symbols.h
9530         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9531         #error.
9532         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9533         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9535         * sysdeps/arm/backtrace.c (__backtrace): Convert to
9536         prototype-style function definition.
9537         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9538         * sysdeps/i386/ffs.c (__ffs): Likewise.
9539         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9540         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9541         Likewise.
9542         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9543         Likewise.
9544         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9545         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9546         Likewise.
9547         * sysdeps/m68k/ffs.c (__ffs): Likewise.
9548         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9549         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9550         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9551         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9552         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9553         * sysdeps/mach/hurd/access.c (__access): Likewise.
9554         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9555         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9556         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9557         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9558         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9559         (cthread_getspecific): Likewise.
9560         (cthread_setspecific): Likewise.
9561         (__libc_getspecific): Likewise.
9562         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9563         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9564         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9565         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9566         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9567         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9568         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9569         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9570         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9571         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9572         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9573         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9574         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9575         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9576         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9577         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9578         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9579         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9580         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9581         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9582         * sysdeps/mach/hurd/link.c (__link): Likewise.
9583         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9584         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9585         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9586         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9587         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9588         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9589         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9590         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9591         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9592         * sysdeps/mach/hurd/rename.c (rename): Likewise.
9593         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9594         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9595         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9596         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9597         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9598         * sysdeps/mach/hurd/send.c (__send): Likewise.
9599         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9600         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9601         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9602         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9603         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9604         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9605         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9606         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9607         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9608         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9609         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9610         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9611         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9612         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9613         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9614         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9615         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9616         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9617         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9618         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9619         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9620         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9621         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9622         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9623         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9624         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9625         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9626         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9627         * sysdeps/posix/alarm.c (alarm): Likewise.
9628         * sysdeps/posix/cuserid.c (cuserid): Likewise.
9629         * sysdeps/posix/dirfd.c (dirfd): Likewise.
9630         * sysdeps/posix/dup.c (__dup): Likewise.
9631         * sysdeps/posix/dup2.c (__dup2): Likewise.
9632         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9633         (main): Likewise.
9634         * sysdeps/posix/flock.c (__flock): Likewise.
9635         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9636         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9637         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9638         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9639         * sysdeps/posix/isatty.c (__isatty): Likewise.
9640         * sysdeps/posix/killpg.c (killpg): Likewise.
9641         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9642         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9643         * sysdeps/posix/raise.c (raise): Likewise.
9644         * sysdeps/posix/remove.c (remove): Likewise.
9645         * sysdeps/posix/rename.c (rename): Likewise.
9646         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9647         * sysdeps/posix/seekdir.c (seekdir): Likewise.
9648         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9649         * sysdeps/posix/sigignore.c (sigignore): Likewise.
9650         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9651         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9652         * sysdeps/posix/sigset.c (sigset): Likewise.
9653         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9654         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9655         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9656         * sysdeps/posix/time.c (time): Likewise.
9657         * sysdeps/posix/ttyname.c (getttyname): Likewise.
9658         (ttyname): Likewise.
9659         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9660         * sysdeps/posix/utime.c (utime): Likewise.
9661         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9662         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9663         Likewise.
9664         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9665         (pthread_spin_trylock): Likewise.
9666         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9667         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9668         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9669         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9670         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9671         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9672         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9673         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9674         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9675         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9676         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9677         * sysdeps/s390/ffs.c (__ffs): Likewise.
9678         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9679         Likewise.
9680         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9681         Likewise.
9682         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9683         Likewise.
9684         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9685         (pthread_barrier_destroy): Likewise.
9686         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9687         (__pthread_barrier_wait): Likewise.
9688         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9689         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9690         (__pthread_barrier_wait): Likewise.
9691         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9692         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9693         (memcmp_not_common_alignment): Likewise.
9694         (MEMCMP): Likewise.
9695         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9696         (_wordcopy_fwd_dest_aligned): Likewise.
9697         (_wordcopy_bwd_aligned): Likewise.
9698         (_wordcopy_bwd_dest_aligned): Likewise.
9699         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9700         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9701         * sysdeps/unix/bsd/stty.c (stty): Likewise.
9702         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9703         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9704         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9705         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9706         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9707         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9708         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9709         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9710         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9711         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9712         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9713         * sysdeps/unix/stime.c (stime): Likewise.
9714         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9715         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9716         Likewise.  Use internal_function.
9717         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9718         Convert to prototype-style function definition.
9719         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9720         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9721         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9722         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9723         Likewise.  Use internal_function.
9724         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9725         prototype-style function definition
9726         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9727         Likewise.
9728         (__getlogin_r): Likewise.
9729         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9730         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9731         (__pthread_cond_broadcast): Likewise.
9732         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9733         (__pthread_cond_destroy): Likewise.
9734         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9735         (__pthread_cond_init): Likewise.
9736         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9737         (__pthread_cond_signal): Likewise.
9738         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9739         (__pthread_cond_wait): Likewise.
9740         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9741         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9742         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9752         (__ftruncate64): Likewise.
9753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9754         (truncate64): Likewise.
9755         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9756         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9757         (pthread_getcpuclockid): Likewise.
9758         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9761         Likewise.
9762         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9763         Likewise.
9764         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9765         Likewise.
9766         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9767         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9768         (__libc_sigaction): Likewise.
9769         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9770         Likewise.
9771         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9772         (__sigprocmask): Likewise.
9773         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9774         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9775         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9776         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9777         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9778         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9779         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9780         Likewise.
9781         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9782         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9783         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9784         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9785         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9786         Likewise.
9787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9788         (__sigprocmask): Likewise.
9789         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9790         (cfgetispeed): Likewise.
9791         (cfsetospeed): Likewise.
9792         (cfsetispeed): Likewise.
9793         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9794         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9795         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9796         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9797         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9798         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9799         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9800         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9801         Likewise.
9802         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9805         Likewise.
9806         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9807         Likewise.
9808         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9810 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9812         sunrpc: Rewrite with explicit TLS access using __thread.
9813         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9814         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9815         directly.
9816         (__rpc_thread_variables): Access thread_rpc_vars directly.
9817         Eliminate redundant assignment of the tvp variable.
9819 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9821         malloc: Rewrite with explicit TLS access using __thread.
9822         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9823         (tsd_setspecific, tsd_getspecific): Remove.
9824         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9825         (tsd_setspecific, tsd_getspecific): Likewise.
9826         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9827         (tsd_setspecific, tsd_getspecific): Likewise.
9828         * malloc/arena.c (thread_arena): New TLS variable.
9829         (arena_key): Remove variable.
9830         (arena_get): Use thread_arena.
9831         (arena_lookup): Remove macro.
9832         (malloc_atfork, free_atfork, ptmalloc_lock_all)
9833         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9834         (_int_new_arena, get_free_list, reused_arena)
9835         (arena_thread_freeres): Use thread_arena.
9836         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9837         tsd_getspecific, tsd_setspecific from safety annotations.
9838         (Allocating Cleared Space): Remove arena_lookup from safety
9839         annotations.
9841 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9843         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
9844         struct scratch_buffer instead of extend_alloca.
9846 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9848         * sysdeps/unix/sysv/linux/kernel-features.h
9849         (__ASSUME_SOCK_CLOEXEC): Remove.
9850         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
9851         (__have_paccept): Remove unused macro.
9852         * include/unistd.h (__have_sock_cloexec): Remove declaration.
9853         * misc/syslog.c (openlog_internal): Remove fallback code for
9854         !__ASSUME_SOCK_CLOEXEC.
9855         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
9856         missing SOCK_CLOEXEC.
9857         * nscd/connections.c (have_sock_cloexec): Remove definition.
9858         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9859         * nscd/nscd_helper.c (open_socket): Remove fallback code for
9860         !__ASSUME_SOCK_CLOEXEC.
9861         * resolv/res_send.c (__have_o_nonblock): Remove definition.
9862         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
9863         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
9864         definition.
9865         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
9866         code for !__ASSUME_SOCK_CLOEXEC.
9868 2015-10-17  Florian Weimer  <fweimer@redhat.com>
9870         [BZ #18982]
9871         * manual/stdio.texi (Variable Arguments Output): Add portability
9872         note, explaining that vfprintf clobbers the va_list pointer.
9874 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9876         * math/libm-test.inc (fabs_test_data): Add more tests.
9877         (fdim_test_data): Likewise.
9878         (fma_test_data): Likewise.
9879         (fmax_test_data): Likewise.
9880         (fmin_test_data): Likewise.
9881         (fmod_test_data): Likewise.
9883 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
9885         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
9886         data.
9888 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
9890         * math/libm-test.inc (ceil_test_data): Add more tests and more
9891         expectations for "inexact".
9892         (floor_test_data): Add more tests.
9893         (round_test_data): Likewise.
9894         (trunc_test_data): Likewise.
9896         * crypt/cert.c (good_bye): Convert to prototype-style function
9897         definition.
9898         (get8): Likewise.
9899         (put8): Likewise.
9900         * crypt/crypt-entry.c (crypt): Likewise.
9901         (__fcrypt): Likewise.
9902         * crypt/crypt_util.c (_ufc_prbits): Likewise.
9903         (_ufc_set_bits): Likewise.
9904         (_ufc_clearmem): Likewise.
9905         (__init_des_r): Likewise.
9906         (shuffle_sb): Likewise.
9907         (shuffle_sb): Likewise.
9908         (_ufc_setup_salt_r): Likewise.
9909         (_ufc_mk_keytab_r): Likewise.
9910         (_ufc_dofinalperm_r): Likewise.
9911         (encrypt): Likewise.
9912         (__setkey_r): Likewise.
9913         (setkey): Likewise.
9914         * crypt/md5.c (md5_init_ctx): Likewise.
9915         (md5_read_ctx): Likewise.
9916         (md5_finish_ctx): Likewise.
9917         (md5_stream): Likewise.
9918         (md5_buffer): Likewise.
9919         (md5_process_bytes): Likewise.
9920         * crypt/sha256.c (__sha256_init_ctx): Likewise.
9921         (__sha256_finish_ctx): Likewise.
9922         (__sha256_process_bytes): Likewise.
9923         * crypt/sha512.c (__sha512_init_ctx): Likewise.
9924         (__sha512_finish_ctx): Likewise.
9925         (__sha512_process_bytes): Likewise.
9926         * ctype/isctype.c (__isctype): Likewise.
9927         * debug/backtrace.c (__backtrace): Likewise.
9928         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
9929         * debug/fgets_chk.c (__fgets_chk): Likewise.
9930         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
9931         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
9932         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9933         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9934         * debug/memset_chk.c (__memset_chk): Likewise.
9935         * debug/strcat_chk.c (__strcat_chk): Likewise.
9936         * debug/strncat_chk.c (__strncat_chk): Likewise.
9937         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
9938         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
9939         * dirent/dirfd.c (dirfd): Likewise.
9940         * dirent/getdents.c (__getdirentries): Likewise.
9941         * dirent/getdents64.c (getdirentries64): Likewise.
9942         * dirent/rewinddir.c (__rewinddir): Likewise.
9943         * dirent/seekdir.c (seekdir): Likewise.
9944         * dirent/telldir.c (telldir): Likewise.
9945         * elf/sln.c (makesymlinks): Likewise.
9946         (makesymlink): Likewise.
9947         * gmon/gmon.c (__moncontrol): Likewise.
9948         (__monstartup): Likewise.
9949         (write_hist): Likewise.
9950         (write_call_graph): Likewise.
9951         (write_bb_counts): Likewise.
9952         * grp/setgroups.c (setgroups): Likewise.
9953         * inet/inet_lnaof.c (inet_lnaof): Likewise.
9954         * inet/inet_net.c (inet_network): Likewise.
9955         * inet/inet_netof.c (inet_netof): Likewise.
9956         * inet/rcmd.c (rresvport_af): Likewise.
9957         (rresvport): Likewise.
9958         * io/access.c (__access): Likewise.
9959         * io/chdir.c (__chdir): Likewise.
9960         * io/chmod.c (__chmod): Likewise.
9961         * io/chown.c (__chown): Likewise.
9962         * io/close.c (__close): Likewise.
9963         * io/creat.c (creat): Likewise.
9964         * io/creat64.c (creat64): Likewise.
9965         * io/dup.c (__dup): Likewise.
9966         * io/dup2.c (__dup2): Likewise.
9967         * io/dup3.c (__dup3): Likewise.
9968         * io/euidaccess.c (__euidaccess): Likewise.
9969         * io/faccessat.c (faccessat): Likewise.
9970         * io/fchmod.c (__fchmod): Likewise.
9971         * io/fchmodat.c (fchmodat): Likewise.
9972         * io/fchown.c (__fchown): Likewise.
9973         * io/fchownat.c (fchownat): Likewise.
9974         * io/fcntl.c (__fcntl): Likewise.
9975         * io/flock.c (__flock): Likewise.
9976         * io/fts.c (fts_load): Likewise.
9977         (fts_close): Likewise.
9978         (fts_read): Likewise.
9979         (fts_set): Likewise.
9980         (fts_children): Likewise.
9981         (fts_build): Likewise.
9982         (fts_stat): Likewise.
9983         (fts_sort): Likewise.
9984         (fts_alloc): Likewise.
9985         (fts_lfree): Likewise.
9986         (fts_palloc): Likewise.
9987         (fts_padjust): Likewise.
9988         (fts_maxarglen): Likewise.
9989         (fts_safe_changedir): Likewise.
9990         * io/getwd.c (getwd): Likewise.
9991         * io/isatty.c (__isatty): Likewise.
9992         * io/lchown.c (__lchown): Likewise.
9993         * io/link.c (__link): Likewise.
9994         * io/linkat.c (linkat): Likewise.
9995         * io/lseek.c (__libc_lseek): Likewise.
9996         * io/mkdir.c (__mkdir): Likewise.
9997         * io/mkdirat.c (mkdirat): Likewise.
9998         * io/mkfifo.c (mkfifo): Likewise.
9999         * io/mkfifoat.c (mkfifoat): Likewise.
10000         * io/open.c (__libc_open): Likewise.
10001         * io/open64.c (__libc_open64): Likewise.
10002         * io/readlink.c (__readlink): Likewise.
10003         * io/readlinkat.c (readlinkat): Likewise.
10004         * io/rmdir.c (__rmdir): Likewise.
10005         * io/symlink.c (__symlink): Likewise.
10006         * io/symlinkat.c (symlinkat): Likewise.
10007         * io/ttyname.c (ttyname): Likewise.
10008         * io/ttyname_r.c (__ttyname_r): Likewise.
10009         * io/umask.c (__umask): Likewise.
10010         * io/unlink.c (__unlink): Likewise.
10011         * io/unlinkat.c (unlinkat): Likewise.
10012         * io/utime.c (utime): Likewise.
10013         * libio/clearerr.c (clearerr): Likewise.
10014         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10015         * libio/feof.c (_IO_feof): Likewise.
10016         * libio/feof_u.c (feof_unlocked): Likewise.
10017         * libio/ferror.c (_IO_ferror): Likewise.
10018         * libio/ferror_u.c (ferror_unlocked): Likewise.
10019         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10020         * libio/fileno.c (__fileno): Likewise.
10021         * libio/fputc.c (fputc): Likewise.
10022         * libio/fputc_u.c (fputc_unlocked): Likewise.
10023         * libio/fputwc.c (fputwc): Likewise.
10024         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10025         * libio/freopen.c (freopen): Likewise.
10026         * libio/freopen64.c (freopen64): Likewise.
10027         * libio/fseek.c (fseek): Likewise.
10028         * libio/fseeko.c (fseeko): Likewise.
10029         * libio/fseeko64.c (fseeko64): Likewise.
10030         * libio/ftello.c (__ftello): Likewise.
10031         * libio/ftello64.c (ftello64): Likewise.
10032         * libio/fwide.c (fwide): Likewise.
10033         * libio/genops.c (_IO_un_link): Likewise.
10034         (_IO_link_in): Likewise.
10035         (_IO_least_marker): Likewise.
10036         (_IO_switch_to_main_get_area): Likewise.
10037         (_IO_switch_to_backup_area): Likewise.
10038         (_IO_switch_to_get_mode): Likewise.
10039         (_IO_free_backup_area): Likewise.
10040         (_IO_switch_to_put_mode): Likewise.
10041         (__overflow): Likewise.
10042         (__underflow): Likewise.
10043         (__uflow): Likewise.
10044         (_IO_setb): Likewise.
10045         (_IO_doallocbuf): Likewise.
10046         (_IO_default_underflow): Likewise.
10047         (_IO_default_uflow): Likewise.
10048         (_IO_default_xsputn): Likewise.
10049         (_IO_sgetn): Likewise.
10050         (_IO_default_xsgetn): Likewise.
10051         (_IO_sync): Likewise.
10052         (_IO_default_setbuf): Likewise.
10053         (_IO_default_seekpos): Likewise.
10054         (_IO_default_doallocate): Likewise.
10055         (_IO_init): Likewise.
10056         (_IO_old_init): Likewise.
10057         (_IO_default_sync): Likewise.
10058         (_IO_default_finish): Likewise.
10059         (_IO_default_seekoff): Likewise.
10060         (_IO_sputbackc): Likewise.
10061         (_IO_sungetc): Likewise.
10062         (_IO_set_column): Likewise.
10063         (_IO_set_column): Likewise.
10064         (_IO_adjust_column): Likewise.
10065         (_IO_get_column): Likewise.
10066         (_IO_init_marker): Likewise.
10067         (_IO_remove_marker): Likewise.
10068         (_IO_marker_difference): Likewise.
10069         (_IO_marker_delta): Likewise.
10070         (_IO_seekmark): Likewise.
10071         (_IO_unsave_markers): Likewise.
10072         (_IO_nobackup_pbackfail): Likewise.
10073         (_IO_default_pbackfail): Likewise.
10074         (_IO_default_seek): Likewise.
10075         (_IO_default_stat): Likewise.
10076         (_IO_default_read): Likewise.
10077         (_IO_default_write): Likewise.
10078         (_IO_default_showmanyc): Likewise.
10079         (_IO_default_imbue): Likewise.
10080         (_IO_iter_next): Likewise.
10081         (_IO_iter_file): Likewise.
10082         * libio/getc.c (_IO_getc): Likewise.
10083         * libio/getwc.c (_IO_getwc): Likewise.
10084         * libio/iofclose.c (_IO_new_fclose): Likewise.
10085         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10086         * libio/iofflush.c (_IO_fflush): Likewise.
10087         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10088         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10089         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10090         * libio/iofgets.c (_IO_fgets): Likewise.
10091         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10092         * libio/iofgetws.c (fgetws): Likewise.
10093         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10094         * libio/iofopen64.c (_IO_fopen64): Likewise.
10095         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10096         (_IO_cookie_write): Likewise.
10097         (_IO_cookie_seek): Likewise.
10098         (_IO_cookie_close): Likewise.
10099         (_IO_cookie_seekoff): Likewise.
10100         (_IO_old_cookie_seek): Likewise.
10101         * libio/iofputs.c (_IO_fputs): Likewise.
10102         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10103         * libio/iofputws.c (fputws): Likewise.
10104         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10105         * libio/iofread.c (_IO_fread): Likewise.
10106         * libio/iofread_u.c (__fread_unlocked): Likewise.
10107         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10108         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10109         * libio/ioftell.c (_IO_ftell): Likewise.
10110         * libio/iofwrite.c (_IO_fwrite): Likewise.
10111         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10112         * libio/iogets.c (_IO_gets): Likewise.
10113         * libio/iopadn.c (_IO_padn): Likewise.
10114         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10115         (_IO_new_popen): Likewise.
10116         (_IO_new_proc_close): Likewise.
10117         * libio/ioputs.c (_IO_puts): Likewise.
10118         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10119         (_IO_seekoff): Likewise.
10120         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10121         (_IO_seekpos): Likewise.
10122         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10123         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10124         * libio/ioungetc.c (_IO_ungetc): Likewise.
10125         * libio/ioungetwc.c (ungetwc): Likewise.
10126         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10127         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10128         * libio/iowpadn.c (_IO_wpadn): Likewise.
10129         * libio/libc_fatal.c (__libc_fatal): Likewise.
10130         * libio/memstream.c (__open_memstream): Likewise.
10131         (_IO_mem_sync): Likewise.
10132         (_IO_mem_finish): Likewise.
10133         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10134         (_IO_old_file_close_it): Likewise.
10135         (_IO_old_file_finish): Likewise.
10136         (_IO_old_file_fopen): Likewise.
10137         (_IO_old_file_attach): Likewise.
10138         (_IO_old_file_setbuf): Likewise.
10139         (_IO_old_do_write): Likewise.
10140         (old_do_write): Likewise.
10141         (_IO_old_file_underflow): Likewise.
10142         (_IO_old_file_overflow): Likewise.
10143         (_IO_old_file_sync): Likewise.
10144         (_IO_old_file_seekoff): Likewise.
10145         (_IO_old_file_write): Likewise.
10146         (_IO_old_file_xsputn): Likewise.
10147         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10148         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10149         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10150         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10151         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10152         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10153         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10154         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10155         (_IO_old_popen): Likewise.
10156         (_IO_old_proc_close): Likewise.
10157         * libio/oldpclose.c (__old_pclose): Likewise.
10158         * libio/pclose.c (__new_pclose): Likewise.
10159         * libio/peekc.c (_IO_peekc_locked): Likewise.
10160         * libio/putc.c (_IO_putc): Likewise.
10161         * libio/putc_u.c (putc_unlocked): Likewise.
10162         * libio/putchar.c (putchar): Likewise.
10163         * libio/putchar_u.c (putchar_unlocked): Likewise.
10164         * libio/putwc.c (putwc): Likewise.
10165         * libio/putwc_u.c (putwc_unlocked): Likewise.
10166         * libio/putwchar.c (putwchar): Likewise.
10167         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10168         * libio/rewind.c (rewind): Likewise.
10169         * libio/setbuf.c (setbuf): Likewise.
10170         * libio/setlinebuf.c (setlinebuf): Likewise.
10171         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10172         * libio/vscanf.c (_IO_vscanf): Likewise.
10173         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10174         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10175         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10176         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10177         (_IO_switch_to_main_wget_area): Likewise.
10178         (_IO_switch_to_wbackup_area): Likewise.
10179         (_IO_wsetb): Likewise.
10180         (_IO_wdefault_pbackfail): Likewise.
10181         (_IO_wdefault_finish): Likewise.
10182         (_IO_wdefault_uflow): Likewise.
10183         (__woverflow): Likewise.
10184         (__wuflow): Likewise.
10185         (__wunderflow): Likewise.
10186         (_IO_wdefault_xsputn): Likewise.
10187         (_IO_wdefault_xsgetn): Likewise.
10188         (_IO_wdoallocbuf): Likewise.
10189         (_IO_wdefault_doallocate): Likewise.
10190         (_IO_switch_to_wget_mode): Likewise.
10191         (_IO_free_wbackup_area): Likewise.
10192         (_IO_switch_to_wput_mode): Likewise.
10193         (_IO_sputbackwc): Likewise.
10194         (_IO_sungetwc): Likewise.
10195         (_IO_adjust_wcolumn): Likewise.
10196         (_IO_init_wmarker): Likewise.
10197         (_IO_wmarker_delta): Likewise.
10198         (_IO_seekwmark): Likewise.
10199         (_IO_unsave_wmarkers): Likewise.
10200         * libio/wmemstream.c (open_wmemstream): Likewise.
10201         (_IO_wmem_sync): Likewise.
10202         (_IO_wmem_finish): Likewise.
10203         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10204         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10205         * locale/programs/simple-hash.c (init_hash): Likewise.
10206         (delete_hash): Likewise.
10207         (insert_entry): Likewise.
10208         (set_entry): Likewise.
10209         (next_prime): Likewise.
10210         (is_prime): Likewise.
10211         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10212         (xmalloc): Likewise.
10213         (xrealloc): Likewise.
10214         * locale/programs/xstrdup.c (xstrdup): Likewise.
10215         * localedata/collate-test.c (xstrcoll): Likewise.
10216         * localedata/xfrm-test.c (xstrcmp): Likewise.
10217         * login/getlogin_r.c (__getlogin_r): Likewise.
10218         * login/getpt.c (__posix_openpt): Likewise.
10219         * login/login_tty.c (login_tty): Likewise.
10220         * login/setlogin.c (setlogin): Likewise.
10221         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10222         (mach_msg_destroy_port): Likewise.
10223         (mach_msg_destroy_memory): Likewise.
10224         * malloc/mcheck.c (flood): Likewise.
10225         * misc/acct.c (acct): Likewise.
10226         * misc/brk.c (__brk): Likewise.
10227         * misc/chflags.c (chflags): Likewise.
10228         * misc/chroot.c (chroot): Likewise.
10229         * misc/fchflags.c (fchflags): Likewise.
10230         * misc/fstab.c (getfsspec): Likewise.
10231         (getfsfile): Likewise.
10232         * misc/fsync.c (fsync): Likewise.
10233         * misc/ftruncate.c (__ftruncate): Likewise.
10234         * misc/ftruncate64.c (__ftruncate64): Likewise.
10235         * misc/getdomain.c (getdomainname): Likewise.
10236         (getdomainname): Likewise.
10237         * misc/gethostname.c (__gethostname): Likewise.
10238         * misc/getpass.c (getpass): Likewise.
10239         * misc/getttyent.c (skip): Likewise.
10240         (value): Likewise.
10241         * misc/gtty.c (gtty): Likewise.
10242         * misc/hsearch.c (hsearch): Likewise.
10243         (hcreate): Likewise.
10244         * misc/hsearch_r.c (__hcreate_r): Likewise.
10245         (__hdestroy_r): Likewise.
10246         * misc/ioctl.c (__ioctl): Likewise.
10247         * misc/mkdtemp.c (mkdtemp): Likewise.
10248         * misc/mkostemp.c (mkostemp): Likewise.
10249         * misc/mkostemp64.c (mkostemp64): Likewise.
10250         * misc/mkostemps.c (mkostemps): Likewise.
10251         * misc/mkostemps64.c (mkostemps64): Likewise.
10252         * misc/mkstemp.c (mkstemp): Likewise.
10253         * misc/mkstemp64.c (mkstemp64): Likewise.
10254         * misc/mkstemps.c (mkstemps): Likewise.
10255         * misc/mkstemps64.c (mkstemps64): Likewise.
10256         * misc/mktemp.c (__mktemp): Likewise.
10257         * misc/preadv.c (preadv): Likewise.
10258         * misc/preadv64.c (preadv64): Likewise.
10259         * misc/pwritev.c (pwritev): Likewise.
10260         * misc/pwritev64.c (pwritev64): Likewise.
10261         * misc/readv.c (__readv): Likewise.
10262         * misc/revoke.c (revoke): Likewise.
10263         * misc/setdomain.c (setdomainname): Likewise.
10264         * misc/setegid.c (setegid): Likewise.
10265         * misc/seteuid.c (seteuid): Likewise.
10266         * misc/sethostid.c (sethostid): Likewise.
10267         * misc/sethostname.c (sethostname): Likewise.
10268         * misc/setregid.c (__setregid): Likewise.
10269         * misc/setreuid.c (__setreuid): Likewise.
10270         * misc/sstk.c (sstk): Likewise.
10271         * misc/stty.c (stty): Likewise.
10272         * misc/syscall.c (syscall): Likewise.
10273         * misc/syslog.c (setlogmask): Likewise.
10274         * misc/truncate.c (__truncate): Likewise.
10275         * misc/truncate64.c (truncate64): Likewise.
10276         * misc/ualarm.c (ualarm): Likewise.
10277         * misc/usleep.c (usleep): Likewise.
10278         * misc/ustat.c (ustat): Likewise.
10279         * misc/writev.c (__writev): Likewise.
10280         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10281         * nptl/old_pthread_cond_broadcast.c
10282         (__pthread_cond_broadcast_2_0): Likewise.
10283         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10284         Likewise.
10285         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10286         Likewise.
10287         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10288         Likewise.
10289         * nptl/pt-raise.c (raise): Likewise.
10290         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10291         Likewise.
10292         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10293         * nptl/pthread_barrierattr_destroy.c
10294         (pthread_barrierattr_destroy): Likewise.
10295         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10296         Likewise.
10297         * nptl/pthread_barrierattr_setpshared.c
10298         (pthread_barrierattr_setpshared): Likewise.
10299         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10300         Likewise.
10301         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10302         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10303         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10304         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10305         Likewise.
10306         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10307         Likewise.
10308         * nptl/pthread_condattr_getpshared.c
10309         (pthread_condattr_getpshared): Likewise.
10310         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10311         Likewise.
10312         * nptl/pthread_condattr_setpshared.c
10313         (pthread_condattr_setpshared): Likewise.
10314         * nptl/pthread_detach.c (pthread_detach): Likewise.
10315         * nptl/pthread_equal.c (__pthread_equal): Likewise.
10316         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10317         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10318         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10319         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10320         Likewise.
10321         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10322         Likewise.
10323         * nptl/pthread_mutex_getprioceiling.c
10324         (pthread_mutex_getprioceiling): Likewise.
10325         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10326         Likewise.
10327         * nptl/pthread_mutexattr_getprotocol.c
10328         (pthread_mutexattr_getprotocol): Likewise.
10329         * nptl/pthread_mutexattr_getpshared.c
10330         (pthread_mutexattr_getpshared): Likewise.
10331         * nptl/pthread_mutexattr_getrobust.c
10332         (pthread_mutexattr_getrobust): Likewise.
10333         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10334         Likewise.
10335         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10336         Likewise.
10337         * nptl/pthread_mutexattr_setprioceiling.c
10338         (pthread_mutexattr_setprioceiling): Likewise.
10339         * nptl/pthread_mutexattr_setprotocol.c
10340         (pthread_mutexattr_setprotocol): Likewise.
10341         * nptl/pthread_mutexattr_setpshared.c
10342         (pthread_mutexattr_setpshared): Likewise.
10343         * nptl/pthread_mutexattr_setrobust.c
10344         (pthread_mutexattr_setrobust): Likewise.
10345         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10346         Likewise.
10347         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10348         Likewise.
10349         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10350         Likewise.
10351         * nptl/pthread_rwlockattr_getkind_np.c
10352         (pthread_rwlockattr_getkind_np): Likewise.
10353         * nptl/pthread_rwlockattr_getpshared.c
10354         (pthread_rwlockattr_getpshared): Likewise.
10355         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10356         Likewise.
10357         * nptl/pthread_rwlockattr_setkind_np.c
10358         (pthread_rwlockattr_setkind_np): Likewise.
10359         * nptl/pthread_rwlockattr_setpshared.c
10360         (pthread_rwlockattr_setpshared): Likewise.
10361         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10362         Likewise.
10363         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10364         Likewise.
10365         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10366         Likewise.
10367         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10368         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10369         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10370         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10371         * nptl/sem_close.c (sem_close): Likewise.
10372         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10373         * nptl/sem_init.c (__old_sem_init): Likewise.
10374         * nptl/sigaction.c (__sigaction): Likewise.
10375         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10376         * posix/_exit.c (_exit): Likewise.
10377         * posix/alarm.c (alarm): Likewise.
10378         * posix/confstr.c (confstr): Likewise.
10379         * posix/fpathconf.c (__fpathconf): Likewise.
10380         * posix/getgroups.c (__getgroups): Likewise.
10381         * posix/getpgid.c (__getpgid): Likewise.
10382         * posix/group_member.c (__group_member): Likewise.
10383         * posix/pathconf.c (__pathconf): Likewise.
10384         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10385         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10386         * posix/setgid.c (__setgid): Likewise.
10387         * posix/setpgid.c (__setpgid): Likewise.
10388         * posix/setuid.c (__setuid): Likewise.
10389         * posix/sleep.c (__sleep): Likewise.
10390         * posix/sysconf.c (__sysconf): Likewise.
10391         * posix/times.c (__times): Likewise.
10392         * posix/uname.c (__uname): Likewise.
10393         * posix/waitid.c (__waitid): Likewise.
10394         * pwd/getpw.c (__getpw): Likewise.
10395         * resolv/base64.c (b64_pton): Likewise.
10396         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10397         * resolv/gethnamaddr.c (Dprintf): Likewise.
10398         (gethostbyname): Likewise.
10399         (gethostbyname2): Likewise.
10400         (gethostbyaddr): Likewise.
10401         (_sethtent): Likewise.
10402         (_gethtbyname): Likewise.
10403         (_gethtbyname2): Likewise.
10404         (_gethtbyaddr): Likewise.
10405         (map_v4v6_address): Likewise.
10406         (map_v4v6_hostent): Likewise.
10407         (addrsort): Likewise.
10408         (ht_sethostent): Likewise.
10409         (ht_gethostbyname): Likewise.
10410         (ht_gethostbyaddr): Likewise.
10411         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10412         (inet_net_ntop_ipv4): Likewise.
10413         * resolv/inet_neta.c (inet_neta): Likewise.
10414         * resolv/inet_ntop.c (inet_ntop): Likewise.
10415         (inet_ntop4): Likewise.
10416         (inet_ntop6): Likewise.
10417         * resolv/inet_pton.c (__inet_pton): Likewise.
10418         (inet_pton4): Likewise.
10419         (inet_pton6): Likewise.
10420         * resolv/res_debug.c (loc_aton): Likewise.
10421         (loc_ntoa): Likewise.
10422         * resource/getpriority.c (__getpriority): Likewise.
10423         * resource/getrusage.c (__getrusage): Likewise.
10424         * resource/nice.c (nice): Likewise.
10425         * resource/setpriority.c (__setpriority): Likewise.
10426         * resource/setrlimit64.c (setrlimit64): Likewise.
10427         * resource/vlimit.c (vlimit): Likewise.
10428         * resource/vtimes.c (vtimes): Likewise.
10429         * rt/aio_error.c (aio_error): Likewise.
10430         * rt/aio_return.c (aio_return): Likewise.
10431         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10432         * signal/kill.c (__kill): Likewise.
10433         * signal/killpg.c (killpg): Likewise.
10434         * signal/raise.c (raise): Likewise.
10435         * signal/sigaction.c (__sigaction): Likewise.
10436         * signal/sigaddset.c (sigaddset): Likewise.
10437         * signal/sigaltstack.c (sigaltstack): Likewise.
10438         * signal/sigandset.c (sigandset): Likewise.
10439         * signal/sigblock.c (__sigblock): Likewise.
10440         * signal/sigdelset.c (sigdelset): Likewise.
10441         * signal/sigempty.c (sigemptyset): Likewise.
10442         * signal/sigfillset.c (sigfillset): Likewise.
10443         * signal/sighold.c (sighold): Likewise.
10444         * signal/sigignore.c (sigignore): Likewise.
10445         * signal/sigintr.c (siginterrupt): Likewise.
10446         * signal/sigisempty.c (sigisemptyset): Likewise.
10447         * signal/sigismem.c (sigismember): Likewise.
10448         * signal/signal.c (signal): Likewise.
10449         * signal/sigorset.c (sigorset): Likewise.
10450         * signal/sigpause.c (__sigpause): Likewise.
10451         * signal/sigpending.c (sigpending): Likewise.
10452         * signal/sigprocmask.c (__sigprocmask): Likewise.
10453         * signal/sigrelse.c (sigrelse): Likewise.
10454         * signal/sigreturn.c (__sigreturn): Likewise.
10455         * signal/sigset.c (sigset): Likewise.
10456         * signal/sigsetmask.c (__sigsetmask): Likewise.
10457         * signal/sigstack.c (sigstack): Likewise.
10458         * signal/sigsuspend.c (__sigsuspend): Likewise.
10459         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10460         * signal/sysv_signal.c (__sysv_signal): Likewise.
10461         * socket/accept.c (accept): Likewise.
10462         * socket/accept4.c (__libc_accept4): Likewise.
10463         * socket/bind.c (__bind): Likewise.
10464         * socket/connect.c (__connect): Likewise.
10465         * socket/getpeername.c (getpeername): Likewise.
10466         * socket/getsockname.c (__getsockname): Likewise.
10467         * socket/getsockopt.c (getsockopt): Likewise.
10468         * socket/listen.c (__listen): Likewise.
10469         * socket/recv.c (__recv): Likewise.
10470         * socket/recvmsg.c (__recvmsg): Likewise.
10471         * socket/send.c (__send): Likewise.
10472         * socket/sendmsg.c (__sendmsg): Likewise.
10473         * socket/shutdown.c (shutdown): Likewise.
10474         * socket/sockatmark.c (sockatmark): Likewise.
10475         * socket/socket.c (__socket): Likewise.
10476         * stdio-common/ctermid.c (ctermid): Likewise.
10477         * stdio-common/cuserid.c (cuserid): Likewise.
10478         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10479         * stdio-common/remove.c (remove): Likewise.
10480         * stdio-common/rename.c (rename): Likewise.
10481         * stdio-common/renameat.c (renameat): Likewise.
10482         * stdio-common/tempname.c (__gen_tempname): Likewise.
10483         * stdio-common/xbug.c (InitBuffer): Likewise.
10484         (AppendToBuffer): Likewise.
10485         (ReadFile): Likewise.
10486         * stdlib/a64l.c (a64l): Likewise.
10487         * stdlib/drand48_r.c (drand48_r): Likewise.
10488         * stdlib/getcontext.c (getcontext): Likewise.
10489         * stdlib/getenv.c (getenv): Likewise.
10490         * stdlib/l64a.c (l64a): Likewise.
10491         * stdlib/llabs.c (llabs): Likewise.
10492         * stdlib/lldiv.c (lldiv): Likewise.
10493         * stdlib/lrand48_r.c (lrand48_r): Likewise.
10494         * stdlib/mrand48_r.c (mrand48_r): Likewise.
10495         * stdlib/putenv.c (putenv): Likewise.
10496         * stdlib/random.c (__srandom): Likewise.
10497         (__initstate): Likewise.
10498         (__setstate): Likewise.
10499         * stdlib/random_r.c (__srandom_r): Likewise.
10500         (__setstate_r): Likewise.
10501         (__random_r): Likewise.
10502         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10503         * stdlib/setcontext.c (setcontext): Likewise.
10504         * stdlib/setenv.c (setenv): Likewise.
10505         (unsetenv): Likewise.
10506         * stdlib/srand48.c (srand48): Likewise.
10507         * stdlib/srand48_r.c (__srand48_r): Likewise.
10508         * stdlib/swapcontext.c (swapcontext): Likewise.
10509         * stdlib/system.c (__libc_system): Likewise.
10510         * stdlib/tst-strtod.c (expand): Likewise.
10511         * stdlib/tst-strtol.c (expand): Likewise.
10512         * stdlib/tst-strtoll.c (expand): Likewise.
10513         * streams/fattach.c (fattach): Likewise.
10514         * streams/fdetach.c (fdetach): Likewise.
10515         * streams/getmsg.c (getmsg): Likewise.
10516         * streams/isastream.c (isastream): Likewise.
10517         * string/ffs.c (__ffs): Likewise.
10518         * string/ffsll.c (ffsll): Likewise.
10519         * string/memcmp.c (memcmp_common_alignment): Likewise.
10520         (memcmp_not_common_alignment): Likewise.
10521         (MEMCMP): Likewise.
10522         * string/memcpy.c (memcpy): Likewise.
10523         * string/memmove.c (MEMMOVE): Likewise.
10524         * string/memset.c (memset): Likewise.
10525         * string/rawmemchr.c (RAWMEMCHR): Likewise.
10526         * string/strchrnul.c (STRCHRNUL): Likewise.
10527         * string/strerror.c (strerror): Likewise.
10528         * string/strndup.c (__strndup): Likewise.
10529         * string/strverscmp.c (__strverscmp): Likewise.
10530         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10531         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10532         (clnttcp_freeres): Likewise.
10533         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10534         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10535         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10536         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10537         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10538         (xdr_callhdr): Likewise.
10539         * sunrpc/rpcinfo.c (udpping): Likewise.
10540         (tcpping): Likewise.
10541         (pstatus): Likewise.
10542         (pmapdump): Likewise.
10543         (brdcst): Likewise.
10544         (deletereg): Likewise.
10545         (getprognum): Likewise.
10546         (getvers): Likewise.
10547         (get_inet_address): Likewise.
10548         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10549         * sunrpc/svc_udp.c (svcudp_create): Likewise.
10550         (svcudp_stat): Likewise.
10551         (svcudp_recv): Likewise.
10552         (svcudp_reply): Likewise.
10553         (svcudp_getargs): Likewise.
10554         (svcudp_freeargs): Likewise.
10555         (svcudp_destroy): Likewise.
10556         * sunrpc/xdr.c (xdr_bytes): Likewise.
10557         (xdr_netobj): Likewise.
10558         (xdr_string): Likewise.
10559         (xdr_wrapstring): Likewise.
10560         * sunrpc/xdr_float.c (xdr_float): Likewise.
10561         (xdr_double): Likewise.
10562         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10563         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10564         * sysvipc/ftok.c (ftok): Likewise.
10565         * sysvipc/msgctl.c (msgctl): Likewise.
10566         * sysvipc/msgget.c (msgget): Likewise.
10567         * sysvipc/msgrcv.c (msgrcv): Likewise.
10568         * sysvipc/msgsnd.c (msgsnd): Likewise.
10569         * sysvipc/semget.c (semget): Likewise.
10570         * sysvipc/semop.c (semop): Likewise.
10571         * sysvipc/shmat.c (shmat): Likewise.
10572         * sysvipc/shmctl.c (shmctl): Likewise.
10573         * sysvipc/shmdt.c (shmdt): Likewise.
10574         * sysvipc/shmget.c (shmget): Likewise.
10575         * termios/cfmakeraw.c (cfmakeraw): Likewise.
10576         * termios/speed.c (cfgetospeed): Likewise.
10577         (cfgetispeed): Likewise.
10578         (cfsetospeed): Likewise.
10579         (cfsetispeed): Likewise.
10580         * termios/tcflow.c (tcflow): Likewise.
10581         * termios/tcflush.c (tcflush): Likewise.
10582         * termios/tcgetattr.c (__tcgetattr): Likewise.
10583         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10584         * termios/tcgetsid.c (tcgetsid): Likewise.
10585         * termios/tcsendbrk.c (tcsendbreak): Likewise.
10586         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10587         * time/adjtime.c (__adjtime): Likewise.
10588         * time/dysize.c (dysize): Likewise.
10589         * time/ftime.c (ftime): Likewise.
10590         * time/getitimer.c (__getitimer): Likewise.
10591         * time/gettimeofday.c (__gettimeofday): Likewise.
10592         * time/gmtime.c (__gmtime_r): Likewise.
10593         (gmtime): Likewise.
10594         * time/localtime.c (__localtime_r): Likewise.
10595         (localtime): Likewise.
10596         * time/offtime.c (__offtime): Likewise.
10597         * time/settimeofday.c (__settimeofday): Likewise.
10598         * time/stime.c (stime): Likewise.
10599         * time/strftime_l.c (tm_diff): Likewise.
10600         (iso_week_days): Likewise.
10601         * time/strptime.c (strptime): Likewise.
10602         * time/time.c (time): Likewise.
10603         * time/timespec_get.c (timespec_get): Likewise.
10604         * time/tzset.c (tzset_internal): Likewise.
10605         (compute_change): Likewise.
10606         (__tz_compute): Likewise.
10607         * wcsmbs/btowc.c (__btowc): Likewise.
10608         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10609         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10610         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10611         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10612         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10613         * wcsmbs/wcscat.c (__wcscat): Likewise.
10614         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10615         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10616         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10617         * wcsmbs/wcscspn.c (wcscspn): Likewise.
10618         * wcsmbs/wcsdup.c (wcsdup): Likewise.
10619         * wcsmbs/wcslen.c (__wcslen): Likewise.
10620         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10621         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10622         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10623         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10624         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10625         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10626         * wcsmbs/wcsspn.c (wcsspn): Likewise.
10627         * wcsmbs/wcsstr.c (wcsstr): Likewise.
10628         * wcsmbs/wcstok.c (wcstok): Likewise.
10629         * wcsmbs/wctob.c (wctob): Likewise.
10630         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10631         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10632         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10633         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10634         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10635         * wcsmbs/wmemset.c (__wmemset): Likewise.
10636         * wctype/wcfuncs.c (__towlower): Likewise.
10637         (__towupper): Likewise.
10639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10640         (lll_unlock_elision): Add adapt_count parameter.
10642 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10644         * sysdeps/nptl/configure.ac: Do not give errors based on the
10645         results of top-level configure tests.
10646         * sysdeps/nptl/configure: Regenerated.
10648         * configure.ac (libc_cv_Bgroup): Remove configure test.
10649         * configure: Regenerated.
10650         * config.make.in (have-Bgroup): Remove variable.
10652         * configure.ac (sizeof_long_double): Remove configure test.
10653         * configure: Regenerated.
10654         * config.make.in (sizeof-long-double): Remove variable.
10656         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10657         * configure: Regenerated.
10658         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10659         variable.
10660         (exceptions): Likewise.
10661         * sysdeps/arm/configure: Regenerated.
10662         * config.make.in (exceptions): Remove variable.
10663         * Makeconfig (uses-callbacks): Use -fexceptions instead of
10664         $(exceptions).
10665         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10666         (CFLAGS-vdprintf_chk.c): Likewise.
10667         (CFLAGS-printf_chk.c): Likewise.
10668         (CFLAGS-fprintf_chk.c): Likewise.
10669         (CFLAGS-vprintf_chk.c): Likewise.
10670         (CFLAGS-vfprintf_chk.c): Likewise.
10671         (CFLAGS-gets_chk.c): Likewise.
10672         (CFLAGS-fgets_chk.c): Likewise.
10673         (CFLAGS-fgets_u_chk.c): Likewise.
10674         (CFLAGS-fread_chk.c): Likewise.
10675         (CFLAGS-fread_u_chk.c): Likewise.
10676         (CFLAGS-wprintf_chk.c): Likewise.
10677         (CFLAGS-fwprintf_chk.c): Likewise.
10678         (CFLAGS-vwprintf_chk.c): Likewise.
10679         (CFLAGS-vfwprintf_chk.c): Likewise.
10680         (CFLAGS-fgetws_chk.c): Likewise.
10681         (CFLAGS-fgetws_u_chk.c): Likewise.
10682         * libio/Makefile (CFLAGS-fileops.c): Likewise.
10683         (CFLAGS-fputc.c): Likewise.
10684         (CFLAGS-fputwc.c): Likewise.
10685         (CFLAGS-freopen64.c): Likewise.
10686         (CFLAGS-freopen.c): Likewise.
10687         (CFLAGS-fseek.c): Likewise.
10688         (CFLAGS-fseeko64.c): Likewise.
10689         (CFLAGS-fseeko.c): Likewise.
10690         (CFLAGS-ftello64.c): Likewise.
10691         (CFLAGS-ftello.c): Likewise.
10692         (CFLAGS-fwide.c): Likewise.
10693         (CFLAGS-genops.c): Likewise.
10694         (CFLAGS-getc.c): Likewise.
10695         (CFLAGS-getchar.c): Likewise.
10696         (CFLAGS-getwc.c): Likewise.
10697         (CFLAGS-getwchar.c): Likewise.
10698         (CFLAGS-iofclose.c): Likewise.
10699         (CFLAGS-iofflush.c): Likewise.
10700         (CFLAGS-iofgetpos64.c): Likewise.
10701         (CFLAGS-iofgetpos.c): Likewise.
10702         (CFLAGS-iofgets.c): Likewise.
10703         (CFLAGS-iofgetws.c): Likewise.
10704         (CFLAGS-iofputs.c): Likewise.
10705         (CFLAGS-iofputws.c): Likewise.
10706         (CFLAGS-iofread.c): Likewise.
10707         (CFLAGS-iofsetpos64.c): Likewise.
10708         (CFLAGS-iofsetpos.c): Likewise.
10709         (CFLAGS-ioftell.c): Likewise.
10710         (CFLAGS-iofwrite.c): Likewise.
10711         (CFLAGS-iogetdelim.c): Likewise.
10712         (CFLAGS-iogetline.c): Likewise.
10713         (CFLAGS-iogets.c): Likewise.
10714         (CFLAGS-iogetwline.c): Likewise.
10715         (CFLAGS-ioputs.c): Likewise.
10716         (CFLAGS-ioseekoff.c): Likewise.
10717         (CFLAGS-ioseekpos.c): Likewise.
10718         (CFLAGS-iosetbuffer.c): Likewise.
10719         (CFLAGS-iosetvbuf.c): Likewise.
10720         (CFLAGS-ioungetc.c): Likewise.
10721         (CFLAGS-ioungetwc.c): Likewise.
10722         (CFLAGS-oldfileops.c): Likewise.
10723         (CFLAGS-oldiofclose.c): Likewise.
10724         (CFLAGS-oldiofgetpos64.c): Likewise.
10725         (CFLAGS-oldiofgetpos.c): Likewise.
10726         (CFLAGS-oldiofsetpos64.c): Likewise.
10727         (CFLAGS-oldiofsetpos.c): Likewise.
10728         (CFLAGS-peekc.c): Likewise.
10729         (CFLAGS-putc.c): Likewise.
10730         (CFLAGS-putchar.c): Likewise.
10731         (CFLAGS-putwc.c): Likewise.
10732         (CFLAGS-putwchar.c): Likewise.
10733         (CFLAGS-rewind.c): Likewise.
10734         (CFLAGS-wfileops.c): Likewise.
10735         (CFLAGS-wgenops.c): Likewise.
10736         (CFLAGS-oldiofopen.c): Likewise.
10737         (CFLAGS-iofopen.c): Likewise.
10738         (CFLAGS-iofopen64.c): Likewise.
10739         (CFLAGS-oldtmpfile.c): Likewise.
10740         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10741         (CFLAGS-fprintf.c): Likewise.
10742         (CFLAGS-printf.c): Likewise.
10743         (CFLAGS-vfwprintf.c): Likewise.
10744         (CFLAGS-vfscanf.c): Likewise.
10745         (CFLAGS-vfwscanf.c): Likewise.
10746         (CFLAGS-fscanf.c): Likewise.
10747         (CFLAGS-scanf.c): Likewise.
10748         (CFLAGS-isoc99_vfscanf.c): Likewise.
10749         (CFLAGS-isoc99_vscanf.c): Likewise.
10750         (CFLAGS-isoc99_fscanf.c): Likewise.
10751         (CFLAGS-isoc99_scanf.c): Likewise.
10752         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10753         (CFLAGS-isoc99_fwscanf.c): Likewise.
10754         (CFLAGS-isoc99_vwscanf.c): Likewise.
10755         (CFLAGS-isoc99_vfwscanf.c): Likewise.
10757         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10758         after mkstemp64.
10759         * login/tst-utmp.c (do_prepare): Likewise.
10760         * rt/tst-aio.c (do_prepare): Likewise.
10761         * rt/tst-aio64.c (do_prepare): Likewise.
10763 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10765         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10766         (__lll_lock_elision): Remove adapt_count decrement...
10767         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10768         (__lll_trylock_elision): Likewise.
10769         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10770         (__lll_unlock_elision): ... to here. And utilize
10771         new adapt_count parameter.
10772         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10773         (__lll_unlock_elision): Update to include adapt_count
10774         parameter.
10775         (lll_unlock_elision): Pass pointer to adapt_count
10776         variable.
10778 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10780         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10781         Add elision adapt_count parameter to list of arguments.
10782         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10783         (lll_unlock_elision): Update with new parameter list
10784         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10785         (lll_unlock_elision): Likewise.
10786         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10787         (lll_unlock_elision): Likewise.
10789 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10791         [BZ #19122]
10792         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10793         attribute_hidden.
10795         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10796         attribute_hidden.
10797         [IS_IN (rtld)] (__strdup): Likewise.
10798         [IS_IN (rtld)] (__strerror_r): Likewise.
10799         [IS_IN (rtld)] (__strsep_g): Likewise.
10800         [IS_IN (rtld)] (memchr): Likewise.
10801         [IS_IN (rtld)] (memcmp): Likewise.
10802         [IS_IN (rtld)] (memcpy): Likewise.
10803         [IS_IN (rtld)] (memmove): Likewise.
10804         [IS_IN (rtld)] (memset): Likewise.
10805         [IS_IN (rtld)] (rawmemchr): Likewise.
10806         [IS_IN (rtld)] (stpcpy): Likewise.
10807         [IS_IN (rtld)] (strchr): Likewise.
10808         [IS_IN (rtld)] (strcmp): Likewise.
10809         [IS_IN (rtld)] (strlen): Likewise.
10810         [IS_IN (rtld)] (strnlen): Likewise.
10811         [IS_IN (rtld)] (strsep): Likewise.
10813         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10814         attribute_hidden.
10815         [IS_IN (rtld)] (__strtoul_internal): Likewise.
10817         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10818         attribute_hidden.
10819         [IS_IN (rtld)] (__libc_sigaction): Likewise.
10821         * include/setjmp.h (__longjmp): Add attribute_hidden.
10822         [IS_IN (rtld)] (__sigsetjmp): Likewise.
10824         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10825         Add attribute_hidden.
10827         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10828         [IS_IN (rtld)] (__open): Likewise.
10829         [IS_IN (rtld)] (__fcntl): Likewise.
10831         * include/dirent.h (__opendirat): Add attribute_hidden.
10832         (__getdents): Likewise.
10833         (__getdents64): Likewise.
10834         (__alloc_dir): Likewise.
10835         [IS_IN (rtld)] (__closedir): Likewise.
10836         [IS_IN (rtld)] (__fdopendir): Likewise.
10837         [IS_IN (rtld)] (__readdir): Likewise.
10838         [IS_IN (rtld)] (__readdir64): Likewise.
10839         [IS_IN (rtld)] (__rewinddir): Likewise.
10841         * include/dlfcn.h (_dl_catch_error): Moved to ...
10842         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10843         attribute_hidden.
10845         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
10846         (_itoa_word): Likewise.
10848         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
10849         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
10850         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
10851         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
10852         (_dl_higher_prime_number): Likewise.
10853         (_dl_debug_printf_c): Likewise.
10854         (_dl_signal_cerror): Likewise.
10855         (_dl_receive_error): Likewise.
10856         (_dl_reloc_bad_type): Likewise.
10857         (_dl_resolve_conflicts): Likewise.
10858         (_dl_check_all_versions): Likewise.
10859         (_dl_check_map_versions): Likewise.
10860         (_dl_sort_fini): Likewise.
10861         (_dl_debug_initialize): Likewise.
10862         (_dl_init_paths): Likewise.
10863         (_dl_show_auxv): Likewise.
10864         (_dl_next_ld_env_entry): Likewise.
10865         (_dl_important_hwcaps): Likewise.
10866         (_dl_load_cache_lookup): Likewise.
10867         (_dl_update_slotinfo): Likewise.
10868         (_dl_show_scope): Likewise.
10870         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
10871         attribute_hidden.
10872         (_wordcopy_fwd_dest_aligned): Likewise.
10873         (_wordcopy_bwd_aligned): Likewise.
10874         (_wordcopy_bwd_dest_aligned): Likewise.
10876         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
10877         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10878         Likewise.
10879         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
10880         Likewise.
10881         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
10883 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10885         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
10886         GCC 5 requirement.
10888 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
10890         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
10891         test.
10892         * sysdeps/i386/configure: Regenerated.
10893         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
10894         code unconditional.
10896         * configure.ac (libc_cv_asm_previous_directive): Remove configure
10897         test.
10898         (libc_cv_asm_popsection_directive): Likewise.
10899         * configure: Regenerated.
10900         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
10901         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
10902         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
10903         (__make_section_unallocated): Make definition unconditional.
10904         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
10905         Remove conditional definition.
10906         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
10907         (__make_section_unallocated): Likewise.
10909         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
10910         * configure: Regenerated.
10911         * config.make.in (static-libgcc): Remove variable.
10912         * Makerules (build-shlib-helper): Use -static-libgcc instead of
10913         $(static-libgcc).
10914         (build-module-helper): Likewise.
10916         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
10917         * configure: Regenerated.
10919 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10921         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
10922         (struct char_buffer): New type.
10923         (char_buffer_start, char_buffer_size, char_buffer_error)
10924         (char_buffer_rewind, char_buffer_add): New functions.
10925         (ADDW): Remove macro, replaced by the char_buffer_add function.
10926         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
10927         of extend_alloca.  Make control flow more explicit.
10929 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10931         [BZ #19137]
10932         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10933         Add -fomit-frame-pointer.
10934         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
10936 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10938         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
10939         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
10940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
10941         only if !__GNUC_PREREQ (5,0).
10942         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
10943         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
10944         (INTERNAL_SYSCALL_NCS): Likewise.
10945         (LOADREGS_0): New macro for GCC 5.
10946         (ASMARGS_0): Likewise.
10947         (LOADREGS_1): Likewise.
10948         (ASMARGS_1): Likewise.
10949         (LOADREGS_2): Likewise.
10950         (ASMARGS_2): Likewise.
10951         (LOADREGS_3): Likewise.
10952         (ASMARGS_3): Likewise.
10953         (LOADREGS_4): Likewise.
10954         (ASMARGS_4): Likewise.
10955         (LOADREGS_5): Likewise.
10956         (ASMARGS_5): Likewise.
10957         (LOADREGS_6): Likewise.
10958         (ASMARGS_6): Likewise.
10960 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
10962         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
10963         -fomit-frame-pointer.
10964         (CFLAGS-mmap64.c): Likewise.
10965         (CFLAGS-semtimedop.c): Likewise.
10966         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
10967         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
10968         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10969         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10971 2015-10-15  Florian Weimer  <fweimer@redhat.com>
10973         [BZ #18928]
10974         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
10975         _dl_pointer_guard member.
10976         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
10977         initializer.
10978         (security_init): Always set up pointer guard.
10979         (process_envvars): Do not process LD_POINTER_GUARD.
10981 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
10983         [BZ #19134]
10984         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
10985         (.LC2): Likewise.
10986         (.LC3): Likewise.
10987         (__lround): Do not add 0.5 to integer or out-of-range arguments.
10989 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10991         [BZ #19129]
10992         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
10993         r0 and r1.
10995 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
10997         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10999 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11001         * include/stap-probe.h: Fix macro definition formatting.
11003 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11005         [BZ #19074]
11006         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11007         load and store num_ifs.
11009 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11011         [BZ #18822]
11012         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11013         (__sched_getaffinity_new): Add libc_hidden_proto and
11014         libc_hidden_def.
11016 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11018         [BZ #19007]
11019         * scripts/localplt.awk: Also allow GOT references.
11020         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11021         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11022         with "+ REL R_386_GLOB_DAT".
11023         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11024         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11026 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11028         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11029         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11030         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11031         Likewise.
11032         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11033         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11034         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11035         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11036         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11037         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11038         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11040         Likewise.
11041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11043 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11045         [BZ #19125]
11046         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11047         <math_private.h> and <stdint.h>.
11048         (__llround): Avoid conversions to and from long long int, and
11049         subtractions, where those might raise spurious exceptions.
11050         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11051         <math_private.h> and <stdint.h>.
11052         (__llroundf): Avoid conversions to and from long long int, and
11053         subtractions, where those might raise spurious exceptions.
11055 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11057         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11058         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11059         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11060         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11061         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11062         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11063         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11064         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11065         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11066         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11067         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11068         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11069         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11070         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11071         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11072         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11073         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11074         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11075         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11076         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11077         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11078         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11079         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11080         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11081         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11082         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11083         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11084         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11085         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11086         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11087         (__xstat64_conv): Likewise.
11088         (__xstat32_conv): Likewise.
11090 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11092         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11093         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11094         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11095         <sysdeps/unix/sysv/linux/sysdep.h>.
11096         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11097         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11098         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11099         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11100         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11101         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11102         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11103         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11104         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11107         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11109         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11110         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11112         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11113         (sysdep-dl-routines): Add sysdep.
11114         [$(subdir) == nptl] (libpthread-routines): Likewise.
11115         [$(subdir) == rt] (librt-routines): Likewise.
11116         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11117         PIC when branching to SYSCALL_ERROR_LABEL.
11118         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11119         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11120         <sysdeps/unix/sysv/linux/sysdep.h>.
11121         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11122         (SYSCALL_ERROR_ERRNO): Removed.
11123         (SYSCALL_ERROR_HANDLER): Changed to empty.
11124         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11125         (__syscall_error): New prototype.
11126         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11127         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11129 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11131         [BZ #19124]
11132         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11133         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11134         _dl_runtime_resolve_avx.
11135         (_dl_runtime_profile_avx512): Make it a hidden alias of
11136         _dl_runtime_profile_avx.
11138 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11140         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11141         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11142         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11143         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11145         [BZ #16422]
11146         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11147         New configure test.
11148         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11149         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11150         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11151         <math_private.h> and <stdint.h>.
11152         (__llrint): Avoid conversions to long long int where those might
11153         raise spurious exceptions.
11154         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11155         <math_private.h> and <stdint.h>.
11156         (__llrintf): Avoid conversions to long long int where those might
11157         raise spurious exceptions.
11159 2015-10-12  Andreas Schwab  <schwab@suse.de>
11161         [BZ #18969]
11162         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11163         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11164         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11165         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11166         $(gen-locales).
11167         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11168         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11169         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11170         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11171         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11172         $(gen-locales).
11173         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11174         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11175         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11176         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11177         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11178         ($(objpfx)tst-ftell-active-handler.out)
11179         ($(objpfx)tst-ftell-append.out)
11180         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11181         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11182         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11183         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11184         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11185         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11186         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11187         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11188         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11189         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11190         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11191         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11192         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11193         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11194         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11195         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11196         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11197         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11198         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11199         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11200         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11201         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11202         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11203         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11204         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11205         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11206         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11207         $(gen-locales).
11208         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11209         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11210         $(gen-locales).
11211         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11212         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11213         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11214         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11215         $(gen-locales).
11216         * libio/tst_wprintf2.c (main): Use explicit locale.
11217         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11219 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11221         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11222         __msg_sig_post.
11223         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11225 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11227         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11228         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11230         * sysdeps/arm/libm-test-ulps: Regenerated.
11232         [BZ #15470]
11233         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11235         [BZ #16399]
11236         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11237         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11238         and <fix-fp-int-convert-overflow.h>.
11239         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11240         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11241         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11242         and <fix-fp-int-convert-overflow.h>.
11243         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11244         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11245         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11246         <fix-fp-int-convert-overflow.h>.
11247         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11248         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11249         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11250         <fix-fp-int-convert-overflow.h>.
11251         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11252         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11253         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11254         and <fix-fp-int-convert-overflow.h>.
11255         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11256         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11257         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11258         <limits.h> and <fix-fp-int-convert-overflow.h>.
11259         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11260         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11261         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11262         and <fix-fp-int-convert-overflow.h>.
11263         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11264         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11265         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11266         and <fix-fp-int-convert-overflow.h>.
11267         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11268         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11269         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11271 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11273         [BZ #18589]
11274         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11275         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11276         $(gen-locales).
11278 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11279             Phil Blundell <pb@pbcl.net>
11281         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11282         * nptl/tst-cancel26.c: New file.
11283         * nptl/tst-cancel27.c: Likewise.
11285 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11287         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11288         __ILP32__ isn't defined.
11289         (lrint): Likewise.
11290         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11291         (lrintf): Likewise.
11292         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11293         (lrintl): Likewise.
11294         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11295         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11296         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11298 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11300         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11301         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11303         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11304         file.
11305         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11306         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11308 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11310         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11311         configure test.
11312         * sysdeps/i386/configure: Regenerated.
11313         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11314         configure test.
11315         * sysdeps/x86_64/configure: Regenerated.
11316         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11317         Make code unconditional.
11319         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11320         test.
11321         * sysdeps/i386/configure: Regenerated.
11322         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11323         test.
11324         * sysdeps/x86_64/configure: Regenerated.
11325         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11326         Make code unconditional.
11327         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11328         Likewise.
11329         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11330         Likewise.
11331         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11332         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11333         code unconditional.
11334         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11335         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11336         code unconditional.
11337         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11338         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11339         code unconditional.
11340         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11341         code unconditional.
11342         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11343         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11344         code unconditional.
11345         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11346         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11347         code unconditional.
11348         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11349         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11350         code unconditional.
11351         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11352         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11353         code unconditional.
11354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11355         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11357         [BZ #19095]
11358         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11359         mantissa to long int before shifting left.
11361 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11363         [BZ #19094]
11364         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11365         <limits.h>.
11366         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11367         when result overflows but exception would not result from cast.
11368         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11369         <limits.h>.
11370         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11371         when result overflows but exception would not result from cast.
11372         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11373         <limits.h>.
11374         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11375         when result overflows but exception would not result from cast.
11376         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11377         <limits.h>.
11378         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11379         when result overflows but exception would not result from cast.
11380         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11381         <limits.h>.
11382         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11383         when result overflows but exception would not result from cast.
11384         * math/libm-test.inc (lrint_test_data): Add more tests.
11385         (llrint_test_data): Likewise.
11387 2015-10-08  Roland McGrath  <roland@hack.frob.com>
11389         [BZ #18872]
11390         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11391         Move out from under [$(run-built-tests) = yes] conditional.
11392         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11393         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11395 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
11397         [BZ #18589]
11398         * string/Makefile (tests): Add bug-strcoll2.
11399         (LOCALES): Add cs_CZ.UTF-8.
11400         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11402         [BZ #18589]
11403         * string/bug-strcoll2.c: New file.
11404         * locale/categories.def: Revert commit
11405         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11406         * locale/langinfo.h: Likewise.
11407         * locale/localeinfo.h: Likewise.
11408         * locale/C-collate.c: Likewise.
11409         * locale/programs/ld-collate.c (collate_output): Likewise.
11410         * string/strcoll_l.c (STRDIFF): Likewise.
11411         (STRCOLL): Likewise.
11412         * wcsmbs/wcscoll_l.c: Likewise.
11414 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
11416         * math/libm-test.inc (lround_test_data): Do not expect the absence
11417         of "inexact" for some tests with non-integer arguments.
11418         (llround_test_data): Likewise.
11420         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11421         test.
11422         (libc_cv_cc_sse2avx): Likewise.
11423         * sysdeps/i386/configure: Regenerated.
11424         * sysdeps/i386/i686/multiarch/Makefile
11425         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11426         [$(subdir) = math].
11427         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11428         code unconditional.
11429         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11430         Likewise.
11431         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11432         Likewise.
11433         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11434         Likewise.
11435         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11436         test.
11437         (libc_cv_cc_sse2avx): Likewise.
11438         * sysdeps/x86_64/configure: Regenerated.
11439         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11440         unconditional.
11441         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11442         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11443         unconditional.
11444         (_dl_runtime_profile)
11445         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11446         conditional code.
11447         * sysdeps/x86_64/fpu/multiarch/Makefile
11448         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11450         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11451         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11452         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11453         * sysdeps/x86_64/fpu/multiarch/e_log.c
11454         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11455         * sysdeps/x86_64/fpu/multiarch/s_atan.c
11456         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11457         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11458         Likewise.
11459         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11460         Likewise.
11461         * sysdeps/x86_64/fpu/multiarch/s_sin.c
11462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11463         * sysdeps/x86_64/fpu/multiarch/s_tan.c
11464         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11465         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11466         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11467         (HAVE_SSE2AVX_SUPPORT): Likewise.
11469 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
11471         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11472         instead of #pragma optimize.
11474 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11476         [BZ #17195]
11477         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11478         as is similarly done in systrim and _int_free already.
11480 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11482         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11484 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11486         [BZ #19088]
11487         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11488         <limits.h>.
11489         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11490         overflows but exception would not result from cast.
11491         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11492         and <limits.h>.
11493         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11494         overflows but exception would not result from cast.
11495         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11496         <limits.h>.
11497         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11498         overflows but exception would not result from cast.
11499         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11500         <limits.h>.
11501         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11502         overflows but exception would not result from cast.
11503         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11504         <limits.h>.
11505         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11506         overflows but exception would not result from cast.
11507         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11508         <limits.h>.
11509         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11510         overflows but exception would not result from cast.
11511         * math/libm-test.inc (lround_test_data): Add more tests.
11512         (llround_test_data): Likewise.
11514 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
11516         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11517         (CFLAGS-ialloc.c): Ditto.
11518         (CFLAGS-scheck.c): Ditto.
11520 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
11522         [BZ #19086]
11523         * manual/filesys.texi (Storage Allocation): Fix argument order for
11524         posix_fallocate64.
11526 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11528         [BZ #19085]
11529         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11530         exponent below 48 inside case for non-overflowing exponent.
11531         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11533 2015-10-07  Florian Weimer  <fweimer@redhat.com>
11535         * iconvdata/cp737.h (from_idx): Add const.
11536         * iconvdata/cp775.h (from_idx): Likewise.
11538 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
11540         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11541         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11542         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11544         [BZ #19079]
11545         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11546         file, conditioned on [!_LP64].
11547         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11548         [!_LP64] (__lround): Do not define as function or alias.
11549         [!_LP64] (lround): Likewise.
11550         [!_LP64] (__lroundl): Likewise.
11551         [!_LP64] (lroundl): Likewise.
11552         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11553         macro.
11554         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11555         Likewise.
11557 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11559         * math/libm-test.inc (lrint_test_data): Add more tests.
11560         (llrint_test_data): Likewise.
11561         (lround_test_data): Likewise.
11562         (llround_test_data): Likewise.
11564         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11565         (llrint_test_data): Add tests used for lrint.
11567         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11568         test.
11569         * sysdeps/i386/configure: Regenerated.
11570         * sysdeps/i386/i686/multiarch/Makefile
11571         [$(config-cflags-sse4) = yes]: Make code unconditional.
11572         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11573         Likewise.
11574         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11575         Likewise.
11576         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11577         test.
11578         * sysdeps/x86_64/configure: Regenerated.
11579         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11580         Make code unconditional.
11581         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11582         Likewise.
11583         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11584         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11586         * scripts/rpm2dynsym.sh: Remove file.
11588 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11590         * configure.ac (libc_cv_cxx_thread_local): Define.
11591         * configure: Regenerate.
11592         * config.make.in (have-cxx-thread_local): Define.
11593         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11594         (LDLIBS-tst-thread_local1): Define.
11595         (tests): Add tst-thread_local1.
11596         [have-cxx-thread_local != yes] (tests-unsupported): Add
11597         tst-thread_local1.
11598         * nptl/tst-thread_local1.cc: New file.
11600 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
11602         [BZ #19078]
11603         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11604         (u_thres): Likewise.
11605         (__expl): Determine whether to call __kernel_standard_l based on
11606         value of result, not argument.
11608         * math/libm-test.inc (scalb_test_data): Add more expectations for
11609         the "inexact" exception.
11611         [BZ #19077]
11612         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11613         0.0L for argument 1.0L.
11615         [BZ #19076]
11616         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11617         constant 0.0L when computing infinite result.
11619 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11621         [BZ #10432]
11622         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11623         malloc_usable_size.
11625 2015-10-06  Florian Weimer  <fweimer@redhat.com>
11627         [BZ #19018]
11628         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11629         Mangle function pointer before storing it.
11630         (__call_tls_dtors): Demangle function pointer before calling it.
11632 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
11634         [BZ #19012]
11635         * iconv/gconv_db.c (gen_steps): Check for additional errors.
11636         Clean up on failure.
11638 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
11640         [BZ #19071]
11641         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11642         long int variable to store possibly incremented high part of
11643         mantissa.
11644         * math/libm-test.inc (lround_test_data): Add tests used for
11645         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
11646         for tests requiring 64-bit long.  Do not condition tests on
11647         [TEST_FLOAT] unnecessarily.
11648         (llround_test_data): Add tests used for lround.  Add another
11649         expectation for the "inexact" exception.  Do not condition tests
11650         on [TEST_FLOAT] unnecessarily.
11652         [BZ #887]
11653         [BZ #19049]
11654         [BZ #19050]
11655         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11656         * sysdeps/ieee754/dbl-64/e_log10.c: Include
11657         <fix-int-fp-convert-zero.h>.
11658         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11659         * sysdeps/ieee754/dbl-64/e_log2.c: Include
11660         <fix-int-fp-convert-zero.h>.
11661         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11662         * sysdeps/ieee754/dbl-64/s_erf.c: Include
11663         <fix-int-fp-convert-zero.h>.
11664         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11665         * sysdeps/ieee754/dbl-64/s_logb.c: Include
11666         <fix-int-fp-convert-zero.h>.
11667         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11668         * sysdeps/ieee754/flt-32/e_log10f.c: Include
11669         <fix-int-fp-convert-zero.h>.
11670         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11671         * sysdeps/ieee754/flt-32/e_log2f.c: Include
11672         <fix-int-fp-convert-zero.h>.
11673         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11674         * sysdeps/ieee754/flt-32/s_erff.c: Include
11675         <fix-int-fp-convert-zero.h>.
11676         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11677         * sysdeps/ieee754/flt-32/s_logbf.c: Include
11678         <fix-int-fp-convert-zero.h>.
11679         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11681         <fix-int-fp-convert-zero.h>.
11682         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11684         <fix-int-fp-convert-zero.h>.
11685         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11686         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11687         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11688         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11689         file.
11690         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11692 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11694         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11696 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
11698         [BZ #19059]
11699         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11700         overflowing computation.
11701         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11702         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11703         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11704         Likewise.
11705         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11706         Likewise.
11707         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11708         Likewise.
11709         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11710         Likewise.
11711         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11712         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11713         Likewise.
11714         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11715         Likewise.
11716         * math/libm-test.inc (nexttoward_test_data): Add more tests.
11718         * nss/rewrite_field.c (__nss_rewrite_field): Use
11719         internal_function.
11720         * nss/valid_field.c (__nss_valid_field): Likewise.
11721         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11723 2015-10-02  Florian Weimer  <fweimer@redhat.com>
11725         [BZ #18724]
11726         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11727         (__nss_invalid_field_characters, __nss_valid_field)
11728         (__nss_valid_list_field, __nss_rewrite_field): Declare.
11729         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11730         tst-field.c: New file.
11731         * nss/Makefile (routines): Add valid_field, rewrite_field.
11732         (tests-static): Define unconditionally.
11733         (tests): Include tests-static.
11734         [build-static-nss] (tests-static): Use append.
11735         [build-static-nss] (tests): Remove modification.
11736         * nss/getent.c (print_group): Call putgrent.  Report error.
11737         (print_gshadow): Call putsgent.  Report error.
11738         (print_passwd): Call putpwent.  Report error.
11739         (print_shadow): Call putspent.  Report error.
11740         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11741         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11742         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
11743         name, password, directory, shell fields for valid syntax.  Rewrite
11744         GECOS field to match syntax.
11745         * pwd/Makefile (tests): Add tst-putpwent.
11746         * pwd/tst-putpwent.c: New file.
11747         * grp/putgrent.c (putgrent): Convert to ISO function definition.
11748         Check grName, grpasswd, gr_mem fields for valid syntax.
11749         Change loop variable i to size_t.
11750         * grp/Makefile (tests): Add tst-putgrent.
11751         * grp/tst-putgrent.c: New file.
11752         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11753         valid syntax.
11754         * shadow/Makefile (tests): Add tst-putspent.
11755         * shadow/tst-putspent.c: New file.
11756         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11757         sg_mem fields for valid syntax.
11758         * gshadow/Makefile (tests): Add tst-putsgent.
11759         * gshadow/tst-putsgent.c: New file.
11761 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11763         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11764         assembly instructions.
11766 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11768         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11769         prefix from operands.
11771 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
11773         [BZ #16347]
11774         [BZ #19046]
11775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11776         <libc-internal.h>.
11777         (MAXLGM): Do not use diagnostic control macros.
11778         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11779         threshold for ldbl-128ibm.
11780         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11781         instead of multiplying by log then subtracting.
11782         * math/auto-libm-test-in: Add more tests of lgamma.
11783         * math/auto-libm-test-out: Regenerated.
11785         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11786         (TYPE_HEX_DIG): Likewise.
11787         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11788         precisions when printing floating-point numbers.
11789         (check_float_internal): Likewise.
11791 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11793         [BZ #16620]
11794         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11795         of log (10) rounded downward to 48 bits.
11796         (log10_low): Use corresponding low part of log (10).
11798         [BZ #19032]
11799         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11800         compute result as (x - x) / (x - x) not as 0 / 0.
11801         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11802         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11804         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11805         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11806         and expm1.
11807         * math/auto-libm-test-out: Regenerated.
11808         * math/libm-test.inc (acos_test_data): Add more tests.
11809         (asin_test_data): Likewise.
11810         (asinh_test_data): Likewise.
11811         (atan_test_data): Likewise.
11812         (atanh_test_data): Likewise.
11813         (atan2_test_data): Likewise.
11814         (cbrt_test_data): Likewise.
11815         (ceil_test_data): Likewise.
11816         (copysign_test_data): Likewise.
11817         (cos_test_data): Likewise.
11818         (cosh_test_data): Likewise.
11819         (erf_test_data): Likewise.
11820         (erfc_test_data): Likewise.
11821         (exp_test_data): Likewise.
11822         (exp10_test_data): Likewise.
11823         (exp2_test_data): Likewise.
11824         (expm1_test_data): Likewise.
11825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11827 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
11829         [BZ #19006]
11830         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11831         to ...
11832         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11833         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11834         to ...
11835         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11836         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11837         to ...
11838         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11839         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11840         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11841         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11842         to ...
11843         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
11844         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11845         Moved to ...
11846         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
11847         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11848         Moved to ...
11849         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
11850         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
11851         to ...
11852         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
11853         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11854         Moved to ...
11855         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
11856         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
11857         to ...
11858         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
11859         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
11860         Removed.
11861         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
11862         Likewise.
11863         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
11864         Likewise.
11865         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
11866         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
11867         Likewise.
11868         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11869         Likewise.
11870         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11871         Likewise.
11872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11873         Likewise.
11874         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11875         Likewise.
11876         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
11877         Likewise.
11878         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
11879         Likewise.
11880         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
11881         Likewise.
11882         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
11883         Likewise.
11884         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
11885         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
11886         Likewise.
11887         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11888         Likewise.
11889         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11890         Likewise.
11891         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11892         Likewise.
11893         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
11894         Likewise.
11895         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11896         Replace ../i486/pthread_cond_timedwait.S with
11897         ../pthread_cond_timedwait.S.
11899 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
11901         * math/libm-test.inc (acos_test_data): Refine expectations for
11902         errno and "inexact" exceptions.
11903         (acosh_test_data): Likewise.
11904         (asin_test_data): Likewise.
11905         (asinh_test_data): Likewise.
11906         (atan_test_data): Likewise.
11907         (atanh_test_data): Likewise.
11908         (atan2_test_data): Likewise.
11909         (cbrt_test_data): Likewise.
11910         (ceil_test_data): Likewise.
11911         (copysign_test_data): Likewise.
11912         (cosh_test_data): Likewise.
11913         (erf_test_data): Likewise.
11914         (erfc_test_data): Likewise.
11915         (exp_test_data): Likewise.
11916         (exp10_test_data): Likewise.
11917         (exp2_test_data): Likewise.
11918         (expm1_test_data): Likewise.
11919         (fabs_test_data): Likewise.
11920         (floor_test_data): Likewise.
11921         (fma_test_data): Likewise.
11922         (fmax_test_data): Likewise.
11923         (fmin_test_data): Likewise.
11924         (fmod_test_data): Likewise.
11925         (fpclassify_test_data): Likewise.
11926         (frexp_test_data): Likewise.
11927         (hypot_test_data): Likewise.
11928         (ilogb_test_data): Likewise.
11929         (isgreater_test_data): Likewise.
11930         (isgreaterequal_test_data): Likewise.
11931         (isinf_test_data): Likewise.
11932         (isless_test_data): Likewise.
11933         (islessequal_test_data): Likewise.
11934         (islessgreater_test_data): Likewise.
11935         (isnan_test_data): Likewise.
11936         (isnormal_test_data): Likewise.
11937         (issignaling_test_data): Likewise.
11938         (isunordered_test_data): Likewise.
11939         (j0_test_data): Likewise.
11940         (j1_test_data): Likewise.
11941         (jn_test_data): Likewise.
11942         (lgamma_test_data): Likewise.
11943         (lrint_test_data): Likewise.
11944         (llrint_test_data): Likewise.
11945         (log_test_data): Likewise.
11946         (log10_test_data): Likewise.
11947         (log1p_test_data): Likewise.
11948         (log2_test_data): Likewise.
11949         (logb_test_data): Likewise.
11950         (lround_test_data): Likewise.
11951         (llround_test_data): Likewise.
11952         (modf_test_data): Likewise.
11953         (nearbyint_test_data): Likewise.
11954         (nextafter_test_data): Likewise.
11955         (nexttoward_test_data): Likewise.
11956         (pow_test_data): Likewise.
11957         (remainder_test_data): Likewise.
11958         (remquo_test_data): Likewise.
11959         (rint_test_data): Likewise.
11960         (round_test_data): Likewise.
11961         (signbit_test_data): Likewise.
11962         (sinh_test_data): Likewise.
11963         (sqrt_test_data): Likewise.
11964         (tanh_test_data): Likewise.
11965         (tgamma_test_data): Likewise.
11966         (trunc_test_data): Likewise.
11967         (y0_test_data): Likewise.
11968         (y1_test_data): Likewise.
11969         (yn_test_data): Likewise.
11970         (significand_test_data): Likewise.
11972 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
11974         * manual/filesys.texi (Storage Allocation): Document that
11975         posix_fallocate emulation fails when fd is open with O_WRONLY.
11977 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
11979         [BZ #19016]
11980         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
11981         allow more cases with X^2 + Y^2 >= 0.5.
11982         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
11983         normal element in sum instead of special-casing based on values of
11984         arguments.
11985         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
11986         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
11987         -1 as normal element in sum instead of special-casing based on
11988         values of arguments.
11989         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
11990         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
11991         (__x2y2m1): Update comment.
11992         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
11993         as normal element in sum instead of special-casing based on values
11994         of arguments.
11995         * math/s_clog.c (__clog): Handle more cases using log1p without
11996         hypot.
11997         * math/s_clog10.c (__clog10): Likewise.
11998         * math/s_clog10f.c (__clog10f): Likewise.
11999         * math/s_clog10l.c (__clog10l): Likewise.
12000         * math/s_clogf.c (__clogf): Likewise.
12001         * math/s_clogl.c (__clogl): Likewise.
12002         * math/auto-libm-test-in: Add more tests of clog and clog10.
12003         * math/auto-libm-test-out: Regenerated.
12004         * sysdeps/i386/fpu/libm-test-ulps: Update.
12005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12007 2015-09-28  Martin Sebor  <msebor@redhat.com>
12009         [BZ #18969]
12010         * string/Makefile (LOCALES): Define.
12011         (gen-locales.mk): Include.
12012         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12013         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12014         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12015         on setlocale failure.
12017 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12019         [BZ #18985]
12020         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12021         (__strftime_internal): Likewise.
12022         * time/tst-strftime.c (do_bz18985): New test.
12023         (do_test): Call it.
12025 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12027         [BZ #18956]
12028         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12029         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12030         extracting high part.
12031         * math/auto-libm-test-in: Add another test of pow.
12032         * math/auto-libm-test-out: Regenerated.
12033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12035 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12037         [BZ #18825]
12038         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12039         New macro.
12040         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12041         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12042         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12043         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12044         DBL_NARROW_EVAL, reloading the PIC register as needed.
12045         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12046         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12047         FLT_NARROW_EVAL.  Use separate return path for case when first
12048         argument is NaN.
12049         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12050         DEFINE_LDBL_MIN.
12051         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12052         PIC register.
12053         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12054         math_check_force_underflow_nonneg.
12055         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12056         underflow for subnormal result.
12057         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12058         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12059         math_check_force_underflow_nonneg.
12060         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12061         math_check_force_underflow.
12062         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12063         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12064         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12065         DEFINE_LDBL_MIN.
12066         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12067         * math/auto-libm-test-in: Add more tests of pow.
12068         * math/auto-libm-test-out: Regenerated.
12070 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12072         * nss/bug17079.c (init_test_items): Add diagnostic for
12073         inconsistent entries.
12074         (test_buffer_size): Skip inconsistent entries.
12076 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12078         [BZ #13304]
12079         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12080         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12081         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12083         [BZ #13304]
12084         * sysdeps/microblaze/s_fma.c: New file.
12085         * sysdeps/microblaze/s_fmaf.c: Likewise.
12086         * sysdeps/microblaze/sfp-machine.h: Likewise.
12088 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12090         [BZ #17250]
12091         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12092         member.
12094 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12096         [BZ #18803]
12097         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12098         (MO): New macro.
12099         (__ieee754_hypot) [PIC]: Load PIC register.
12100         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12101         DBL_NARROW_EVAL.
12102         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12103         math_check_force_underflow_nonneg in case where result might be
12104         tiny.
12105         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12106         Likewise.
12107         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12108         Likewise.
12109         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12110         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12111         * math/auto-libm-test-in: Add more tests of hypot.
12112         * math/auto-libm-test-out: Regenerated.
12114 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12116         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12118 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12120         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12121         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12122         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12123         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12124         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12125         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12126         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12128         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12129         LOAD_PIC_REG.
12131         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12132         (FLT_CHECK_FORCE_UFLOW): Likewise.
12133         (DBL_CHECK_FORCE_UFLOW): Likewise.
12134         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12135         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12136         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12137         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12138         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12139         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12140         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12141         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12142         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12143         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12144         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12145         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12146         (flt_min): Replace with use of DEFINE_FLT_MIN.
12147         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12148         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12149         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12150         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12151         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12152         (flt_min): Replace with use of DEFINE_FLT_MIN.
12153         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12154         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12155         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12156         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12157         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12158         (flt_min): Replace with use of DEFINE_FLT_MIN.
12159         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12160         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12161         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12162         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12163         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12164         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12165         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12166         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12168         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12169         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12170         (flt_min): Replace with use of DEFINE_FLT_MIN.
12171         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12172         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12173         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12174         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12175         main computation.
12176         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12177         (flt_min): Replace with use of DEFINE_FLT_MIN.
12178         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12179         main computation.
12180         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12181         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12182         (MO): New macro.
12183         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12184         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12185         (flt_min): Replace with use of DEFINE_FLT_MIN.
12186         (MO): New macro.
12187         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12188         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12189         (__log1pl): Use MO.
12191         [BZ #19003]
12192         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12193         $(config-cflags-nofma).
12195 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12197         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12199 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12201         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12202         (TWO127): Likewise.
12204         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12205         (min_of_type): Likewise.
12206         (math_check_force_underflow): Likewise.
12207         (math_check_force_underflow_nonneg): Likewise.
12208         (math_check_force_underflow_complex): Likewise.
12209         * math/e_exp2l.c (__ieee754_exp2l): Use
12210         math_check_force_underflow_nonneg.
12211         * math/k_casinh.c (__kernel_casinh): Likewise.
12212         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12213         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12214         * math/s_catan.c (__catan): Use
12215         math_check_force_underflow_complex.
12216         * math/s_catanf.c (__catanf): Likewise.
12217         * math/s_catanh.c (__catanh): Likewise.
12218         * math/s_catanhf.c (__catanhf): Likewise.
12219         * math/s_catanhl.c (__catanhl): Likewise.
12220         * math/s_catanl.c (__catanl): Likewise.
12221         * math/s_ccosh.c (__ccosh): Likewise.
12222         * math/s_ccoshf.c (__ccoshf): Likewise.
12223         * math/s_ccoshl.c (__ccoshl): Likewise.
12224         * math/s_cexp.c (__cexp): Likewise.
12225         * math/s_cexpf.c (__cexpf): Likewise.
12226         * math/s_cexpl.c (__cexpl): Likewise.
12227         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12228         * math/s_clog10.c (__clog10): Likewise.
12229         * math/s_clog10f.c (__clog10f): Likewise.
12230         * math/s_clog10l.c (__clog10l): Likewise.
12231         * math/s_clogf.c (__clogf): Likewise.
12232         * math/s_clogl.c (__clogl): Likewise.
12233         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12234         * math/s_csinf.c (__csinf): Likewise.
12235         * math/s_csinh.c (__csinh): Likewise.
12236         * math/s_csinhf.c (__csinhf): Likewise.
12237         * math/s_csinhl.c (__csinhl): Likewise.
12238         * math/s_csinl.c (__csinl): Likewise.
12239         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12240         * math/s_csqrtf.c (__csqrtf): Likewise.
12241         * math/s_csqrtl.c (__csqrtl): Likewise.
12242         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12243         * math/s_ctanf.c (__ctanf): Likewise.
12244         * math/s_ctanh.c (__ctanh): Likewise.
12245         * math/s_ctanhf.c (__ctanhf): Likewise.
12246         * math/s_ctanhl.c (__ctanhl): Likewise.
12247         * math/s_ctanl.c (__ctanl): Likewise.
12248         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12249         instead of volatile.
12250         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12251         math_check_force_underflow.
12252         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12253         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12254         volatile when forcing underflow.
12255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12256         math_check_force_underflow_nonneg.
12257         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12258         Likewise.
12259         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12260         math_check_force_underflow.
12261         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12262         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12263         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12264         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12265         math_check_force_underflow_nonneg.
12266         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12267         math_check_force_underflow.
12268         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12270         instead of volatile.
12271         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12272         math_check_force_underflow.
12273         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12274         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12275         math_check_force_underflow_nonneg.
12276         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12277         math_check_force_underflow.
12278         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12279         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12280         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12281         math_check_force_underflow_nonneg.
12282         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12283         Likewise.
12284         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12285         math_check_force_underflow.
12286         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12287         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12288         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12289         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12290         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12291         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12292         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12293         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12294         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12295         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12296         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12297         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12298         Likewise.
12299         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12300         math_check_force_underflow_nonneg.
12301         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12302         Likewise.
12303         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12304         math_check_force_underflow.
12305         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12306         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12307         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12308         Likewise.
12309         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12310         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12311         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12312         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12313         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12314         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12316         instead of volatile.
12317         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12318         math_check_force_underflow.
12319         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12320         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12321         math_check_force_underflow.
12322         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12323         Likewise.
12324         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12325         Use math_check_force_underflow_nonneg.
12326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12327         math_check_force_underflow.
12328         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12329         Likewise.
12330         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12331         Likewise.
12332         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12333         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12334         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12337         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12338         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12339         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12340         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12341         math_check_force_underflow_nonneg.
12342         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12343         math_check_force_underflow.
12344         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12345         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12346         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12347         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12348         math_check_force_underflow_nonneg.
12349         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12350         math_check_force_underflow.
12351         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12353         instead of volatile.
12354         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12355         math_check_force_underflow.
12357         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12358         * stdlib/strtod_l.c: Include <math_private.h>.
12359         (overflow_value): Use math_narrow_eval.
12360         (underflow_value): Likewise.
12361         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12362         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12363         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12364         (__ieee754_gamma_r): Likewise.
12365         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12366         Likewise.
12367         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12368         Likewise.
12369         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12370         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12371         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12372         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12373         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12374         (__ieee754_gammaf_r): Likewise.
12375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12376         Likewise.
12377         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12378         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12379         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12380         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12381         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12382         volatile.
12383         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12384         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12385         math_narrow_eval.
12386         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12387         Likewise.
12388         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12389         Likewise.
12390         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12391         Likewise.
12392         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12393         volatile.
12394         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12395         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12396         math_narrow_eval.
12397         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12398         Likewise.
12399         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12400         Likewise.
12402 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
12404         * nptl/Versions: Remove ignored symbols.
12406 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12408         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
12409         * nss/Makefile (tests): Update.
12411 2015-09-22  Florian Weimer  <fweimer@redhat.com>
12413         * nss/bug18287.c: New file.
12414         * nss/Makefile (tests): Add bug18287.
12416 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12418         * mach/Versions (__mach_host_self_): Add symbol.
12420 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12422         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12423         vm_page_size.
12425 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12427         Really fix sysdeps/i386/fpu/s_scalbn.S build
12429         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12430         (libc: GLIBC_2_22): Remove unused version set.
12432 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12434         * config.make.in (enable-timezone-tools): New variable.
12435         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12436         (enable_timezone_tools): Export to generated files.
12437         * configure: Regenerate.
12438         * INSTALL: Regenerate.
12439         * manual/install.texi (--disable-timezone-tools): Document new flag.
12440         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12441         ifeq ($(enable-timezone-tools),yes) check.
12443 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12445         * timezone/Makefile: Revert previous change.
12447         [BZ #18980]
12448         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12449         (DEFINE_DBL_MIN): Likewise.
12450         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12451         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12452         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12453         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12454         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12455         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12456         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12457         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12458         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12459         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12460         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12461         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12462         (flt_min): Replace with use of DEFINE_FLT_MIN.
12463         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12464         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12465         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12466         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12467         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12468         (flt_min): Replace with use of DEFINE_FLT_MIN.
12469         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12470         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12471         (flt_min): Replace with use of DEFINE_FLT_MIN.
12472         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12473         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12474         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12475         (__ieee754_hypot): Use DBL_NARROW_EVAL.
12476         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12477         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12478         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12479         (__ieee754_pow): Use DBL_NARROW_EVAL.
12480         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12481         (__ieee754_powf): Use FLT_NARROW_EVAL.
12482         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12483         (__ieee754_expf_sse2): Convert double-precision result to single
12484         precision.
12485         * sysdeps/i386/fpu/libm-test-ulps: Update.
12487 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12489         * timezone/Makefile: Ignore unused variable errors due to private.h
12490         (time_t_min) and (time_t_max).
12491         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
12492         Likewise.
12494 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12496         [BZ #18981]
12497         * sysdeps/i386/fpu/i386-math-asm.h: New file.
12498         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12499         (__ieee754_scalb): Use DBL_NARROW_EVAL.
12500         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12501         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12502         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12503         (__scalbn): Use DBL_NARROW_EVAL.
12504         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12505         (__scalbnf): Use FLT_NARROW_EVAL.
12507 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12509         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12510         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12511         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12512         * stdio-common/printf_fp.c (___printf_fp):
12513         Use signbit to get the sign. Use isinf macro to allow inlining.
12514         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12515         * stdio-common/printf_size.c (__printf_size): Likewise.
12517 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
12519         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12521 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
12523         [BZ #18980]
12524         * sysdeps/generic/math_private.h: Include <float.h>.
12525         (math_narrow_eval): New macro.
12526         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12527         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12528         math_narrow_eval on overflowing return value.
12529         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12530         Likewise.
12531         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12532         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12534         Likewise.
12535         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12537 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12539         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12540         * math/Makefile: Remove isinf_ns.c.
12541         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12542         * math/multc3.c (__multc3): Likewise.
12543         * math/s_casin.c (__casin): Likewise.
12544         * math/s_casinf.c (__casinf): Likewise.
12545         * math/s_casinl.c (__casinl): Likewise.
12546         * math/s_cproj.c (__cproj): Likewise.
12547         * math/s_cprojf.c (__cprojf): Likewise.
12548         * math/s_cprojl.c (__cprofl): Likewise.
12549         * math/s_ctan.c (__ctan): Likewise.
12550         * math/s_ctanf.c (__ctanf): Likewise.
12551         * math/s_ctanh.c (__ctanh): Likewise.
12552         * math/s_ctanhf.c (__ctanhf): Likewise.
12553         * math/s_ctanhl.c (__ctanhl): Likewise.
12554         * math/s_ctanl.c (__ctanl): Likewise.
12555         * math/w_fmod.c (__fmod): Likewise.
12556         * math/w_fmodf.c (__fmodf): Likewise.
12557         * math/w_fmodl.c (_fmodl): Likewise.
12558         * math/w_remainder.c (__remainder): Likewise.
12559         * math/w_remainderf.c (__remainderf): Likewise.
12560         * math/w_remainderl.c (__remainderl): Likewise.
12561         * math/w_scalb.c (__scalb): Likewise.
12562         * math/w_scalbf.c (__scalbf): Likewise.
12563         * math/w_scalbl.c (__scalbl): Likewise.
12564         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12565         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12566         with isinf.
12567         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12569         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12570         __isinf_nsf with isinf.
12571         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12572         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12573         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12574         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12575         with isinf.
12576         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12577         __isinf_nsl with isinf.
12578         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12579         with isinf.
12580         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12581         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12582         __isinf_nsl with isinf.
12583         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12584         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12585         with isinf.
12587 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12589         * resolv/base64.c (rcsid): Remove unused static.
12590         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12591         static.  (tqpi1): Likewise.
12592         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12593         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12594         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12595         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12596         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12597         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12598         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12599         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
12600         Likewise.
12602 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
12604         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12605         <nptl/pthreadP.h>.
12606         (_longjmp_unwind): Use __libc_ptf_call.
12607         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12609 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
12611         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12612         * sysdeps/arm/__longjmp.S: Likewise.
12614 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12616         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12617         Use __builtin_signbit.
12618         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12619         Use __builtin_signbitf.
12620         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12621         Use __builtin_signbitl.
12622         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12623         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12625 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12627         [BZ #15367]
12628         [BZ #17441]
12630         * math/Makefile: Build test-snan.c with -fsignaling-nans.
12631         * math/math.h (fpclassify): Use __builtin_fpclassify when
12632         available.  (signbit): Use __builtin_signbit(f/l).
12633         (isfinite): Use__builtin_isfinite.  (isnormal): Use
12634         __builtin_isnormal.  (isnan): Use __builtin_isnan.
12635         (isinf): Use __builtin_isinf_sign.
12637 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
12639         * benchtests/Makefile: Add bench-math-inlines, link with libm.
12640         * benchtests/bench-math-inlines.c: New benchmark.
12641         * benchtests/bench-util.h: New file.
12642         * benchtests/bench-util.c: New file.
12643         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12645 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
12647         * elf/tst-dlmopen1.c: Define TEST_SO.
12648         (do_test): Use TEST_SO.
12650         * elf/dl-load.c: Include libc-internal.h.
12651         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12653 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12655         [BZ #17887]
12656         * time/strptime_l.c (__strptime_internal): Make %z accept
12657         [+-]HH:MM time zones.
12659 2015-09-18  Vincent Bernat  <vincent@bernat.im>
12661         [BZ #17886]
12662         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12663         valid time zone.
12665 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
12667         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12668         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12669         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12670         (__ASSUME_FDATASYNC): Delete.
12672 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12674         * conform/linknamespace.pl: Require weak undefined symbols to be
12675         in the standard namespace.
12676         (%strong_syms): Rename to %seen_syms.
12677         (%strong_seen): Rename to %seen_where.
12679 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
12681         [BZ #18970]
12682         * misc/error.c (error): Replace pthread_setcancelstate with
12683         __pthread_setcancelstate.
12684         (error_at_line): Likewise.
12685         * posix/wordexp.c (parse_comm): Likewise.
12686         * stdlib/fmtmsg.c (fmtmsg): Likewise.
12687         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12688         (__pthread_setcancelstate): This.
12689         (pthread_setcancelstate): Add an alias.
12690         * nptl/nptl-init.c (pthread_functions): Replace
12691         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12692         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12693         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12694         hidden_proto.
12695         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12696         it with hidden_def.
12697         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12698         (pthread_setcancelstate): Renamed to ...
12699         (__pthread_setcancelstate): This.
12700         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12701         __libc_ptf_call with __pthread_setcancelstate.
12703 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12704             Andreas Schwab  <schwab@suse.de>
12706         [BZ #17118]
12707         * math/s_ctan.c (__ctan): Determine sign of zero real part of
12708         result when imaginary part of argument is infinite using sine and
12709         cosine.
12710         * math/s_ctanf.c (__ctanf): Likewise.
12711         * math/s_ctanl.c (__ctanl): Likewise.
12712         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12713         of result when real part of argument is infinite using sine and
12714         cosine.
12715         * math/s_ctanhf.c (__ctanhf): Likewise.
12716         * math/s_ctanhl.c (__ctanhl): Likewise.
12717         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12718         (ctanh_test_data): Add more tests of ctanh.
12720 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
12722         [BZ #15384]
12723         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12724         bit-mask as in subtraction.
12725         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12726         Likewise.
12727         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12728         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12729         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12731         [BZ #18951]
12732         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12733         underflow exception for small results.
12734         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12735         Likewise.
12736         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12737         Likewise.
12738         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12739         Likewise.
12740         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12741         Likewise.
12742         * math/auto-libm-test-in: Add more tests of tgamma.
12743         * math/auto-libm-test-out: Regenerated.
12745 2015-09-17  Andreas Schwab  <schwab@suse.de>
12747         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12749 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12751         [BZ #18977]
12752         * math/bits/mathcalls.h
12753         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12754         not declare.
12755         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12756         Likewise.
12757         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12758         Likewise.
12759         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12760         Likewise.
12761         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12762         Likewise.
12763         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12764         Likewise.
12765         * conform/data/math.h-data
12766         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12767         function.
12768         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12769         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12770         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12771         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12772         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12773         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12774         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12775         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12776         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12777         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12780         [BZ #6803]
12781         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12782         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12783         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12784         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12785         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12786         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12787         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12788         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12789         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12791         Likewise.
12792         [NO_LONG_DOUBLE] (scalbnl): Likewise.
12793         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12796         long_double_symbol calls.
12797         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12798         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12799         strong alias of __ldexpl.
12800         (scalbnl): Define using long_double_symbol.
12801         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12802         Remove alias.
12803         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12804         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12805         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12806         (scalbln_test_data): Add more errno expectations.
12808 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
12810         Cache the host port like we cache the task port.  This way we do not
12811         need to call the kernel just to get the port.  Furthermore, we no
12812         longer increase the reference count on every invocation of
12813         `mach_host_self'.
12815         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12816         Protect declarations against the macro expansion.
12817         * mach/mach_init.c (__mach_host_self_): New variable.
12818         (mach_init): Initialize `__mach_host_self_'.
12819         * mach/mach_init.h (__mach_host_self_): New declaration.
12820         (__mach_host_self, mach_host_self): New macros.
12821         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12822         Release reference.
12824 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
12826         [BZ #4404]
12827         * po/de.po: Update from Translation Project.
12829         [BZ #16415]
12830         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12831         (__expm1l): Remove code to handle positive infinity and overflow.
12832         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12833         variable.
12834         (__expm1l): Remove code to handle positive infinity and overflow.
12836 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
12837             Paul Pluzhnikov  <ppluzhnikov@google.com>
12839         [BZ #18872]
12840         * stdio-common/Makefile (tst-printf-bz18872): New test.
12841         (tst-printf-bz18872-mem.out): Likewise.
12842         * stdio-common/tst-printf-bz18872.sh: Generate new test.
12843         * stdio-common/vfprintf.c: Fix memory leaks.
12845 2015-09-16  Andreas Schwab  <schwab@suse.de>
12847         [BZ #17244]
12848         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
12849         Remove extra va_start/va_end calls.
12851         [BZ #17243]
12852         * posix/execl.c (execl): Add missing va_end.
12853         * posix/execle.c (execle): Likewise.
12854         * posix/execlp.c (execlp): Likewise.
12856 2015-09-15  Roland McGrath  <roland@hack.frob.com>
12858         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
12859         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
12861 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
12863         [BZ #18967]
12864         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
12865         undefine around includes of <bits/mathcalls.h>.
12866         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
12867         not declare function.
12868         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
12869         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
12870         (scalb): Likewise.
12871         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
12872         not define macro.
12873         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
12874         variable.
12875         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12876         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12877         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12879         [BZ #18857]
12880         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
12881         return non-finite argument without doing ordered comparisons on
12882         it.
12884         [BZ #16296]
12885         * math/fenv.h (fegetround): Use __attribute_pure__.
12886         * include/fenv.h (__fegetround): Likewise.
12888         [BZ #18595]
12889         * math/s_ctan.c (__ctan): Force underflow exception for results
12890         whose real or imaginary part has small absolute value.
12891         * math/s_ctanf.c (__ctanf): Likewise.
12892         * math/s_ctanh.c (__ctanh): Likewise.
12893         * math/s_ctanhf.c (__ctanhf): Likewise.
12894         * math/s_ctanhl.c (__ctanhl): Likewise.
12895         * math/s_ctanl.c (__ctanl): Likewise.
12896         * math/auto-libm-test-in: Do not allow missing underflow for ctan
12897         and ctanh.  Add more tests of ctan and ctanh.
12899         [BZ #15918]
12900         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
12901         handling of cases where one argument is an infinity.
12903         [BZ #18875]
12904         [BZ #18966]
12905         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
12906         (MO): New macro.
12907         (__ieee754_exp10): For small results, force underflow exception
12908         and remove excess range and precision from return value.
12909         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
12910         (MO): New macro.
12911         (__ieee754_exp10f): For small results, force underflow exception
12912         and remove excess range and precision from return value.
12913         * math/auto-libm-test-in: Add more tests of exp10.
12914         * math/auto-libm-test-out: Regenerated.
12916 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
12918         [BZ #18875]
12919         [BZ #18961]
12920         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
12921         (MO): New macro.
12922         (__ieee754_exp): For small results, force underflow exception and
12923         remove excess range and precision from return value.
12924         (__exp_finite): Likewise.
12925         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
12926         (MO): New macro.
12927         (__ieee754_expf): For small results, force underflow exception and
12928         remove excess range and precision from return value.
12929         (__expf_finite): Likewise.
12930         * math/auto-libm-test-in: Add more tests of exp.
12931         * math/auto-libm-test-out: Regenerated.
12933         [BZ #16521]
12934         [BZ #18875]
12935         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
12936         small results.
12937         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
12938         (MO): New macro.
12939         (__ieee754_exp2): For small results, force underflow exception and
12940         remove excess range and precision from return value.
12941         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
12942         (MO): New macro.
12943         (__ieee754_exp2f): For small results, force underflow exception
12944         and remove excess range and precision from return value.
12945         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
12946         (MO): New macro.
12947         (__ieee754_exp2l): Force underflow exception for small results.
12948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12949         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12950         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
12951         (MO): New macro.
12952         (__ieee754_exp2l): Force underflow exception for small results.
12953         * math/auto-libm-test-in: Add more tests or exp2.
12954         * math/auto-libm-test-out: Regenerated.
12956 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
12958         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
12960         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
12961         /dev/null.
12963 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12965         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
12966         io fs process)): Drop spurious backslash.
12968 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
12971         Use sysinfo system call instead of parsing /proc/meminfo.
12972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
12973         Likewise.
12975 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
12977         [BZ #16985]
12978         * programs/localedef.c (main): Display argv[remaining] when
12979         output_path is NULL.
12981 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
12983         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12984         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
12985         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
12986         tanh.
12987         * math/auto-libm-test-out: Regenerated.
12988         * sysdeps/i386/fpu/libm-test-ulps: Update.
12989         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12990         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12993 2015-09-11  Roland McGrath  <roland@hack.frob.com>
12995         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
12996         Use 'override' keyword to freeze the value here, preventing
12997         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
12999 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13001         [BZ #14912]
13002         * sysdeps/aarch64/bits/atomic.h: Move to ...
13003         * sysdeps/aarch64/atomic-machine.h: ...here.
13004         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13005         _AARCH64_ATOMIC_MACHINE_H.
13006         * sysdeps/alpha/bits/atomic.h: Move to ...
13007         * sysdeps/alpha/atomic-machine.h: ...here.
13008         * sysdeps/arm/bits/atomic.h: Move to ...
13009         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13010         * bits/atomic.h: Move to ...
13011         * sysdeps/generic/atomic-machine.h: ...here.
13012         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13013         * sysdeps/i386/bits/atomic.h: Move to ...
13014         * sysdeps/i386/atomic-machine.h: ...here.
13015         * sysdeps/ia64/bits/atomic.h: Move to ...
13016         * sysdeps/ia64/atomic-machine.h: ...here.
13017         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13018         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13019         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13020         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13021         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13022         * sysdeps/microblaze/bits/atomic.h: Move to ...
13023         * sysdeps/microblaze/atomic-machine.h: ...here.
13024         * sysdeps/mips/bits/atomic.h: Move to ...
13025         * sysdeps/mips/atomic-machine.h: ...here.
13026         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13027         * sysdeps/powerpc/bits/atomic.h: Move to ...
13028         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13029         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13030         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13031         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13032         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13033         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13034         <atomic-machine.h> instead of <bits/atomic.h>.
13035         * sysdeps/s390/bits/atomic.h: Move to ...
13036         * sysdeps/s390/atomic-machine.h: ...here.
13037         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13038         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13039         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13040         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13041         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13042         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13043         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13044         * sysdeps/tile/bits/atomic.h: Move to ...
13045         * sysdeps/tile/atomic-machine.h: ...here.
13046         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13047         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13048         <sysdeps/tile/atomic-machine.h> instead of
13049         <sysdeps/tile/bits/atomic.h>.
13050         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13051         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13052         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13053         <sysdeps/tile/atomic-machine.h> instead of
13054         <sysdeps/tile/bits/atomic.h>.
13055         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13056         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13057         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13058         <sysdeps/arm/atomic-machine.h> instead of
13059         <sysdeps/arm/bits/atomic.h>.
13060         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13061         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13062         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13063         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13064         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13065         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13066         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13067         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13068         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13069         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13070         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13071         * sysdeps/x86_64/bits/atomic.h: Move to ...
13072         * sysdeps/x86_64/atomic-machine.h: ...here.
13073         * include/atomic.h: Include <atomic-machine.h> instead of
13074         <bits/atomic.h>.
13076         * sysdeps/mips/mips32/libm-test-ulps: Update.
13077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13079         [BZ #18952]
13080         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13081         not convert non-integer negative arguments to int to determine the
13082         value of signgam.
13083         * math/auto-libm-test-in: Add more tests of lgamma.
13084         * math/auto-libm-test-out: Regenerated.
13086         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13087         cosh, csqrt, erfc, expm1 and lgamma.
13088         * math/auto-libm-test-out: Regenerated.
13089         * sysdeps/i386/fpu/libm-test-ulps: Update.
13090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13092 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13094         [BZ #2542]
13095         [BZ #2543]
13096         [BZ #2558]
13097         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13098         __lgamma_neg for arguments from -28.0 to -2.0.
13099         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13100         __lgamma_negf for arguments from -15.0 to -2.0.
13101         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13102         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13103         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13104         Call __lgamma_negl for arguments from -33.0 to -2.0.
13105         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13106         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13107         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13108         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13109         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13110         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13111         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13112         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13113         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13114         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13115         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13116         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13117         (__lgamma_neg): Likewise.
13118         (__lgamma_negl): Likewise.
13119         (__lgamma_product): Likewise.
13120         (__lgamma_productl): Likewise.
13121         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13122         * math/auto-libm-test-in: Add more tests of lgamma.
13123         * math/auto-libm-test-out: Regenerated.
13124         * sysdeps/i386/fpu/libm-test-ulps: Update.
13125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13127 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13129         [BZ #18675]
13130         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13132 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13134         [BZ #14912]
13135         * bits/libc-lock.h: Move to ...
13136         * sysdeps/generic/libc-lock.h: ...here.
13137         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13138         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13139         * sysdeps/mach/hurd/libc-lock.h: ...here.
13140         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13141         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13142         * sysdeps/mach/bits/libc-lock.h: Move to ...
13143         * sysdeps/mach/libc-lock.h: ...here.
13144         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13145         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13146         * sysdeps/nptl/libc-lock.h: ...here.
13147         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13148         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13149         * sysdeps/nptl/libc-lockP.h: ...here.
13150         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13151         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13152         <bits/libc-lock.h>.
13153         * dirent/scandir-tail.c: Likewise.
13154         * dlfcn/dlerror.c: Likewise.
13155         * elf/dl-close.c: Likewise.
13156         * elf/dl-iteratephdr.c: Likewise.
13157         * elf/dl-lookup.c: Likewise.
13158         * elf/dl-open.c: Likewise.
13159         * elf/dl-support.c: Likewise.
13160         * elf/dl-writev.h: Likewise.
13161         * elf/rtld.c: Likewise.
13162         * grp/fgetgrent.c: Likewise.
13163         * gshadow/fgetsgent.c: Likewise.
13164         * gshadow/sgetsgent.c: Likewise.
13165         * iconv/gconv_conf.c: Likewise.
13166         * iconv/gconv_db.c: Likewise.
13167         * iconv/gconv_dl.c: Likewise.
13168         * iconv/gconv_int.h: Likewise.
13169         * iconv/gconv_trans.c: Likewise.
13170         * include/link.h: Likewise.
13171         * inet/getnameinfo.c: Likewise.
13172         * inet/getnetgrent.c: Likewise.
13173         * inet/getnetgrent_r.c: Likewise.
13174         * intl/bindtextdom.c: Likewise.
13175         * intl/dcigettext.c: Likewise.
13176         * intl/finddomain.c: Likewise.
13177         * intl/gettextP.h: Likewise.
13178         * intl/loadmsgcat.c: Likewise.
13179         * intl/localealias.c: Likewise.
13180         * intl/textdomain.c: Likewise.
13181         * libidn/idn-stub.c: Likewise.
13182         * libio/libioP.h: Likewise.
13183         * locale/duplocale.c: Likewise.
13184         * locale/freelocale.c: Likewise.
13185         * locale/newlocale.c: Likewise.
13186         * locale/setlocale.c: Likewise.
13187         * login/getutent_r.c: Likewise.
13188         * login/getutid_r.c: Likewise.
13189         * login/getutline_r.c: Likewise.
13190         * login/utmp-private.h: Likewise.
13191         * login/utmpname.c: Likewise.
13192         * malloc/mtrace.c: Likewise.
13193         * misc/efgcvt.c: Likewise.
13194         * misc/error.c: Likewise.
13195         * misc/fstab.c: Likewise.
13196         * misc/getpass.c: Likewise.
13197         * misc/mntent.c: Likewise.
13198         * misc/syslog.c: Likewise.
13199         * nis/nis_call.c: Likewise.
13200         * nis/nis_callback.c: Likewise.
13201         * nis/nss-default.c: Likewise.
13202         * nis/nss_compat/compat-grp.c: Likewise.
13203         * nis/nss_compat/compat-initgroups.c: Likewise.
13204         * nis/nss_compat/compat-pwd.c: Likewise.
13205         * nis/nss_compat/compat-spwd.c: Likewise.
13206         * nis/nss_nis/nis-alias.c: Likewise.
13207         * nis/nss_nis/nis-ethers.c: Likewise.
13208         * nis/nss_nis/nis-grp.c: Likewise.
13209         * nis/nss_nis/nis-hosts.c: Likewise.
13210         * nis/nss_nis/nis-network.c: Likewise.
13211         * nis/nss_nis/nis-proto.c: Likewise.
13212         * nis/nss_nis/nis-pwd.c: Likewise.
13213         * nis/nss_nis/nis-rpc.c: Likewise.
13214         * nis/nss_nis/nis-service.c: Likewise.
13215         * nis/nss_nis/nis-spwd.c: Likewise.
13216         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13217         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13218         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13219         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13220         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13221         * nis/nss_nisplus/nisplus-network.c: Likewise.
13222         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13223         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13224         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13225         * nis/nss_nisplus/nisplus-service.c: Likewise.
13226         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13227         * nis/ypclnt.c: Likewise.
13228         * nptl/libc_pthread_init.c: Likewise.
13229         * nss/getXXbyYY.c: Likewise.
13230         * nss/getXXent.c: Likewise.
13231         * nss/getXXent_r.c: Likewise.
13232         * nss/nss_db/db-XXX.c: Likewise.
13233         * nss/nss_db/db-netgrp.c: Likewise.
13234         * nss/nss_db/nss_db.h: Likewise.
13235         * nss/nss_files/files-XXX.c: Likewise.
13236         * nss/nss_files/files-alias.c: Likewise.
13237         * nss/nsswitch.c: Likewise.
13238         * posix/regex_internal.h: Likewise.
13239         * posix/wordexp.c: Likewise.
13240         * pwd/fgetpwent.c: Likewise.
13241         * resolv/res_hconf.c: Likewise.
13242         * resolv/res_libc.c: Likewise.
13243         * shadow/fgetspent.c: Likewise.
13244         * shadow/lckpwdf.c: Likewise.
13245         * shadow/sgetspent.c: Likewise.
13246         * socket/opensock.c: Likewise.
13247         * stdio-common/reg-modifier.c: Likewise.
13248         * stdio-common/reg-printf.c: Likewise.
13249         * stdio-common/reg-type.c: Likewise.
13250         * stdio-common/vfprintf.c: Likewise.
13251         * stdio-common/vfscanf.c: Likewise.
13252         * stdlib/abort.c: Likewise.
13253         * stdlib/cxa_atexit.c: Likewise.
13254         * stdlib/fmtmsg.c: Likewise.
13255         * stdlib/random.c: Likewise.
13256         * stdlib/setenv.c: Likewise.
13257         * string/strsignal.c: Likewise.
13258         * sunrpc/auth_none.c: Likewise.
13259         * sunrpc/bindrsvprt.c: Likewise.
13260         * sunrpc/create_xid.c: Likewise.
13261         * sunrpc/key_call.c: Likewise.
13262         * sunrpc/rpc_thread.c: Likewise.
13263         * sysdeps/arm/backtrace.c: Likewise.
13264         * sysdeps/generic/ldsodefs.h: Likewise.
13265         * sysdeps/generic/stdio-lock.h: Likewise.
13266         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13267         * sysdeps/i386/backtrace.c: Likewise.
13268         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13269         * sysdeps/m68k/backtrace.c: Likewise.
13270         * sysdeps/mach/hurd/cthreads.c: Likewise.
13271         * sysdeps/mach/hurd/dirstream.h: Likewise.
13272         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13273         * sysdeps/nptl/malloc-machine.h: Likewise.
13274         * sysdeps/nptl/stdio-lock.h: Likewise.
13275         * sysdeps/posix/dirstream.h: Likewise.
13276         * sysdeps/posix/getaddrinfo.c: Likewise.
13277         * sysdeps/posix/system.c: Likewise.
13278         * sysdeps/pthread/aio_suspend.c: Likewise.
13279         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13280         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13281         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13282         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13283         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13284         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13285         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13286         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13287         * sysdeps/unix/sysv/linux/system.c: Likewise.
13288         * sysdeps/x86_64/backtrace.c: Likewise.
13289         * time/alt_digit.c: Likewise.
13290         * time/era.c: Likewise.
13291         * time/tzset.c: Likewise.
13292         * wcsmbs/wcsmbsload.c: Likewise.
13293         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13294         instead of <bits/libc-lock.h> in comment.
13296 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
13298         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13299         Only use .set mips2 if the current ISA is below mips2.
13300         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13301         Likewise.
13302         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13303         mips32r2 if the current ISA is below mips32r2.
13304         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13305         (TLS_IE): Updated to use the TLD_RDHWR macro.
13306         (TLS_LE): Likewise.
13307         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13308         __ASSEMBLER__ condition.
13310 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13312         Fix parallel build of before-compile targets.
13314         * sysdeps/mach/Makefile ($(patsubst
13315         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13316         mach-before-compile target.
13317         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13318         io fs process)): Move rule to dedicated hurd-before-compile target.
13320 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13322         Fix rules generating headers in hurd/ and mach/ when initial make call
13323         has subdir= explicitly set.
13325         * sysdeps/mach/Makefile ($(patsubst
13326         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13327         calling $(MAKE).
13328         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13329         io fs process)): Force subdir to hurd when calling $(MAKE).
13330         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13331         subdir to mach when calling $(MAKE).
13333 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
13335         Check sysheaders when looking for Mach and Hurd headers
13337         * sysdeps/mach/configure.ac: Add sysheaders check.
13338         * sysdeps/mach/configure: Regenerate.
13339         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13340         * sysdeps/mach/hurd/configure: Regenerate.
13342 2015-09-04  Roland McGrath  <roland@hack.frob.com>
13344         [BZ #18921]
13345         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13346         Fix inverted sense of test of 'o_directory_works' value.
13347         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13348         Bernhard Voelker <mail@bernhard-voelker.de>.
13350 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #14912]
13353         * bits/linkmap.h: Move to ...
13354         * sysdeps/generic/linkmap.h: ...here.
13355         * sysdeps/aarch64/bits/linkmap.h: Move to ...
13356         * sysdeps/aarch64/linkmap.h: ...here.
13357         * sysdeps/arm/bits/linkmap.h: Move to ...
13358         * sysdeps/arm/linkmap.h: ...here.
13359         * sysdeps/hppa/bits/linkmap.h: Move to ...
13360         * sysdeps/hppa/linkmap.h: ...here.
13361         * sysdeps/ia64/bits/linkmap.h: Move to ...
13362         * sysdeps/ia64/linkmap.h: ...here.
13363         * sysdeps/mips/bits/linkmap.h: Move to ...
13364         * sysdeps/mips/linkmap.h: ...here.
13365         * sysdeps/s390/bits/linkmap.h: Move to ...
13366         * sysdeps/s390/linkmap.h: ...here.
13367         * sysdeps/sh/bits/linkmap.h: Move to ...
13368         * sysdeps/sh/linkmap.h: ...here.
13369         * sysdeps/x86/bits/linkmap.h: Move to ...
13370         * sysdeps/x86/linkmap.h: ...here.
13371         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13373 2015-09-04  Andreas Schwab  <schwab@suse.de>
13375         [BZ #18635]
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13377         (__makecontext): Terminate FDE before return label.
13378         (__novec_makecontext): Likewise.
13380 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13382         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13383         first member of struct sv in syscall macro.
13385 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
13387         [BZ #14912]
13388         * bits/stdio-lock.h: Move to ...
13389         * sysdeps/generic/stdio-lock.h: ...here.
13390         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13391         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13392         * sysdeps/nptl/stdio-lock.h: ...here.
13393         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13394         * include/libio.h: Include <stdio-lock.h> instead of
13395         <bits/stdio-lock.h>.
13396         * sysdeps/nptl/fork.c: Likewise.
13397         * sysdeps/pthread/flockfile.c: Likewise.
13398         * sysdeps/pthread/ftrylockfile.c: Likewise.
13399         * sysdeps/pthread/funlockfile.c: Likewise.
13401         [BZ #14912]
13402         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13403         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13404         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13405         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13406         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13407         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13408         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13410 2015-09-03  Roland McGrath  <roland@hack.frob.com>
13412         * elf/Makefile (test-xfail-tst-protected1a): New variable.
13413         (test-xfail-tst-protected1b): New variable.
13415 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
13417         [BZ #14912]
13418         * bits/libc-tsd.h: Move to ...
13419         * sysdeps/generic/libc-tsd.h: ...here.
13420         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13421         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13422         * sysdeps/mach/hurd/libc-tsd.h: ...here.
13423         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13424         * include/ctype.h: Include <libc-tsd.h> instead of
13425         <bits/libc-tsd.h>.
13426         * include/rpc/rpc.h: Likewise.
13427         * locale/localeinfo.h: Likewise.
13428         * sunrpc/rpc_thread.c: Likewise.
13429         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13430         * sysdeps/nptl/malloc-machine.h: Likewise.
13432         * Makefile (headers): Remove bits/libc-lock.h.
13433         * libio/Makefile (headers): Remove bits/stdio-lock.h.
13435         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13436         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13437         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13438         <bits/stdio-lock.h>.
13439         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13440         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13442 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13444         [BZ #18757]
13445         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13446         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13447         BZ #18757.
13449 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
13451         * malloc/mtrace.pl: Filter out NULL entries.
13453 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
13455         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13456         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13457         macro.
13459         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13460         (TCP_CC_INFO): Likewise.
13461         (TCP_SAVE_SYN): Likewise.
13462         (TCP_SAVED_SYN): Likewise.
13464 2015-08-31  Brett Neumeier <brett@neumeier.us>
13466         [BZ #18870]
13467         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13469 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
13471         [BZ #18873]
13472         Fix broken overflow check in posix_fallocate
13473         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13474         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13475         Fix parenthesization typo.
13477 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
13479         [BZ #18887]
13480         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13481         tst-mntent-blank-passno.
13482         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13483         * misc/tst-mntent-blank-corrupt.c: New test.
13484         * misc/tst-mntent-blank-passno.c: New test ripped from ...
13485         * misc/tst-mntent.c (do_test): ... here.
13487 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
13489         [BZ #4404]
13490         * po/de.po: Fix SIGALRM typo.
13492 2015-08-28  James Perkins  <james@loowit.net>
13494         * time/tst-strptime2.c (tests): Replace short list of test
13495         strings for strptime %z specifier with code which exhaustively
13496         tests every combination of sign and 0 to 5 digits. Tests for
13497         rejection of invalid strings.
13499 2015-08-28  James Perkins  <james@loowit.net>
13501         [BZ #16141]
13502         * time/strptime_l.c (__strptime_internal): Fix %z minutes
13503         calculation, removing incorrect decimal time rounding, so that
13504         all minute values result in a valid seconds value.
13505         * time/strptime_l.c (__strptime_internal): Extend %z time zone
13506         offset range limits to UTC-99:59 through UTC+99:59 to parse
13507         current and historical use cases.
13508         * time/tst-strptime2.c (tests): Modify and add tests for the
13509         strptime %z input field descriptor, specifically conversion of
13510         minutes to seconds and validating an offset range of -9959 to
13511         +9959.
13513 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13514             Dmitry V. Levin  <ldv@altlinux.org>
13516         [BZ #18877]
13517         * posix/Makefile (tests): Add tst-mmap-offset.
13518         * posix/tst-mmap.c: New file.
13519         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13520         offset calculation for negative values.
13522 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13524         * sysdeps/i386/init-arch.h: New file.
13525         * sysdeps/i386/i586/init-arch.h: Likewise.
13526         * sysdeps/i386/i686/init-arch.h: Likewise.
13527         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13528         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
13529         * sysdeps/x86/cpu-features.h (bit_I586): New.
13530         (bit_I686): Likewise.
13531         (bit_CX8): Likewise.
13532         (bit_CMOV): Likewise.
13533         (index_CX8): Likewise.
13534         (index_CMOV): Likewise.
13535         (index_I586): Likewise.
13536         (index_I686): Likewise.
13537         (reg_CX8): Likewise.
13538         (reg_CMOV): Likewise.
13539         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13540         available at compile-time.
13541         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13542         available at compile-time.
13543         * sysdeps/x86/init-arch.h (USE_I586): New macro.
13544         (USE_I686): Likewise.
13546 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13548         * sysdeps/i386/bcopy.S: New file.
13549         * sysdeps/i386/bzero.S: Likewise.
13550         * sysdeps/i386/memcpy.S: Likewise.
13551         * sysdeps/i386/memmove.S: Likewise.
13552         * sysdeps/i386/mempcpy.S: Likewise.
13553         * sysdeps/i386/memset.S: Likewise.
13554         * sysdeps/i386/bzero.c: Removed.
13555         * sysdeps/i386/memset.c: Likewise.
13556         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13557         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13558         * sysdeps/i386/i586/memset_chk.S: Likewise.
13559         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13560         * sysdeps/i386/memcpy_chk.S: Here.
13561         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13562         * sysdeps/i386/memmove_chk.S: Here.
13563         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13564         * sysdeps/i386/mempcpy_chk.S: Likewise.
13565         * sysdeps/i386/i686/memset_chk.S: Moved to ...
13566         * sysdeps/i386/memset_chk.S: Likewise.
13568 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
13570         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13571         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13572         file, move DIAG_POP_NEEDS_COMMENT to end of file.
13573         * soft-fp/fmadf4.c: Ditto.
13574         * soft-fp/fmatf4.c: Ditto.
13576 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13578         * sysdeps/i386/i586/Implies: Removed.
13579         * sysdeps/i386/i686/Implies: Likewise.
13581 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13583         * sysdeps/i386/i486/strlen.S: Moved to ...
13584         * sysdeps/i386/strlen.S: Here.
13586 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13588         * sysdeps/i386/i486/strcat.S: Moved to ...
13589         * sysdeps/i386/strcat.S: Here.
13591 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13593         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13594         * sysdeps/i386/pthread_spin_trylock.S: Here.
13595         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13596         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13598 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13600         * sysdeps/i386/i486/string-inlines.c: Moved to ...
13601         * sysdeps/i386/string-inlines.c: Here.
13603 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13605         * sysdeps/i386/i486/htonl.S: Moved ...
13606         * sysdeps/i386/htonl.S: here.
13608 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13610         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13611         * sysdeps/i386/bits/atomic.h: Here.
13613 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
13615         * sysdeps/i386/i486/Versions: Removed.
13617 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13619         [BZ #2898]
13620         * misc/mktemp.c: Add mkdtemp to the link_warning message.
13621         Based on patch by Aurelien Jarno.
13623 2015-08-26  Stan Shebs  <stanshebs@google.com>
13625         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13626         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13628 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13630         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13631         * sysdeps/powerpc/dl-procinfo.c:
13632         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13633         feature so it shows when LD_SHOW_AUXV=1.
13635 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13637         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13638         (__arch_compare_and_exchange_val_32_acq): Remove and use common
13639         definition.  ISA 2.07B no longer requires full sync.
13641 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
13643         [BZ #18863]
13644         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13645         (si_call_addr): Define.
13646         (si_syscall): Define.
13647         (si_arch): Define.
13649 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
13651         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13652         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13653         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13654         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13655         (__memset_zero_constant_len_parameter): New.
13656         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13657         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13658         (__memset_zero_constant_len_parameter): Don't define if
13659         __memset_chk or USE_AS_BZERO are defined.
13661         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13662         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13663         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13665         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13666         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13667         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13668         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
13669         comments.
13670         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13671         -mno-mmx for $(all-rtld-routines).
13672         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13673         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
13674         i386.
13676 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13678         * sysdeps/generic/unwind.h
13679         (_Unwind_Word): Use __mode__(__unwind_word__)
13680         instead of __mode__(__word__).
13681         (_Unwind_Sword): Likewise.
13683         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13684         (MAX_NEEDED_INPUT): New define.
13685         (MAX_NEEDED_OUTPUT): New define.
13687         * NEWS: New item for IBM z13 string optimizations.
13689         * sysdeps/s390/multiarch/memrchr-c.c: New File.
13690         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13691         * sysdeps/s390/multiarch/memrchr.c: Likewise.
13692         * sysdeps/s390/multiarch/Makefile
13693         (sysdep_routines): Add memrchr functions.
13694         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13695         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13697         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13698         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13699         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13700         * sysdeps/s390/multiarch/Makefile
13701         (sysdep_routines): Add wmemcmp functions.
13702         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13703         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13704         * benchtests/bench-wmemcmp.c: New File.
13705         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13707         * sysdeps/s390/multiarch/wmemset-c.c: New File.
13708         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13709         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13710         * sysdeps/s390/multiarch/Makefile
13711         (sysdep_routines): Add wmemset functions.
13712         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13713         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13714         * wcsmbs/wmemset.c: Use WMEMSET if defined.
13715         * string/test-memset.c: Add wmemset support.
13716         * wcsmbs/test-wmemset.c: New File.
13717         * wcsmbs/Makefile (strop-tests): Add wmemset.
13718         * benchtests/bench-memset.c: Add wmemset support.
13719         * benchtests/bench-wmemset.c: New File.
13720         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13722         * sysdeps/s390/multiarch/memccpy-c.c: New File.
13723         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13724         * sysdeps/s390/multiarch/memccpy.c: Likewise.
13725         * sysdeps/s390/multiarch/Makefile
13726         (sysdep_routines): Add memccpy functions.
13727         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13728         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13729         * string/memccpy.c: Use MEMCCPY if defined.
13731         * sysdeps/s390/multiarch/memchr-vx.S: New File.
13732         * sysdeps/s390/multiarch/memchr.c: Likewise.
13733         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13734         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13735         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13736         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13737         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13738         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13739         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13740         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13741         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13742         and rawmemchr functions.
13743         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13744         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13745         and wmemchr.
13746         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13747         * string/test-memchr.c: Add wmemchr support.
13748         * wcsmbs/test-wmemchr.c: New File.
13749         * wcsmbs/Makefile (strop-tests): Add wmemchr.
13750         * benchtests/bench-memchr.c: Add wmemchr support.
13751         * benchtests/bench-wmemchr.c: New File.
13752         * benchtests/Makefile (wcsmbs-bench): wmemchr.
13754         * sysdeps/s390/multiarch/strcspn-c.c: New File.
13755         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13756         * sysdeps/s390/multiarch/strcspn.c: Likewise.
13757         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13758         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13759         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13760         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13761         wcscspn functions.
13762         * sysdeps/s390/multiarch/ifunc-impl-list.c
13763         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13764         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13765         * string/test-strcspn.c: Add wcscspn support.
13766         * wcsmbs/test-wcscspn.c: New File.
13767         * wcsmbs/Makefile (strop-tests): Add wcscspn.
13768         * benchtests/bench-strcspn.c: Add wcscspn support.
13769         * benchtests/bench-wcscspn.c: New File.
13770         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13772         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13773         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13774         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13775         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13776         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13777         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13779         wcspbrk functions.
13780         * sysdeps/s390/multiarch/ifunc-impl-list.c
13781         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13782         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13783         * string/test-strpbrk.c: Add wcspbrk support.
13784         * wcsmbs/test-wcspbrk.c: New File.
13785         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13786         * benchtests/bench-strpbrk.c: Add wcspbrk support.
13787         * benchtests/bench-wcspbrk.c: New File.
13788         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13790         * sysdeps/s390/multiarch/strspn-c.c: New File.
13791         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13792         * sysdeps/s390/multiarch/strspn.c: Likewise.
13793         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13794         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13795         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13796         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13797         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13798         wcsspn functions.
13799         * sysdeps/s390/multiarch/ifunc-impl-list.c
13800         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13801         * string/test-strspn.c: Add wcsspn support.
13802         * wcsmbs/test-wcsspn.c: New File.
13803         * wcsmbs/Makefile (strop-tests): Add wcsspn.
13804         * benchtests/bench-strspn.c: Add wcsspn support.
13805         * benchtests/bench-wcsspn.c: New File.
13806         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13808         * sysdeps/s390/multiarch/strrchr-c.c: New File.
13809         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13810         * sysdeps/s390/multiarch/strrchr.c: Likewise.
13811         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13812         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13813         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13814         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13815         wcsrchr functions.
13816         * sysdeps/s390/multiarch/ifunc-impl-list.c
13817         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13818         * benchtests/bench-wcsrchr.c: New File.
13819         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13821         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13822         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13823         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13824         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13825         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13826         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13827         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13828         wcschrnul functions.
13829         * sysdeps/s390/multiarch/ifunc-impl-list.c
13830         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13831         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13832         * string/test-strchr.c: Add wcschrnul support.
13833         * wcsmbs/test-wcschrnul.c: New File.
13834         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13835         * benchtests/bench-strchr.c: Add wcschrnul support.
13836         * benchtests/bench-wcschrnul.c: New File.
13837         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13839         * sysdeps/s390/multiarch/strchr-c.c: New File.
13840         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13841         * sysdeps/s390/multiarch/strchr.c: Likewise.
13842         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13843         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
13844         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13845         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
13846         wcschr functions.
13847         * sysdeps/s390/multiarch/ifunc-impl-list.c
13848         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
13849         * string/strchr.c (STRCHR): Define and use macro.
13850         * benchtests/bench-wcschr.c: New File.
13851         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
13853         * sysdeps/s390/multiarch/strncmp-c.c: New File.
13854         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
13855         * sysdeps/s390/multiarch/strncmp.c: Likewise.
13856         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
13857         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
13858         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
13859         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
13860         wcsncmp functions.
13861         * sysdeps/s390/multiarch/ifunc-impl-list.c
13862         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
13863         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
13864         * benchtests/bench-strncmp.c: Add wcsncmp support.
13865         * benchtests/bench-wcsncmp.c: New File.
13866         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
13868         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
13869         * sysdeps/s390/multiarch/strcmp.c: Likewise.
13870         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
13871         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
13872         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13873         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
13874         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
13875         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
13876         wcscmp functions.
13877         * sysdeps/s390/multiarch/ifunc-impl-list.c
13878         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
13879         * string/strcmp.c (STRCMP): Define and use macro.
13880         * benchtests/bench-wcscmp.c: New File.
13881         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
13882         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
13883         instead of _HAVE_STRING_ARCH_memchr.
13885         * sysdeps/s390/multiarch/strncat-c.c: New File.
13886         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
13887         * sysdeps/s390/multiarch/strncat.c: Likewise.
13888         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
13889         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
13890         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
13891         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
13892         wcsncat functions.
13893         * sysdeps/s390/multiarch/ifunc-impl-list.c
13894         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
13895         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
13896         * string/test-strncat.c: Add wcsncat support.
13897         * wcsmbs/test-wcsncat.c: New File.
13898         * wcsmbs/Makefile (strop-tests): Add wcsncat.
13899         * benchtests/bench-strncat.c: Add wcsncat support.
13900         * benchtests/bench-wcsncat.c: New File.
13901         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
13903         * sysdeps/s390/multiarch/strcat-c.c: New File.
13904         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
13905         * sysdeps/s390/multiarch/strcat.c: Likewise.
13906         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
13907         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
13908         * sysdeps/s390/multiarch/wcscat.c: Likewise.
13909         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
13910         wcscat functions.
13911         * sysdeps/s390/multiarch/ifunc-impl-list.c
13912         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
13913         * string/strcat.c (STRCAT): Define and use macro.
13914         * wcsmbs/wcscat.c: Use WCSCAT if defined.
13915         * string/test-strcat.c: Add wcscat support.
13916         * wcsmbs/test-wcscat.c: New File.
13917         * wcsmbs/Makefile (strop-tests): Add wcscat.
13918         * benchtests/bench-strcat.c: Add wcscat support.
13919         * benchtests/bench-wcscat.c: New File.
13920         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
13922         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
13923         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
13924         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
13925         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
13926         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
13927         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
13928         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
13929         wcpncpy functions.
13930         * sysdeps/s390/multiarch/ifunc-impl-list.c
13931         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
13932         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
13933         * string/test-stpncpy.c: Add wcpncpy support.
13934         * wcsmbs/test-wcpncpy.c: New File.
13935         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
13936         * benchtests/bench-stpncpy.c: Add wcpncpy support.
13937         * benchtests/bench-wcpncpy.c: New File.
13938         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
13940         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
13941         * sysdeps/s390/multiarch/strncpy.c: Likewise.
13942         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
13943         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
13944         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
13945         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
13946         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
13947         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
13948         wcsncpy functions.
13949         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
13950         * sysdeps/s390/multiarch/ifunc-impl-list.c
13951         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
13952         * string/test-strncpy.c: Add wcsncpy support.
13953         * wcsmbs/test-wcsncpy.c: New File.
13954         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
13955         * benchtests/bench-strncpy.c: Add wcsncpy support.
13956         * benchtests/bench-wcsncpy.c: New File.
13957         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
13959         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
13960         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
13961         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
13962         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
13963         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
13964         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
13965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
13966         wcpcpy functions.
13967         * string/stpcpy.c: Use STPCPY if defined.
13968         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
13969         * sysdeps/s390/multiarch/ifunc-impl-list.c
13970         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
13971         * string/test-stpcpy.c: Add wcpcpy support.
13972         * wcsmbs/test-wcpcpy.c: New File.
13973         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
13974         * benchtests/bench-stpcpy.c: Add wcpcpy support.
13975         * benchtests/bench-wcpcpy.c: New File.
13976         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
13978         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
13979         * sysdeps/s390/multiarch/strcpy.c: Likewise.
13980         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
13981         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
13982         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
13983         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
13984         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
13985         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
13986         wcscpy functions.
13987         * sysdeps/s390/multiarch/ifunc-impl-list.c
13988         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
13989         * benchtests/bench-wcscpy.c: New File.
13990         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
13992         * sysdeps/s390/multiarch/strnlen-c.c: New File.
13993         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
13994         * sysdeps/s390/multiarch/strnlen.c: Likewise.
13995         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
13996         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
13997         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
13998         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
13999         wcsnlen functions.
14000         * sysdeps/s390/multiarch/ifunc-impl-list.c
14001         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14002         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14003         * string/test-strnlen.c: Add wcsnlen support.
14004         * wcsmbs/test-wcsnlen.c: New File.
14005         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14006         * benchtests/bench-strnlen.c: Add wcsnlen support.
14007         * benchtests/bench-wcsnlen.c: New File.
14008         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14010         * sysdeps/s390/multiarch/Makefile: New File.
14011         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14012         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14013         * sysdeps/s390/multiarch/strlen.c: Likewise.
14014         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14015         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14016         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14017         * string/strlen.c (STRLEN): Define and use macro.
14018         * sysdeps/s390/multiarch/ifunc-impl-list.c
14019         (IFUNC_VX_IMPL): New macro function.
14020         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14021         * benchtests/Makefile (wcsmbs-bench): New variable.
14022         (string-bench-all): Added wcsmbs-bench.
14023         * benchtests/bench-wcslen.c: New File.
14025         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14026         s390_vx_libc_ifunc2): New macro function.
14028         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14029         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14030         assembler support.
14031         * sysdeps/s390/configure: Regenerated.
14033         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14034         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14036         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14037         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14038         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14040         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14041         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14043         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14044         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14045         (memcmp, bcmp): Use __memcmp_default as alias source.
14046         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14047         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14048         Rename to __memcmp_default.
14049         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14050         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14051         (memcpy): Use __memcpy_default as alias source.
14052         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14053         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14054         Rename to __memcpy_default.
14055         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14056         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14057         (memset): Use __memset_default as alias source.
14058         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14059         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14060         Rename to __memset_default.
14061         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14062         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14063         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14064         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14065         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14066         (memcmp, bcmp): Use __memcmp_default as alias source.
14067         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14068         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14069         Rename to __memcmp_default.
14070         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14071         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14072         (memcpy): Use __memcpy_default as alias source.
14073         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14074         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14075         Rename to __memcpy_default.
14076         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14077         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14078         (memset): Use __memset_default as alias source.
14079         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14080         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14081         Rename to __memset_default.
14082         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14083         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14085         [BZ #18610]
14086         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14087         __ieee_instruction_pointer to __unused.
14088         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14089         __ieee_instruction_pointer.
14090         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14091         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14092         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14093         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14094         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14095         Mark dxc-field as reserved.
14097 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14099         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14100         if the weak reference is not null.
14102 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14104         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14106         [BZ #11214]
14107         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14109 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14111         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14112         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14113         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14114         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14115         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14116         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14117         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14118         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14119         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14120         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14121         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14122         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14123         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14124         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14125         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14126         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14127         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14128         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14130 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14132         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14133         register other than r0 for tabort, it has special meaning.
14134         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14135         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14136         transaction before starting syscall.
14138 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14140         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14142 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14144         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14146         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14147         * sysdeps/x86_64/rtld-memset.S: Likewise.
14148         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14149         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14150         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14151         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14153         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14155 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14157         * debug/strcpy_chk.c: Improve performance.
14158         * debug/stpcpy_chk.c: Likewise.
14159         * sysdeps/x86_64/strcpy_chk.S: Remove.
14160         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14162         [BZ #18240]
14163         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14165 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14167         [BZ #15128]
14168         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14169         ifuncmain8.
14170         (modules-names): Add ifuncmod8.
14171         ($(objpfx)ifuncmain8): New rule.
14172         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14173         <cpuid.h>.
14174         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14175         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14176         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14177         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14178         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14179         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14180         * sysdeps/x86_64/ifuncmain8.c: New file.
14181         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14182         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14183         Removed.
14184         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14185         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14186         Change rtld_savespace_sse to __glibc_unused2.
14187         (RTLD_CHECK_FOREIGN_CALL): Removed.
14188         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14189         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14190         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14192 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14194         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14196 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14198         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14199         Unconditionally set __fpcr to avoid uninialized warning.
14200         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14202 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14204         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14205         is corrupt.
14207         * malloc/arena.c (arena_get2): Drop unused argument.
14208         (arena_lock): Adjust.
14209         (arena_get_retry): Likewise.
14211 2015-08-24  Andreas Schwab  <schwab@suse.de>
14213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14214         Don't define.
14215         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14216         (__ASSUME_IPC64): Don't undef.
14217         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14218         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14219         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14220         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14221         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14222         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14223         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14224         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14225         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14226         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14227         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14228         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14229         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14230         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14231         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14232         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14233         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14234         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14235         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14236         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14237         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14239 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14241         * manual/Makefile (install): Only build manual when perl is available.
14243 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14246         '#undef memcpy' by '#undef memchr'.
14248 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14250         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14251         memchr not point to the internal __GI_memchr implementation.
14253 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14255         * timezone/Makefile (CFLAGS-zdump.c): Remove
14256         -Wno-strict-prototypes.
14257         (CFLAGS-zic.c): Likewise.
14258         (CFLAGS-ialloc.c): Likewise.
14259         (CFLAGS-scheck.c): Likewise.
14261         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14262         -Wno-error=undef.
14264 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14266         * i386/i686/multiarch/strcasestr-c.c: Removed.
14267         * x86_64/multiarch/strcasestr.c: Likewise.
14268         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14269         Remove strcasestr.
14271 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14273         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14275         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14276         variables for high and low parts before possibly modifying them.
14278 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14280         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14281         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14282         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14283         of "multiarch/init-arch.h".
14284         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14285         * sysdeps/x86/init-arch.h: This.
14287 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14289         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14290         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14292 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
14294         [BZ #17787]
14295         * manual/macros.texi: Add twoexp macro.
14296         * manual/filesys.texi: Fix exponents.
14297         * manual/llio.texi: Likewise.
14298         * manual/stdio.texi: Likewise.
14300 2015-08-20  Florian Weimer  <fweimer@redhat.com>
14302         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14303         incorrect use.
14305 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14307         [BZ #18370]
14308         * math/s_csqrt.c (__csqrt): Force underflow exception for results
14309         whose real or imaginary part has small absolute value.
14310         * math/s_csqrtf.c (__csqrtf): Likewise.
14311         * math/s_csqrtl.c (__csqrtl): Likewise.
14312         * math/auto-libm-test-in: Add more tests of csqrt.
14313         * math/auto-libm-test-out: Regenerated.
14314         * sysdeps/i386/fpu/libm-test-ulps: Update.
14316 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14318         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14319         __ppc_set_ppr_very_low): New functions.
14320         * manual/platform.texi: Add documentation about
14321         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14323 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
14325         * string/stpncpy.c (stpncpy): Improve performance using
14326         __strnlen/memcpy/memset.
14328 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14330         [BZ #18796]
14331         * scripts/test-installation.pl: Don't add -lmvec to build options if
14332         libmvec wasn't built.
14334 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
14336         [BZ #14341]
14337         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14338         case when there is a gap between DT_REL and DT_JMPREL sections.
14339         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14340         (LDFLAGS-tst-split-dynreloc): New.
14341         (tst-split-dynreloc-ENV): Likewise.
14342         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14343         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14345 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14347         [BZ #18822]
14348         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14349         attribute_hidden.
14350         (__xstat64_conv): Likewise.
14351         (__xstat32_conv): Likewise.
14353 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14355         [BZ #18822]
14356         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14357         Don't load %ebx when calling __setcontext.  Call __setcontext
14358         with HIDDEN_JUMPTARGET.
14359         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14360         libc_hidden_def.
14362 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14364         * sysdeps/i386/i686/Makefile
14365         [$(subdir) == string] (sysdep_routines): Moved to ...
14366         * sysdeps/i386/Makefile: Here.
14367         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14368         * sysdeps/i386/cacheinfo.c: Here.
14369         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14370         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14371         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14372         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14374 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
14376         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14377         __i586__ is defined.
14378         (HAS_I686): Defined to 1 if __i686__ is defined.
14380 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
14382         * elf/Makefile [$(have-z-execstack) = yes]
14383         (CPPFLAGS-tst-execstack.c): New variable.
14385         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14386         conditional to [defined UTMPX || _HAVE_UT_TYPE].
14387         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14388         UTMPX || _HAVE_UT_TV].
14389         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14390         UTMPX || _HAVE_UT_TV - 0].
14392 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
14394         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14395         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14396         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14398 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14400         * sysdeps/powerpc/dl-procinfo.c:
14401         (_dl_powerpc_cap_flags): Added missing strings for some
14402         hwcap features.
14403         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14405 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
14407         Port the 0x7efe...feff pattern to GCC 6.
14408         See Steve Ellcey's bug report in:
14409         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14410         * string/memrchr.c (MEMRCHR):
14411         * string/rawmemchr.c (RAWMEMCHR):
14412         * string/strchr.c (strchr):
14413         * string/strchrnul.c (STRCHRNUL):
14414         Rewrite code to avoid issues with signed shift overflow.
14416 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
14418         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14419         whether cpuid is available only if HAS_CPUID is 0.
14420         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14421         (HAS_I586): Likewise.
14422         (HAS_I686): Likewise.
14424 2015-08-18  Zack Weinberg  <zackw@panix.com>
14426         * misc/Versions (libc): Add GLIBC_2.23.
14428 2015-08-18  Alan Modra  <amodra@gmail.com>
14430         [BZ #18421]
14431         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14432         .Lp__global.
14433         (_start): Load %dp via .Lp__global.
14434         [!SHARED]: Use .section .rodata.
14436 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14438         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14439         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14441 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14443         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14444         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14446 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14448         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14449         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14451 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14453         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14454         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14456 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14458         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14459         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14461 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14463         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14464         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14466 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14468         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14470 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14472         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14473         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
14474         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14475         (__ASSUME_LWS_CAS): Delete.
14477 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
14479         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14480         * sysdeps/hppa/configure: Regenerated.
14481         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14482         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14483         * sysdeps/hppa/nptl/tls.h: Likewise.
14485 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
14487         [BZ #18823]
14488         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14489         for scaling up small arguments.
14490         * math/s_csqrtf.c (__csqrtf): Likewise.
14491         * math/s_csqrtl.c (__csqrtl): Likewise.
14492         * math/auto-libm-test-in: Add more tests of csqrt.
14493         * math/auto-libm-test-out: Regenerated.
14495 2015-08-17  Andreas Schwab  <schwab@suse.de>
14497         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14498         version set GLIBC_2.19.
14500 2015-08-16  Zack Weinberg  <zackw@panix.com>
14502         [BZ #18681]
14503         * misc/regexp.h: This interface is no longer supported.
14504         Remove all contents, leaving only an #error directive.
14505         * misc/regexp.c (loc1, loc2, locs, step, advance):
14506         Demote to compatibility symbols.
14508 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
14510         [BZ #18084]
14511         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14512         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14513         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14514         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14515         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14516         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14517         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14518         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14519         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14521 2015-08-15  Zack Weinberg  <zackw@panix.com>
14523         [BZ #18795]
14524         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14525         buffer length is known to be too large, not if it's known to be
14526         small enough.
14527         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14528         overflow at runtime, involving a length parameter, twice: once
14529         with a compile-time constant length parameter, once without.
14531 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
14533         [BZ #18824]
14534         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14535         scaling x * y up instead of down.
14536         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14538         * math/auto-libm-test-in: Add more tests of fma.
14539         * math/auto-libm-test-out: Regenerated.
14541 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14545 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14547         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14548         unnecessary movq.
14549         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14550         Likewise.
14552 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
14554         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14555         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14556         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14557         and tgamma.
14558         * math/auto-libm-test-out: Regenerated.
14559         * sysdeps/i386/fpu/libm-test-ulps: Update.
14560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14562         [BZ #16520]
14563         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14564         (__tanh): Force underflow exception for arguments with small
14565         absolute value.
14566         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14567         (__tanhf): Force underflow exception for arguments with small
14568         absolute value.
14569         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14570         (__tanhl): Force underflow exception for arguments with small
14571         absolute value.
14572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14573         (__tanhl): Force underflow exception for arguments with small
14574         absolute value.
14575         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14576         (__tanhl): Force underflow exception for arguments with small
14577         absolute value.
14578         * math/auto-libm-test-in: Add more tests of tanh.
14579         * math/auto-libm-test-out: Regenerated.
14580         * sysdeps/i386/fpu/libm-test-ulps: Update.
14582 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14584         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14585         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14587 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14589         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14590         <cpuid.h>.
14592 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14594         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14595         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14597 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14599         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14600         Remove $(objpfx)init-arch.o.
14601         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14602         init-arch.
14603         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14604         (INIT_ARCH_EXT): Defined as empty.
14605         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14606         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14607         __init_cpu_features call.  Replace HAS_XXX with
14608         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14609         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14610         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14611         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14612         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14613         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14614         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14615         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14616         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14618         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14619         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14620         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14621         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14622         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14623         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14624         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14625         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14628         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14631         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14632         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14633         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14636         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14637         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14639         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14640         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14645 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14647         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14648         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14649         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14650         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14651         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14652         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14653         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14654         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14655         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14656         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14657         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14658         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
14659         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14660         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14661         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14662         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14663         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14664         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14665         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14666         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14667         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14668         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14669         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14670         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14671         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14672         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14673         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14674         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14675         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14676         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14677         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14678         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14679         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14680         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14681         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14682         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14683         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14684         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14685         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14686         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14687         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14688         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14689         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14691 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14693         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14694         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14695         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14696         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14697         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14698         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14699         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14700         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14701         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14702         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14703         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14704         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14705         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14706         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14707         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14708         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14709         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14710         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14711         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14712         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14714         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14715         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14716         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14717         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14718         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14719         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14720         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
14721         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14722         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14723         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14724         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14725         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14726         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14727         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14728         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14729         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14730         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14731         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14732         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14733         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14734         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14735         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14737 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
14739         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14740         (dl_platform_init): Call init_cpu_features.
14741         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14742         * sysdeps/i386/i686/cacheinfo.c
14743         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14744         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14745         * sysdeps/i386/i686/multiarch/Versions: Removed.
14746         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14747         Removed.
14748         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14749         * sysdeps/unix/sysv/linux/x86/Makefile
14750         (libpthread-sysdep_routines): Remove init-arch.
14751         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14752         <sysdeps/x86_64/dl-procinfo.c> instead of
14753         sysdeps/generic/dl-procinfo.c>.
14754         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14755         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14756         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14757         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14758         [$(subdir) == elf] (tests-static): Add
14759         tst-get-cpu-features-static.
14760         * sysdeps/x86/Versions: New file.
14761         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14762         * sysdeps/x86/cpu-features.c: Likewise.
14763         * sysdeps/x86/cpu-features.h: Likewise.
14764         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14765         * sysdeps/x86/libc-start.c: Likewise.
14766         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14767         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14768         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14769         * sysdeps/x86_64/dl-procinfo.c: Likewise.
14770         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14771         Assume USE_MULTIARCH is defined and don't check it.
14772         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14773         (is_amd): Likewise.
14774         (max_cpuid): Likewise.
14775         (intel_check_word): Likewise.
14776         (__cache_sysconf): Don't call __init_cpu_features.
14777         (__x86_preferred_memory_instruction): Removed.
14778         (init_cacheinfo): Don't call __init_cpu_features. Replace
14779         __cpu_features with GLRO(dl_x86_cpu_features).
14780         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14781         (dl_platform_init): Call init_cpu_features.
14782         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14783         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14784         * sysdeps/x86_64/multiarch/Versions: Removed.
14785         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14786         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14787         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14788         Removed.
14789         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14791 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14793         [BZ #18820]
14794         * libio/Makefile (test-fmemopen-mem): New test.
14795         * libio/test-fmemopen.c (do_bz18820): New test.
14796         * libio/fmemopen.c (__fmemopen): Fix memory leak.
14797         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14799 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14801         [BZ #16734]
14802         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14803         (FREE_BUF): Delete.
14804         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14805         * libio/genops.c (_IO_setb): Use malloc and free directly.
14806         (_IO_default_doallocate, _IO_default_finish): Likewise.
14807         ( _IO_unbuffer_all): Likewise.
14808         ( libc_freeres_fn): Likewise.
14809         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14810         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14811         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14812         (_IO_wdefault_doallocate): Likewise.
14814 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14816         [BZ #18086]
14817         * sysdeps/posix/nice.c (nice): Restore old errno.
14818         * posix/tst-nice.c (do_test): Add test for BZ #18086.
14820 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
14822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14824 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14826         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14827         __bcopy and add a weak_alias to bcopy.
14828         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14829         for static build.
14831         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14832         cleanup macro usage.
14833         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14834         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14835         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14836         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14837         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14838         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14839         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14840         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14841         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14842         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14843         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14844         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
14845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14846         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
14847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14848         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
14849         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
14850         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
14851         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14853         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
14854         libc_hidden_def.
14855         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
14857         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
14858         (sysdep_routines): Add strstr-ppc64.
14859         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
14861 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
14863         [BZ #18778]
14864         * elf/Makefile (tests): Add Add tst-nodelete2.
14865         (modules-names): Add tst-nodelete2mod.
14866         (tst-nodelete2mod.so-no-z-defs): New.
14867         ($(objpfx)tst-nodelete2): Likewise.
14868         ($(objpfx)tst-nodelete2.out): Likewise.
14869         (LDFLAGS-tst-nodelete2): Likewise.
14870         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
14871         out of loop through all loaded libraries.
14872         * elf/tst-nodelete2.c: New file.
14873         * elf/tst-nodelete2mod.c: Likewise.
14874         * elf/tst-znodelete-zlib.cc: Delete.
14876 2015-08-11  Andreas Schwab  <schwab@suse.de>
14878         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
14879         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
14880         (__openat64_nocancel): Likewise.
14882 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
14884         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
14885         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
14886         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
14887         * math/auto-libm-test-out: Regenerated.
14888         * sysdeps/i386/fpu/libm-test-ulps: Update.
14889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14893         [BZ #18790]
14894         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
14895         threshold for returning +/- 1.
14896         * math/auto-libm-test-in: Add more tests of tanh.
14897         * math/auto-libm-test-out: Regenerated.
14898         * sysdeps/i386/fpu/libm-test-ulps: Update.
14900 2015-08-10  Andreas Schwab  <schwab@suse.de>
14902         [BZ #18781]
14903         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
14904         MORE_OFLAGS to oflag.
14905         * io/test-lfs.c (do_test): Test openat64.
14907 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
14909         [BZ #18789]
14910         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
14911         smaller threshold for returning the argument.
14912         * math/auto-libm-test-in: Add more tests of sinh.
14913         * math/auto-libm-test-out: Regenerated.
14914         * sysdeps/i386/fpu/libm-test-ulps: Update.
14916 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
14918         [BZ #18674]
14919         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
14920         break.
14922 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14924         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
14925         (generated): Don't add $(addprefix z.,$(tzfiles)).
14927 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14929         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
14930         * scripts/sysd-rules.awk: Likewise.
14932 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14934         * iconvdata/tst-tables.sh: Change echo -n to printf.
14935         * nss/db-Makefile: Likewise.
14936         * posix/tst-getconf.sh: Likewise.
14937         * stdio-common/tst-unbputc.sh: Likewise.
14939 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
14941         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
14942         MADV_*_PAGES defines behind this feature check.
14944 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
14946         [BZ #18480]
14947         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
14948         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
14949         Define.
14950         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
14951         LOAD_REGS_5, LOAD_REGS_6): Update.
14952         (INTERNAL_SYSCALL): Update using new LOAD defines.
14953         (INTERNAL_SYSCALL_NCS): Likewise.
14954         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
14956 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14958         [BZ #16734]
14959         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
14961 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14963         [BZ #17905]
14964         * catgets/Makefile (tst-catgets-mem): New test.
14965         * catgets/catgets.c (catopen): Don't use unbounded alloca.
14966         * catgets/open_catalog.c (__open_catalog): Likewise.
14967         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
14969 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
14971         [BZ #18787]
14972         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
14973         clobber registers.
14974         (atomic_compare_and_exchange_val_acq): Use register asms to assign
14975         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
14976         Cast return to __typeof (oldval).
14978 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
14980         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
14981         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
14982         and delete sys/syscall.h include.
14984 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
14986         [BZ #16517]
14987         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
14988         (tan): Force underflow exception for arguments with small absolute
14989         value.
14990         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
14991         (__kernel_tanf): Force underflow exception for arguments with
14992         small absolute value.
14993         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
14994         (__kernel_tanl): Force underflow exception for arguments with
14995         small absolute value.
14996         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
14997         (__kernel_tanl): Force underflow exception for arguments with
14998         small absolute value.
14999         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15000         (__kernel_tanl): Force underflow exception for arguments with
15001         small absolute value.
15002         * math/auto-libm-test-in: Add more tests of tan.
15003         * math/auto-libm-test-out: Regenerated.
15005 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15007         Fix sysdeps/i386/fpu/s_scalbn.S build
15009         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15011 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15013         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15015 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15017         Fix gcrt0.o compilation
15019         When static-start-installed-name is different from
15020         start-installed-name, we must not use the shared objects.
15022         * csu/Makefile
15023         (extra-objs): Add gmon-start.o when building shared library and
15024         $(static-start-installed-name) is different from
15025         $(start-installed-name).
15026         $(objpfx)g$(static-start-installed-name): When building shared
15027         library and $(static-start-installed-name) is different from
15028         $(static-start-installed-name), revert to non-shared rule,
15029         i.e. using $(objpfx)% and gmon-start.o.
15031 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15033         [BZ #16519]
15034         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15035         (__ieee754_sinh): Force underflow exception for arguments with
15036         small absolute value.
15037         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15038         (__ieee754_sinhf): Force underflow exception for arguments with
15039         small absolute value.
15040         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15041         (__ieee754_sinhl): Force underflow exception for arguments with
15042         small absolute value.
15043         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15044         (__ieee754_sinhl): Force underflow exception for arguments with
15045         small absolute value.
15046         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15047         (__ieee754_sinhl): Force underflow exception for arguments with
15048         small absolute value.
15049         * math/auto-libm-test-in: Add more tests of sinh.
15050         * math/auto-libm-test-out: Regenerated.
15051         * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15055         * libio/oldfileops.c: Include unistd.h.
15057 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15059         * stdlib/isomac.c: Include ctype.h.
15061 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15063         * dirent/tst-seekdir.c (main): Converted to ...
15064         (do_test): ... this.
15065         (TEST_FUNCTION): New macro.
15066         Include test-skeleton.c.
15067         * elf/tst-dlmodcount.c (main): Converted to ...
15068         (do_test): ... this.
15069         (TEST_FUNCTION): New macro.
15070         Include test-skeleton.c.
15071         * elf/tst-order-main.c (main): Converted to ...
15072         (do_test): ... this.
15073         (TEST_FUNCTION): New macro.
15074         Include test-skeleton.c.
15075         * elf/tst-pie2.c (main): Converted to ...
15076         (do_test): ... this.
15077         (TEST_FUNCTION): New macro.
15078         Include test-skeleton.c.
15079         * inet/tst-ether_aton.c (main): Converted to ...
15080         (do_test): ... this.
15081         (TEST_FUNCTION): New macro.
15082         Include test-skeleton.c.
15083         * misc/tst-mntent.c (main): Converted to ...
15084         (do_test): ... this.
15085         (TEST_FUNCTION): New macro.
15086         Include test-skeleton.c.
15087         * misc/tst-tsearch.c (main): Converted to ...
15088         (do_test): ... this.
15089         (TEST_FUNCTION): New macro.
15090         Include test-skeleton.c.
15091         * posix/tst-regexloc.c (main): Converted to ...
15092         (do_test): ... this.
15093         (TEST_FUNCTION): New macro.
15094         Include test-skeleton.c.
15095         * resolv/tst-aton.c (main): Converted to ...
15096         (do_test): ... this.
15097         (TEST_FUNCTION): New macro.
15098         Include test-skeleton.c.
15099         * stdio-common/test-fwrite.c (main): Converted to ...
15100         (do_test): ... this.
15101         (TEST_FUNCTION): New macro.
15102         Include test-skeleton.c.
15103         * stdio-common/tst-ferror.c (main): Converted to ...
15104         (do_test): ... this.
15105         (TEST_FUNCTION): New macro.
15106         Include test-skeleton.c.
15107         * stdio-common/tst-printf.c (main): Converted to ...
15108         (do_test): ... this.
15109         (TEST_FUNCTION): New macro.
15110         Include test-skeleton.c.
15111         * stdio-common/tst-printfsz.c (main): Converted to ...
15112         (do_test): ... this.
15113         (TEST_FUNCTION): New macro.
15114         Include test-skeleton.c.
15115         * stdlib/tst-strtod.c (main): Converted to ...
15116         (do_test): ... this.
15117         (TEST_FUNCTION): New macro.
15118         Include test-skeleton.c.
15119         * string/tst-strlen.c (main): Converted to ...
15120         (do_test): ... this.
15121         (TEST_FUNCTION): New macro.
15122         Include test-skeleton.c.
15123         * string/tst-svc.c (main): Converted to ...
15124         (do_test): ... this.
15125         (TEST_FUNCTION): New macro.
15126         Include test-skeleton.c.
15127         * time/tst-strptime.c (main): Converted to ...
15128         (do_test): ... this.
15129         (TEST_FUNCTION): New macro.
15130         Include test-skeleton.c.
15131         * timezone/tst-timezone.c (main): Converted to ...
15132         (do_test): ... this.
15133         (TEST_FUNCTION): New macro.
15134         Include test-skeleton.c.
15136 2015-08-05  Zack Weinberg  <zackw@panix.com>
15138         * misc/regexp.h: Update comments.
15140 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15142         [BZ #18635]
15143         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15144         before return label.
15146 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15148         [BZ #18661]
15149         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15150         when calling __errno_location.
15151         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15152         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15154 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15156         [BZ #18661]
15157         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15158         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15159         __gettimeofday.
15161 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15163         [BZ #18661]
15164         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15165         (__start_context): Don't use pop to restore %rdi so that stack
15166         is aligned to 16 bytes when calling __setcontext.
15168 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15170         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15171         only for libc.
15172         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15174 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15176         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15177         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15178         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15180 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15182         * string/memccpy.c (memccpy):
15183         Improve performance by using memchr/memcpy/__mempcpy.
15185 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15187         * string/strncpy.c (strncpy):
15188         Improve performance by using __strnlen/memcpy.
15190 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15192         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15193         Optimize to avoid an unnecessary FPCR read.
15195 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15197         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15198         Optimize to reduce FPCR/FPSR accesses.
15200 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15202         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15203         dead->data[category] != NULL.
15205 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15207         [BZ #18647]
15208         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15209         and |x| close to 1, use absolute value of x when computing log.
15210         * math/auto-libm-test-in: Add more tests of pow.
15211         * math/auto-libm-test-out: Regenerated.
15213 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15215         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15216         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15217         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15219 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15221         [BZ #18525]
15222         * locales/km_KH: Remove timezone definition.
15223         * locales/lo_LA: Likewise.
15224         * locales/my_MM: Likewise.
15225         * locales/nan_TW@latin: Likewise.
15226         * locales/th_TH: Likewise.
15227         * locales/uk_UA: Likewise.
15229 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15231         [BZ #18265]
15232         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15233         (wcsncat): Likewise.
15234         (wcscmp): Likewise.
15235         (wcsncmp): Likewise.
15237 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15239         * test-skeleton.c (usage): New function.
15240         (main): Call usage when opt is '?'.
15242 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15244         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15245         before first use.
15247 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15249         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15250         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15251         in there too.
15253 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15255         * version.h (RELEASE): Set to "development".
15256         (VERSION): Set to "2.22.90"
15258         * version.h (RELEASE): Set to "stable".
15259         (VERSION): Set to "2.22"
15260         * include/features.h (__GLIBC_MINOR__): Set to 22.
15262 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15264         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15265         Restructure macro to avoid "value computed is not used" warning.
15266         (atomic_compare_and_exchange_val_acq): Likewise.
15268 2015-08-04  Andreas Schwab  <schwab@suse.de>
15270         [BZ #18635]
15271         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15272         ret.
15273         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15275 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15277         * po/pl.po: Updated translation.
15278         * po/uk.po: Likewise.
15279         * po/fi.po: Likewise.
15280         * po/ko.po: Likewise.
15281         * po/ru.po: Likewise.
15282         * po/vi.po: Likewise.
15284 2015-07-31  Zack Weinberg  <zackw@panix.com>
15286         [BZ #18681]
15287         * regexp.h: Add unconditional #warning stating that this header
15288         will be removed soon.  Revise banner comment to match.
15289         (compile): Consistently use ERROR instead of RETURN to report
15290         errors (partial fix for bz#18681).
15291         * regexp.c: Don't include regexp.h. Remove some unnecessary
15292         declarations.
15294 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
15296         * po/libc.pot: Regenerated.
15298 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15300         [BZ #18740]
15301         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15302         float-vlen4-arch-ext-cflags): Removed.
15303         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15304         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15306 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15308         [BZ #14113]
15309         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15310         aligned to __aligned__.
15311         (pthread_cond_t, pthread_rwlock_t): Likewise.
15313 2015-07-30  Torvald Riegel  <triegel@redhat.com>
15315         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15317 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15319         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15320         (struct sigaction): Change sa_flags from a long to an int, and add
15321         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15323 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15325         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15326         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15327         sysdeps/generic/sysdep.h include.
15328         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15329         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
15330         sysdeps/hppa/sysdep.h.
15331         (ENTRY, PSEUDO): Undefine before defining.
15333 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
15335         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15336         from scratch to use INTERNAL_SYSCALL.
15338 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
15340         [BZ #18078]
15341         * scripts/check-localplt.awk: Support alternate relocations.
15342         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15343         sections.
15344         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15345         malloc entries with + REL R_386_GLOB_DAT.
15346         * sysdeps/x86_64/localplt.data: New file.
15348 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
15350         [BZ #18731]
15351         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15352         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15353         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15355 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15357         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15359 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15361         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15362         directly in terms of __sync_fetch_and_add and delete (int) cast.
15364 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15366         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15367         the -D_ASM_IA64_CURRENT_H flag.
15369 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
15371         [BZ #18641]
15372         * pwd/pwd.h (putpwent): Delete __nonnull markings.
15374 2015-07-27  Andreas Schwab  <schwab@suse.de>
15376         * conform/conformtest.pl (checknamespace): Filter out string
15377         literals while tokenizing.
15379 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15381         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15382         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15383         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15385 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
15387         * nptl/tst-join7mod.c: Add #include <string.h>.
15389 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15391         * sysdeps/nios2/libm-test-ulps: Update.
15393 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
15395         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15396         Fix order of arguments to the rt_sigprocmask syscall.
15397         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15398         Likewise.
15400 2015-07-24  Roland McGrath  <roland@hack.frob.com>
15402         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15404 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15406         [BZ #18457]
15407         * nptl/Makefile (tests): New test case tst-join7.
15408         (modules-names): New test case module tst-join7mod.
15409         * nptl/tst-join7.c: New file.
15410         * nptl/tst-join7mod.c: New file.
15411         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15412         all translation units in libc.so, libpthread.so and rtld.
15414 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15418 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
15420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15421         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15422         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15423         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15424         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15425         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15426         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15427         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15428         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15429         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15430         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15431         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15432         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15433         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15435         implementation.
15437 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15439         [BZ #17711]
15440         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15441         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15442         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15443         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15444         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15445         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15447 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15449         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15450         instead of just saying load lock in the comments.
15452 2015-07-23  Roland McGrath  <roland@hack.frob.com>
15454         * sysdeps/unix/Subdirs: Moved ...
15455         * sysdeps/posix/Subdirs: ... here.
15456         * login/pty.h (struct termios, struct winsize): Add forward decls.
15457         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15458         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15459         * sysdeps/arm/nacl/libc.abilist: Updated.
15460         * sysdeps/nacl/libutil.abilist: New file.
15462         * bits/signum.h: Update comments to mention 1003.1-2013 too.
15463         (SIGWINCH): New macro.
15465         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15466         * sysdeps/arm/nacl/libc.abilist: Add it.
15468 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15470         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15472 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
15474         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15475         Swap __glibc_reserved0 and sa_flags order.
15477 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15479         [BZ #18657]
15480         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15481         are pending TLS destructor calls.
15482         * include/link.h (struct link_map): Add concurrency note for
15483         L_TLS_DTOR_COUNT.
15484         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15485         Don't touch the link map flag.  Atomically increment
15486         l_tls_dtor_count.
15487         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15488         Avoid taking the load lock and don't touch the link map flag.
15489         * stdlib/tst-tls-atexit-nodelete.c: New test case.
15490         * stdlib/Makefile (tests): Use it.
15491         * stdlib/tst-tls-atexit.c (do_test): dlopen
15492         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
15493         to allow tst-tls-atexit-nodelete test case to use it.
15495 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15497         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15498         to bits/types.h.
15499         (msgqnum_t): New typedef.
15500         (msglen_t): Likewise.
15501         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
15502         and msg_qbytes type to msglen_t.
15504 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15506         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15507         pad0 to __glibc_reserved0.
15508         (struct stat64): Likewise.
15510 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15512         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15513         Change sa_flags from a long to an int and add __glibc_reserved0 before
15514         it for padding.
15516 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15518         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15519         anonymous by deleting "siginfo" name.
15521 2015-07-21  Roland McGrath  <roland@hack.frob.com>
15523         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15524         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15525         rather than __nacl_irt_filename.
15526         * sysdeps/nacl/xstat.c (__xstat): Likewise.
15528         * NEWS: New item for arm-nacl port.
15529         * sysdeps/arm/nacl/libc.abilist: New file.
15530         * sysdeps/nacl/ld.abilist: New file.
15531         * sysdeps/nacl/libBrokenLocale.abilist: New file.
15532         * sysdeps/nacl/libanl.abilist: New file.
15533         * sysdeps/nacl/libcrypt.abilist: New file.
15534         * sysdeps/nacl/libdl.abilist: New file.
15535         * sysdeps/nacl/libm.abilist: New file.
15536         * sysdeps/nacl/libpthread.abilist: New file.
15537         * sysdeps/nacl/libresolv.abilist: New file.
15538         * sysdeps/nacl/librt.abilist: New file.
15540 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
15542         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15543         __startcontext to initialize the new context.
15544         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15545         up CFI directive to forbid further backtracing.
15547 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
15549         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15550         reference.
15551         * charmaps/ANSI_X3.4-1968: Likewise.
15552         * charmaps/BS_4730: Likewise.
15553         * charmaps/BS_VIEWDATA: Likewise.
15554         * charmaps/CP1250: Likewise.
15555         * charmaps/CP1251: Likewise.
15556         * charmaps/CP1252: Likewise.
15557         * charmaps/CP1253: Likewise.
15558         * charmaps/CP1254: Likewise.
15559         * charmaps/CP1255: Likewise.
15560         * charmaps/CP1256: Likewise.
15561         * charmaps/CSN_369103: Likewise.
15562         * charmaps/EBCDIC-DK-NO: Likewise.
15563         * charmaps/GB_1988-80: Likewise.
15564         * charmaps/GREEK-CCITT: Likewise.
15565         * charmaps/GREEK7: Likewise.
15566         * charmaps/INIS-8: Likewise.
15567         * charmaps/ISIRI-3342: Likewise.
15568         * charmaps/ISO_2033-1983: Likewise.
15569         * charmaps/ISO_5427-EXT: Likewise.
15570         * locales/POSIX: Likewise.
15571         * locales/ar_SA: Likewise.
15572         * locales/be_BY: Likewise.
15573         * locales/be_BY@latin: Likewise.
15574         * locales/ca_ES: Likewise.
15575         * locales/cs_CZ: Likewise.
15576         * locales/da_DK: Likewise.
15577         * locales/de_BE: Likewise.
15578         * locales/de_CH: Likewise.
15579         * locales/de_LU: Likewise.
15580         * locales/en_AU: Likewise.
15581         * locales/en_BW: Likewise.
15582         * locales/en_CA: Likewise.
15583         * locales/en_DK: Likewise.
15584         * locales/en_GB: Likewise.
15585         * locales/en_IE: Likewise.
15586         * locales/en_NZ: Likewise.
15587         * locales/en_ZA: Likewise.
15588         * locales/en_ZW: Likewise.
15589         * locales/es_AR: Likewise.
15590         * locales/es_BO: Likewise.
15591         * locales/es_CL: Likewise.
15592         * locales/es_CO: Likewise.
15593         * locales/es_DO: Likewise.
15594         * locales/es_EC: Likewise.
15595         * locales/es_ES: Likewise.
15596         * locales/es_HN: Likewise.
15597         * locales/es_MX: Likewise.
15598         * locales/es_PA: Likewise.
15599         * locales/es_PE: Likewise.
15600         * locales/es_PY: Likewise.
15601         * locales/es_SV: Likewise.
15602         * locales/es_US: Likewise.
15603         * locales/es_UY: Likewise.
15604         * locales/es_VE: Likewise.
15605         * locales/et_EE: Likewise.
15606         * locales/fa_IR: Likewise.
15607         * locales/fo_FO: Likewise.
15608         * locales/fr_CA: Likewise.
15609         * locales/fr_CH: Likewise.
15610         * locales/gv_GB: Likewise.
15611         * locales/he_IL: Likewise.
15612         * locales/hr_HR: Likewise.
15613         * locales/id_ID: Likewise.
15614         * locales/is_IS: Likewise.
15615         * locales/it_CH: Likewise.
15616         * locales/iw_IL: Likewise.
15617         * locales/kl_GL: Likewise.
15618         * locales/ko_KR: Likewise.
15619         * locales/kw_GB: Likewise.
15620         * locales/lg_UG: Likewise.
15621         * locales/lt_LT: Likewise.
15622         * locales/lv_LV: Likewise.
15623         * locales/mi_NZ: Likewise.
15624         * locales/nhn_MX: Likewise.
15625         * locales/nl_BE: Likewise.
15626         * locales/pl_PL: Likewise.
15627         * locales/sk_SK: Likewise.
15628         * locales/sl_SI: Likewise.
15629         * locales/sv_FI: Likewise.
15630         * locales/tl_PH: Likewise.
15631         * locales/tr_TR: Likewise.
15632         * locales/vi_VN: Likewise.
15634 2015-07-21  Khem Raj  <raj.khem@gmail.com>
15636         [BZ #17475]
15637         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15638         of tu_IN and bh_IN.
15640 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
15642         [BZ #18694]
15643         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15644         bits/wordsize.h.
15645         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15647 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15649         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15650         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15651         (spawn_thread): New function.
15652         (load): Rename to reg_dtor_and_close.  Move dlopen to...
15653         (do_test): ... here.  Use IS_LOADED to test for its
15654         availability.
15656 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
15658         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15660 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
15662         [BZ #18696]
15663         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15664         si_addr_bnd.
15665         (si_lower): New.
15666         (si_upper): Likewise.
15668 2015-07-16  David S. Miller  <davem@davemloft.net>
15670         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15672 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15674         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15675         buffer.
15676         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15677         fail output information.
15679 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15682         and strstr-ppc64..
15683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15684         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15685         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15686         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15687         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15689 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15691         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15692         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15693         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15694         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15696 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
15698         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15699         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15700         rtld_hidden_proto.
15701         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15703 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705         * tst-nodelete-opened.c (do_test): Add comment to clarify how
15706         the test can fail.
15708         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15710         [BZ #18676]
15711         * elf/tst-nodelete-opened.c: New test case.
15712         * elf/tst-nodelete-opened-lib.c: New test case module.
15713         * elf/Makefile (tests, modules-names): Use them.
15714         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15715         early.
15717 2015-07-15  David S. Miller  <davem@davemloft.net>
15719         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15720         futex-intenal.h
15721         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15722         * sysdeps/sparc/sparc64/Makefile: Likewise.
15723         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15724         Remove space from macro define.
15725         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15727 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
15729         [BZ #17475]
15730         * locale/iso-639.def: Update Bhili and Tulu language codes as
15731         per iso639-3.
15733 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
15735         * elf/tst-leaks1.c (main): Converted to ...
15736         (do_test): ... this.
15737         (TEST_FUNCTION): New macro.
15738         Include test-skeleton.c.
15739         * localedata/tst-langinfo.c (main): Converted to ...
15740         (do_test): ... this.
15741         (TEST_FUNCTION): New macro.
15742         Include test-skeleton.c.
15743         * math/test-fpucw.c (main): Converted to ...
15744         (do_test): ... this.
15745         (TEST_FUNCTION): New macro.
15746         Include test-skeleton.c.
15747         * math/test-tgmath.c (main): Converted to ...
15748         (do_test): ... this.
15749         (TEST_FUNCTION): New macro.
15750         Include test-skeleton.c.
15751         * math/test-tgmath2.c (main): Converted to ...
15752         (do_test): ... this.
15753         (TEST_FUNCTION): New macro.
15754         Include test-skeleton.c.
15755         * setjmp/tst-setjmp.c (main): Converted to ...
15756         (do_test): ... this.
15757         (TEST_FUNCTION): New macro.
15758         Include test-skeleton.c.
15759         * stdio-common/tst-sscanf.c (main): Converted to ...
15760         (do_test): ... this.
15761         (TEST_FUNCTION): New macro.
15762         Include test-skeleton.c.
15763         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15764         (do_test): ... this.
15765         (TEST_FUNCTION): New macro.
15766         Include test-skeleton.c.
15768         * elf/tst-audit9.c (main): Converted to ...
15769         (do_test): ... this.
15770         (TEST_FUNCTION): New macro.
15771         Include test-skeleton.c.
15773 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
15775         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15777 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15779         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15780         New variable.
15782 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
15784         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15786 2015-07-14  Roland McGrath  <roland@hack.frob.com>
15788         * sysdeps/generic/dl-fileid.h: New file.
15789         * sysdeps/posix/dl-fileid.h: New file.
15790         * sysdeps/nacl/dl-fileid.h: New file.
15791         * include/link.h: Include <dl-fileid.h>.
15792         (struct link_map): Replace l_dev and l_ino with l_file_id.
15793         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15794         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
15795         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
15797 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15799         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15801 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15803         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15804         Add iff $CXX is set.
15805         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15806         Likewise.
15807         (tst-nodelete-zmodiff): Likewise.
15808         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15810 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15812         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15814 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15816         * sysdeps/aarch64/fpu/math_private.h
15817         (define math_opt_barrier): Add AArch64 version.
15818         (math_force_eval): Likewise.
15820 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
15822         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15824 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
15826         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15827         %ld with %jd and cast to intmax_t.
15828         (do_test_length_zero): Likewise.
15830 2015-07-10  Roland McGrath  <roland@hack.frob.com>
15832         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15834 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
15836         * sysdeps/tile/libm-test-ulps: Regenerated.
15838         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15839         Comment out the whole function, not just its body.
15841 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15843         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
15844         locks.
15846         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
15848 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15850         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
15851         (sem_assume_only_signals_cause_futex_EINTR): Remove.
15853 2015-07-10  Torvald Riegel  <triegel@redhat.com>
15855         * sysdeps/nptl/futex-internal.h: New file.
15856         * sysdeps/nacl/futex-internal.h: New file.
15857         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
15858         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
15859         error checking.
15860         (setxid_unmark_thread): Likewise.
15861         (__nptl_setxid): Likewise.
15862         (__wait_lookup_done): Likewise.
15863         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
15864         * nptl/nptl-init.c (sighandler_setxid): Likewise.
15865         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
15866         * nptl/pthread_once.c (clear_once_control): Likewise.
15867         (__pthread_once_slow): Likewise.
15868         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15869         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
15870         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
15871         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
15872         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
15873         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
15874         Likewise.
15875         (__pthread_rwlock_rdlock): Likewise.
15876         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15877         Likewise.
15878         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
15879         Likewise.
15880         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15881         Likewise.
15882         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
15883         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
15884         Likewise.
15885         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
15886         __ASSUME_PRIVATE_FUTEX check.
15887         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
15888         Check that shared futexes are supported.
15889         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
15890         wrappers with error checking.
15891         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
15892         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
15893         * nptl/pthread_barrierattr_setpshared.c
15894         (pthread_barrierattr_setpshared): Check that shared futexes are
15895         supported.
15896         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
15897         Likewise.
15898         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
15899         Likewise.
15900         * nptl/sem_init.c (futex_private_if_supported): Remove.
15901         (__new_sem_init): Adapt and check that shared futexes are supported.
15902         * nptl/sem_open.c (sem_open): Likewise.
15903         * nptl/sem_post.c (futex_wake): Remove.
15904         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
15905         (do_futex_wait): Use futex wrappers with error checking.
15906         * nptl/sem_wait.c: Include lowlevellock.h.
15907         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
15908         Use futex_supports_pshared.
15909         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
15910         Use futex wrappers with error checking.
15911         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
15912         Likewise.
15913         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
15914         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
15915         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
15916         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
15917         (futex_wake): Likewise.
15918         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
15919         (do_futex_wait): Use futex wrappers with error checking.
15920         (__new_sem_wait_slow): Update EINTR handling.
15921         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
15923 2015-07-09  Martin Sebor  <msebor@redhat.com>
15925         [BZ #18435]
15926         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
15927         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
15928         * nptl/Makefile (test-xfail-tst-once5): Define.
15930 2015-07-09  Roland McGrath  <roland@hack.frob.com>
15932         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
15933         * elf/dl-minimal.c: For readability, reorder some definitions and
15934         introduce more page breaks.  Include <stdio.h>.
15935         (__libc_fatal): New function.
15937         * include/unistd.h: Add rtld_hidden_proto for _exit.
15938         * posix/_exit.c: Add rtld_hidden_def.
15939         * sysdeps/mach/hurd/_exit.c: Likewise.
15940         * sysdeps/nacl/_exit.c: Likewise.
15941         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
15942         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
15944 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
15946         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
15947         bndmov encoding with zero displacement.
15949 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15950             H.J. Lu  <hongjiu.lu@intel.com>
15952         [BZ #18134]
15953         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
15954         * sysdeps/i386/configure: Regenerated.
15955         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15956         (_dl_runtime_profile): Save and restore Intel MPX return bound
15957         registers when calling _dl_call_pltexit.  Add
15958         PRESERVE_BND_REGS_PREFIX before return.
15959         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
15960         (LRV_BND1_OFFSET): Likewise.
15961         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
15962         lrv_bnd1.
15963         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
15964         typo in bndmov encoding.
15965         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
15966         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
15967         branch instructions to preserve bounds.
15969 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15972         [GLIBC_2.22]: Add fmemopen.
15974 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15976         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
15977         returns an error, also try to use host port from __mach_host_self for
15978         the __vm_wire call.
15979         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
15981 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15983         [BZ #18400]
15984         [BZ #18648]
15985         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
15986         Fix pr_uid and pr_gid members.
15987         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
15988         definition to elf_greg_t.
15990 2015-07-08  Roland McGrath  <roland@hack.frob.com>
15992         [BZ #18383]
15993         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
15994         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
15995         * sysdeps/arm/configure: Regenerated.
15996         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
15997         (test-xfail-tst-tlsalign-static): Variable removed.
15999         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16000         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16001         rather than explicit 'ln -s'.
16003         * resolv/rpc/netdb.h: New file.
16004         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16006 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16008         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16009         length buffers.
16010         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16011         test-skeleton.c.
16013         [BZ #6544]
16014         [BZ #11216]
16015         [BZ #12836]
16016         [BZ #13151]
16017         [BZ #13152]
16018         [BZ #14292]
16019         * include/stdio.h (fmemopen): Remove hidden prototype.
16020         (__fmemopen): Add new hidden prototype.
16021         * libio/Makefile: Add oldfmemopen object.
16022         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16023         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16024         compliance.
16025         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16026         symbol compatibility.
16027         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16028         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16029         fmemopen.
16030         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16031         on append and read mode.
16032         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16033         fmemopen.
16034         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16035         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16036         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16037         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16038         Likewise.
16039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16040         [GLIBC_2.22]: Likewise.
16041         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16042         Likewise.
16043         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16044         Likewise.
16045         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16046         [GLIBC_2.22]: Likewise.
16047         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16048         [GLIBC_2.22]: Likewise.
16049         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16050         [GLIBC_2.22]: Likewise.
16051         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16052         [GLIBC_2.22]: Likewise.
16053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16054         [GLIBC_2.22]: Likewise.
16055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16056         [GLIBC_2.22]: Likewise.
16057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16058         [GLIBC_2.22]: Likewise.
16059         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16060         Likewise.
16061         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16062         Likewise.
16063         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16064         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16065         [GLIBC_2.22]: Likewise.
16066         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16067         [GLIBC_2.22]: Likewise.
16068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16069         [GLIBC_2.22]: Likewise.
16070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16071         [GLIBC_2.22]: Likewise.
16072         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16073         Likewise.
16074         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16075         Likewise.
16076         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16077         Likewise.
16078         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16079         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16081 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16083         [BZ #18643]
16084         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16085         IPV6_PATHMTU, and IPV6_DONTFRAG.
16087 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16089         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16090         and _IO_UNBUFFERED.
16091         * libio/oldfileops.c: Likewise.
16092         * libio/wfileops.c: Likewise.
16094 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16096         * nscd/selinux.c: Delete selinux/flask.h include.
16098 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16100         [BZ #18641]
16101         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16102         (putpwent): Likewise.
16103         (getpwnam): Likewise.
16104         (getpwent_r): Likewise.
16105         (getpwuid_r): Likewise.
16106         (getpwnam_r): Likewise.
16107         (fgetpwent_r): Likewise.
16109 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16111         [BZ #18557]
16112         * inet/rcmd.c (__validuser2_sa): Check user first to
16113         short-circuit host check.
16115 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16116             Mikhail Ilin  <m.ilin@samsung.com>
16118         [BZ #17833]
16119         * elf/Makefile (tests): Add tst-nodelete.
16120         (modules-names): Add tst-nodelete-uniquemod.
16121         (tst-nodelete-uniquemod.so-no-z-defs): New.
16122         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16123         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16124         ($(objpfx)tst-nodelete): Likewise.
16125         ($(objpfx)tst-nodelete.out): Likewise.
16126         (LDFLAGS-tst-nodelete): Likewise.
16127         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16128         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16129         implement forced object deletion.
16130         (_dl_close): Pass false to _dl_close_worker.
16131         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16132         * elf/tst-nodelete.cc: New file.
16133         * elf/tst-nodeletelib.cc: Likewise.
16134         * elf/tst-znodeletelib.cc: Likewise.
16135         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16137 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16139         [BZ #18508]
16140         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16141         Depend on $(libdl).
16142         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16143         is not called infinitely times.
16144         (backtrace_helper): New function.
16145         (trace_arg): New struct.
16146         (st1): Enlarge stack size.
16147         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16148         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16149         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16150         Likewise.
16152 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16154         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16156 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16158         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16159         Include sys/types.h instead of bits/types.h.
16160         Remove inclusion of bits/wordsize.h.
16162 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16164         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16165         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16166         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16167         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16168         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16169         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16171 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16173         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16174         link-defines.sym.
16175         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16176         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16177         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16178         and LR_SIZE.
16179         * sysdeps/i386/link-defines.sym: New file.
16181 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16183         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16184         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16185         ($(objpfx)tst-audit3): New rule.
16186         ($(objpfx)tst-audit3.out): Likewise.
16187         * sysdeps/i386/tst-audit3.c: New file.
16188         * sysdeps/i386/tst-audit3.h: Likewise.
16189         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16190         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16192 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16194         [BZ #18633]
16195         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16196         pointer in C code.
16197         (__strcat_c): Likewise.
16198         (__strcat_g): Likewise.
16200 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16202         [BZ #18592]
16203         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16205 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16207         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16208         New function.  (__ieee754_sqrtf): New function.
16209         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16210         New function.
16211         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16212         New function.
16214 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16216         * sysdeps/ieee754/support.c: Remove unused file.
16218 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16220         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16221         registers instead of d ones so the layout is kernel abi compatible.
16222         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16223         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16224         Likewise.
16226 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16228         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16230 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16232         [BZ #18619]
16233         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16234         and return argument in case of subnormal argument.
16236 2015-07-01  Martin Sebor  <msebor@redhat.com>
16238         [BZ #18435]
16239         * nptl/Makefile: Add tst-once5.cc.
16240         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16241         Remove macro redefinitions.
16242         * nptl/tst-once5.cc: New test.
16244 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16246         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16248         * sysdeps/arm/libm-test-ulps: Regenerated.
16250         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16251         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16253 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16255         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16256         lll_lock_wait_private and lll_futex_wake probes.
16258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16260         Likewise.
16261         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16262         atomic_spin_nop.
16263         * sysdeps/x86_64/bits/atomic.h: Likewise.
16264         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16265         to atomic_spin_nop and move ...
16266         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16267         ... here and ...
16268         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16269         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16270         atomic_spin_nop instead of BUSY_WAIT_NOP.
16271         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16272         Likewise.
16273         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16274         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16275         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16276         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16277         instead of atomic_delay.
16279 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16281         [BZ #18613]
16282         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16283         X_ADJ not X when adjusting exponent.
16284         (__ieee754_gamma_r): Do intermediate computations in
16285         round-to-nearest then adjust overflowing and underflowing results
16286         as needed.
16287         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16288         of X_ADJ not X when adjusting exponent.
16289         (__ieee754_gammaf_r): Do intermediate computations in
16290         round-to-nearest then adjust overflowing and underflowing results
16291         as needed.
16292         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16293         log of X_ADJ not X when adjusting exponent.
16294         (__ieee754_gammal_r): Do intermediate computations in
16295         round-to-nearest then adjust overflowing and underflowing results
16296         as needed.  Use 1.0L not 1.0f as numerator of division.
16297         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16298         log of X_ADJ not X when adjusting exponent.
16299         (__ieee754_gammal_r): Do intermediate computations in
16300         round-to-nearest then adjust overflowing and underflowing results
16301         as needed.  Use 1.0L not 1.0f as numerator of division.
16302         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16303         of X_ADJ not X when adjusting exponent.
16304         (__ieee754_gammal_r): Do intermediate computations in
16305         round-to-nearest then adjust overflowing and underflowing results
16306         as needed.  Use 1.0L not 1.0f as numerator of division.
16307         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
16308         to auto-libm-test-in.
16309         (tgamma_test): Use ALL_RM_TEST.
16310         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
16311         tests of tgamma with spurious-overflow.
16312         * math/auto-libm-test-out: Regenerated.
16313         * math/gen-libm-have-vector-test.sh: Do not check for START.
16314         * sysdeps/i386/fpu/libm-test-ulps: Update.
16315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16317         [BZ #18612]
16318         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16319         arguments, just return 0.5 times the argument, with underflow
16320         forced as needed.
16321         * math/auto-libm-test-in: Add more tests of j1.
16322         * math/auto-libm-test-out: Regenerated.
16324         [BZ #16559]
16325         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16326         (__ieee754_j1): Force underflow exception for small results.
16327         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16328         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16329         (__ieee754_j1f): Force underflow exception for small results.
16330         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16331         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16332         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16333         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16334         (__ieee754_j1l): Force underflow exception for small results.
16335         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16336         * math/auto-libm-test-in: Add more tests of j1 and jn.
16337         * math/auto-libm-test-out: Regenerated.
16339         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16340         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16341         (PF_MPLS): Likewise.
16342         (AF_IB): Likewise.
16343         (AF_MPLS): Likewise.
16344         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16345         value and macro.
16346         (MS_RMT_MASK): Include MS_LAZYTIME.
16348 2015-06-26  Mel Gorman  <mgorman@suse.de>
16350         [BZ #18502]
16351         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16352         already minimal.
16354 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
16356         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16357         (DT_MIPS_NUM): Update.
16358         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16359         DT_MIPS_RLD_MAP_REL.
16361 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
16363         [BZ #16559]
16364         [BZ #18602]
16365         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16366         round-to-nearest internally then recompute results that
16367         underflowed to zero in the original rounding mode.
16368         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16369         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16371         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16372         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16373         * sysdeps/i386/fpu/libm-test-ulps: Update.
16374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16376 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16378         * NEWS: Fixed description of link with vector math library.
16380 2015-06-25  Andreas Schwab  <schwab@suse.de>
16382         [BZ #18549]
16383         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16384         * libio/test-fmemopen.c (do_test): Add test for it.
16386 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
16388         [BZ #17841]
16389         * Makeconfig (no-pie-ldflag): New.
16390         (+link): Set to $(+link-pie) if default to PIE.
16391         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16392         * config.make.in (build-pie-default): New.
16393         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
16394         is default.  AC_SUBST.
16395         * configure: Regenerated.
16396         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16398 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16400         * nptl/descr.h (struct pthread): Change type of field setxid_futex
16401         to 'unsigned int'.
16403         * resolv/gai_misc.h (struct waitlist): Change type of field
16404         counterp to 'volatile unsigned int *'.
16405         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16406         FUTEXADDR and OLDVAL.
16407         * resolv/getaddrinfo_a.c (getaddrinfo_a):
16408         Give local variable TOTAL type 'volatile unsigned int'.
16409         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16410         * resolv/gai_suspend.c (gai_suspend):
16411         Give local variable CNTR type 'unsigned int'.
16413         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16414         counterp to 'volatile unsigned int *'.
16415         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16416         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16417         (aio_suspend): Give local variable CNTR type 'unsigned int'.
16418         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16419         Give local variable TOTAL type 'volatile unsigned int'.
16420         (struct async_waitlist): Change type of field counter to 'unsigned int'.
16422 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16424         [BZ #18383]
16425         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16426         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
16427         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16428         comment for i386/x86-64.
16429         (test-xfail-tst-tlsalign-extern-static): Removed.
16431 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16433         * math/test-double.h: New file.
16434         * math/test-float.h: Likewise.
16435         * math/test-ldouble.h: Likewise.
16436         * math/test-math-inline.h: Likewise.
16437         * math/test-math-no-inline.h: Likewise.
16438         * math/test-math-scalar.h: Likewise.
16439         * math/test-math-vector.h: Likewise.
16440         * math/test-vec-loop.h: Remove file.  Contents moved into
16441         test-math-vector.h.
16442         * math/libm-test.inc (MATHCONST): Do not document macro.
16443         * math/test-double.c: Include test-double.h, test-math-no-inline.h
16444         and test-math-scalar.h.
16445         (FUNC): Remove macro.
16446         (FUNC_TEST): Likewise.
16447         (FLOAT): Likewise.
16448         (MATHCONST): Likewise.
16449         (PRINTF_EXPR): Likewise.
16450         (PRINTF_XEXPR): Likewise.
16451         (PRINTF_NEXPR): Likewise.
16452         (TEST_DOUBLE): Likewise.
16453         (TEST_MATHVEC): Likewise.
16454         (__NO_MATH_INLINES): Likewise.
16455         * math/test-float.c: Include test-float.h, test-math-no-inline.h
16456         and test-math-scalar.h.
16457         (FUNC): Remove macro.
16458         (FUNC_TEST): Likewise.
16459         (FLOAT): Likewise.
16460         (MATHCONST): Likewise.
16461         (PRINTF_EXPR): Likewise.
16462         (PRINTF_XEXPR): Likewise.
16463         (PRINTF_NEXPR): Likewise.
16464         (TEST_FLOAT): Likewise.
16465         (TEST_MATHVEC): Likewise.
16466         (__NO_MATH_INLINES): Likewise.
16467         * math/test-idouble.c: Include test-double.h, test-math-inline.h
16468         and test-math-scalar.h.
16469         (FUNC): Remove macro.
16470         (FUNC_TEST): Likewise.
16471         (FLOAT): Likewise.
16472         (MATHCONST): Likewise.
16473         (PRINTF_EXPR): Likewise.
16474         (PRINTF_XEXPR): Likewise.
16475         (PRINTF_NEXPR): Likewise.
16476         (TEST_DOUBLE): Likewise.
16477         (TEST_MATHVEC): Likewise.
16478         (TEST_INLINE): Likewise.
16479         (__NO_MATH_INLINES): Likewise.
16480         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16481         test-math-scalar.h.
16482         (FUNC): Remove macro.
16483         (FUNC_TEST): Likewise.
16484         (FLOAT): Likewise.
16485         (MATHCONST): Likewise.
16486         (PRINTF_EXPR): Likewise.
16487         (PRINTF_XEXPR): Likewise.
16488         (PRINTF_NEXPR): Likewise.
16489         (TEST_FLOAT): Likewise.
16490         (TEST_MATHVEC): Likewise.
16491         (TEST_INLINE): Likewise.
16492         (__NO_MATH_INLINES): Likewise.
16493         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16494         and test-math-scalar.h.
16495         (FUNC): Remove macro.
16496         (FUNC_TEST): Likewise.
16497         (FLOAT): Likewise.
16498         (MATHCONST): Likewise.
16499         (PRINTF_EXPR): Likewise.
16500         (PRINTF_XEXPR): Likewise.
16501         (PRINTF_NEXPR): Likewise.
16502         (TEST_LDOUBLE): Likewise.
16503         (TEST_MATHVEC): Likewise.
16504         (TEST_INLINE): Likewise.
16505         (__NO_MATH_INLINES): Likewise.
16506         * math/test-ldouble.c: Include test-ldouble.h,
16507         test-math-no-inline.h and test-math-scalar.h.
16508         (FUNC): Remove macro.
16509         (FUNC_TEST): Likewise.
16510         (FLOAT): Likewise.
16511         (MATHCONST): Likewise.
16512         (PRINTF_EXPR): Likewise.
16513         (PRINTF_XEXPR): Likewise.
16514         (PRINTF_NEXPR): Likewise.
16515         (TEST_LDOUBLE): Likewise.
16516         (TEST_MATHVEC): Likewise.
16517         (__NO_MATH_INLINES): Likewise.
16518         * math/test-double-vlen2.h: Include test-double.h,
16519         test-math-no-inline.h and test-math-vector.h.
16520         (FLOAT): Remove macro.
16521         (FUNC): Likewise.
16522         (MATHCONST): Likewise.
16523         (PRINTF_EXPR): Likewise.
16524         (PRINTF_XEXPR): Likewise.
16525         (PRINTF_NEXPR): Likewise.
16526         (TEST_DOUBLE): Likewise.
16527         (TEST_MATHVEC): Likewise.
16528         (__NO_MATH_INLINES): Likewise.
16529         (CNCT): Likewise.
16530         (CONCAT): Likewise.
16531         (WRAPPER_NAME): Likewise.
16532         (WRAPPER_DECL): Likewise.
16533         (WRAPPER_DECL_ff): Likewise.
16534         (WRAPPER_DECL_fFF): Likewise.
16535         (VECTOR_WRAPPER): Likewise.
16536         (VECTOR_WRAPPER_ff): Likewise.
16537         (VECTOR_WRAPPER_fFF): Likewise.
16538         (VEC_LEN): New macro.
16539         * math/test-double-vlen4.h: Include test-double.h,
16540         test-math-no-inline.h and test-math-vector.h.
16541         (FLOAT): Remove macro.
16542         (FUNC): Likewise.
16543         (MATHCONST): Likewise.
16544         (PRINTF_EXPR): Likewise.
16545         (PRINTF_XEXPR): Likewise.
16546         (PRINTF_NEXPR): Likewise.
16547         (TEST_DOUBLE): Likewise.
16548         (TEST_MATHVEC): Likewise.
16549         (__NO_MATH_INLINES): Likewise.
16550         (CNCT): Likewise.
16551         (CONCAT): Likewise.
16552         (WRAPPER_NAME): Likewise.
16553         (WRAPPER_DECL): Likewise.
16554         (WRAPPER_DECL_ff): Likewise.
16555         (WRAPPER_DECL_fFF): Likewise.
16556         (VECTOR_WRAPPER): Likewise.
16557         (VECTOR_WRAPPER_ff): Likewise.
16558         (VECTOR_WRAPPER_fFF): Likewise.
16559         (VEC_LEN): New macro.
16560         * math/test-double-vlen8.h: Include test-double.h,
16561         test-math-no-inline.h and test-math-vector.h.
16562         (FLOAT): Remove macro.
16563         (FUNC): Likewise.
16564         (MATHCONST): Likewise.
16565         (PRINTF_EXPR): Likewise.
16566         (PRINTF_XEXPR): Likewise.
16567         (PRINTF_NEXPR): Likewise.
16568         (TEST_DOUBLE): Likewise.
16569         (TEST_MATHVEC): Likewise.
16570         (__NO_MATH_INLINES): Likewise.
16571         (CNCT): Likewise.
16572         (CONCAT): Likewise.
16573         (WRAPPER_NAME): Likewise.
16574         (WRAPPER_DECL): Likewise.
16575         (WRAPPER_DECL_ff): Likewise.
16576         (WRAPPER_DECL_fFF): Likewise.
16577         (VECTOR_WRAPPER): Likewise.
16578         (VECTOR_WRAPPER_ff): Likewise.
16579         (VECTOR_WRAPPER_fFF): Likewise.
16580         (VEC_LEN): New macro.
16581         * math/test-float-vlen4.h: Include test-float.h,
16582         test-math-no-inline.h and test-math-vector.h.
16583         (FLOAT): Remove macro.
16584         (FUNC): Likewise.
16585         (MATHCONST): Likewise.
16586         (PRINTF_EXPR): Likewise.
16587         (PRINTF_XEXPR): Likewise.
16588         (PRINTF_NEXPR): Likewise.
16589         (TEST_FLOAT): Likewise.
16590         (TEST_MATHVEC): Likewise.
16591         (__NO_MATH_INLINES): Likewise.
16592         (CNCT): Likewise.
16593         (CONCAT): Likewise.
16594         (WRAPPER_NAME): Likewise.
16595         (WRAPPER_DECL): Likewise.
16596         (WRAPPER_DECL_ff): Likewise.
16597         (WRAPPER_DECL_fFF): Likewise.
16598         (VECTOR_WRAPPER): Likewise.
16599         (VECTOR_WRAPPER_ff): Likewise.
16600         (VECTOR_WRAPPER_fFF): Likewise.
16601         (VEC_LEN): New macro.
16602         * math/test-float-vlen8.h: Include test-float.h,
16603         test-math-no-inline.h and test-math-vector.h.
16604         (FLOAT): Remove macro.
16605         (FUNC): Likewise.
16606         (MATHCONST): Likewise.
16607         (PRINTF_EXPR): Likewise.
16608         (PRINTF_XEXPR): Likewise.
16609         (PRINTF_NEXPR): Likewise.
16610         (TEST_FLOAT): Likewise.
16611         (TEST_MATHVEC): Likewise.
16612         (__NO_MATH_INLINES): Likewise.
16613         (CNCT): Likewise.
16614         (CONCAT): Likewise.
16615         (WRAPPER_NAME): Likewise.
16616         (WRAPPER_DECL): Likewise.
16617         (WRAPPER_DECL_ff): Likewise.
16618         (WRAPPER_DECL_fFF): Likewise.
16619         (VECTOR_WRAPPER): Likewise.
16620         (VECTOR_WRAPPER_ff): Likewise.
16621         (VECTOR_WRAPPER_fFF): Likewise.
16622         (VEC_LEN): New macro.
16623         * math/test-float-vlen16.h: Include test-float.h,
16624         test-math-no-inline.h and test-math-vector.h.
16625         (FLOAT): Remove macro.
16626         (FUNC): Likewise.
16627         (MATHCONST): Likewise.
16628         (PRINTF_EXPR): Likewise.
16629         (PRINTF_XEXPR): Likewise.
16630         (PRINTF_NEXPR): Likewise.
16631         (TEST_FLOAT): Likewise.
16632         (TEST_MATHVEC): Likewise.
16633         (__NO_MATH_INLINES): Likewise.
16634         (CNCT): Likewise.
16635         (CONCAT): Likewise.
16636         (WRAPPER_NAME): Likewise.
16637         (WRAPPER_DECL): Likewise.
16638         (WRAPPER_DECL_ff): Likewise.
16639         (WRAPPER_DECL_fFF): Likewise.
16640         (VECTOR_WRAPPER): Likewise.
16641         (VECTOR_WRAPPER_ff): Likewise.
16642         (VECTOR_WRAPPER_fFF): Likewise.
16643         (VEC_LEN): New macro.
16644         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16645         test-vec-loop.h.
16646         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16647         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16648         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16649         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16650         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16652         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16654 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16656         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16657         (__getlogin_r): ... this.
16659 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16661         [BZ #18594]
16662         * math/s_ccosh.c (__ccosh): Compare with least normal value
16663         instead of comparing class with FP_SUBNORMAL.
16664         * math/s_ccoshf.c (__ccoshf): Likewise.
16665         * math/s_ccoshl.c (__ccoshl): Likewise.
16666         * math/s_cexp.c (__cexp): Likewise.
16667         * math/s_cexpf.c (__cexpf): Likewise.
16668         * math/s_cexpl.c (__cexpl): Likewise.
16669         * math/s_csin.c (__csin): Likewise.
16670         * math/s_csinf.c (__csinf): Likewise.
16671         * math/s_csinh.c (__csinh): Likewise.
16672         * math/s_csinhf.c (__csinhf): Likewise.
16673         * math/s_csinhl.c (__csinhl): Likewise.
16674         * math/s_csinl.c (__csinl): Likewise.
16675         * math/s_ctan.c (__ctan): Likewise.
16676         * math/s_ctanf.c (__ctanf): Likewise.
16677         * math/s_ctanh.c (__ctanh): Likewise.
16678         * math/s_ctanhf.c (__ctanhf): Likewise.
16679         * math/s_ctanhl.c (__ctanhl): Likewise.
16680         * math/s_ctanl.c (__ctanl): Likewise.
16681         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16682         csin, csinh, ctan and ctanh.
16683         * math/auto-libm-test-out: Regenerated.
16684         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16685         * sysdeps/i386/fpu/libm-test-ulps: Update.
16686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16688 2015-06-24  Roland McGrath  <roland@hack.frob.com>
16690         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16691         return value is wrong, print the expected value too.
16693 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
16695         [BZ #18585]
16696         * elf/readlib.c (is_gdb_python_file): New.
16697         (process_file): Don't issue errors on filenames with -gdb.py
16698         suffix.
16700 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
16702         * math/auto-libm-test-in: Add more tests of csin and csinh.
16703         * math/auto-libm-test-out: Regenerated.
16704         * math/libm-test.inc (csin_test_data): Remove tests moved to
16705         auto-libm-test-in.
16706         (csinh_test_data): Likewise.
16708         [BZ #18593]
16709         * math/s_csin.c (__csin): Negate before rather than after possibly
16710         overflowing multiplication.
16711         * math/s_csinf.c (__csinf): Likewise.
16712         * math/s_csinh.c (__csinh): Likewise.
16713         * math/s_csinhf.c (__csinhf): Likewise.
16714         * math/s_csinhl.c (__csinhl): Likewise.
16715         * math/s_csinl.c (__csinl): Likewise.
16716         * math/auto-libm-test-in: Add some tests of csin and csinh.
16717         * math/auto-libm-test-out: Regenerated.
16718         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16719         (csinh_test_data): Likewise.
16720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16722         [BZ #18586]
16723         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16724         underflow exception for small results.
16726 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16728         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16729         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16730         variable and included header.
16731         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16739         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16740         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16741         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16742         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16743         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16744         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16745         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16746         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16748 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16750         [BZ #16526]
16751         [BZ #16538]
16752         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16753         (__sin): Force underflow exception for arguments with small
16754         absolute value.
16755         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16756         (__kernel_sinf): Force underflow exception for arguments with
16757         small absolute value.
16758         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16759         (__kernel_sincosl): Force underflow exception for arguments with
16760         small absolute value.
16761         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16762         (__kernel_sinl): Force underflow exception for arguments with
16763         small absolute value.
16764         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16765         (__kernel_sincosl): Force underflow exception for arguments with
16766         small absolute value.
16767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16768         (__kernel_sinl): Force underflow exception for arguments with
16769         small absolute value.
16770         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16771         (__kernel_sinl): Force underflow exception for arguments with
16772         small absolute value.
16773         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16774         (__kernel_sinf): Force underflow exception for arguments with
16775         small absolute value.
16776         * math/auto-libm-test-in: Add more tests of sin and sincos.
16777         * math/auto-libm-test-out: Regenerated.
16779         [BZ #18245]
16780         [BZ #18583]
16781         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16782         (__kernel_standard_l): Use feholdexcept and fesetenv around
16783         conversion to double instead of special-casing overflow and
16784         underflow.
16785         * math/libm-test.inc (fmod_test_data): Add more tests.
16786         (remainder_test_data): Likewise.
16787         (sqrt_test_data): Likewise.
16789 2015-06-23  Torvald Riegel  <triegel@redhat.com>
16791         [BZ #17403]
16792         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16793         atomic_read_barrier, atomic_write_barrier): Define.
16794         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16795         atomic_read_barrier, atomic_write_barrier): Define.
16797 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16799         * math/Makefile [$(PERL) != no]
16800         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16801         dependency on libm-test.stmp below the inclusion of Rules.
16803 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
16805         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16806         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16807         and included header.
16808         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16809         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16810         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16812         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16816         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16817         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16818         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16819         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16820         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16821         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16822         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16823         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16824         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16825         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16826         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16828 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
16830         [BZ #18371]
16831         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16832         intermediate but not final result might underflow.
16833         * math/s_csqrtf.c (__csqrtf): Likewise.
16834         * math/s_csqrtl.c (__csqrtl): Likewise.
16835         * math/auto-libm-test-in: Add more tests of csqrt.
16836         * math/auto-libm-test-out: Regenerated.
16837         * sysdeps/i386/fpu/libm-test-ulps: Update.
16839         [BZ #18219]
16840         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16841         threshold on absolute value of exponent for which scaling is used.
16842         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16843         * math/auto-libm-test-in: Add more tests of exp2.
16844         * math/auto-libm-test-out: Regenerated.
16846 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
16848         [BZ #17977]
16849         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
16850         when initializing interface list, based on the bug analysis
16851         and the patch proposed by Eric Newton.
16852         * resolv/tst-res_hconf_reorder.c: New test.
16853         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
16854         tst-res_hconf_reorder.
16855         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
16856         and $(shared-thread-library).
16857         (tst-res_hconf_reorder-ENV): New variable.
16859         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
16860         in comment.
16862 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
16864         [BZ #16353]
16865         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
16866         (__expm1): Force underflow exception for arguments with small
16867         absolute value.
16868         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
16869         (__expm1f): Force underflow exception for arguments with small
16870         absolute value.
16871         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
16872         (__expm1): Force underflow exception for arguments with small
16873         absolute value.
16874         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
16875         (__expm1f): Force underflow exception for arguments with small
16876         absolute value.
16877         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16878         Check for small arguments before calling __expm1.
16879         * math/auto-libm-test-in: Do not mark underflow exceptions as
16880         possibly missing for bug 16353.
16881         * math/auto-libm-test-out: Regenerated.
16883 2015-06-22  Andreas Schwab  <schwab@suse.de>
16885         [BZ #18513]
16886         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
16887         PTR queries.
16889 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
16891         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
16893         * string/strcoll_l.c: Remove unused struct element idxnow.
16895 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
16897         [BZ #18569]
16898         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
16899         underflow and return argument in case of subnormal argument.
16900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16901         Likewise.
16902         * math/auto-libm-test-in: Add more tests of expm1.
16903         * math/auto-libm-test-out: Regenerated.
16905         [BZ #16361]
16906         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16907         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16908         tiny results.
16909         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
16910         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
16911         tiny results.
16912         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
16913         mark underflow exceptions as possibly missing for bug 16361.
16914         * math/auto-libm-test-out: Regenerated.
16916 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
16918         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
16919         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
16920         Remove variable.
16921         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16922         (test-xfail-XOPEN2K8/utmpx.h/conform).
16924         * conform/conformtest.pl ($xerrors): New variable.
16925         (note_error): New function.
16926         (compiletest): New argument $xfail.  Use not_error.
16927         (runtest): Likewise.
16928         (top level): Handle xfail- lines.  Update calls to compiletest and
16929         runtest.  Handle xfail- and optional- in headers listed with
16930         allow-header.
16931         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
16932         (O_EXEC): Likewise.
16933         (O_SEARCH): Likewise.
16934         * conform/data/stropts.h-data (ioctl): Likewise.
16935         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
16936         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
16937         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
16938         (msghdr.msg_controllen): Likewise.
16939         (cmsghdr.cmsg_len): Likewise.
16940         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
16941         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
16942         variable.
16943         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16944         (test-xfail-XPG4/stropts.h/conform): Likewise.
16945         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16946         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16947         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16948         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16949         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16950         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16951         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16952         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16953         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16954         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16955         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16956         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16957         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16958         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16959         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16960         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16961         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16962         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16963         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16965 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16967         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
16968         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
16969         definitions for proper unfolding of __MATHDECL_VEC.
16971 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16973         * benchtests/bench-strcoll.c:
16974         Include string.h.
16975         (main): Remove unused variable res.
16977 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16979         * timezone/Makefile (%/UTC %/Universal):
16980         Generate test-result files for UTC and Universal.
16982 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16984         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16986 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #16350]
16989         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
16990         for arguments with small absolute value.
16991         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
16992         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
16993         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
16994         (__asinh): Force underflow exception for arguments with small
16995         absolute value.
16996         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
16997         (__asinhf): Force underflow exception for arguments with small
16998         absolute value.
16999         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17000         (__asinhl): Force underflow exception for arguments with small
17001         absolute value.
17002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17003         (__asinhl): Force underflow exception for arguments with small
17004         absolute value.
17005         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17006         (__asinhl): Force underflow exception for arguments with small
17007         absolute value.
17008         * math/auto-libm-test-in: Do not mark underflow exceptions as
17009         possibly missing for bug 16350.
17010         * math/auto-libm-test-out: Regenerated.
17012         * include/bits/ipc.h: Remove file.
17013         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17014         variable.
17015         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17016         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17017         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17018         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17019         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17020         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17021         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17022         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17023         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17025         * math/auto-libm-test-in: Remove spurious underflow allowance for
17026         tests of cexp.
17027         * math/auto-libm-test-out: Regenerated.
17029         [BZ #18558]
17030         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17031         unconditional definition.
17032         (MCAST_BLOCK_SOURCE): Likewise.
17033         (MCAST_UNBLOCK_SOURCE): Likewise.
17034         (MCAST_LEAVE_GROUP): Likewise.
17035         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17036         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17037         (MCAST_MSFILTER): Likewise.
17038         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17039         Remove variable.
17040         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17041         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17042         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17043         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17044         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17046 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17048         * NEWS: Mention addition of x86_64 vector sincosf.
17049         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17050         * math/test-float-vlen4.h: Likewise.
17051         * math/test-float-vlen8.h: Likewise.
17052         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17053         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17054         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17055         * sysdeps/x86_64/fpu/Versions: New versions added.
17056         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17057         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17058         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17060         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17062         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17065         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17066         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17067         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17068         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17069         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17070         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17071         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17072         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17073         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17074         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17075         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17076         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17077         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17078         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17079         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17081         * NEWS: Mention addition of x86_64 vector sincos.
17082         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17083         * math/math.h (__MATHDECL_VEC): New macro.
17084         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17085         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17086         declaration under condition.
17087         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17088         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17089         TEST_VEC_LOOP change.
17090         * math/test-double-vlen4.h: Likewise.
17091         * math/test-double-vlen8.h: Likewise.
17092         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17093         * math/test-float-vlen4.h: Likewise.
17094         * math/test-float-vlen8.h: Likewise.
17095         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17096         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17097         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17098         * sysdeps/x86_64/fpu/Versions: New versions added.
17099         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17100         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17101         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17108         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17109         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17110         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17111         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17112         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17113         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17114         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17115         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17116         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17117         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17118         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17119         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17120         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17121         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17122         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17124         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17125         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17126         redirections for powf.
17127         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17128         * sysdeps/x86_64/fpu/Versions: New versions added.
17129         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17130         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17131         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17132         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17134         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17135         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17136         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17137         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17138         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17139         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17140         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17141         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17142         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17143         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17144         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17145         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17146         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17147         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17148         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17149         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17151         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17152         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17153         * math/test-float-vlen16.h: Fixed 2 argument macro.
17154         * math/test-float-vlen4.h: Likewise.
17155         * math/test-float-vlen8.h: Likewise.
17156         * NEWS: Mention addition of x86_64 vector powf.
17158 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17160         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17161         and redefine.
17162         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17163         and redefine.
17164         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17165         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17166         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17168         [BZ #18553]
17169         * resource/getpriority.c (getpriority): Rename to __getpriority
17170         and define as weak alias of __getpriority.
17171         * resource/setpriority.c (setpriority): Rename to __setpriority
17172         and define as weak alias of __setpriority.
17173         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17174         __getpriority and define as weak alias of __getpriority.
17175         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17176         __setpriority and define as weak alias of __setpriority.
17177         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17178         strong name.
17179         (setpriority): Use __setpriority as strong name.
17180         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17181         __getpriority and define as weak alias of __getpriority.
17182         * include/sys/resource.h (__getpriority): Declare.  Use
17183         libc_hidden_proto.
17184         (__setpriority): Likewise.
17185         (getpriority): Don't use libc_hidden_proto.
17186         (setpriority): Likewise.
17187         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17188         getpriority.  Call __setpriority instead of setpriority.
17189         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17190         Remove variable.
17192         [BZ #18547]
17193         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17194         as weak alias of __getttynam.  Use prototype function definition.
17195         Call __setttyent, __getttyent and __endttyent instead of
17196         setttyent, getttyent and endttyent.
17197         (getttyent): Rename to __getttyent and define as weak alias of
17198         __getttyent.  Call __setttyent instead of setttyent.  Call
17199         __fgets_unlocked instead of fgets_unlocked.
17200         (setttyent): Rename to __setttyent and define as weak alias of
17201         __setttyent.
17202         (endttyent): Rename to __endttyent and define as weak alias of
17203         __endttyent.
17204         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17205         (__setttyent): Likewise.
17206         (__endttyent): Likewise.
17207         (getttyent): Don't use libc_hidden_proto.
17208         (setttyent): Likewise.
17209         (endttyent): Likewise.
17210         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17211         __endttyent instead of setttyent, getttyent and endttyent.
17212         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17213         Remove variable.
17215         [BZ #18546]
17216         * socket/recv.c (__recv): Use libc_hidden_def.
17217         * socket/socket.c (__socket): Likewise.
17218         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17219         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17220         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17221         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17222         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17223         libc_hidden_def.
17224         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17225         libc_hidden_weak.
17226         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17227         Use libc_hidden_proto.
17228         (__recv): Likewise.
17229         * socket/Versions (libc): Export __recv and __socket at version
17230         GLIBC_PRIVATE.
17231         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17232         instead of recv.
17233         (init_mq_netlink): Call __socket instead of socket.
17234         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17235         Remove variable.
17237         [BZ #18545]
17238         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17239         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17240         hidden_weak.
17241         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17242         define as alias of __mq_timedsend.  Use hidden_weak.
17243         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17244         __mq_timedsend as strong name.
17245         (mq_timedreceive): Use __mq_timedreceive as strong name.
17246         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17247         (__mq_timedreceive): Likewise.
17248         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17249         __mq_timedreceive instead of mq_timedreceive.
17250         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17251         instead of mq_timedsend.
17252         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17253         Remove variable.
17255         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17256         hidden_def and hidden_weak instead of libc_hidden_def and
17257         libc_hidden_weak.
17258         (top level): Refer to hidden_def in comment.
17259         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17260         macro.  Use it instead of libc_hidden_def.
17261         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17262         specify __GI_* name explicitly.
17263         (mq_timedreceive): Likewise.
17264         (mq_setattr): Likewise.
17266         [BZ #18544]
17267         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17268         __pthread_barrier_init and define as weak alias of
17269         __pthread_barrier_init.
17270         * sysdeps/sparc/nptl/pthread_barrier_init.c
17271         (pthread_barrier_init): Likewise.
17272         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17273         __pthread_barrier_wait and define as weak alias of
17274         __pthread_barrier_wait.
17275         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17276         (pthread_barrier_wait): Likewise.
17277         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17278         (pthread_barrier_wait): Likewise.
17279         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17280         (pthread_barrier_wait): Likewise.
17281         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17282         (pthread_barrier_wait): Likewise.
17283         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17284         __pthread_barrier_wait at version GLIBC_PRIVATE.
17285         * include/pthread.h (__pthread_barrier_init): Declare.
17286         (__pthread_barrier_wait): Likewise.
17287         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17288         Call __pthread_barrier_wait instead of pthread_barrier_wait.
17289         (helper_thread): Likewise.
17290         (init_mq_netlink): Call __pthread_barrier_init instead of
17291         pthread_barrier_init.
17293         [BZ #18542]
17294         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17295         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17296         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
17297         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17298         vswscanf.
17299         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17300         Remove variable.
17302         [BZ #18540]
17303         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17304         strong alias of _IO_fflush.  Use libc_hidden_def.
17305         * libio/iofflush_u.c (fflush_unlocked): Rename to
17306         __fflush_unlocked and define as weak alias of __fflush_unlocked.
17307         Use libc_hidden_weak.
17308         * include/stdio.h (__fflush_unlocked): Declare.  Use
17309         libc_hidden_proto.
17310         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17311         fflush_unlocked.
17312         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17313         Remove variable.
17315         [BZ #18539]
17316         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17317         define as weak alias of __addseverity.
17318         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17319         Remove variable.
17320         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17321         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17322         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17324         [BZ #18536]
17325         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17326         (__tfind): Likewise.
17327         (__tdelete): Likewise.
17328         (__twalk): Likewise.
17329         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17330         __twalk to GLIBC_PRIVATE.
17331         * include/search.h (__tsearch): Use libc_hidden_proto.
17332         (__tfind): Likewise.
17333         (__tdelete): Likewise.
17334         (__twalk): Likewise.
17335         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17336         Call __tdelete instead of tdelete.
17337         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17338         tfind.  Call __tsearch instead of tsearch.
17339         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17340         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17341         Remove variable.
17342         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17344         [BZ #18534]
17345         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17346         (dprintf): Define as a weak alias of __dprintf, not a strong
17347         alias.
17348         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
17349         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17350         dprintf.
17351         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17352         Remove variable.
17353         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17354         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17356         [BZ #18533]
17357         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17358         not a strong alias.
17359         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17360         Remove variable.
17362         [BZ #18532]
17363         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17364         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
17365         (in6addr_loopback): Rename to __in6addr_loopback and define as
17366         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
17367         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
17368         libc_hidden_proto.
17369         (__in6addr_any): Likewise.
17370         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17371         in6addr_any.
17372         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17373         variable.
17374         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17376 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17378         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17379         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17381         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17382         redirections for pow.
17383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17384         * sysdeps/x86_64/fpu/Versions: New versions added.
17385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17387         build of SSE, AVX2 and AVX512 IFUNC versions.
17388         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17391         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17392         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17393         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17394         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17395         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17396         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17397         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17398         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17399         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17400         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17401         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17402         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17403         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17404         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17405         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17406         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17407         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17408         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17409         * NEWS: Mention addition of x86_64 vector pow.
17411         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17412         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17413         redirections for expf.
17414         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17415         * sysdeps/x86_64/fpu/Versions: New versions added.
17416         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17417         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17418         build of SSE, AVX2 and AVX512 IFUNC versions.
17419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17420         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17421         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17422         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17424         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17425         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17426         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17427         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17428         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17429         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17430         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17431         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17432         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17433         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17434         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17435         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17436         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17437         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17438         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17439         * NEWS: Mention addition of x86_64 vector expf.
17441         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17442         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17443         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17444         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17445         redirections for exp.
17446         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17447         * sysdeps/x86_64/fpu/Versions: New versions added.
17448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17449         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17450         build of SSE, AVX2 and AVX512 IFUNC versions.
17451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17452         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17453         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17454         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17456         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17457         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17458         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17459         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17460         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17461         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17462         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17463         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17464         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17465         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17466         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17467         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17468         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17469         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17470         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17471         * NEWS: Mention addition of x86_64 vector exp.
17473         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17474         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17475         redirections for logf.
17476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17477         * sysdeps/x86_64/fpu/Versions: New versions added.
17478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17480         build of SSE, AVX2 and AVX512 IFUNC versions.
17481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17482         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17483         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17485         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17486         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17487         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17488         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17489         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17490         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17491         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17492         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17493         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17494         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17495         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17496         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17497         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17498         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17499         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17500         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17501         * NEWS: Mention addition of x86_64 vector logf.
17503         * bits/libm-simd-decl-stubs.h: Added stubs for log.
17504         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17505         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17506         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17507         redirections for log.
17508         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17509         * sysdeps/x86_64/fpu/Versions: New versions added.
17510         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17511         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17512         build of SSE, AVX2 and AVX512 IFUNC versions.
17513         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17514         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17515         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17516         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17517         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17518         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17519         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17520         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17521         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17522         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17523         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17524         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17525         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17526         test.
17527         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17528         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17529         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17530         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17531         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17532         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17533         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17534         * NEWS: Mention addition of x86_64 vector log.
17536 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17538         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17539         cfi_adjust_cfa_offset argument.
17540         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17541         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17543         [BZ #18034]
17544         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17545         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17546         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17547         ordering using ldar.
17548         (_dl_tlsdesc_dynamic): Likewise.
17549         (_dl_tlsdesc_return_lazy): Likewise.
17550         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17551         relaxed atomics instead of volatile and synchronize with release store.
17552         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17553         volatile.
17554         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17556 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
17558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17559         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17561         * sysdeps/x86_64/fpu/Versions: New versions added.
17562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17564         build of SSE, AVX2 and AVX512 IFUNC versions.
17565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17566         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17567         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17568         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17570         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17571         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17572         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17573         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17574         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17575         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17576         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17577         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17578         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17579         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17580         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17583         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17584         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17585         * NEWS: Mention addition of x86_64 vector sinf.
17587 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
17589         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17590         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17591         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17592         Remove variable.
17593         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17594         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17596 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17598         [BZ #18530]
17599         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17600         strong alias of _IO_fputs.  Use libc_hidden_def.
17601         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17602         and define as weak alias of __fputs_unlocked.  Use
17603         libc_hidden_weak.
17604         * include/stdio.h (__fputs_unlocked): Declare.  Use
17605         libc_hidden_proto.
17606         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17607         fputs_unlocked.
17609         [BZ #18529]
17610         * resolv/netdb.h [__USE_POSIX]: Change condition to
17611         [__USE_XOPEN2K].
17612         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17613         not expect.
17614         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17615         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17616         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17617         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17618         [XPG4 || UNIX98] (AI_ALL): Likewise.
17619         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17620         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17621         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17622         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17623         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17624         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17625         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17626         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17627         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17628         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17629         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17630         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17631         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17632         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17633         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17634         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17635         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17636         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17637         [XPG4 || UNIX98] (gai_strerror): Likewise.
17638         [XPG4 || UNIX98] (getaddrinfo): Likewise.
17639         [XPG4 || UNIX98] (getnameinfo): Likewise.
17641         [BZ #18528]
17642         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17643         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17644         __USE_XOPEN2K8].
17645         (getgrent): Likewise.
17646         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17647         expect.
17648         [XPG3 || POSIX2008] (endgrent): Likewise.
17649         [XPG3] (setgrent): Likewise.
17650         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17651         variable.
17652         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17654         [BZ #18527]
17655         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17656         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
17657         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17658         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17659         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17660         * include/unistd.h (__getlogin_r): Declare.  Use
17661         libc_hidden_proto.
17662         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17663         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17664         variable.
17665         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17666         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17667         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17669 2015-06-12  Martin Sebor  <msebor@redhat.com>
17671         [BZ #18512]
17672         * Makerules (check-install-supported): New target.
17673         (install): Add check-install-supported as a dependency.
17674         * manual/install.texi (Installing the C Library): Document
17675         that overriding prefix and exec_prefix is not supported.
17676         Mention DESTDIR.
17677         * INSTALL: Regenerate from the above.
17679 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
17681         [BZ #18519]
17682         * posix/Versions (libc): Export __libc_pread at version
17683         GLIBC_PRIVATE.
17684         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17685         instead of pread.
17686         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17687         variable.
17689         [BZ #18522]
17690         * misc/efgcvt_r.c
17691         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17692         (cvt_symbol): Use weak_alias instead of strong_alias.
17693         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17694         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17695         Remove variable.
17696         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17697         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17699         [BZ #18520]
17700         * inet/herrno.c (h_errno): Rename to __h_errno.
17701         (__libc_h_errno): Define as alias of __h_errno not h_errno.
17702         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17703         to __h_errno instead of h_errno.
17704         * nptl/herrno.c (h_errno): Rename to __h_errno.
17705         (__h_errno_location): Refer to __h_errno not h_errno.
17706         * resolv/Versions (h_errno): Rename to __h_errno.
17707         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17708         Remove variable.
17709         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17711 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
17713         * configure.ac: More strict check for AVX512 assembler support.
17714         * configure: Regenerated.
17716         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17717         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17718         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17719         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17720         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17721         * sysdeps/x86_64/fpu/Versions: New versions added.
17722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17723         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17724         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17725         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17726         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17727         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17731         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17732         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17733         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17734         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17735         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17736         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17737         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17738         test.
17739         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17740         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17742         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17743         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17744         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17745         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17746         * NEWS: Mention addition of x86_64 vector sin.
17748 2015-06-11  Florian Weimer  <fweimer@redhat.com>
17750         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17751         comment.
17753 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17755         [BZ #18479]
17756         * nptl/pt-interp.c: New file.
17757         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17758         Add pt-interp.
17759         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17760         $(common-objpfx)runtime-linker.h.
17762 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
17764         * Makeconfig (+interp): Remove unused variable.
17765         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17766         only.  Depend on $(common-objpfx)runtime-linker.h instead of
17767         $(elf-objpfx)runtime-linker.h.
17768         ($(elf-objpfx)runtime-linker.h): Rename to
17769         $(common-objpfx)runtime-linker.h and move ...
17770         * Makerules [$(build-shared) = yes]: ... here.
17771         * elf/interp.c: Include <runtime-linker.h> instead of
17772         <elf/runtime-linker.h>.
17774 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17776         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17777         (__gettimeofday_syscall): Remove vsyscall fallback.
17778         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17779         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17780         Add syscall fallback function.
17781         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17782         if vDSO is not present.
17783         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17784         fallback function.
17785         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17786         present.
17787         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17788         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17790 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
17792         [BZ #18497]
17793         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17794         of wcscmp.
17795         (wcscmp): Define as weak alias of WCSCMP.
17796         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17797         wcscoll.
17798         (USE_HIDDEN_DEF): Define.
17799         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17800         __wcscoll.  Don't use libc_hidden_weak.
17801         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17802         wcscmp.
17803         * sysdeps/i386/i686/multiarch/wcscmp-c.c
17804         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17805         __GI_wcscmp.
17806         (weak_alias): Undefine and redefine.
17807         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17808         __wcscmp and define as weak alias of __wcscmp.
17809         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17810         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
17811         (__wcscoll): Likewise.
17812         (wcscmp): Don't use libc_hidden_proto.
17813         (wcscoll): Likewise.
17814         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17815         wcscoll.
17816         * posix/regexec.c (check_node_accept_bytes): Likewise.
17817         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17818         variable.
17819         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17820         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17822         [BZ #18507]
17823         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17824         __fstatvfs and define as weak alias of __fstatvfs.  Use
17825         libc_hidden_weak.
17826         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17827         and define as weak alias of __statvfs.  Use libc_hidden_weak.
17828         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17829         Define as alias of __fstatvfs, not fstatvfs.
17830         (fstatvfs64): Likewise.
17831         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17832         Define as alias of __statvfs, not statvfs.
17833         (statvfs64): Likewise.
17834         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17835         Remove variable.
17837 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17840         (HAVE_GETCPU_VSYSCALL): Define.
17841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17842         (HAVE_GETCPU_VSYSCALL): Likewise.
17843         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
17844         * sysdeps/unix/sysv/linux/sched_getcpu.c
17845         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
17846         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
17847         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
17848         prototype.
17849         * sysdeps/unix/sysv/linux/x86_64/init-first.c
17850         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
17851         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
17852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
17853         Define.
17854         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
17855         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
17857         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17859 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
17861         * sysdeps/x86_64/fpu/Makefile: New file.
17862         * sysdeps/x86_64/fpu/Versions: New file.
17863         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
17864         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
17865         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
17866         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
17867         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
17868         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
17869         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
17870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
17871         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
17872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
17873         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
17874         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
17875         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
17876         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17877         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17878         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
17879         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
17880         * sysdeps/x86_64/configure.ac: Options for libmvec build.
17881         * sysdeps/x86_64/configure: Regenerated.
17882         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
17883         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
17884         * manual/install.texi (Configuring and compiling): Document
17885         --disable-mathvec.
17886         * INSTALL: Regenerated.
17887         * NEWS: Mention addition of libmvec and x86_64 vector cos.
17889         * math/Makefile: Added rules for vector tests.
17890         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
17891         declaration under condition.
17892         * math/test-double-vlen2.h: New file.
17893         * math/test-double-vlen4.h: New file.
17894         * math/test-double-vlen8.h: New file.
17895         * math/test-vec-loop.h: Added initialization macro.
17896         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
17897         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
17898         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
17899         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
17900         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
17901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
17902         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
17903         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
17904         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
17905         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
17906         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
17908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17909         * sysdeps/x86_64/fpu/Versions: New versions added.
17910         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
17911         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
17912         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
17913         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
17914         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
17915         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
17916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
17917         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
17918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
17919         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
17920         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
17921         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
17922         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
17923         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17924         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
17927         * NEWS: Mention addition of x86_64 vector cosf.
17929         * math/Makefile: Added CFLAGS for new tests.
17930         * math/test-float-vlen16.h: New file.
17931         * math/test-float-vlen4.h: New file.
17932         * math/test-float-vlen8.h: New file.
17933         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
17934         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
17935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17936         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
17937         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
17938         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
17939         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
17940         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
17941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
17942         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
17943         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
17945 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
17947         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
17948         * locale/programs/ld-ctype.c: Likewise.
17950 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
17952         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
17953         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
17954         bit_ZMM16_31_state): New macro.
17955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17956         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
17958 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
17960         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
17962 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
17964         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
17966 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
17968         [BZ #18498]
17969         * libio/memstream.c (open_memstream): Rename to __open_memstream
17970         and define as weak alias of __open_memstream.
17971         * include/stdio.h (__open_memstream): Declare.  Use
17972         libc_hidden_proto.
17973         (open_memstream): Don't use libc_hidden_proto.
17974         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
17975         open_memstream.
17976         * posix/getopt.c (_getopt_internal_r): Likewise.
17977         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
17978         variable.
17979         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17980         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17981         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17983         [BZ #18496]
17984         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
17985         instead of wcrtomb.
17987         [BZ #18483]
17988         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
17989         [__USE_XOPEN2K8].  Remove redundant #endif.
17990         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
17991         Remove redundant #if.
17992         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
17993         Remove variable.
17994         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17995         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17997         [BZ #18495]
17998         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
17999         (__iswlower): Likewise.
18000         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18001         (__iswlower): Likewise.
18002         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18003         instead of towlower.
18004         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18005         instead of iswlower.  Call __towupper instead of towupper.
18006         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18007         instead of iswalnum.
18009 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18011         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18012         errors to stderr.
18014 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18016         [BZ #15661]
18017         [BZ #17322]
18018         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18019         Check for overflow properly.  Check for O_APPEND.  Ignore large
18020         file system block sizes.  Add comments about problems.
18021         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18022         * manual/filesys.texi (Storage Allocation): New node.
18024 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18026         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18027         cancellable syscalls.
18028         (SYS_ify): Add guard to no redefine it.
18029         (INLINE_SYSCALL): Likewise.
18030         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18031         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18032         SYSCALL_CANCEL instead.
18033         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18034         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18035         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18036         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18037         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18038         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18039         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18040         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18041         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18042         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18043         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18044         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18045         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18046         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18047         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18048         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18049         Likewise.
18050         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18051         (__libc_pread64): Likewise.
18052         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18053         (__libc_preadv): Likewise.
18054         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18055         (__libc_readv64): Likewise.
18056         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18057         (__libc_pwrite): Likewise.
18058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18059         (__libc_pwrite64): Likewise.
18060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18061         (__libc_pwritev): Likewise.
18062         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18063         (__libc_pwritev64): Likewise.
18064         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18065         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18066         (sync_file_range): Likewise.
18067         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18068         Likewise.
18069         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18070         Likewise.
18071         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18072         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18073         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18074         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18075         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18076         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18077         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18078         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18080         Likewise.
18081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18082         (__libc_read64): Likewise.
18083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18084         Likewise.
18085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18086         Likewise.
18087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18088         Likewise.
18089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18090         Likewise.
18091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18092         (__libc_pread64): Likewise.
18093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18094         Likewise.
18095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18096         (__libc_pwrite64): Likewise.
18097         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18098         (sync_file_range): Likewise.
18099         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18100         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18101         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18102         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18103         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18104         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18105         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18106         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18107         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18108         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18109         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18110         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18111         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18112         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18113         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18114         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18115         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18116         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18117         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18118         Likewise.
18119         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18120         Likewise.
18121         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18122         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18123         Likewise.
18124         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18125         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18126         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18127         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18128         Likewise.
18129         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18130         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18131         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18132         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18133         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18135 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18137         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18138         Include dl-vdso.
18139         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18140         Use VDSO routines for gettimeofday, clock_gettime if
18141         available.
18142         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18143         Declare VDSO symbols.
18144         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18145         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18146         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18147         * sysdeps/unix/sysv/linux/arm/Versions: Add
18148         __vdso_clock_gettime.
18150 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18152         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18153         be an inline implementation regardless of library is built within.
18154         (open_not_cancel_2): Likewise.
18155         (__read_nocancel): Likewise.
18156         (__write_nocancel): Likewise.
18157         (openat_not_cancel): Likewise.
18158         (openat_not_cancel_3): Likewise.
18159         (openat64_not_cancel): Likewise.
18160         (openat64_not_cancel_3): Likewise.
18161         (__close_nocancel): Likewise.
18162         (pause_not_cancel): Likewise.
18163         (nanosleep_not_cancel): Likewise.
18164         (sigsuspend_not_cancel): Likewise.
18166 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18168         [BZ #14958]
18169         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18170         wake-up.
18171         (__pthread_rwlock_rdlock_slow): Likewise.
18172         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18173         Likewise.
18174         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18175         Likewise.
18176         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18177         * nptl/tst-rwlock16.c: New file.
18178         * nptl/Makefile (tests): Add new test.
18180 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18182         [BZ #18324]
18183         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18184         missing wake-up of readers.
18185         * nptl/tst-rwlock15.c: New file.
18186         * nptl/Makefile (tests): Add new test.
18188 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18190         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18191         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18192         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18193         and __nacl_supply_interface_rtld.
18194         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18195         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18196         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18197         Add __nacl_supply_interface_rtld.
18198         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18200 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18202         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18203         isfinite.
18204         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18205         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18207 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18209         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18210         __signbit* with standard C99 macros.
18211         * math/e_exp10l.c: Likewise.
18212         * math/e_exp2l.c: Likewise.
18213         * math/e_scalb.c: Likewise.
18214         * math/e_scalbf.c: Likewise.
18215         * math/e_scalbl.c: Likewise.
18216         * math/s_ldexp.c: Likewise.
18217         * math/s_ldexpf.c: Likewise.
18218         * math/s_ldexpl.c: Likewise.
18219         * math/w_atan2.c: Likewise.
18220         * math/w_atan2f.c: Likewise.
18221         * math/w_atan2l.c: Likewise.
18222         * math/w_cosh.c: Likewise.
18223         * math/w_coshf.c: Likewise.
18224         * math/w_coshl.c: Likewise.
18225         * math/w_exp10.c: Likewise.
18226         * math/w_exp10f.c: Likewise.
18227         * math/w_exp10l.c: Likewise.
18228         * math/w_exp2.c: Likewise.
18229         * math/w_exp2f.c: Likewise.
18230         * math/w_exp2l.c: Likewise.
18231         * math/w_fmod.c: Likewise.
18232         * math/w_fmodf.c: Likewise.
18233         * math/w_fmodl.c: Likewise.
18234         * math/w_hypot.c: Likewise.
18235         * math/w_hypotf.c: Likewise.
18236         * math/w_hypotl.c: Likewise.
18237         * math/w_jnl.c: Likewise.
18238         * math/w_lgamma.c: Likewise.
18239         * math/w_lgamma_r.c: Likewise.
18240         * math/w_lgammaf.c: Likewise.
18241         * math/w_lgammaf_r.c: Likewise.
18242         * math/w_lgammal.c: Likewise.
18243         * math/w_lgammal_r.c: Likewise.
18244         * math/w_pow.c: Likewise.
18245         * math/w_powf.c: Likewise.
18246         * math/w_powl.c: Likewise.
18247         * math/w_remainder.c: Likewise.
18248         * math/w_remainderf.c: Likewise.
18249         * math/w_remainderl.c: Likewise.
18250         * math/w_scalb.c: Likewise.
18251         * math/w_scalbf.c: Likewise.
18252         * math/w_scalbl.c: Likewise.
18253         * math/w_scalbln.c: Likewise.
18254         * math/w_scalblnf.c: Likewise.
18255         * math/w_scalblnl.c: Likewise.
18256         * math/w_sinh.c: Likewise.
18257         * math/w_sinhf.c: Likewise.
18258         * math/w_sinhl.c: Likewise.
18259         * math/w_tgamma.c: Likewise.
18260         * math/w_tgammaf.c: Likewise.
18261         * math/w_tgammal.c: Likewise.
18262         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18263         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18264         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18265         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18266         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18267         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18268         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18269         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18270         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18271         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18272         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18273         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18274         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18275         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18276         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18277         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18278         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18279         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18280         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18281         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18282         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18285         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18286         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18288         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18289         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18290         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18291         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18292         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18293         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18294         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18295         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18296         * stdio-common/printf_fp.c: Likewise.
18297         * stdio-common/printf_fphex.c: Likewise.
18298         * stdio-common/printf_size.c: Likewise.
18300 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
18302         [BZ #18470]
18303         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18304         strnlen.
18305         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18306         Remove variable.
18307         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18308         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18309         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18310         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18311         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18312         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18313         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18314         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18315         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18316         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18318         [BZ #18468]
18319         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18320         weak alias of __wmemchr.  Use libc_hidden_weak.
18321         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
18322         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18323         instead of wmemchr.
18325 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18327         [BZ #18383]
18328         * elf/tst-tlsalign-extern.c: New file.
18329         * elf/tst-tlsalign-extern-static.c: New file.
18330         * elf/tst-tlsalign-vars.c: New file.
18331         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18332         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18333         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18334         ($(objpfx)tst-tlsalign-extern-static): Likewise.
18335         (test-xfail-tst-tlsalign-extern-static): New variable.
18337 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
18339         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18340         Use variable name _sc_err instead of err.
18341         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18342         instead of ret.
18343         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18344         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18345         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18346         (INLINE_SYSCALL): Likewise.
18348         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18349         * include/string.h (__strnlen): Use libc_hidden_proto.
18350         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18351         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18352         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18353         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18354         (libc_hidden_def): Undefine and redefine.
18355         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18356         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18357         __GI_strnlen.
18358         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18359         libc_hidden_def.
18360         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18362         [BZ #18469]
18363         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18364         weak alias of __towlower.  Use libc_hidden_weak.
18365         (towupper): Rename to __towupper and define as weak alias of
18366         __towupper.  Use libc_hidden_weak.
18367         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
18368         (__towupper): Likewise.
18369         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18370         __towlower instead of towlower.
18372 2015-06-02  Roland McGrath  <roland@hack.frob.com>
18374         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18375         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18377 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18379         * sysdeps/aarch64/libm-test-ulps: Update.
18381 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18383         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18384         Define.
18385         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18387         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18388         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18389         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18390         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18391         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18393 2015-06-01  Martin Sebor  <msebor@redhat.com>
18395         [BZ #18116]
18396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18397         (__setcontext): Use extended four-operand version of mtsf whenever
18398         possible.
18399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18400         (__novec_swapcontext): Likewise.
18402 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18404         * benchtests/scripts/compare_bench.py: New file.
18405         * benchtests/scripts/import_bench.py (mean): New function.
18406         (split_list): Likewise.
18407         (do_for_all_timings): Likewise.
18408         (compress_timings): Likewise.
18410         * benchtests/scripts/import_bench.py: New file.
18411         * benchtests/scripts/validate_benchout.py: Import import_bench
18412         instead of jsonschema.
18413         (validate_bench): Remove function.
18414         (main): Use import_bench.
18416 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
18418         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18419         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18421 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18425 2015-05-28  Roland McGrath  <roland@hack.frob.com>
18427         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18428         set THREAD_SELF->tid to a magic value and futex-wake it.
18429         Pass its address to the thread_exit system call.
18430         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18431         bit is clear.
18432         * sysdeps/nacl/lowlevellock.h: New file.
18433         * sysdeps/nacl/lll_timedwait_tid.c: New file.
18435         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18436         Add TIMEOUT to current time, don't subtract it.
18438 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
18440         [BZ #2981]
18441         [BZ #18422]
18442         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18443         ($(objpfx)tst-audit2.out): Also depend on
18444         $(objpfx)tst-auditmod9b.so.
18445         * elf/tst-audit2.c: Include <dlfcn.h>.
18446         (calloc_called): New.
18447         (calloc): Allow to be called more than once.
18448         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18450 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
18452         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18453         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18455 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
18457         * stdlib/monetary.h: Fix comment.
18459 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
18461         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18462         Avoid using variables in #defines that might cause shadowing.
18463         (INTERNAL_VSYSCALL_CALL): Likewise.
18465 2015-05-26  Roland McGrath  <roland@hack.frob.com>
18467         * sysdeps/nacl/lll_timedlock_wait.c: New file.
18469         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18470         * nptl/lll_timedlock_wait.c: ... to this new file.
18471         * nptl/Makefile (libpthread-routines): Add it.
18472         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18473         * nptl/lll_timedwait_tid.c: ... to this new file.
18474         * nptl/Makefile (libpthread-routines): Add it.
18475         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18476         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18477         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18478         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18479         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18480         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18481         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18482         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18483         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18484         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18486 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18488         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18489         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18490         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18491         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18492         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18494         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18496         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18497         * sysdeps/unix/sysv/linux/tile/sysdep.h
18498         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18499         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18500         using vDSO syscall macro.
18502 2015-05-26  Andriy Rysin  <arysin@gmail.com>
18504         [BZ #17293]
18505         * uk_UA: Fix sorting order for Ukrainian locale
18507 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
18509         * stdlib/monetary.h: Fix comment.
18511 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18513         [BZ #18234]
18514         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18515         st_mtim and st_ctim members.
18516         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18517         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18518         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18519         (struct stat64): Likewise.
18520         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18521         (struct stat64): Likewise.
18522         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18523         (struct stat64): Likewise.
18525 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18527         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18528         Define and include sysdep-vdso.h.
18529         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18530         Likewise.
18531         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18532         Likewise.
18533         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18534         Define with VDSO_SYMBOL and use PTR_MANGLE.
18535         (__vdso_clock_gettime): Likewise.
18536         (__vdso_clock_getres): Likewise.
18537         (_libc_vdso_platform_setup): Likewise.
18538         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18539         Likewise.
18540         (_libc_vdso_platform_setup): Likewise.
18541         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18542         Likewise.
18543         (__vdso_clock_gettime): Likewise.
18544         (__vdso_clock_getres): Likewise.
18545         (__vdso_get_tbfreq): Likewise.
18546         (__vdso_getcpu): Likewise.
18547         (__vdso_time): Likewise.
18548         (__vdso_sigtramp_rt64): Likewise.
18549         (__vdso_signtramp32): Likewise.
18550         (__vdso_sigtramp_rt32): Likewise.
18551         (_libc_vdso_platform_setup): Likewise.
18552         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18553         Likewise.
18554         (__vdso_clock_gettime): Likewise.
18555         (__vdso_clock_getres): Likewise.
18556         (_libc_vdso_platform_setup): Likewise.
18557         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18558         Likewise.
18559         (__vdso_clock_gettime): Likewise.
18560         (_libc_vdso_platform_setup): Likewise.
18561         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18562         Likewise.
18563         (__vdso_getcpu): Likewise.
18564         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18565         Use VDSO_SYMBOL macro to define.
18566         (__vdso_clock_gettime): Likewise.
18567         (__vdso_clock_getres): Likewise.
18568         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18569         Likewise.
18570         (__vdso_clock_gettime): Likewise.
18571         (__vdso_clock_getres): Likewise.
18572         (__vdso_get_tbfreq): Likewise.
18573         (__vdso_getcpu): Likewise.
18574         (__vdso_time): Likewise.
18575         (__vdso_sigtramp_rt64): Likewise.
18576         (__vdso_signtramp32): Likewise.
18577         (__vdso_sigtramp_rt32): Likewise.
18578         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18579         Likewise.
18580         (__vdso_clock_gettime): Likewise.
18581         (__vdso_clock_getres): Likewise.
18582         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18583         Likewise.
18584         (__vdso_clock_gettime): Likewise.
18585         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18586         Likewise.
18587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
18588         macro.
18589         (INTERNAL_VSYSCALL): Likewise.
18590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18591         Remove macro.
18592         (INTERNAL_VSYSCALL): Likewise.
18593         (INTERNAL_VSYSCALL_NCS): Likewise.
18594         (INTERNAL_VSYSCALL_CALL): New macro.
18595         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18596         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18597         Likewise.
18598         (INTERNAL_VSYSCALL): Likewise.
18599         (INTERNAL_VSYSCALL_NCS): Likewise.
18600         (INTERNAL_VSYSCALL_CALL): New macro.
18601         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18603         (INLINE_VSYSCALL): Remove macro.
18604         (INTERNAL_VSYSCALL): Remove macro.
18605         (INTERNAL_VSYSCALL_NCS): Remove macro.
18606         (INTERNAL_VSYSCALL_CALL): New macro.
18607         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18608         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18609         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18610         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18611         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18613         (INLINE_VSYSCALL): Remove macro.
18614         (INTERNAL_VSYSCALL): Likewise.
18615         (INTERNAL_VSYSCALL_NCS): Likewise.
18616         (INTERNAL_VSYSCALL_CALL): New macro.
18617         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18619         PTR_DEMANGLE on vDSO pointer.
18620         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18621         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18622         macro.
18623         (INTERNAL_SYSCALL): Likewise.
18624         (INTERNAL_VSYSCALL_NCS): Remove macro.
18625         (INTERNAL_VSYSCALL_CALL): New macro.
18626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18627         Remove macro.
18628         (INTERNAL_VSYSCALL): Likewise.
18629         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18630         sysdep-vdso.h instead of libc-vdso.h.
18631         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18632         definition.
18633         (INLINE_VSYSCALL): Likewise.
18634         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18635         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18636         definition.
18637         (INLINE_VSYSCALL): Likewise.
18638         (INTERNAL_VSYSCALL): Likewise.
18639         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18640         * sysdeps/unix/sysv/linux/timespec_get.c
18641         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18642         (timespec_get): Use ANSI prototype.
18643         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18644         and definition for Linux.
18646 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18648         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18649         * include/libc-symbols.h: libmvec_hidden_* macro series added.
18651 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18653         [BZ #2981]
18654         [BZ #18410]
18655         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18656         for missing DT_PLTRELSZ.
18658 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18660         Remove obsolete aliases that broke 'locale -a'
18661         [BZ #18412]
18662         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18663         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18664         breaking some applications that use 'locale -a' output.
18665         Change the encoding of this file from Latin-1 to ASCII to avoid
18666         other potential problems with people grepping this file.
18668 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18670         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18671         -fasynchronous-unwind-tables.
18672         (CFLAGS-sendto.c): Likewise.
18673         (CFLAGS-sendmsg.c): Likewise.
18674         (CFLAGS-connect.c): Likewise.
18675         (CFLAGS-recvmsg.c): Likewise.
18676         (CFLAGS-recvfrom.c): Likewise.
18677         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18678         (SOCKETCALL): New macro: non-cancellable socketcall.
18679         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18680         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18681         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18682         * sysdeps/unix/sysv/linux/accept.c: New file.
18683         * sysdeps/unix/sysv/linux/bind.c: Likewise.
18684         * sysdeps/unix/sysv/linux/connect.c: Likewise.
18685         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18686         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18687         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18688         * sysdeps/unix/sysv/linux/listen.c: Likewise.
18689         * sysdeps/unix/sysv/linux/recv.c: Likewise.
18690         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18691         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18692         * sysdeps/unix/sysv/linux/send.c: Likewise.
18693         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18694         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18695         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18696         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18697         * sysdeps/unix/sysv/linux/socket.c: Likewise.
18698         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18699         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18700         prototype.
18701         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18702         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18703         instead of __internal_xxx function.
18704         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18705         prototype.
18706         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18707         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18708         instead of __internal_xxx function.
18709         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18710         prototype.
18711         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18712         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18713         instead of __internal_xxx function.
18714         * sysdeps/unix/sysv/linux/accept.S: Remove file.
18715         * sysdeps/unix/sysv/linux/bind.S: Likewise.
18716         * sysdeps/unix/sysv/linux/connect.S: Likewise.
18717         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18718         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18719         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18720         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18721         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18722         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18723         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18724         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18725         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18726         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18728         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18729         * sysdeps/unix/sysv/linux/listen.S: Likewise.
18730         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18731         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18732         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18733         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18736         * sysdeps/unix/sysv/linux/recv.S: Likewise.
18737         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18738         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18739         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18740         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18741         * sysdeps/unix/sysv/linux/send.S: Likewise.
18742         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18743         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18744         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18745         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18746         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18747         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18748         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18749         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18750         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18751         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18752         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18753         socketcall is implemented in GLIBC.
18755 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18757         * soft-fp/fmadf4.c: Include <libc-internal.h>.
18758         (__fma): Ignore uninitialized warnings around packing.
18759         * soft-fp/fmasf4.c: Include <libc-internal.h>.
18760         (__fmaf): Ignore uninitialized warnings around packing.
18761         * soft-fp/fmatf4.c: Include <libc-internal.h>.
18762         (__fmal): Ignore uninitialized warnings around packing.
18764         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18765         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18766         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18767         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18769         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18770         switch statement into default case.
18771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18773         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18774         a conditional in forcing "inexact".
18775         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18776         Likewise.
18778 2015-05-22  Roland McGrath  <roland@hack.frob.com>
18780         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18781         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18782         for each INTERNAL_SYSCALL use.
18784 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
18786         [BZ #438]
18787         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18788         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18789         variable.
18791         [BZ #18444]
18792         * string/basename.c (basename): Rename to __basename and define as
18793         weak alias of __basename.  Use libc_hidden_weak.
18794         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
18795         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18796         __basename instead of basename.
18797         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18798         Remove variable.
18799         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18801 2015-05-18  Florian Weimer  <fweimer@redhat.com>
18803         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18804         (_IO_JUMPS_FILE_plus): New.
18805         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18806         _IO_CAST_FIELD_ACCESS.
18807         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18808         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18809         * libio/freopen.c (freopen): Likewise.
18810         * libio/freopen64.c (freopen64): Likewise.
18811         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18812         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18813         * libio/iofwide.c (_IO_fwide): Likewise.
18814         * libio/memstream.c (open_memstream): Likewise.
18815         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18816         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18817         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18819 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
18821         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18822         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18823         NADJ.
18824         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18825         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18826         NADJ.
18827         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18828         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18829         NADJ.
18831         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18832         (p == 4) case.
18834         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18835         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18836         Remove variable.
18837         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18838         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18839         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18841 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18843         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
18844         Adjust jump table label generation macros.
18846 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18848         * stdio-common/vfprintf.c (vfprintf): Move local variables
18849         args_malloced, specs, specs_malloced, and the code after
18850         do_positional to the printf_positional function.
18851         (printf_positional): New function.
18853 2015-05-21  Florian Weimer  <fweimer@redhat.com>
18855         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
18856         function.
18857         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
18858         STEP4_TABLE, process_arg): Move macro definitions
18859         out of the vfprintf function.  (Cosmetic change only.)
18861 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
18863         * benchtests/Makefile (stdio-common-bench): Define.
18864         (benchset): Add stdio-common-bench.
18865         * sprintf-inputs: New file.
18866         * sprintf-source.c: New file.
18868 2015-05-21  Andreas Schwab  <schwab@suse.de>
18870         [BZ #13028]
18871         [BZ #17053]
18872         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
18873         of struct __res_state.
18874         * resolv/res_send.c (__libc_res_nsend): Likewise.
18875         (get_nsaddr): New function.
18876         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
18877         statp directly.
18879 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
18881         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
18882         -D_POSIX_C_SOURCE=199506L.
18884         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
18886         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
18887         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
18888         Do not mention otherwise.
18889         [POSIX] (_XOPEN_VERSION): Do not expect.
18890         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
18891         [POSIX] (_POSIX2_C_BIND): Likewise.
18892         [POSIX] (_POSIX2_VERSION): Likewise.
18893         [POSIX] (_XOPEN_XPG2): Likewise.
18894         [POSIX] (_XOPEN_XPG3): Likewise.
18895         [POSIX] (_XOPEN_XPG4): Likewise.
18896         [POSIX] (_XOPEN_UNIX): Likewise.
18897         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
18898         [POSIX] (_POSIX_BARRIERS): Likewise.
18899         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
18900         [POSIX] (_POSIX_CPUTIME): Likewise.
18901         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
18902         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
18903         [POSIX] (_POSIX_SHELL): Likewise.
18904         [POSIX] (_POSIX_SPAWN): Likewise.
18905         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
18906         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
18907         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
18908         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
18909         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
18910         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
18911         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
18912         [POSIX] (_XBS5_LP64_OFF64): Likewise.
18913         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
18914         [POSIX] (_POSIX_TIMEOUTS): Likewise.
18915         [POSIX] (_POSIX2_PBS): Likewise.
18916         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
18917         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
18918         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
18919         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
18920         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
18921         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
18922         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
18923         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
18924         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
18925         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
18926         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
18927         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
18928         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
18929         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
18930         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
18931         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
18932         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
18933         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
18934         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
18935         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
18936         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
18937         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
18938         [POSIX] (_SC_2_C_BIND): Likewise.
18939         [POSIX] (_SC_2_C_VERSION): Likewise.
18940         [POSIX] (_SC_2_PBS): Likewise.
18941         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
18942         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
18943         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
18944         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
18945         [POSIX] (_SC_2_PBS_TRACK): Likewise.
18946         [POSIX] (_SC_ATEXIT_MAX): Likewise.
18947         [POSIX] (_SC_BARRIERS): Likewise.
18948         [POSIX] (_SC_BASE): Likewise.
18949         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
18950         [POSIX] (_SC_DEVICE_IO): Likewise.
18951         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
18952         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
18953         [POSIX] (_SC_FD_MGMT): Likewise.
18954         [POSIX] (_SC_FIFO): Likewise.
18955         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
18956         [POSIX] (_SC_FILE_LOCKING): Likewise.
18957         [POSIX] (_SC_FILE_SYSTEM): Likewise.
18958         [POSIX] (_SC_IOV_MAX): Likewise.
18959         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
18960         [POSIX] (_SC_NETWORKING): Likewise.
18961         [POSIX] (_SC_PAGE_SIZE): Likewise.
18962         [POSIX] (_SC_PASS_MAX): Likewise.
18963         [POSIX] (_SC_PIPE): Likewise.
18964         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
18965         [POSIX] (_SC_REGEXP): Likewise.
18966         [POSIX] (_SC_SHELL): Likewise.
18967         [POSIX] (_SC_SIGNALS): Likewise.
18968         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
18969         [POSIX] (_SC_SPIN_LOCKS): Likewise.
18970         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
18971         [POSIX] (_SC_USER_GROUPS): Likewise.
18972         [POSIX] (_SC_USER_GROUPS_R): Likewise.
18973         [POSIX] (_SC_STREAMS): Likewise.
18974         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
18975         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
18976         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
18977         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
18978         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
18979         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
18980         [POSIX] (_PC_FILESIZEBITS): Likewise.
18981         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
18982         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
18983         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
18984         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
18985         [POSIX] (uid_t): Likewise.
18986         [POSIX] (gid_t): Likewise.
18987         [POSIX] (off_t): Likewise.
18988         [POSIX] (pid_t): Likewise.
18989         [POSIX] (cuserid): Allow.
18990         (_SC_2_CHAR_TERM): Require constant.
18991         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
18992         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
18993         variable.
18995 2015-05-20  Roland McGrath  <roland@hack.frob.com>
18997         * sysdeps/nacl/pthread-pids.h: New file.
18998         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
18999         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19001         * nptl/pthread-pids.h: New file.
19002         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19003         * nptl/nptl-init.c: Include <pthread-pids.h>.
19004         (__pthread_initialize_minimal_internal):
19005         Call __pthread_initialize_pids instead of set_tid_address syscall.
19007         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19008         * sysdeps/posix/usleep.c: ... here.
19010 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19012         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19013         call_pselect6 object.
19014         [$(subdir) = io]: Remove call_sync_file_range object.
19015         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19016         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19017         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19018         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19020 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19022         * math/s_cproj.c: Add include "math_private.h".
19023         * math/s_cprojf.c: Likewise.
19024         * math/s_cprojl.c: Likewise.
19026 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19028         [BZ #18244]
19029         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19030         high mantissa bit when testing whether P is a NaN.
19031         * math/libm-test.inc (remainder_test_data): Add more tests.
19032         (remquo_test_data): Likewise.
19034         [BZ #18049]
19035         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19036         below -32, return the argument, with underflow if subnormal.
19037         * math/auto-libm-test-in: Add more tests of atanh.
19038         * math/auto-libm-test-out: Regenerated.
19040 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19042         [BZ #18434]
19043         * nptl/tst-sem15.c: New file.
19044         * nptl/Makefile (tests): Add it.
19045         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19046         s/<</>>/ to fix typo in EOVERFLOW check.
19047         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19049 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19051         * manual/strings.texi (envz_remove): Fix typo in safety
19052         annotations.
19054 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19055             Steve Ellcey  <sellcey@imgtec.com>
19057         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19058         in order to avoid strict alias warnings.
19059         (iruserok_af): Ditto for ra.
19061 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19063         [BZ #17581]
19064         * malloc/hooks.c
19065         (magicbyte): Convert to a function and avoid returning 0x01.
19066         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19067         (mem2chunk_check): Fix unsigned comparisons to zero.
19068         Hoist defs of sz and magic.
19070 2015-05-19  Richard Henderson  <rth@redhat.com>
19072         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19074         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19076 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19078         [BZ #16159]
19079         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19080         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19081         (reused_arena): Find a non-corrupt arena.
19082         (heap_trim): Pass arena to unlink.
19083         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19084         malloc_printerr.
19085         (top_check): Likewise.
19086         (free_check): Likewise.
19087         (realloc_check): Likewise.
19088         * malloc/malloc.c (malloc_printerr): Add arena argument.
19089         (unlink): Likewise.
19090         (munmap_chunk): Adjust.
19091         (ARENA_CORRUPTION_BIT): New macro.
19092         (arena_is_corrupt): Likewise.
19093         (set_arena_corrupt): Likewise.
19094         (sysmalloc): Use mmap if there are no usable arenas.
19095         (_int_malloc): Likewise.
19096         (__libc_malloc): Don't fail if arena_get returns NULL.
19097         (_mid_memalign): Likewise.
19098         (__libc_calloc): Likewise.
19099         (__libc_realloc): Adjust for additional argument to
19100         malloc_printerr.
19101         (_int_free): Likewise.
19102         (malloc_consolidate): Likewise.
19103         (_int_realloc): Likewise.
19104         (_int_memalign): Don't touch corrupt arenas.
19105         * malloc/tst-malloc-backtrace.c: New test case.
19107         * Makefile (summarize-tests): Fix return value on success.
19109         * manual/string.texi (Envz Functions): Add envz_remove.
19111 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19113         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19114         (invalid_name): New function, broken out of ...
19115         (__opendirat): ... here.  Call it.
19116         (need_isdir_precheck): New function, broken out of ...
19117         (__opendirat): ... here.  Call it.
19118         Use __fxstatat64, not __xstatat64.
19119         (opendir_oflags): New function, broken out of ...
19120         (__opendirat): ... here.  Call it.
19121         (opendir_tail): New function, broken out of ...
19122         (__opendirat): ... here.  Call it.
19123         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19124         opendir_tail, rather than punting to __opendirat.
19125         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19127 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19129         * .gitignore: Ignore generated *.pyc.
19131 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19133         * include/stdio.h: Define __need_wint_t.
19134         * test-skeleton.c: Avoid `for' loop initial declaration.
19135         * nptl/tst-initializers1.c: Use test-skeleton.c.
19137 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19139         [BZ #18418]
19140         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19142 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #16352]
19145         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19146         (__ieee754_atanh): Force underflow exception for results with
19147         small absolute value.
19148         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19149         (__ieee754_atanhf): Force underflow exception for results with
19150         small absolute value.
19151         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19152         (__ieee754_atanh): Force underflow exception for results with
19153         small absolute value.
19154         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19155         (__ieee754_atanhf): Force underflow exception for results with
19156         small absolute value.
19157         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19158         (__ieee754_atanhl): Force underflow exception for results with
19159         small absolute value.
19160         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19161         (__ieee754_atanhl): Force underflow exception for results with
19162         small absolute value.
19163         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19164         (__ieee754_atanhl): Force underflow exception for results with
19165         small absolute value.
19166         * math/auto-libm-test-in: Do not allow missing underflow
19167         exceptions from atanh.
19168         * math/auto-libm-test-out: Regenerated.
19170         [BZ #18221]
19171         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19172         2**-28 as threshold for returning x or +/- 1/x.
19173         * math/auto-libm-test-in: Add more tests of tan.
19174         * math/auto-libm-test-out: Regenerated.
19176         [BZ #18220]
19177         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19178         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19179         * math/auto-libm-test-in: Add another test of lgamma.
19180         * math/auto-libm-test-out: Regenerated.
19182 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19184         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19185         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19186         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19187         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19188         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19189         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19190         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19191         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19193         (log1): Use fabs.  (my_log2): Use fabs.
19194         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19195         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19196         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19197         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19199         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19200         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19201         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19202         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19203         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19204         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19206 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19208         [BZ #18217]
19209         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19210         as threshold for returning 1 - x.
19211         * math/auto-libm-test-in: Add more tests of erfc.
19212         * math/auto-libm-test-out: Regenerated.
19214 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19216         [BZ #18196]
19217         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19218         threshold for large arguments.
19219         * math/auto-libm-test-in: Add another test of atan.
19220         * math/auto-libm-test-out: Regenerated.
19222         [BZ #16339]
19223         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19224         (__log1p): Force underflow exception for results with small
19225         absolute value.
19226         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19227         (__log1pf): Force underflow exception for results with small
19228         absolute value.
19229         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19230         (__log1p): Force underflow exception for results with small
19231         absolute value.
19232         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19233         (__log1pf): Force underflow exception for results with small
19234         absolute value.
19235         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19236         (__log1pl): Force underflow exception for results with small
19237         absolute value.
19238         * math/auto-libm-test-in: Do not allow missing underflow
19239         exceptions from log1p.
19240         * math/auto-libm-test-out: Regenerated.
19242 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19243             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19245         [BZ #16704]
19246         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19248 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19250         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19251         (libmvec): New variable.
19252         * configure.ac: Added option for mathvec build.
19253         * configure: Regenerated.
19254         * mathvec/Depend: New file.
19255         * mathvec/Makefile: New file.
19256         * shlib-versions: Added libmvec.
19257         * math/Makefile: Added rule for libm.so installation.
19259         * bits/math-vector.h: New file.
19260         * bits/libm-simd-decl-stubs.h: New header.
19261         * math/Makefile (headers): Added new header
19262         libm-simd-decl-stubs.h.
19263         * math/math.h (__MATHCALL_VEC): New macro.
19265         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19266         for conditions in testing functions.
19267         * math/Makefile: Added call of libm-have-vector-test.sh.
19268         * math/libm-test.inc (HAVE_VECTOR): New macros.
19270         * math/libm-test.inc: START refactored.
19271         * math/test-double.c (TEST_MATHVEC): Add define.
19272         * math/test-float.c: Likewise.
19273         * math/test-idouble.c: Likewise.
19274         * math/test-ifloat.c: Likewise.
19275         * math/test-ildoubl.c: Likewise.
19276         * math/test-ldouble.c: Likewise.
19277         * sysdeps/generic/math-tests-arch.h
19278         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19279         architecture check.
19281         * math/test-double.c (FUNC_TEST): New macro.
19282         * math/test-float.c: Likewise.
19283         * math/test-idouble.c: Likewise.
19284         * math/test-ifloat.c: Likewise.
19285         * math/test-ildoubl.c: Likewise.
19286         * math/test-ldouble.c: Likewise.
19287         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19289 2015-05-13  Roland McGrath  <roland@hack.frob.com>
19291         * sysdeps/nacl/fdopendir.c: New file.
19293         * dirent/scandir-tail.c: New file.
19294         * dirent/scandir64-tail.c: New file.
19295         * dirent/Makefile (routines): Add them.
19296         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19297         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19298         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19299         [!SCANDIR] (SCANDIR_TAIL): New macro.
19300         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19301         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19302         (SCANDIRAT): Macro removed.
19303         (SCANDIR_TAIL): New macro.
19304         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19305         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19306         (SCANDIRAT): Just call __opendirat and __scandir_tail.
19307         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19308         (READDIR): Macro removed.
19309         (SCANDIR_TAIL): New macro.
19310         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19311         (SCANDIR_TAIL): New macro.
19313         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19314         * dirent/scandir-cancel.c: ... to this new file.
19315         * dirent/Makefile (routines): Add it.
19316         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19317         * sysdeps/unix/sysv/linux/i386/scandir64.c
19318         (SKIP_SCANDIR_CANCEL): Macro removed.
19319         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19321         * dirent/tst-scandir.c: New file.
19322         * dirent/tst-scandir64.c: New file.
19323         * dirent/Makefile (tests): Add them.
19325 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
19327         [BZ #18409]
19328         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19330 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19332         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19333         list.
19335 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
19337         * benchtests/bench-strcoll.c: New benchmark.
19338         * benchtests/Makefile: Generate locales and run benchmark.
19339         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19340         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19341         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19342         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19343         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19344         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19345         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19346         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19347         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19348         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19349         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19350         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19351         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19352         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19353         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19354         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19355         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19356         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19357         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19358         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19359         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19360         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19361         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19362         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19364 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
19366         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19367         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19369 2015-05-12  Roland McGrath  <roland@hack.frob.com>
19371         * posix/uname-values.h: New file.
19372         * posix/uname.c: Include that instead of <config-name.h>.
19373         * sysdeps/nacl/uname-values.h: New file.
19374         * sysdeps/arm/nacl/uname-values.h: New file.
19376 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
19378         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19379         splitting into fields.
19381 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
19383         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19384         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19385         * locale/localeinfo.h: Add enum collation_encoding_type.
19386         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19387         * programs/ld-collate.c (collate_output): Add encoding type info.
19388         * string/strcoll_l.c (STRDIFF): New function.
19389         * (STRCOLL): Use STRDIFF to skip over equal prefix.
19390         * wcsmbs/wcscoll_l.c: Define STRDIFF.
19392 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
19394         [BZ #18397]
19395         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19396         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
19397         <fpu_control.h> instead of <math/fpu_control.c>.
19398         * sysdeps/mips/mips32/fpu/Makefile: New file.
19400 2015-05-11  Andreas Schwab  <schwab@suse.de>
19402         [BZ #18007]
19403         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19404         nss_endgrent.
19405         (_nss_compat_endgrent): Call nss_endgrent.
19406         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19407         nss_endpwent.
19408         (_nss_compat_endpwent): Call nss_endpwent.
19409         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19410         needent, call nss_setspent only if non-zero.
19411         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19412         (internal_endspent): Don't call nss_endspent.
19413         (_nss_compat_endspent): Call nss_endspent.
19414         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19415         Remove.  All uses removed.
19416         (internal_setent): Remove parameter stayopen, add parameter
19417         stream.  Use it instead of global variable.
19418         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19419         (internal_endent, internal_getent): Add parameter stream.  Use it
19420         instead of global variable.
19421         (CONCAT(_nss_files_end,ENTNAME))
19422         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19423         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
19424         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
19425         uses removed.
19426         (internal_setent, internal_endent): Add parameter stream.  Use it
19427         instead of global variable.
19428         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19429         stream.
19430         (get_next_alias): Add parameter stream.
19431         (_nss_files_getaliasent_r): Pass global stream.
19432         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
19433         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19434         (_nss_files_gethostbyname4_r): Pass local stream to
19435         internal_setent, internal_getent and internal_endent.  Remove
19436         locking.
19438 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19440         * tst-strfmon1.c (tests): Update expected currency symbol.
19442 2015-05-08  Roland McGrath  <roland@hack.frob.com>
19444         * sysdeps/nacl/gethostname.c: New file.
19446 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
19448         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19449         and sinh.
19450         * math/auto-libm-test-out: Regenerated.
19451         * sysdeps/i386/fpu/libm-test-ulps: Update.
19452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19454 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
19456         [BZ #18125]
19457         * stdlib/tst-setcontext3.c: New file.
19458         * stdlib/tst-setcontext3.sh: New file.
19459         * stdlib/Makefile (tests): Add tst-setcontext3.
19460         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19461         to verify test program created output file.
19462         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19463         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19464         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19465         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19467 2015-05-06  Roland McGrath  <roland@hack.frob.com>
19469         [BZ #18383]
19470         * elf/tst-tlsalign.c: New file.
19471         * elf/tst-tlsalign-static.c: New file.
19472         * elf/tst-tlsalign-lib.c: New file.
19473         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19474         (tests-static): Add tst-tlsalign-static.
19475         (modules-names): Add tst-tlsalign-lib.
19476         (test-xfail-tst-tlsalign): New variable.
19477         (test-xfail-tst-tlsalign-static): New variable.
19479         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19480         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19482 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
19484         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19485         csqrt, erfc, sin and sincos.
19486         * math/auto-libm-test-out: Regenerated.
19487         * sysdeps/i386/fpu/libm-test-ulps: Update.
19488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19490 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19492         * sysdeps/aarch64/libm-test-ulps: Update.
19494 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
19496         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19497         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19498         * math/auto-libm-test-out: Regenerated.
19499         * sysdeps/i386/fpu/libm-test-ulps: Update.
19500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19502 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19504         [BZ #18265]
19505         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19506         (wcsncpy): Likewise.
19508 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19510         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19511         Assume __ASSUME_FALLOCATE is always true.
19512         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19513         (__posix_fallocate64_l64): Likweise.
19514         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19515         (posix_fallocate): Likewise.
19516         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19517         (__posix_fallocate64_l64): Likewise.
19518         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19519         [!__ASSUME_FALLOCATE]: Add comment.
19521 2015-05-05  Florian Weimer  <fweimer@redhat.com>
19523         * sysdeps/unix/sysv/linux/i386/Makefile
19524         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19525         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19526         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19527         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19528         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19529         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19530         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19532 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
19534         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19535         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19536         tgamma.
19537         * math/auto-libm-test-out: Regenerated.
19538         * sysdeps/i386/fpu/libm-test-ulps: Update.
19539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19541 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19543         * math/auto-libm-test-in: Add more tests of tgamma.
19544         * math/auto-libm-test-out: Regenerated.
19545         * sysdeps/i386/fpu/libm-test-ulps: Update.
19546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19548         * math/auto-libm-test-in: Add more tests of tanh.
19549         * math/auto-libm-test-out: Regenerated.
19550         * sysdeps/i386/fpu/libm-test-ulps: Update.
19551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19553         * math/auto-libm-test-in: Add more tests of tan.
19554         * math/auto-libm-test-out: Regenerated.
19555         * sysdeps/i386/fpu/libm-test-ulps: Update.
19556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19558         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19559         * math/auto-libm-test-out: Regenerated.
19560         * sysdeps/i386/fpu/libm-test-ulps: Update.
19561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19563         * math/auto-libm-test-in: Add another test of pow.
19564         * math/auto-libm-test-out: Regenerated.
19565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19567         * math/auto-libm-test-in: Add more tests of lgamma.
19568         * math/auto-libm-test-out: Regenerated.
19569         * sysdeps/i386/fpu/libm-test-ulps: Update.
19570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19572         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19573         log1p.
19574         * math/auto-libm-test-out: Regenerated.
19575         * sysdeps/i386/fpu/libm-test-ulps: Update.
19576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19578 2015-05-01  Mark Wielaard  <mjw@redhat.com>
19580         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19581         Elf64_Chdr structs and ELFCOMPRESS constants.
19583 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
19585         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19586         expm1.
19587         * math/auto-libm-test-out: Regenerated.
19588         * sysdeps/i386/fpu/libm-test-ulps: Update.
19589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19591         * math/auto-libm-test-in: Add more tests of erf and erfc.
19592         * math/auto-libm-test-out: Regenerated.
19593         * sysdeps/i386/fpu/libm-test-ulps: Update.
19594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19596 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19598         * config.h.in (HAVE_AARCH64_BE): Add.
19600 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
19602         * math/auto-libm-test-in: Add more tests of csqrt.
19603         * math/auto-libm-test-out: Regenerated.
19604         * sysdeps/i386/fpu/libm-test-ulps: Update.
19605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19607         * math/auto-libm-test-in: Add more tests of cosh and sinh.
19608         * math/auto-libm-test-out: Regenerated.
19609         * sysdeps/i386/fpu/libm-test-ulps: Update.
19610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19612         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19614 2015-04-29  Roland McGrath  <roland@hack.frob.com>
19616         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19617         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19619         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19620         (euidaccess, eaccess): Define as weak aliases.
19622         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19623         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
19624         but __suseconds_t is often 'long int' so some sources assume that
19625         type is being used (e.g. they use %ld to print tv_usec).
19627 2015-04-29  Florian Weimer  <fweimer@redhat.com>
19629         [BZ #18007]
19630         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19631         (CVE-2014-8121)
19632         * nss/tst-nss-getpwent.c: New file.
19633         * nss/Makefile (tests): Add new test.
19635 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
19637         [BZ #18346]
19638         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19639         exponents less than 48 as cases where high part of mantissa needs
19640         examining to determine whether argument is integral.
19641         * math/libm-test.inc (round_test_data): Add more tests.
19643 2015-04-28  Mark Wielaard  <mjw@redhat.com>
19645         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19647 2015-04-27  David S. Miller  <davem@davemloft.net>
19649         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19650         __tls_get_addr.
19651         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19653 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
19655         [BZ#18333]
19656         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19658 2015-04-27  Florian Weimer  <fweimer@redhat.com>
19660         [BZ#18333]
19661         * time/tzset.c (parse_tzname): Return error on memory allocation
19662         failure.
19663         * test-skeleton.c (struct temp_name_list): Change type of name
19664         member to non-const.
19665         (add_temp_file): Create a copy of the file name.
19666         (delete_temp_files): Deallocate memory.
19667         (create_temp_file): Add comment.
19669 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19671         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19672         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19674 2015-04-24  Roland McGrath  <roland@hack.frob.com>
19676         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19677         * sysdeps/arm/configure: Regenerated.
19679 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19681         [BZ #17715]
19682         * time/tzfile.c (__tzfile_read): Check for large values of
19683         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
19684         * time/tzset.c (__tzstring_len): New function, based on the old
19685         __tzstring function.
19686         (__tzstring): Call __tzstring_len.
19687         (parse_tzname): New helper function extracted from
19688         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
19689         the input string.
19690         (parse_offset): New helper function extracted from
19691         __tzset_parse_tz.  Replace switch with fallthrough with
19692         initialization before sscanf.
19693         (parse_rule): Likewise.
19694         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
19695         new-style function definition.
19696         * timezone/Makefile (tests): Add tst-tzset.
19697         (tst-tzset.out): Dependencies on time zone files.
19698         (tst-tzset-ENV): Set TZDIR.
19699         (testdata/XT%): Copy crafted time zone files.
19700         * timezone/README: Mention crafted time zone files.
19701         * timezone/testdata/XT1, timezone/testdata/XT2,
19702         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19703         files.
19704         * timezone/tst-tzset.c: New test.
19706 2015-04-24  Florian Weimer  <fweimer@redhat.com>
19708         * Makeconfig (+gccwarn): Remove -Winline.
19710 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19712         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19714 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19716         * NEWS: Mention sysconf() cache information support for s390.
19717         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19719 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
19721         * math/k_casinh.c (__kernel_casinh): Use __copysign.
19722         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19723         (__nearbyint): Likewise.
19724         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19725         (copysignl): Likewise.
19727 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
19729         [BZ #18287]
19730         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19731         based on padding.  (CVE-2015-1781)
19733 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19735         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19736         libc-vdso.h.
19737         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19738         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19739         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19740         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19741         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19742         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19744         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19745         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19746         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19747         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19748         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19749         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19750         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19751         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19752         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19753         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19755         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19756         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19757         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19758         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19759         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19761 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
19763         * stdlib/setenv.c (__add_to_environ):
19764         Dump core quickly if setenv (..., NULL, ...) is called.
19765         This time, do it the right way, and pacify GCC with a pragma.
19767 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19769         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19770         IMAP->l_prev cannot be null, and #if out the code for the contrary
19771         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19772         believe that NS (&_dl_ns[NSID]) could point outside the array.
19774         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19775         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19776         before using NSID as an index.
19778 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
19780         [BZ #17825]
19781         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19782         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19783         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19785 2015-04-17  Roland McGrath  <roland@hack.frob.com>
19787         Add preliminary port to Google Native Client on ARM.
19788         * abi-tags (.*-.*-nacl.*): New entry.
19789         * sysdeps/arm/nacl: New directory.
19790         * sysdeps/nacl: New directory.
19792 2015-04-16  David S. Miller  <davem@davemloft.net>
19794         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19795         lowlevellock-futex.h
19797 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
19799         * sysdeps/tile/configure.ac: New file.
19800         * sysdeps/tile/configure: Regenerated.
19802 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19804         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
19805         conditionals for weak_alias and libc_hidden_weak.
19806         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19807         libc_hidden_weak and weak_alias.
19808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19809         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19810         and weak_alias for static one.
19812 2015-04-15  David S. Miller  <davem@davemloft.net>
19814         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19816 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19818         [BZ #18206]
19819         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19820           Use signed comparision instead of substraction to avoid
19821           overflow bug.
19822         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19823           Take the sign of ret.
19824         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19825           Do not expect precise return values. Only the sign matters.
19826         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19827         * wcsmbs/test-wcsncmp.c: New File.
19828         * string/test-strncmp.c: Add wcsncmp support.
19830 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19832         [BZ #6792]
19833         * math/w_log1p.c: New file.
19834         * math/w_log1pf.c: Likewise.
19835         * math/w_log1pl.c: Likewise.
19836         * math/Makefile (libm-calls): Add w_log1p.
19837         * math/s_log1pl.c (log1pl): Remove weak_alias.
19838         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19839         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19840         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19841         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19842         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19843         [NO_LONG_DOUBLE] (log1pl): Likewise.
19844         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
19845         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
19846         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
19847         (log1p): Remove long_double_symbol.
19848         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
19849         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
19850         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
19851         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
19852         remove weak_alias for corresponding log1p function.
19853         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
19854         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
19855         * sysdeps/ia64/fpu/w_log1p.c: New file.
19856         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
19857         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
19858         * math/libm-test.inc (log1p_test_data): Add errno expectations.
19860 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
19862         [BZ #18247]
19863         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
19864         decimal exponent by 1.
19865         * stdlib/tst-strtod-round-data: Add more tests.
19866         * stdlib/tst-strtod-round.c (tests): Regenerated.
19868 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
19870         * math/auto-libm-test-in: Add more tests of clog and clog10.
19871         * math/auto-libm-test-out: Regenerated.
19872         * sysdeps/i386/fpu/libm-test-ulps: Update.
19873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19875 2015-04-09  Roland McGrath  <roland@hack.frob.com>
19877         * Makeconfig (module-cppflags): Exclude all .v.i files.
19878         (skip-module-cppflags): Variable removed.
19880         * configure.ac (libc_config_ok): Initialize before reading
19881         preconfigure scripts, not after.
19882         * configure: Regenerated.
19884         * test-skeleton.c (TIMEOUT): Move #define to top level.
19885         (main): Grok environment variable TEST_DIRECT.  If set, print
19886         test expectation details into that file and then behave as if
19887         given --direct.
19889 2015-04-09  Florian Weimer  <fweimer@redhat.com>
19891         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
19892         warning on 32-bit.
19894 2015-04-08  David S. Miller  <davem@davemloft.net>
19896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19898 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19900         * math/auto-libm-test-in: Add more tests of atanh.
19901         * math/auto-libm-test-out: Regenerated.
19902         * sysdeps/i386/fpu/libm-test-ulps: Update.
19903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19905         * math/auto-libm-test-in: Add more tests of atan.
19906         * math/auto-libm-test-out: Regenerated.
19907         * sysdeps/i386/fpu/libm-test-ulps: Update.
19908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19910 2015-04-08  Florian Weimer  <fweimer@redhat.com>
19912         * elf/pldd.c (main): Rewrite to use struct
19913         scratch_buffer instead of extend_alloca.
19914         * elf/pldd-xx.c (find_maps): Likewise.
19915         * grp/initgroups.c: Include <scratch_buffer.h> instead of
19916         <alloca.h>.
19917         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
19918         scratch_buffer instead of extend_alloca.
19919         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
19920         grp/compat-initgroups.c.
19921         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
19922         Rewrite to use struct scratch_buffer instead of extend_alloca.
19923         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
19924         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19926 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
19928         * math/auto-libm-test-in: Add more tests of cbrt.
19929         * math/auto-libm-test-out: Regenerated.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19932         * math/auto-libm-test-in: Add more tests of cabs.
19933         * math/auto-libm-test-out: Regenerated.
19934         * sysdeps/i386/fpu/libm-test-ulps: Update.
19935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19937         [BZ #18210]
19938         [BZ #18211]
19939         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
19940         (__ieee754_atan2): Set FE_TONEAREST mode for internal
19941         computations.
19942         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
19943         clog10.
19944         * math/auto-libm-test-out: Regenerated.
19945         * sysdeps/i386/fpu/libm-test-ulps: Update.
19946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948         [BZ #18197]
19949         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
19950         (atan): Set FE_TONEAREST mode for internal computations.
19951         * math/auto-libm-test-in: Add more tests of atan.
19952         * math/auto-libm-test-out: Regenerated.
19954 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
19956         [BZ #17930]
19957         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
19959 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19961         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
19963 2015-04-07  Florian Weimer  <fweimer@redhat.com>
19965         * include/scratch_buffer.h: New file.
19966         * malloc/scratch_buffer_grow.c: Likewise.
19967         * malloc/scratch_buffer_grow_preserve.c: Likewise.
19968         * malloc/scratch_buffer_set_array_size.c: Likewise.
19969         * malloc/tst-scratch_buffer.c: Likewise.
19970         * malloc/Makefile (routines): Add scratch_buffer_grow.
19971         (tests): Add test case.
19972         * malloc/Versions (GLIBC_PRIVATE): Export
19973         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
19974         __libc_scratch_buffer_set_array_size.
19976 2015-04-06  Richard Henderson  <rth@redhat.com>
19978         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
19979         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19981         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
19982         unsigned int before printing.
19984 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19986         [BZ #17596]
19987         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
19988         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19990 2015-04-02  Florian Weimer  <fweimer@redhat.com>
19992         * include/libc-internal.h (libc_max_align_t): Define.
19994 2015-04-02  Andreas Schwab  <schwab@suse.de>
19996         [BZ #16850]
19997         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
19999 2015-04-02  Mel Gorman  <mgorman@suse.de>
20001         [BZ #17195]
20002         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20003         as well as the main arena.
20005 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20007         [BZ #18185]
20008         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20009         sharing L2 cache to 2 for Silvermont/Knights Landing.
20011 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20013         [BZ #17711]
20014         * config.make.in (have-protected-data): New.
20015         * configure.ac: Check linker support for protected data symbol.
20016         * configure: Regenerated.
20017         * elf/Makefile (modules-names): Add tst-protected1moda and
20018         tst-protected1modb if $(have-protected-data) is yes.
20019         (tests): Add tst-protected1a and tst-protected1b if
20020         $(have-protected-data) is yes.
20021         ($(objpfx)tst-protected1a): New.
20022         ($(objpfx)tst-protected1b): Likewise.
20023         (tst-protected1modb.so-no-z-defs): Likewise.
20024         * elf/tst-protected1a.c: New file.
20025         * elf/tst-protected1b.c: Likewise.
20026         * elf/tst-protected1mod.h: Likewise.
20027         * elf/tst-protected1moda.c: Likewise.
20028         * elf/tst-protected1modb.c: Likewise.
20030 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20032         [BZ #17711]
20033         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20034         indicates it is called from do_lookup_x on relocation against
20035         protected data, skip the data definion in the executable from
20036         copy reloc.
20037         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20038         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20039         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20040         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20041         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20042         otherwise to 0.
20043         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20044         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20045         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20046         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20047         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20048         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20050 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20052         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20053         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20055 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20057         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20058         THREAD_SETMEM_NC.
20059         * sysdeps/x86_64/nptl/tls.h: Ditto.
20061 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20063         * dlfcn/tststatic.c (main): Converted to ...
20064         (do_test): ... this.
20065         (TEST_FUNCTION): New macro.
20066         Include test-skeleton.c.
20068 2015-03-26  Alan Modra  <amodra@gmail.com>
20070         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20071         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20072         zero for undefined weak.
20073         (elf_machine_plt_conflict): Similarly.
20075 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20077         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20078         atanh.
20079         * math/auto-libm-test-out: Regenerated.
20080         * sysdeps/i386/fpu/libm-test-ulps: Update.
20081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20083         * math/auto-libm-test-in: Add another test of asin.
20084         * math/auto-libm-test-out: Regenerated.
20085         * sysdeps/i386/fpu/libm-test-ulps: Update.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20089         Remove macro.
20090         (LLL_EBX_REG): Likewise.
20091         (LLL_ENTER_KERNEL): Likewise.
20093         * math/auto-libm-test-in: Add more tests of asin.
20094         * math/auto-libm-test-out: Regenerated.
20095         * sysdeps/i386/fpu/libm-test-ulps: Update.
20096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20098         [BZ #18138]
20099         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20100         libc_do_syscall_args): New structure.
20101         (INTERNAL_SYSCALL_MAIN_0): New macro.
20102         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20103         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20104         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20105         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20106         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20107         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20108         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20109         Replace conditional definitions by conditional definitions of ....
20110         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20111         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20112         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20113         (libpthread-sysdep_routines): Add libc-do-syscall.
20114         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20115         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20116         to __NR_futex not 240.
20118 2015-03-25  Alan Modra  <amodra@gmail.com>
20120         * NEWS: Advertise TLS optimization.
20121         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20122         (DT_PPC_NUM): Increment.
20123         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20124         (CHECK_STATIC_TLS): Use here.
20125         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20126         TLS descriptors.
20127         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20128         * sysdeps/powerpc/dl-tls.c: New file.
20129         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20130         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20131         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20132         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20137 2015-03-25  Alan Modra  <amodra@gmail.com>
20139         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20140         for overlapping .opd entries" to "support...".
20141         * sysdeps/powerpc/powerpc64/configure: Regenerate
20143 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20145         * math/auto-libm-test-in: Add more tests of acos.
20146         * math/auto-libm-test-out: Regenerated.
20147         * sysdeps/i386/fpu/libm-test-ulps: Update.
20148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20150         * math/auto-libm-test-in: Add more tests of expm1.
20151         * math/auto-libm-test-out: Regenerated.
20152         * sysdeps/i386/fpu/libm-test-ulps: Update.
20153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20157         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20158         * math/auto-libm-test-out: Regenerated.
20159         * sysdeps/i386/fpu/libm-test-ulps: Update.
20160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20162         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20165         * math/auto-libm-test-in: Add more tests of log2.
20166         * math/auto-libm-test-out: Regenerated.
20167         * sysdeps/i386/fpu/libm-test-ulps: Update.
20168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20170 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20172         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20173         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20174         _IO_IS_APPENDING bit in READ_WRITE instead.
20176 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20178         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20179         (__determine_cpumask_size): Replace extend_alloca with a
20180         variable-length array.  Do not treat res == 0 as an error.
20182 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20184         [BZ #18100]
20185         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20186         and integer overflow.
20187         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20188         (main): Add integer overflow tests.
20189         * manual/pattern.texi (Calling Wordexp): Document additional use
20190         for WRDE_SYNTAX.
20192 2015-03-23  Alan Modra  <amodra@gmail.com>
20194         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20195         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20196         and false branch of conditional.
20197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20198         Likewise.
20200 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20202         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20203         libc-modules.h
20204         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20205         unused declaration of _hurd_intr_rpc_msg_in_trap.
20206         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20207         defined instead of whether it is non-zero.
20208         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20209         input constraint instead of both input and output constraint.  Use ecx
20210         clobber instead of %ecx.
20211         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20212         mutex_unlock): Use a statement expression instead of an expression list.
20213         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20214         type to vm_size_t instead of vm_address_t.
20215         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20216         defined instead of whether it is non-zero.
20217         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20218         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20219         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20220         comparisons with mapaddr.
20221         * nscd/nscd-client.h: Include <time.h>.
20222         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20223         9th parameter to __vm_region instead of int.
20224         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20225         * scripts/check-local-headers.sh (exclude): Add device/,
20226         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20227         cthreads.h.
20229 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20231         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20232         to account for alignment padding.
20233         * sysdeps/arm/memmove.S: Likewise.
20235 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20237         * sysdeps/unix/sysv/linux/generic/README: New file.
20239 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20241         [BZ #18138]
20242         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20243         (futex_abstimed_wait)
20244         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20245         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20246         of lll_futex_timed_wait.
20248 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20250         [BZ #17542]
20251         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20253 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20255         [BZ #17090]
20256         [BZ #17620]
20257         [BZ #17621]
20258         [BZ #17628]
20259         * NEWS: Update.
20260         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20261         entries with Static TLS too.  Skip entries past the end of the
20262         allocated DTV, from Alan Modra.
20263         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20264         Static TLS DTV entry set up from...
20265         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20266         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20267         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20268         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20269         for Static TLS.
20270         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20271         that the slot we find is associated with the given map before
20272         using its generation count.
20273         * nptl_db/db_info.c: Include ldsodefs.h.
20274         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20275         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20276         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20277         (link_map::l_tls_offset): New struct field.
20278         (dtv_t::counter): Likewise.
20279         (rtld_global): New struct.
20280         (_rtld_global): New rtld variable.
20281         (dl_tls_dtv_slotinfo_list): New rtld global field.
20282         (dtv_slotinfo_list): New struct.
20283         (dtv_slotinfo): Likewise.
20284         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20285         (td_lookup): Rename to...
20286         (td_mod_lookup): ... this.  Use new mod parameter instead of
20287         LIBPTHREAD_SO.
20288         * nptl_db/td_thr_tlsbase.c: Include link.h.
20289         (dtv_slotinfo_list, dtv_slotinfo): New functions.
20290         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
20291         addresses even if the DTV is out of date or missing them.
20292         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20293         index zero-length arrays.
20294         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20295         (td_lookup): Make it a macro implemented in terms of...
20296         (td_mod_lookup): ... this declaration.
20297         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20298         (DB_MAIN_VARIABLE): Likewise.
20300 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20302         [BZ #18134]
20303         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20305 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
20307         * stdlib/setenv.c (__add_to_environ): Revert previous change.
20309 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20311         [BZ #18128]
20312         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20313         (atomic_add, atomic_increment_and_test)
20314         (atomic_decrement_and_test): Fix 64-bit arithmetic.
20316 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
20318         * stdlib/setenv.c (__add_to_environ):
20319         Dump core quickly if setenv (..., NULL, ...) is called.
20321 2015-03-13  Roland McGrath  <roland@hack.frob.com>
20323         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20324         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20325         all the necessary asm magic in one place.
20326         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20327         using those.
20329 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
20331         [BZ #14906]
20332         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20333         traced file mtime. Use consistent log message.
20334         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20335         (register_traced_file): Call install_watches. Always set mtime.
20336         (invalidate_cache): Iterate over all trace files. Call install_watches.
20337         (inotify_check_files): Don't inline. Handle watching parent
20338         directories and configuration file movement in and out.
20339         (handle_inotify_events): New function.
20340         (main_loop_poll): Call handle_inotify_events.
20341         (main_loop_epoll): Likewise.
20342         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20343         (struct traced_file): Use array of inotify fds. Add parent directory,
20344         and basename.
20345         (struct database_dyn): Remove unused file_mtime.
20346         (init_traced_file): New inline function.
20347         (define_traced_file): New macro.
20348         * nss/nss_db/db-init.c: Use define_traced_file.
20349         (_nss_db_init): Use init_traced_file.
20350         * nss/nss_files/files-init.c: Use define_traced_file.
20351         (_nss_files_init): Use init_traced_file.
20353 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
20355         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20356         [_LIBC]: Do not include <stdlib.h>.
20357         [!_LIBC] (abort): Remove declaration.
20358         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20359         _FP_STATIC_ASSERT instead of conditionally calling abort.
20360         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20361         (_FP_EXTEND_CNAN): Likewise.
20362         (FP_TRUNC): Likewise.
20363         (__FP_CLZ): Likewise.
20364         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20366 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
20368         * manual/string.texi (XPG basename): Fix prototype.
20370 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20372         [BZ #18080]
20373         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20374         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20375         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20376         (__setcontext): Likewise.
20377         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20378         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20379         Call rt_sigprocmask syscall one time to set new signal mask
20380         and retrieve the current signal mask instead of two calls.
20381         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20382         (__swapcontext): Likewise.
20383         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20384         * stdlib/tst-setcontext2.c: New file.
20386 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
20388         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20390 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
20392         [BZ #18093]
20393         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20394         the wrong size.
20396 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20398         [BZ #18043]
20399         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20401 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20403         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20404         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20405         Remove define.
20406         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20407         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20408         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20409         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20410         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20411         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20412         define.
20413         * nptl_db/td_symbol_list.c (td_lookup): Remove
20414         HAVE_ASM_GLOBAL_DOT_NAME code.
20415         * sysdeps/powerpc/powerpc64/configure.ac: Remove
20416         HAVE_ASM_GLOBAL_DOT_NAME check.
20417         * sysdeps/powerpc/powerpc64/configure: Regenerate.
20418         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20419         (DOT_LABEL): Remove define.
20420         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20421         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20422         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20423         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20424         (__TLS_GET_ADDR): Likewise.
20425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20426         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20428 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
20430         [BZ #18111]
20431         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20432         (_FPU_SETCW): Initialize cw from fpsr before storing.
20433         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20434         (fesetexceptflag): Rewrite using fpu_control.h.
20435         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20437 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
20439         [BZ #18110]
20440         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20441         asms.
20442         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20444 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
20446         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20447         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20448         abort.
20449         (_FP_FMA): Likewise.
20450         (_FP_DIV): Likewise.
20452 2015-03-10  Roland McGrath  <roland@hack.frob.com>
20454         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20455         with 0 in that case.
20456         * Makefile (summarize-tests): New canned sequence, factored out of
20457         commands for targets tests and xtests.  Display summary lines that
20458         don't start with PASS: or XFAIL: rather than ones that do start with
20459         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
20460         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20461         do start with ERROR: or FAIL:.
20462         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20463         (except for [$(build-shared) = yes]).
20464         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20465         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20466         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20467         * nptl/Makefile: Revert 2015-03-04 changes.
20468         [$(CXX) empty] (tests-unsupported): New variable.
20469         * debug/Makefile: Likewise.
20471         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20472         gnulib file.  Replace __attribute with __attribute__ throughout.
20474 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
20476         * sysdeps/hppa/fpu/libm-test-ulps: Update.
20478 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20480         [BZ #18104]
20481         * math/auto-libm-test-in: Add another test of pow.
20482         * math/auto-libm-test-out: Regenerated.
20484 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20486         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20487         $(config-cflags-nofma).
20489 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
20491         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20492         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20493         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20494         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20495         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20496         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20497         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20498         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20499         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20500         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20501         Add comment on closing #endif.
20503 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20505         * posix/wordexp.c (CHAR_IN_SET): New macro.
20506         (parse_param): Use it.
20508 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20510         * sysdeps/powerpc/fpu/libm-test-ulps: update.
20512 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20514         [BZ #18043]
20515         * posix/wordexp.c (parse_param): Fix buffer overflow.
20516         * posix/wordexp-test.c (test_case): Add test case.
20518 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20520         [BZ #18042]
20521         * posix/wordexp.c (parse_backtick): Fix off-by-one.
20522         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20524 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20526         [BZ #18043]
20527         * posix/wordexp-test.c (test_case): Add test for BZ #18043
20528         (do_bz18043): Delete.
20529         (at_page_end): New.
20530         (testit): Refactor to have words at the edge of unreadable page.
20532 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20534         [BZ #16734]
20535         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20536         Cleanup read-only streams as well.
20537         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20539 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20541         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20542         <bits/libc-lockP.h>
20544 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
20546         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
20547         on [__KERNEL__].
20548         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20549         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20550         * soft-fp/op-common.h (_FP_DECL): Likewise.
20552 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
20554         * elf/ifuncdep2.c (global): Replace
20555         __attribute__((visibility("protected"))) with
20556         asm (".protected global").
20557         * elf/ifuncmod1.c (global): Likewise.
20558         * elf/ifuncmod5.c (global): Likewise.
20560 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
20562         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20563         <asm/sfp-machine.h> instead of <sfp-machine.h>.
20565 2015-03-06  Roland McGrath  <roland@hack.frob.com>
20567         * manual/install.texi (Configuring and compiling):
20568         Document test-wrapper-env-only.
20569         * INSTALL: Regenerated.
20571 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20573         [BZ #18043]
20574         * posix/wordexp.c (parse_param): Fix buffer overflow.
20575         * posix/wordexp-test.c (do_bz18043): Add test case.
20577 2015-03-06  Vincent Bernat  <vincent@bernat.im>
20579         * time/tst-strptime2.c (do_test): Ensure failing tests are
20580         reported correctly.
20581         * time/tst-strptime3.c (do_test): Likewise.
20583 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
20585         Fix aio_error thread-safety.
20586         * sysdeps/pthread/aio_error.c: New file
20587         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20588         synchronization.
20590 2015-03-06  Florian Weimer  <fweimer@redhat.com>
20592         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20593         (group_number, vfprintf): Use it.
20594         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20595         (JUMP, REF): Use it.
20596         (WORK_BUFFER_SIZE): New enum constant.
20597         (process_arg, vfprintf): Use it.
20599 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
20601         * manual/errno.texi (Error Messages): Complete example function
20602         by adding missing #define.
20603         (program_invocation_name): Add statement indicating GNU
20604         extension and reference which header file declares the variable.
20605         (program_invocation_short_name): Likewise.
20607 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
20609         * manual/errno.texi (Error Messages): Delete strerror ISO C89
20610         compatibility note.
20612 2015-03-05  Roland McGrath  <roland@hack.frob.com>
20614         * Makeconfig (test-wrapper-env-only): New variable.
20615         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20616         then use that with $(test-wrapper-env-only) rather than using
20617         $(test-wrapper-env) $(run-program-env) $($*-ENV).
20619 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
20621         [BZ #18082]
20622         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20623         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20624         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20625         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20626         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20627         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20628         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20629         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20630         Likewise.
20631         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20632         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20633         Likewise.
20634         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20635         Likewise.
20636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20637         Likewise.
20638         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20639         Likewise.
20640         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20641         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20642         Likewise.
20643         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20644         Likewise.
20645         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20646         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20648 2015-03-04  Roland McGrath  <roland@hack.frob.com>
20650         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20651         (ETH_ALEN): New macro.
20652         (struct ether_addr): Use it for length of ether_addr_octet.
20654         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20655         (setdb): Don't call __nss_configure_lookup for "rpc".
20656         (do_test): Don't call test_rpc.
20657         (output_rpcent, test_rpc): Functions moved ...
20658         * sunrpc/test-rpcent.c: ... to this new file.
20659         * sunrpc/Makefile (tests): Add it.
20661         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20662         __xpg_sigpause.
20663         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20664         * nptl/tst-signal6.c: Likewise.
20665         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20666         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20668         * configure.ac (libc_cv_cxx_link_ok): New check.
20669         Reset CXX to empty if it fails to link.
20670         * configure: Regenerated.
20671         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20672         bug-atexit3-lib only if $(CXX) is nonempty.
20673         * nptl/Makefile (tests): Likewise for tst-cancel24.
20674         (tests, tests-static): Likewise for tst-cancel24-static.
20675         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20676         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20677         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20678         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20680 2015-03-04  Andreas Schwab  <schwab@suse.de>
20682         [BZ #17631]
20683         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20684         for non-GCC compilers.
20685         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20686         Likewise.
20688 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
20690         [BZ #17776]
20691         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20692         integer before bitwise and assembly operations.
20693         (feclearexcept): Likewise.
20694         * math/test-fenvinline.c: New file.
20695         * math/Makefile: Add test-fenvinline test.
20697 2015-03-03  Alan Modra  <amodra@gmail.com>
20699         [BZ #16512]
20700         * scripts/localplt.awk: Strip off symbol version.
20701         * NEWS: Mention bug fix.
20703 2015-03-02  Roland McGrath  <roland@hack.frob.com>
20705         * sysdeps/pthread/timer_routines.c
20706         (timer_free_list, thread_free_list, thread_active_list): Make static.
20708 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
20710         [BZ #17779]
20711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20712         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20713         Undefine.
20714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20715         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20716         Likewise.
20717         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20718         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20719         Likewise.
20721 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20723         [BZ #18036]
20724         * posix/fnmatch_loop.c (END): Detect invalid pattern.
20725         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20727 2015-03-02  Andreas Schwab  <schwab@suse.de>
20729         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20730         variable name.
20732 2015-03-02  Florian Weimer  <fweimer@redhat.com>
20734         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20735         Return error status.
20737 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
20739         [BZ #15969]
20740         * locale/findlocale.c (_nl_find_locale): Introduce const
20741         version of loc_name and drop unsafe type casts.
20743 2015-02-27  Roland McGrath  <roland@hack.frob.com>
20745         * dlfcn/tststatic2.c (main): Converted to ...
20746         (do_test): ... this.
20747         (TEST_FUNCTION): New macro.
20748         Include test-skeleton.c.
20750 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
20752         [BZ #17711]
20753         * elf/Makefile (tests): Add vismain only if PIE is enabled.
20754         (tests-pie): Add vismain.
20755         (CFLAGS-vismain.c): New.
20756         * elf/vismain.c: Add comments for PIE requirement.
20758 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20760         [BZ #18046]
20761         [BZ #18047]
20762         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20763         0x1p-56L as threshold for just returning the argument.
20764         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20765         0x1p-32L as threshold for just returning the argument.
20766         * math/auto-libm-test-in: Add more tests of atanh.
20767         * math/auto-libm-test-out: Regenerated.
20768         * sysdeps/i386/fpu/libm-test-ulps: Update.
20769         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20771 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20773         * string/bcopy.c (bcopy): Call memmove for performance.
20775 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
20777         * string/bzero.c (__bzero): Call memset for performance.
20779 2015-02-27  John David Anglin  <dave.anglin@bell.net>
20781         [BZ #18068]
20782         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20783         to 00100000.
20785 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
20787         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20789 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20791         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20792         (__kernel_standard): Use CSTR macro when setting exc.name.
20793         * sysdeps/ieee754/Makefile [$(subdir) = math]
20794         (CFLAGS-k_standard.c): Remove variable.
20796         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20797         setting p and q from "else if" to "else".
20798         (qzero): Likewise.
20799         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20800         (qone): Likewise.
20801         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20802         (qzerof): Likewise.
20803         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20804         (qonef): Likewise.
20805         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20806         (qzero): Likewise.
20807         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20808         (qone): Likewise.
20810         [BZ #18038]
20811         [BZ #18039]
20812         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20813         return pi/2 for arguments below 0x1p-113L.
20814         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20815         return pi/2 for arguments below 0x1p-106L.
20816         * math/auto-libm-test-in: Add more tests of acos.
20817         * math/auto-libm-test-out: Regenerated.
20819         [BZ #16351]
20820         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20821         (MO): New macro.
20822         (__ieee754_asin): Force underflow exception for results with small
20823         absolute value.
20824         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20825         (MO): New macro.
20826         (__ieee754_asinf): Force underflow exception for results with
20827         small absolute value.
20828         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20829         (__ieee754_asin): Force underflow exception for results with small
20830         absolute value.
20831         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20832         (__ieee754_asinf): Force underflow exception for results with
20833         small absolute value.
20834         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20835         (__ieee754_asinl): Force underflow exception for results with
20836         small absolute value.
20837         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20838         (__ieee754_asinl): Force underflow exception for results with
20839         small absolute value.
20840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20841         (__ieee754_asinl): Force underflow exception for results with
20842         small absolute value.
20843         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
20844         Include <math.h>.
20845         * math/auto-libm-test-in: Do not mark underflow exceptions as
20846         possibly missing for bug 16351.
20847         * math/auto-libm-test-out: Regenerated.
20849         [BZ #18030]
20850         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
20851         of power of 2 down when low part has opposite sign.
20852         * math/libm-test.inc (logb_test_data): Add more tests.
20854 2015-02-26  Andreas Schwab  <schwab@suse.de>
20856         [BZ #18032]
20857         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
20858         over collating symbol inside a bracket expression.  Minor cleanup.
20859         * posix/tst-fnmatch3.c (do_test): Add test case.
20861 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
20863         [BZ #18029]
20864         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
20865         Adjust exponent of power of 2 down when low part has opposite
20866         sign.
20867         * math/libm-test.inc (ilogb_test_data): Add more tests.
20869 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
20871         [BZ #15969]
20872         * locale/findlocale.c (_nl_find_locale): Fix constness error in
20873         the previous change.
20875         [BZ #15969]
20876         * locale/findlocale.c (_nl_find_locale): Retry archive search
20877         after alias expansion.
20879 2015-02-25  Roland McGrath  <roland@hack.frob.com>
20881         * iconv/tst-iconv3.c (main): Converted to ...
20882         (do_test): ... this.
20883         (TEST_FUNCTION): New macro.
20884         Include test-skeleton.c.
20886         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
20887         (convert): Make function static.
20888         (test_unalign): Likewise.  Add const to argument pointee types.
20889         (main): Replace with static function do_test.
20890         Print "Succeeded." only if RET is zero.
20891         (TEST_FUNCTION): New macro.
20892         Include test-skeleton.c.
20894         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
20895         returns a null pointer.
20897 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20899         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
20900         to __memcpy_ppc only for static builds.
20902 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
20904         [BZ #18020]
20905         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
20906         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
20907         * math/auto-libm-test-in: Add more tests of asinh.
20908         * math/auto-libm-test-out: Regenerated.
20909         * sysdeps/i386/fpu/libm-test-ulps: Update.
20910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20912 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
20914         [BZ #15850]
20915         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
20916         and ip6_mtuinfo definitions here.
20917         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
20918         in this define too.  Update comment.
20920 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
20922         * elf/sprof.c (load_shobj): Tweak error message to match others.
20924 2015-02-24  Kevin Easton  <kevin@guarana.org>
20926         [BZ #16145] (partial fix)
20927         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
20928         to reduce lock contention.
20930 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
20932         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
20933         (struct timex): Update time comment.
20934         (ADJ_SETOFFSET): Define.
20936 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20938         [BZ #18019]
20939         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20940         2**56 not 2**28 as threshold for log (2x) formula.
20941         * math/auto-libm-test-in: Add more tests of acosh.
20942         * math/auto-libm-test-out: Regenerated.
20943         * sysdeps/i386/fpu/libm-test-ulps: Update.
20944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
20948         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
20949         parenthesis around the buf assignment.
20950         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
20952 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
20954         [BZ #16783]
20955         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
20956         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
20957         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
20958         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20959         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
20960         * math/libm-test.inc (scalb_test_data): Add more tests.
20962 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20964         [BZ #17916]
20965         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
20966         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
20968 2015-02-24  Eric Rannaud  <e@nanocritical.com>
20970         [BZ #17523]
20971         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
20972         * io/bits/fcntl2.h (open): Use it.
20973         (openat): Likewise.
20974         * io/open.c (__libc_open): Likewise.
20975         * io/open64.c (__libc_open64): Likewise.
20976         * io/open64_2.c (__open64_2): Likewise.
20977         * io/open_2.c (__open_2): Likewise.
20978         * io/openat.c (__openat): Likewise.
20979         * io/openat64.c (__openat64): Likewise.
20980         * io/openat64_2.c (__openat64_2): Likewise.
20981         * io/openat_2.c (__openat_2): Likewise.
20982         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
20983         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20984         * sysdeps/posix/open64.c (__libc_open64): Likewise.
20985         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20986         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20987         (__open_nocancel): Likewise.
20988         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20989         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20990         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
20992 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20994         [BZ #14841]
20995         * resolv/gethnamaddr.c (getanswer): Skip logging if
20996         RES_USE_DNSSEC is set.
20997         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20999 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21001         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21003 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21005         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21006         201304L, for Unicode 7.
21008 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21010         [BZ #17836]
21011         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21012         shared library.  Add gmon-start.os otherwise.
21013         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21014         $(objpfx)gmon-start.os if builing shared library.
21015         ($(objpfx)g$(static-start-installed-name)): Likewise.
21017 2015-02-23  Andreas Schwab  <schwab@suse.de>
21019         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21021 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21023         [BZ #17269]
21024         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21025         (enlarge_userbuf): Likewise.
21027 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21029         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21030         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21031         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21032         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21034 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21036         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21037         expression inside statement expression.
21039 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21041         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21042         <sysdeps/nptl/lowlevellock.h> and remove macros and
21043         functions that are now defined there.
21044         (SYS_futex): Remove.
21045         (lll_compare_and_swap): Remove.
21046         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21048 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21050         [BZ #17999]
21051         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21052         instead of scandirat.
21053         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21054         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21055         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21056         __scandirat.
21057         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21058         (__scandirat): Declare.  Use libc_hidden_proto.
21059         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21060         Remove variable.
21061         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21063 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21065         [BZ #15319]
21066         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21067         (MO): New macro.
21068         (__ieee754_atan2): For results with small absolute value, force
21069         underflow exception and remove excess range and precision from
21070         return value.
21071         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21072         (MO): New macro.
21073         (__ieee754_atan2f): For results with small absolute value, force
21074         underflow exception and remove excess range and precision from
21075         return value.
21076         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21077         (MO): New macro.
21078         (__atan): For results with small absolute value, force underflow
21079         exception and remove excess range and precision from return value.
21080         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21081         (MO): New macro.
21082         (__atanf): For results with small absolute value, force underflow
21083         exception and remove excess range and precision from return value.
21084         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21085         <math.h>.
21086         (__ieee754_atan2): Force underflow exception for results with
21087         small absolute value.
21088         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21089         <math_private.h>.
21090         (atan): Force underflow exception for results with small absolute
21091         value.
21092         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21093         (__atanf): Force underflow exception for results with small
21094         absolute value.
21095         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21096         <math.h>.
21097         (__atanl): Force underflow exception for results with small
21098         absolute value.
21099         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21100         (__atanl): Force underflow exception for results with small
21101         absolute value.
21102         * sysdeps/x86/fpu/bits/mathinline.h
21103         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21104         (__ieee754_atan2): Only define inline for long double.
21105         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21106         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21107         * math/auto-libm-test-in: Do not mark underflow exceptions as
21108         possibly missing for bug 15319.  Add more tests of atan2.
21109         * math/auto-libm-test-out: Regenerated.
21110         * math/libm-test.inc (casin_test_data): Do not mark underflow
21111         exceptions as possibly missing for bug 15319.
21112         (casinh_test_data): Likewise.
21113         * sysdeps/i386/fpu/libm-test-ulps: Update.
21115 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21117         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21118         * sysdeps/mips/bits/endian.h: Fix comments.
21120 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21122         [BZ #17996]
21123         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21124         (hdestroy_r): Likewise.
21125         (hsearch_r): Likewise.
21126         (__hcreate_r): Declare and use libc_hidden_proto.
21127         (__hdestroy_r): Likewise.
21128         (__hsearch_r): Likewise.
21129         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21130         (hcreate): Call __hcreate_r instead of hcreate_r.
21131         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21132         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21133         as weak alias of __hcreate_r.
21134         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21135         __hdestroy_r.
21136         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21137         __hsearch_r.
21138         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21139         Remove variable.
21140         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21141         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21142         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21143         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21145 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21147         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21148         arena_lock into a single arena_get.
21150 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21152         * dl-reloc.c: Inlucde libc-internal.h.
21153         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21154         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21155         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21156         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21157         (grow_heap): Likewise.
21158         * malloc/malloc.c: Include libc-internal.h.
21159         (do_check_malloc): Call powerof2.
21160         (sysmalloc): Use pagesize. Call ALIGN_UP.
21161         (systrim): Use pagesize.
21162         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21163         (__libc_valloc): Use pagesize.
21164         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21166 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21168         [BZ #17991]
21169         * include/sys/resource.h (__getrlimit64): Declare.  Use
21170         libc_hidden_proto.
21171         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21172         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21173         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21174         getrlimit64.
21175         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21176         __getrlimit64.
21177         [!getrlimit64] (getrlimit64): Define as weak alias of
21178         __getrlimit64.  Use libc_hidden_weak.
21179         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21180         using __getrlimit64 not __new_getrlimit64.
21181         (__GI_getrlimit64): Likewise.
21182         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21183         Likewise.
21184         (__GI_getrlimit64): Likewise.
21185         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21187         (getrlimit): Add __getrlimit64 alias.
21188         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21189         Likewise.
21190         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21191         Remove variable.
21192         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21193         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21195 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21197         * libio/fileops.c: Add missing sys/mman.h
21198         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21200 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21202         * manual/math.texi (Errors in Math Functions): Clarify goals
21203         regarding inexact and underflow exceptions.
21205 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21207         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21208         * sysdeps/mips/memset.S: Ditto.
21210 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21212         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21214 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21216         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21217         (__v1longjmp): Remove versioned symbol.
21218         (__v1siglongjmp): Remove alias and versioned symbol.
21219         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21220         (__v2siglongjmp): Likewise.
21222 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21224         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21226 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21228         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21230 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21232         [BZ #17987]
21233         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21234         zero result does not depend on the sign resulting from
21235         subtraction.
21236         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21237         Likewise.
21238         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21239         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21240         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21241         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21242         * math/libm-test.inc (remquo_test_data): Add more tests.
21244 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21246         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21247         Problem reported by J William Piggott.
21249 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21251         [BZ #17978]
21252         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21253         products 4 * y and 2 * y where those would overflow.
21254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21255         Likewise.
21256         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21257         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21258         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21259         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21260         * math/libm-test.inc (remquo_test_data): Add more tests.
21262         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21264         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21265         [defined _COMPILING_NEWLIB].
21266         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21267         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21269         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21270         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21272 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21274         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21275         acquired.
21277 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21279         [BZ #17792]
21280         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21281         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21282         HOST_STACK_END_ADDR): Likewise.
21284 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21286         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21287         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21288         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21290 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21292         * sysdeps/generic/c++-types.data: New file.
21293         * sysdeps/generic/ld.abilist: New file.
21294         * sysdeps/generic/libBrokenLocale.abilist: New file.
21295         * sysdeps/generic/libanl.abilist: New file.
21296         * sysdeps/generic/libc.abilist: New file.
21297         * sysdeps/generic/libcrypt.abilist: New file.
21298         * sysdeps/generic/libdl.abilist: New file.
21299         * sysdeps/generic/libm.abilist: New file.
21300         * sysdeps/generic/libpthread.abilist: New file.
21301         * sysdeps/generic/libresolv.abilist: New file.
21302         * sysdeps/generic/librt.abilist: New file.
21304 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21306         [BZ #17569]
21307         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21308         Compute absolute value of x as modified by fmod, not original
21309         value of x.
21310         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21311         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
21312         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
21313         RUN_TEST_ffI_f1_mod8.
21314         (remquo_test_data): Add more tests.
21316 2015-02-13  Roland McGrath  <roland@hack.frob.com>
21318         * sysdeps/init_array/pt-crti.S: New file.
21320 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
21322         [BZ #17967]
21323         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21324         __builtin_fmaf instead of relying on contraction of a * b + c.
21326 2015-02-12  J William Piggott  <elseifthen@gmx.com>
21328         [BZ #17969]
21329         * manual/time.texi: correct the zoneinfo path in the TZ Variable
21330         node.
21332 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21334         [BZ #17964]
21335         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21336         __builtin_fma instead of relying on contraction of a * b + c.
21338 2015-02-12  Roland McGrath  <roland@hack.frob.com>
21340         * Makeconfig (ASFLAGS): Add -Werror=undef.
21341         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21342         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21343         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21345         * Makeconfig (after-link): New variable.
21346         (+link-pie, +link-pie-tests): Use it.
21347         (+link-static, +link-static-tests): Likewise.
21348         (+link, +link-tests): Likewise.
21349         * Makerules (build-module, build-module-asneeded): Likewise.
21350         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21351         Likewise.
21352         * elf/Makefile ($(objpfx)ld.so): Likewise.
21354 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
21356         [BZ #17965]
21357         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21358         both struct timeval and struct timespec.
21360 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
21362         [BZ #16560]
21363         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21364         and redefine.
21365         (__ieee754_exp2l): Do not multiply small fractional parts by
21366         M_LN2l.
21367         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21368         small argument.
21369         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21370         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21371         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21372         * math/auto-libm-test-in: Add more tests of exp2.
21373         * math/auto-libm-test-out: Regenerated.
21375 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21377         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21378         unaligned path.
21380 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21382         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21383         little endian.
21385 2015-02-12  Andreas Schwab  <schwab@suse.de>
21387         [BZ #15790]
21388         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21389         Filter out elision flags from value returned in kind.
21390         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21391         * nptl/tst-pthread-mutexattr.c: New file.
21393 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21395         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21396         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21397         into gnu-gnu, and update comment to refer to abi-tags.
21399 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
21401         [BZ #15467]
21402         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21403         (__sincos): Set errno to EDOM for infinite argument.
21404         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21405         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21406         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21407         (__sincosl): Set errno to EDOM for infinite argument.
21408         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21409         (__sincosl): Set errno to EDOM for infinite argument.
21410         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21411         (__sincosl): Set errno to EDOM for infinite argument.
21412         * math/libm-test.inc (sincos_test_data): Test errno setting.
21414 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
21416         * string/strxfrm_l.c: Remove #define STRCMP.
21417         * string/strcoll_l.c: Remove #define STRLEN.
21418         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21419         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21421 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
21423         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21424         * sysdeps/mips/mips32/sfp-machine.h: ... here.
21425         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21426         * sysdeps/mips/mips64/Makefile: ... here.
21427         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21428         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21429         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21430         * sysdeps/mips/mips64/sfp-machine.h: ... here.
21431         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21432         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21433         * sysdeps/mips/mips64/n64/Implies: Likewise.
21435 2015-02-10  Roland McGrath  <roland@hack.frob.com>
21437         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21438         <sys/time.h>, <string.h>, and <errno.h>.
21439         (dest_offset, dest_address, value, zero): Remove unused variables.
21440         (ldouble): Remove typedef.
21441         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21442         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
21443         1).  Fix code style.
21444         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21445         (check): Function removed.
21446         (CHECK): New macro.
21447         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
21448         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21449         Don't call set_sigaction_FP and remove_sigaction_FP here.
21450         (ldouble_test): Just use 'long double' as macro argument, no need for
21451         the 'ldouble' typedef.
21452         (do_test): Set up SIGFPE handler at start, using plain signal rather
21453         than sigaction.  Fix code style.
21455 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
21457         [BZ #17949]
21458         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21459         jump label.
21461 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21463         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21464         * sysdeps/powerpc/powerpc32/configure: Regenerated.
21466         * sysdeps/powerpc/configure.ac: Remove file.
21467         * sysdeps/powerpc/configure: Likewise.
21469         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21470         [sysdep_routines]: Remove wordcopy-power6 object.
21471         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21472         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21473         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21474         (__memmove_ppc32): Likewise.
21475         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21476         file.
21477         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21478         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21479         Remove preprocessor.
21481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21482         [sysdep_routines]: Remove wide chars objects.
21483         [wcsmbs]: New rule for wide char objects.
21485         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21486         Remove wordcopy-power6 obejct.
21487         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21488         Use local call for wordcopy and memcpy symbols.
21489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21491         implementation for loader.
21492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21494         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21495         Remove wordcopy-power7 object.
21496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21497         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21498         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21499         (_wordcopy_fwd_dest_aligned): Likewise.
21500         (_wordcopy_bwd_aligned): Likewise.
21501         (_wordcopy_bwd_dest_aligned): Likewise.
21503         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21504         Rewrite to call __memmove_ppc instead of include default
21505         implementation.
21507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21508         Remove wide chars objects.
21509         [wcsmbs]: New rule for wide char objects.
21511 2015-02-09  Andreas Schwab  <schwab@suse.de>
21513         [BZ #17912]
21514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21515         in terms of __O_DIRECTORY.
21517 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21519         * time/getdate.c: Include <stdbool.h>.
21520         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21521         call PTR_MANGLE.
21522         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21523         PTR_DEMANGLE.
21525 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
21527         Add ersatz _Static_assert on older C hosts
21528         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21529         pre-C11 C platform that is not known to support _Static_assert.
21531 2015-02-07  Richard Braun  <rbraun@sceen.net>
21533         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21534         sigstate.
21535         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21537 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21539         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21540         priority against unexistent AIO_PRIO_DELTA_MAX.
21541         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21542         instead of int.
21543         * misc/fchflags.c (fchflags): Likewise.
21544         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21545         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21546         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21547         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21548         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21549         Declare macros.
21550         [__USE_MISC] (chflags, fchflags): Declare functions.
21551         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21552         EINVAL when nfds is greater than FD_SETSIZE.
21553         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21554         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21555         45.
21556         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21557         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21558         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21559         MACH_RCV_TIMED_OUT.
21560         * hurd/hurd/signal.h (_hurd_self_sigstate,
21561         _hurd_critical_section_lock, _hurd_critical_section_unlock):
21562         Explicit casts from void *.
21563         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21564         * abi-tags: Rename gnu-gnu os into gnu.
21566         [BZ #4719]
21567         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21568         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21569         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21570         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21571         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21572         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21574         [BZ #17944]
21575         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21576         duplicates ADDR->sun_path with sockaddr LEN limitation.
21577         * sysdeps/mach/hurd/connect.c: Include <string.h>
21578         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21579         * sysdeps/mach/hurd/sendmsg.c: Likewise.
21580         * sysdeps/mach/hurd/sendto.c: Likewise.
21581         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21582         implementing it by hand.
21584 2015-02-06  Roland McGrath  <roland@hack.frob.com>
21586         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21587         Use sfi_breg on ldr.
21588         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21589         Likewise.
21591         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21592         it's defined.
21593         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21594         Test SIGSETXID only if it's defined.
21596         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21598         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21599         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
21601         * nptl/tst-align2.c: Moved ...
21602         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21603         * nptl/Makefile (tests): Remove tst-align2.
21604         * sysdeps/unix/sysv/linux/Makefile
21605         [$(subdir) = nptl] (tests): Add tst-align-clone.
21606         * nptl/tst-getpid1.c: Moved ...
21607         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21608         * nptl/tst-getpid2.c: Moved ...
21609         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21610         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21611         * sysdeps/unix/sysv/linux/Makefile
21612         [$(subdir) = nptl] (tests): ... here.
21613         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21614         * sysdeps/unix/sysv/linux/Makefile
21615         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21617         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21618         Drop trailing \n from perror argument.  Use return rather than exit.
21620         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21621         on [SA_SIGINFO].
21622         * nptl/tst-cancel21.c (do_test): Likewise.
21623         * debug/tst-backtrace6.c: Include <signal.h> first thing.
21624         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21625         [!SA_SIGINFO]: Make it a stub test.
21627         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21628         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21630         * posix/tst-getlogin.c: Move to ...
21631         * login/tst-getlogin.c: ... here.
21632         * posix/Makefile (tests): Move tst-getlogin to ...
21633         * login/Makefile (tests): ... here.
21635         * libio/tst-atime.c (do_test): Move local variables SV and E
21636         inside [ST_NOATIME] conditional.
21638         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21640         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21642         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21643         (wait_code): New function replaces macro.
21644         Call nanosleep rather than syscall.
21646         * nptl/pt-system.c: Rewritten.  Put everything under
21647         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21648         Use IFUNC to redirect when possible.
21650         * nptl/pt-longjmp.c: Rewritten.  Put everything under
21651         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21652         Use IFUNC to redirect when possible.
21654         * nptl/pt-fork.c: Rewritten.  Put everything under
21655         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21656         Use IFUNC to redirect when possible.
21657         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21659         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21660         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21661         unconditionally nowadays.  This included the only reference to
21662         __vdso_clock_gettime that appears outside libc proper.
21663         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21664         Remove version set (containing only __vdso_clock_gettime).
21665         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21666         Add attribute_hidden.
21667         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21668         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21669         libc_hidden_data_def.
21670         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21671         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21673         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21674         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21675         setrpcent, and getrpcport to ...
21676         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21677         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21678         getrpcbynumber_r, and getrpcent_r to ...
21679         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21680         * inet/getrpcbyname.c: Moved ...
21681         * sunrpc/getrpcbyname.c: ... here.
21682         * inet/getrpcbyname_r.c: Moved ...
21683         * sunrpc/getrpcbyname_r.c: ... here.
21684         * inet/getrpcbynumber.c: Moved ...
21685         * sunrpc/getrpcbynumber.c: ... here.
21686         * inet/getrpcbynumber_r.c: Moved ...
21687         * sunrpc/getrpcbynumber_r.c: ... here.
21688         * inet/getrpcent.c: Moved ...
21689         * sunrpc/getrpcent.c: ... here.
21690         * inet/getrpcent_r.c: Moved ...
21691         * sunrpc/getrpcent_r.c: ... here.
21692         * inet/Makefile (routines): Move those to ...
21693         * sunrpc/Makefile (routines): ... here.
21694         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21695         the $(subdirs) list.
21696         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
21697         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21698         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21699         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21701         * elf/Makefile (routines): Include $(all-dl-routines), not just
21702         $(dl-routines).
21703         (rtld-routines): Likewise.  Use = rather than :=.
21704         * sysdeps/aarch64/Makefile [$(subdir) = elf]
21705         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21706         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21707         * sysdeps/arm/Makefile: Likewise.
21708         * sysdeps/i386/Makefile: Likewise.
21709         * sysdeps/x86_64/Makefile: Likewise.
21710         * sysdeps/hppa/Makefile [$(subdir) = elf]
21711         (sysdep_routines, sysdep-rtld-routines): Don't add
21712         $(sysdep-dl-routines) to these.
21713         * sysdeps/ia64/Makefile: Likewise.
21714         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21715         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21716         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21717         Don't add dl-static to these; sysdep-dl-routines alone is enough.
21718         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21719         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21720         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21721         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21722         * sysdeps/powerpc/Makefile [$(subdir) = elf]
21723         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21724         these; sysdep-dl-routines alone is enough.
21726 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
21728         [BZ #17932]
21729         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21730         where multiplication results in zero and third argument is finite
21731         and nonzero.
21732         * math/auto-libm-test-in: Add more tests of fma.
21733         * math/auto-libm-test-out: Regenerated.
21735         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21736         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21737         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21738         (_FP_CMP_EQ): Likewise.
21739         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21741         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21742         extra argument CHECK_NAN.  Redefine as wrapper around
21743         _FP_EXTEND_CNAN.
21745 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
21747         * version.h (RELEASE): Set to "stable".
21748         (VERSION): Set to "2.21"
21749         * include/features.h (__GLIBC_MINOR__): Set to 21.
21751         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21753 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21754             Paul Eggert  <eggert@cs.ucla.edu>
21756         [BZ #16618]
21757         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21759         size in bytes. Store needed elements in wpmax. Use needed size
21760         in bytes for extend_alloca.
21762 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
21764         * manual/install.texi: Latest tested versions are GCC 4.9.2,
21765         binutls 2.25, and texinfo 5.2.
21766         * INSTALL: Regenerate.
21767         * sysdeps/nios2/configure: Regenerate.
21768         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21769         * manual/contrib.texi: Update.
21770         * po/be.po: Update.
21771         * po/bg.po: Update.
21772         * po/ca.po: Update.
21773         * po/cs.po: Update.
21774         * po/da.po: Update.
21775         * po/de.po: Update.
21776         * po/el.po: Update.
21777         * po/eo.po: Update.
21778         * po/es.po: Update.
21779         * po/fi.po: Update.
21780         * po/fr.po: Update.
21781         * po/gl.po: Update.
21782         * po/hr.po: Update.
21783         * po/hu.po: Update.
21784         * po/ia.po: Update.
21785         * po/id.po: Update.
21786         * po/it.po: Update.
21787         * po/ja.po: Update.
21788         * po/ko.po: Update.
21789         * po/lt.po: Update.
21790         * po/nb.po: Update.
21791         * po/nl.po: Update.
21792         * po/pl.po: Update.
21793         * po/pt_BR.po: Update.
21794         * po/ru.po: Update.
21795         * po/rw.po: Update.
21796         * po/sk.po: Update.
21797         * po/sl.po: Update.
21798         * po/sv.po: Update.
21799         * po/tr.po: Update.
21800         * po/uk.po: Update.
21801         * po/vi.po: Update.
21802         * po/zh_CN.po: Update.
21803         * po/zh_TW.po: Update.
21805         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21806         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21807         * sysdeps/hppa/dl-irel.h: Remove #warning.
21808         * sysdeps/hppa/entry.h: Provide prototype for
21809         __canonicalize_funcptr_for_compare and cast argument.
21810         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21811         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21812         * sysdeps/hppa/sotruss-lib.c: New file.
21813         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21814         (atomic_compare_and_exchange_val_acq): Use __typeof__.
21815         (atomic_compare_and_exchange_bool_acq): Likewise.
21816         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21817         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21819         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21820         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21821         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21823 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
21825         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21826         called function in non-PIC case.
21828 2015-01-31  David S. Miller  <davem@davemloft.net>
21830         * sysdeps/sparc/sparc32/bits/atomic.h
21831         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21832         unlock not after it.
21833         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21834         volatile register usage warnings from the compiler.
21836         * sysdeps/sparc/nptl/sem_init.c: Delete.
21837         * sysdeps/sparc/nptl/sem_post.c: Delete.
21838         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21839         * sysdeps/sparc/nptl/sem_wait.c: Delete.
21840         * sysdeps/sparc/sparc32/sem_init.c: New file.
21841         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21842         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21843         padding explicitly initialized.
21844         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
21845         padding for in-semaphore spinlock.
21846         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
21847         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
21848         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
21849         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
21850         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
21851         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
21852         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
21853         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
21854         version.
21855         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
21856         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
21858 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
21860         [BZ #17801]
21861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21862         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
21863         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
21864         New.
21865         (index_AVX_Fast_Unaligned_Load): Likewise.
21866         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
21867         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
21868         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
21869         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
21870         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
21871         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
21872         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
21873         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
21874         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
21876 2015-01-29  Andreas Schwab  <schwab@suse.de>
21878         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
21880 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
21882         [BZ #17892]
21883         * nscd/nscd_stat.c (send_stats): Initialize DATA.
21885 2015-01-28  Martin Sebor  <msebor@redhat.com>
21887         * math/README.libm-test: Clarify. Add "How to read the test output."
21889 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
21891         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
21892         Define to 0.
21894 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
21896         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
21897         (__HAVE_64B_ATOMICS): Define to 0.
21899 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21901         [BZ #17885]
21902         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
21903         value to set as new flag.
21905         [BZ #16576]
21906         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
21907         and use _ARCH_PPCSQ instead.
21908         (__ieee754_sqrt): Likewise.
21909         (__ieee754_sqrtf): Likewise.
21910         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
21911         _ARCH_PPCSQ is defined.
21912         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
21913         fsqrt instruction.
21914         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
21915         _ARCH_PPCSQ is defined.
21916         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
21917         fsqrts instruction.
21918         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
21920 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21922         * iconv/loop.c: Suppress array out of bound warning caused by GCC
21923         bug (GCC BZ #64739).
21925 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
21927         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
21928         Mark _retval as used.
21929         (lll_futex_wake_unlock): Likewise.
21930         (lll_futex_timed_wait_requeue_pi): Likewise.
21932         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
21933         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
21934         register variables.
21936         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
21937         libm_hidden_def.
21939         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
21940         (__bswap_64): Mark as __always_inline.
21942 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
21944         [BZ #15378]
21945         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
21946         when none of the search directories exist.
21948 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21950         [BZ #17869]
21951         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
21952         power8 in .machine directive.
21954         [BZ #17868]
21955         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
21956         set dependency from opd value.
21958 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21961         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
21962         architecture.
21964 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
21966         [BZ #17870]
21967         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21968         with uint64_t.
21969         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
21970         (uint64_t) 1.
21971         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
21972         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
21973         Replace 1UL with (uint64_t) 1.
21974         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
21975         int with uint64_t.
21977 2015-01-23  Roland McGrath  <roland@hack.frob.com>
21979         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
21980         (if_freenameindex): Likewise.
21982         * resource/getrlimit64.c: Add missing libc_hidden_def.
21984 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
21986         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
21987         __label__.
21988         (_FP_FMA): Likewise.
21989         (_FP_TO_INT_ROUND): Likewise.
21990         (_FP_FROM_INT): Likewise.
21992 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21994         [BZ #16418]
21995         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
21996         Make code racy and cancel safe.
21998 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22000         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22001         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22002         attribution.
22004         * pwd/tst-getpw.c: Rewrite.
22006         [BZ #17702]
22007         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22008         (modules-names): Add moddummy1 and moddummy2.
22009         ($(objpfx)tst-rec-dlopen): Define.
22010         * dlfcn/moddummy1.c: New file.
22011         * dlfcn/moddummy2.c: New file.
22012         * dlfcn/tst-rec-dlopen.c: New file.
22013         * elf/dl-cache.c (_dl_load_cache_lookup):
22014         Return char*. Copy result with alloca/strcpy/strdup.
22015         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22016         returns char*. Free cached. If not saving realname
22017         free cached.
22018         * elf/dl-open.c (dl_open_worker): Do not assert that
22019         _r_debug->r_state is RT_CONSISTENT.
22020         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22021         returns char*.
22023 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22024             Carlos O'Donell  <carlos@redhat.com>
22026         [BZ #12674]
22027         * nptl/sem_waitcommon.c: New file.
22028         * nptl/sem_wait.c: Include sem_waitcommon.c.
22029         (__sem_wait_cleanup, do_futex_wait): Remove.
22030         (__new_sem_wait): Adapt.
22031         (__new_sem_trywait): New function.
22032         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22033         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22034         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22035         (sem_timedwait): Adapt.
22036         * nptl/sem_post.c (__new_sem_post): Adapt.
22037         (futex_wake): New function.
22038         (__old_sem_post): Add release MO fence.
22039         * nptl/sem_open.c (sem_open): Adapt.
22040         * nptl/sem_init.c (__new_sem_init): Adapt.
22041         (futex_private_if_supported): New function.
22042         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22043         (__old_sem_getvalue): Add using previous code.
22044         * sysdeps/nptl/internaltypes.h: Adapt.
22045         * nptl/tst-sem13.c (do_test): Adapt.
22046         * nptl/tst-sem11.c (main): Adapt.
22047         * nptl/sem_trywait.c: Remove.
22048         * nptl/DESIGN-sem.txt: Remove.
22049         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22050         (gen-as-const-headers): Remove structsem.sym.
22051         * nptl/structsem.sym: Remove.
22052         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22053         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22054         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22055         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22056         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22057         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22058         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22059         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22060         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22061         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22062         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22063         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22064         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22065         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22066         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22067         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22068         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22069         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22070         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22071         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22072         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22073         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22075 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22077         * INSTALL: Regenerated.
22079         * po/libc.pot: Regenerated.
22081 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22082             Sandra Loosemore  <sandra@codesourcery.com>
22083             Andrew Jenner  <andrew@codesourcery.com>
22084             Joseph Myers  <joseph@codesourcery.com>
22085             Nathan Sidwell  <nathan@codesourcery.com>
22087         * NEWS: Mention new Nios II port.
22088         * sysdeps/nios2/Implies: New file.
22089         * sysdeps/nios2/Makefile: New file.
22090         * sysdeps/nios2/Subdirs: New file.
22091         * sysdeps/nios2/Versions: New file.
22092         * sysdeps/nios2/__longjmp.S: New file.
22093         * sysdeps/nios2/abort-instr.h: New file.
22094         * sysdeps/nios2/backtrace.c: New file.
22095         * sysdeps/nios2/bits/endian.h: New file.
22096         * sysdeps/nios2/bits/fenv.h: New file.
22097         * sysdeps/nios2/bits/link.h: New file.
22098         * sysdeps/nios2/bits/setjmp.h: New file.
22099         * sysdeps/nios2/bsd-_setjmp.S: New file.
22100         * sysdeps/nios2/bsd-setjmp.S: New file.
22101         * sysdeps/nios2/configure: New generated file.
22102         * sysdeps/nios2/configure.ac: New file.
22103         * sysdeps/nios2/crti.S: New file.
22104         * sysdeps/nios2/crtn.S: New file.
22105         * sysdeps/nios2/dl-init.c: New file.
22106         * sysdeps/nios2/dl-machine.h: New file.
22107         * sysdeps/nios2/dl-sysdep.h: New file.
22108         * sysdeps/nios2/dl-tls.h: New file.
22109         * sysdeps/nios2/dl-trampoline.S: New file.
22110         * sysdeps/nios2/gccframe.h: New file.
22111         * sysdeps/nios2/gmp-mparam.h: New file.
22112         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22113         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22114         * sysdeps/nios2/ldsodefs.h: New file.
22115         * sysdeps/nios2/libc-tls.c: New file.
22116         * sysdeps/nios2/libm-test-ulps: New file.
22117         * sysdeps/nios2/machine-gmon.h: New file.
22118         * sysdeps/nios2/math-tests.h: New file.
22119         * sysdeps/nios2/math_private.h: New file.
22120         * sysdeps/nios2/memusage.h: New file.
22121         * sysdeps/nios2/nptl/Makefile: New file.
22122         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22123         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22124         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22125         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22126         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22127         * sysdeps/nios2/nptl/tls.h: New file.
22128         * sysdeps/nios2/preconfigure: New file.
22129         * sysdeps/nios2/s_fma.c: New file.
22130         * sysdeps/nios2/s_fmaf.c: New file.
22131         * sysdeps/nios2/setjmp.S: New file.
22132         * sysdeps/nios2/sfp-machine.h: New file.
22133         * sysdeps/nios2/sotruss-lib.c: New file.
22134         * sysdeps/nios2/stackguard-macros.h: New file.
22135         * sysdeps/nios2/stackinfo.h: New file.
22136         * sysdeps/nios2/start.S: New file.
22137         * sysdeps/nios2/sysdep.h: New file.
22138         * sysdeps/nios2/tls-macros.h: New file.
22139         * sysdeps/nios2/tst-audit.h: New file.
22140         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22141         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22142         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22143         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22144         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22145         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22146         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22147         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22148         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22149         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22150         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22151         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22152         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22153         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22154         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22155         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22156         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22157         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22158         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22159         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22160         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22161         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22162         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22163         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22164         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22165         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22166         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22167         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22168         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22169         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22170         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22171         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22172         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22173         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22174         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22175         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22176         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22177         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22178         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22179         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22180         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22181         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22182         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22183         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22185 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22187         [BZ #17844]
22188         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22189         (getutent): Use weak_alias in non SHARED case
22190         and default_symbol_version in SHARED case.
22191         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22192         (getutent_r, pututline): Likewise.
22193         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22194         (getutid): Likewise.
22195         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22196         (getutid_r): Likewise.
22197         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22198         (getutline): Likewise.
22199         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22200         (getutline_r): Likewise.
22201         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22202         (updwtmp): Likewise.
22204 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22206         [BZ #17848]
22207         * sysdeps/s390/s390-32/memcmp.S
22208         (memcmp_g5): Rename to __memcmp_g5.
22209         * sysdeps/s390/s390-32/memcpy.S
22210         (memcpy_g5): Rename to __memcpy_g5.
22211         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22212         (memcpy_mvcle) Rename to __memcpy_mvcle.
22213         * sysdeps/s390/s390-32/memset.S
22214         (memset_g5): Rename to __memset_g5.
22215         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22216         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22217         and use prefixed functions.
22218         * sysdeps/s390/s390-32/multiarch/memcmp.S
22219         (memcmp_z196): Rename to __memcmp_z196.
22220         (memcmp_z10): Rename to __memcmp_z10.
22221         (memcmp): Set alias to __memcmp_g5.
22222         (bcmp): Set alias to __memcmp_g5.
22223         * sysdeps/s390/s390-32/multiarch/memcpy.S
22224         (memcpy_z196): Rename to __memcpy_z196.
22225         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22226         (memcpy_z10): Rename to __memcpy_z10.
22227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22228         (memcpy): Set alias to __memcpy_g5.
22229         * sysdeps/s390/s390-32/multiarch/memset.S
22230         (memset_z196): Rename to __memset_z196.
22231         Jump to __memset_mvcle instead of memset_mvcle.
22232         (memset_z10): Rename to __memset_z10.
22233         Jump to __memset_mvcle instead of memset_mvcle.
22234         (memset_mvcle) Rename to __memset_mvcle.
22235         (memset): Set alias to __memset_g5.
22236         * sysdeps/s390/s390-64/memcmp.S
22237         (memcmp_z900): Rename to __memcmp_z900.
22238         * sysdeps/s390/s390-64/memcpy.S
22239         (memcpy_z900): Rename to __memcpy_z900.
22240         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22241         (memcpy_mvcle) Rename to __memcpy_mvcle.
22242         * sysdeps/s390/s390-64/memset.S
22243         (memset_z900): Rename to __memset_z900.
22244         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22245         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22246         and use prefixed functions.
22247         * sysdeps/s390/s390-64/multiarch/memcmp.S
22248         (memcmp_z196): Rename to __memcmp_z196.
22249         (memcmp_z10): Rename to __memcmp_z10.
22250         (memcmp): Set alias to __memcmp_z900.
22251         (bcmp): Set alias to __memcmp_z900.
22252         * sysdeps/s390/s390-64/multiarch/memcpy.S
22253         (memcpy_z196): Rename to __memcpy_z196.
22254         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22255         (memcpy_z10): Rename to __memcpy_z10.
22256         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22257         (memcpy): Set alias to __memcpy_z900.
22258         * sysdeps/s390/s390-64/multiarch/memset.S
22259         (memset_z196): Rename to __memset_z196.
22260         Jump to __memset_mvcle instead of memset_mvcle.
22261         (memset_z10): Rename to __memset_z10.
22262         Jump to __memset_mvcle instead of memset_mvcle.
22263         (memset_mvcle) Rename to __memset_mvcle.
22264         (memset): Set alias to __memset_z900.
22266 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22268         [BZ #17748]
22269         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22270         __fesetenv instead of fesetenv.
22272 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22274         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22275         macro.
22277 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22279         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22280         regression on LE.
22282         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22283         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22284         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22285         strncmp-power8 object.
22286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22287         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22288         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22289         * NEWS: Update.
22291 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22292             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22294         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22295         trailing byte check.
22297 2015-01-13  David S. Miller  <davem@davemloft.net>
22299         * include/signal.h (__sigreturn): Guard with __USE_MISC.
22301 2015-01-13  Roland McGrath  <roland@hack.frob.com>
22303         * login/logout.c (logout): Use memset rather than bzero.
22304         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22305         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22306         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22307         (_gethtbyaddr): Likewise.
22308         * locale/programs/simple-hash.c (bcopy): Macro removed.
22310 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22312         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22313         Add strcmp-power8 object.
22314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22315         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22316         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22317         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22318         __strcmp_power8 implementation.
22319         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22320         * NEWS: Update.
22322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22323         Add strncpy-power8 and stpncpy-power8 objects.
22324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22325         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22326         implementations.
22327         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22328         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22329         __stpncpy_power8 implementation.
22330         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22331         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22332         __strncpy_power8 implementation.
22333         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22334         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22335         * NEWS: Update.
22337         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22338         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22339         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22341         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22342         strncat-power8 object.
22343         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22344         __strcat_power8 implementation.
22345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22346         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22347         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22348         optimized strcat for power8.
22350         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22351         strcpy-power8 and stpcpy-power8 objects.
22352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22353         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22354         implementations.
22355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22356         multiarch stpcpy implementation for POWER8.
22357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22358         multiarch strcpy implementation for POWER8.
22359         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22360         __strcpy_power8 function.
22361         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22362         stpcpy for POWER8.
22363         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22364         strcpy for POWER8.
22365         * NEWS: Update.
22367 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
22369         [BZ #16009]
22370         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22371         weights and rules. Use do_xfrm_cached if data fits in cache,
22372         do_xfrm otherwise.  Moved former main loop to...
22373         * (do_xfrm_cached): New function.
22374         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22375         find_idx, find_position and stack_push.
22376         * (find_idx): New function.
22377         * (find_position): Likewise.
22378         * localedata/sort-test.sh: Added test run for do_xfrm.
22379         * localedata/xfrm-test.c (main): Added command line option
22380         -nocache to run the test with strings that are too large for
22381         the STRXFRM cache.
22383 2015-01-13  Torvald Riegel  <triegel@redhat.com>
22385         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22386         variable to lll_futex_wake call, not the value itself.
22388 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
22390         [BZ #17803]
22391         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22392         twom64.  Adjust value to 0x1p-64L.
22393         (__scalblnl): Only return standard underflowing result for K <=
22394         -64 not K <= -63; adjust exponent for underflowing result by 64
22395         not 63.
22396         * math/libm-test.inc (scalbn_test_data): Add more tests.
22397         (scalbln_test_data): Likewise.
22399         [BZ #17834]
22400         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22401         0x1p63L.
22402         (__scalblnl): Get new exponent of adjusted subnormal value from ES
22403         not HX.
22404         * math/libm-test.inc (scalbn_test_data): Add more tests.
22405         (scalbln_test_data): Likewise.
22407 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22408             Stefani Seibold  <stefani@seibold.net>
22410         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22411         (sysdep_routines): Add dl-vdso here, ...
22412         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22413         (sysdep_routines): ... not here.
22414         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22415         fallback when vDSO is not presented.
22416         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22417         Define with libc_hidden_proto/libc_hidden_data_def definitions.
22418         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22419         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22420         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22421         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22422         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22423         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22424         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22425         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22426         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
22427         fallback configurable symbol when vDSO is not available.
22428         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22429         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
22430         be able to redefine fallback symbol when vDSO is not available.
22431         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22432         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22434 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22436         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22437         (TLS_INIT_TP): Add tm_capable initialization.
22438         (TLS_DEFINE_INIT_TP): Likewise.
22439         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22440         TCB.
22441         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22442         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22443         calculation.
22444         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22445         transactoion is lock elision is built and TCB tm_capable is set.
22446         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22448         (INTERNAL_SYSCALL_NCS): Likewise.
22449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22450         (INTERNAL_SYSCALL_NCS): Likewise.
22451         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22453         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22454         for powerpc.
22455         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22456         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22457         and remove it for 32 bits case.
22458         [pthread_rwlock_t] (__rwelision): New field for lock elision.
22459         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22460         initialization.
22461         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22462         Disable lock elision with rdlocks if elision is not available.
22464         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22465         (sysdep_routines): Add lock elision objects.
22466         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22467         [pthread_mutex_t] (__spins): Rework to add lock elision field.
22468         [pthread_mutex_t] (__elision): Add field.
22469         [__PTHREAD_SPINS]: Adjust to init lock elision field.
22470         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22471         elision definitions for powerpc.
22472         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22473         implementation of lock elision for powerpc.
22474         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22475         implementation of timed lock elision for powerpc.
22476         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22477         implementation of trylock with lock elision for powerpc.
22478         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22479         implementaion of unlock for lock elision for powerpc.
22480         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22481         automatic enable lock elision for mutexes.
22482         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22483         transaction execution definitions for powerpc.
22484         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22485         definitions.
22486         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22487         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22488         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22489         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22490         * NEWS: Update.
22492 2015-01-09  Roland McGrath  <roland@hack.frob.com>
22494         * sysdeps/posix/shm-directory.c: Use <> rather than ""
22495         for #include of <shm-directory.h>.
22497 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
22499         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22500         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22502 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
22504         [BZ #17791]
22505         * NEWS: Mention bug fix.
22506         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22507         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22508         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22510 2015-01-09  Torvald Riegel <triegel@redhat.com>
22512         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22514 2015-01-09  Torvald Riegel <triegel@redhat.com>
22516         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22518 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22520         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22521         pointer and cast to uintptr_t.
22523 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22525         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22526         removed.
22527         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22529 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
22531         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22532         of 0.
22534 2015-01-08  Roland McGrath  <roland@hack.frob.com>
22536         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22537         <nptl/pthreadP.h> instead.
22538         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22540         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22541         already defined.
22542         [__SIGRTMIN] (init): Function removed.
22543         [__SIGRTMIN] (initialized): Variable removed.
22544         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22545         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22546         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22547         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22548         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22549         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22550         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22551         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22552         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22553         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22554         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22555         * sysdeps/nptl/allocrtsig.c: New file.
22556         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22557         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22558         * sysdeps/generic/testrtsig.h: File removed.
22560         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22561         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22563         * nptl/nptl-init.c (pthread_functions): Conditionalize
22564         .ptr__nptl_setxid initialization on [SIGSETXID].
22566         * sysdeps/nptl/sys/procfs.h: New file.
22567         * nptl_db/Makefile (headers): Add it.
22568         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22570         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22571         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22572         * nptl/pthread_attr_setaffinity.c: Include it.
22573         * nptl/pthread_setattr_default_np.c: Likewise.
22574         * nptl/check-cpuset.h: New file.
22576 2015-01-08  Richard Henderson  <rth@redhat.com>
22578         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22579         (CFLAGS-tst-execstack-prog.c): Likewise.
22580         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22582 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
22583             Sandra Loosemore  <sandra@codesourcery.com>
22584             Andrew Jenner  <andrew@codesourcery.com>
22585             Joseph Myers  <joseph@codesourcery.com>
22586             Nathan Sidwell  <nathan@codesourcery.com>
22588         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22589         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22590         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22591         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22592         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22593         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22594         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22595         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22596         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22597         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22598         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22599         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22600         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22601         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22602         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22603         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22604         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22606 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22608         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22609         timespec struct member in syscall macro.
22610         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22611         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22612         first timeval struct member in syscall macro.
22613         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22615 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
22617         [BZ #17748]
22618         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22619         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22620         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22621         __feupdateenv and define as weak alias of __feupdateenv.  Use
22622         libm_hidden_weak.
22623         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22624         libm_hidden_def.
22625         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22626         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
22627         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22628         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22629         libm_hidden_def.
22630         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22631         __feupdateenv and define as weak alias of __feupdateenv.  Use
22632         libm_hidden_weak.
22633         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22634         libm_hidden_def.
22635         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22636         __feupdateenv and define as weak alias of __feupdateenv.  Use
22637         libm_hidden_weak.
22638         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22639         libm_hidden_def.
22640         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22641         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22642         (__feupdateenv): Likewise.
22643         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22644         __feupdateenv and define as weak alias of __feupdateenv.  Use
22645         libm_hidden_weak.
22646         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22647         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22648         libm_hidden_def.
22649         * sysdeps/tile/math_private.h (__feupdateenv): New inline
22650         function.
22651         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22652         libm_hidden_def.
22653         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22654         __feupdateenv instead of feupdateenv.
22655         (default_libc_feupdateenv_test): Likewise.
22656         (libc_feresetround_ctx): Likewise.
22658 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22660         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22661         prototype.
22663 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
22665         * posix/regcomp.c (parse_bracket_exp): Initialize type to
22666         COLL_SYM in a couple of places to avoid uninitialized variable
22667         wanings on tilegx gcc 4.8.2.
22669 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22671         * sysdeps/aarch64/strcpy.S: New file.
22672         * sysdeps/aarch64/stpcpy.S: New file.
22673         * NEWS: Updated.
22675 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
22677         * sysdeps/aarch64/strrchr.S: New file.
22678         * NEWS: Updated.
22680 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
22682         [BZ #17658]
22683         * stdlib/setenv.c: Fix memory leak when setting large,
22684         duplicate string.
22686 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
22688         [BZ #17273]
22689         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22690         and tabs from buffer before parsing fstab entry.
22691         * misc/tst-mntent.c (main): Add test for mount entry with
22692         trailing spaces and tabs.
22694 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
22696         [BZ #17748]
22697         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
22698         * math/fesetround.c (fesetround): Rename to __fesetround and
22699         define as weak alias of __fesetround.  Use libm_hidden_weak.
22700         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22701         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22702         * sysdeps/arm/fesetround.c (fesetround): Likewise.
22703         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22704         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22705         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22706         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22707         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22708         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22709         __fesetround_inline.
22710         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22711         __fesetround_inline instead of __fesetround.
22712         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22713         __fesetround and define as weak alias of __fesetround.  Use
22714         libm_hidden_weak.  Call __fesetround_inline instead of
22715         __fesetround.
22716         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22717         __fesetround and define as weak alias of __fesetround.  Use
22718         libm_hidden_weak.
22719         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22720         Likewise.
22721         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22722         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22723         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22724         * sysdeps/tile/math_private.h (__fesetround): New inline function.
22725         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22726         __fesetround and define as weak alias of __fesetround.  Use
22727         libm_hidden_weak.
22728         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22729         __fesetround instead of fesetround.
22730         (default_libc_feholdexcept_setround): Likewise.
22731         (libc_feholdsetround_ctx): Likewise.
22732         (libc_feholdsetround_noex_ctx): Likewise.
22734         [BZ #17748]
22735         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22736         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22737         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22738         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22739         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22740         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22741         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22742         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22743         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22744         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22745         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22746         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22747         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22748         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22749         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22750         libm_hidden_def.
22751         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22752         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22753         Likewise.
22754         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22755         define as weak alias of __fesetenv.  Use libm_hidden_weak.
22756         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22757         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22758         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22759         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22760         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
22761         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22762         __fesetenv instead of fesetenv.
22763         (libc_feresetround_noex_ctx): Likewise.
22764         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22765         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22766         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22767         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22768         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22769         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22770         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22771         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22772         (__feupdateenv): Likewise.
22773         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22774         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22775         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22776         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22778 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22780         [BZ #17806]
22781         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22782         addresses have been freed.
22784 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
22786         * resolv/res_init.c (__res_vinit): Improve comments about nserv
22787         and nservall.
22789 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
22791         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22792         Clean up check_pf allocation pattern. addresses
22794 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22796         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22797         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22798         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22799         * nptl/pthread_exit.c (__pthread_exit): Likewise.
22800         * nptl/pthread_join.c (pthread_join): Likewise.
22801         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22802         * sysdeps/posix/waitid.c (__waitid): Likewise.
22803         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22804         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22805         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22806         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22808         Likewise.
22809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22810         (__libc_pread64): Likewise.
22811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22812         (__libc_pwrite): Likewise.
22813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22814         (__libc_pwrite64): Likewsie.
22815         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22816         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22817         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22818         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22819         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22820         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22821         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22823         Likewise.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22825         (__libc_pread64): Likewise.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22827         Likewise.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22829         (__libc_pwrite64): Likewise.
22830         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22831         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22832         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22833         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22834         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22835         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22836         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22837         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22838         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22839         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22840         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22841         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22842         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22843         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
22844         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22845         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22846         Likewise.
22848 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
22850         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
22851         (CFLAGS-test-double.c): Likewise.
22852         (CFLAGS-test-ldouble.c): Likewise.
22853         (CPPFLAGS-test-ifloat.c): Likewise.
22854         (CPPFLAGS-test-idouble.c): Likewise.
22855         (CPPFLAGS-test-ildoubl.c): Likewise.
22856         (CFLAGS-test-test-fenv.c): Remove variable.
22857         (CFLAGS-test-misc.c): Likewise.
22859 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
22861         [BZ #17797]
22862         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
22863         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
22864         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
22865         CLOCKS_PER_SEC == 1000000.
22866         * time/clocktest.c (main): Replace %ld with %jd and cast to
22867         intmax_t.
22869 2015-01-05  Roland McGrath  <roland@hack.frob.com>
22871         * sysdeps/generic/unwind-resume.h: New file.
22872         * sysdeps/gnu/unwind-resume.c: Include it.
22873         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
22874         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
22875         argument list.
22876         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
22877         global rather than static.
22878         (_Unwind_Resume): Update user.
22879         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
22880         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
22881         rather than static.  Add __attribute__ ((cold)).
22882         (_Unwind_Resume, __gcc_personality_v0): Update callers.
22883         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
22884         * sysdeps/arm/arm-unwind-resume.S: New file.
22885         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
22886         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
22887         * sysdeps/arm/Makefile [$(subdir) = csu]
22888         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
22889         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
22890         Add rt-arm-unwind-resume.
22891         [$(subdir) = nptl]
22892         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22893         Add pt-arm-unwind-resume.
22894         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
22895         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
22897 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22899         [BZ #17748]
22900         * include/fenv.h (__feholdexcept): Declare.  Use
22901         libm_hidden_proto.
22902         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
22903         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
22904         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22905         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
22906         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
22907         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
22908         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
22909         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22910         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
22911         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
22912         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22913         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
22914         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
22915         (feholdexcept): Likewise.
22916         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22917         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22918         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22919         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22920         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
22921         __feholdexcept instead of feholdexcept.
22922         (default_libc_feholdexcept_setround): Likewise.
22924 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22926         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
22927         to avoid using stl/str to align destination.
22929 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22931         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
22933 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22935         [BZ #17796]
22936         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
22937         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
22938         Define as weak alias not strong alias.
22940 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
22942         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
22943         bltzal with addiupc.
22944         (RTLD_START): Ditto.
22946 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
22948         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
22949         for __vdso_* functions in declarations.
22950         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
22951         definitions.
22952         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
22953         INTERNAL_VSYSCALL): Use struct return types to check for error.
22955         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
22956         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
22957         function with cast from llround().
22958         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
22959         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22960         Define.
22962 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
22964         [BZ #17793]
22965         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
22966         Define as weak alias not strong alias.
22968         [BZ #17635]
22969         * ctype/ctype-c99.c: New file.  isblank implementation moved from
22970         ...
22971         * ctype/ctype-extn.c: ... here.
22972         (__isblank_l): Move to ...
22973         * ctype/ctype-c99_l.c: ... here.  New file.
22974         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
22975         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
22976         Remove variable.
22977         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22978         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22979         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22980         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22981         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
22983         [BZ #17777]
22984         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
22985         (posix_fadvise64): Define as weak alias not strong alias.
22986         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22987         (posix_fallocate64): Likewise.
22988         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
22989         Remove variable.
22990         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
22991         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
22992         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
22993         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
22994         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
22996 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
22998         [BZ #16191]
22999         * NEWS: Mention bug fix.
23000         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23001         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23002         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23003         (HOST_STACK_END_ADDR): Likewise.
23005 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23007         [BZ #17748]
23008         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23009         * math/fegetround.c (fegetround): Rename to __fegetround and
23010         define as weak alias of __fegetround.  Use libm_hidden_weak.
23011         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23012         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23013         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23014         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23015         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23016         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23017         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23018         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23019         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23020         Undefine after rather than before function definition; use
23021         parentheses around function name in definition.
23022         (__fegetround): Also undefine macro after function definition.
23023         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23024         __fegetround and define as weak alias of __fegetround.  Use
23025         libm_hidden_weak.  Do not undefine as macro.
23026         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23027         Likewise.
23028         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23029         __fegetround and define as weak alias of __fegetround.  Use
23030         libm_hidden_weak.
23031         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23032         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23033         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23034         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23035         __fegetround and define as weak alias of __fegetround.  Use
23036         libm_hidden_weak.
23037         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23038         __fegetround instead of fegetround.
23040         [BZ #17782]
23041         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23042         Condition macro definition on [__USE_MISC].
23044         [BZ #17781]
23045         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23046         (struct sigaction): Change type of sa_flags field to int.
23048         [BZ #17780]
23049         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23050         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23051         __glibc_reserved0.
23053         * nptl/version.c (banner): Use single year in copyright notice.
23055         * NEWS: Update copyright dates.
23056         * catgets/gencat.c (print_version): Likewise.
23057         * csu/version.c (banner): Likewise.
23058         * debug/catchsegv.sh: Likewise.
23059         * debug/pcprofiledump.c (print_version): Likewise.
23060         * debug/xtrace.sh (do_version): Likewise.
23061         * elf/ldconfig.c (print_version): Likewise.
23062         * elf/ldd.bash.in: Likewise.
23063         * elf/pldd.c (print_version): Likewise.
23064         * elf/sotruss.sh: Likewise.
23065         * elf/sprof.c (print_version): Likewise.
23066         * iconv/iconv_prog.c (print_version): Likewise.
23067         * iconv/iconvconfig.c (print_version): Likewise.
23068         * locale/programs/locale.c (print_version): Likewise.
23069         * locale/programs/localedef.c (print_version): Likewise.
23070         * login/programs/pt_chown.c (print_version): Likewise.
23071         * malloc/memusage.sh (do_version): Likewise.
23072         * malloc/memusagestat.c (print_version): Likewise.
23073         * malloc/mtrace.pl: Likewise.
23074         * manual/libc.texinfo: Likewise.
23075         * nptl/version.c (banner): Likewise.
23076         * nscd/nscd.c (print_version): Likewise.
23077         * nss/getent.c (print_version): Likewise.
23078         * nss/makedb.c (print_version): Likewise.
23079         * posix/getconf.c (main): Likewise.
23080         * scripts/test-installation.pl: Likewise.
23081         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23083 2015-01-02  Will Newton  <will.newton@linaro.org>
23085         * sysdeps/arm/armv7/configure: Removed.
23086         * sysdeps/arm/armv7/configure.ac: Likewise.
23088 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23090         * All files with FSF copyright notices: Update copyright dates
23091         using scripts/update-copyrights.
23092         * intl/plural.c: Regenerated.
23093         * locale/programs/charmap-kw.h: Likewise.
23094         * locale/programs/locfile-kw.h: Likewise.
23096 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23098         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23100 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23102         [BZ #17748]
23103         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23104         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23105         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23106         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23107         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23108         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23109         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23110         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23111         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23112         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23113         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23114         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23115         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23116         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23117         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23118         libm_hidden_def.
23119         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23120         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23121         Likewise.
23122         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23123         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23124         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23125         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23126         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23127         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23128         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23129         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23130         __fegetenv instead of fegetenv.
23131         (libc_feholdsetround_noex_ctx): Likewise.
23133 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23135         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23136         (Elf_MIPS_ABIFlags_v0): New structure.
23137         (EF_MIPS_FP64): Define.
23138         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23139         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23140         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23141         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23142         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23143         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23144         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23145         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23146         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23147         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23148         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23149         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23150         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23151         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23152         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23153         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23154         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23155         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23156         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23157         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23158         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23159         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23160         field.
23161         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23162         EF_MIPS_FP64.
23163         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23164         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23165         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23166         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23167         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23168         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23169         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23170         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23171         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23172         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23173         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23174         record the current FP ABI extension.
23175         (mips-mode-switch): Define to show if kernel headers support mode
23176         switching.
23177         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23178         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23179         supported SYSV ABI version to 3.
23180         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23181         feature.
23183 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23184             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23186         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23187         path.
23188         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23190 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23192         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23193         __fegetround and redefine to call __fegetround.  Remove condition
23194         on [!__NO_MATH_INLINES].
23195         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23196         function.
23197         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23198         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23199         Remove macro.
23200         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23201         instead of <fenv_libc.h>.
23202         (__llrintl): Call fegetround instead of __fegetround.
23203         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23204         instead of <fenv_libc.h>.
23205         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23206         (__lrintl): Call fegetround instead of __fegetround.
23207         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23208         instead of <fenv_libc.h>.
23209         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23210         (__rintl): Call fegetround instead of __fegetround.
23212 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23214         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23215         arrays.
23217 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23219         [BZ #17775]
23220         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23221         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23222         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23224 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23226         * sysdeps/i386/tls-macros.h: Include <features.h>.
23227         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23228         (TLS_IE): Likewise.
23229         (TLS_LD): Likewise.
23230         (TLS_GD): Likewise.
23231         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23232         define for GCC >= 5.0.
23234 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23236         * math/test-fenv.c (test_single_exception, set_single_exc,
23237         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23238         feexcp_mask_test, feenable_test, fe_single_test): Add
23239         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23240         case where they are not used.
23241         * math/libm-test.inc: Likewise.
23242         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23243         unused in the absence of FP rounding/exception support.
23244         * stdio-common/tst-printf-round.c: Likewise.
23245         * stdlib/tst-strtod-round.c: Likewise.
23246         * stdlib/tst-strtod-underflow.c: Likewise.
23248 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23250         [BZ #17723]
23251         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23252         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23253         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23254         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23255         libm_hidden_weak.
23256         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23257         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23258         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23259         libm_hidden_def.
23260         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23261         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23262         libm_hidden_weak.
23263         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23264         Likewise.
23265         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23266         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23267         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23268         libm_hidden_weak.
23269         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23270         libm_hidden_def.
23271         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23272         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23273         (__feraiseexcept): Likewise.
23274         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23275         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23276         libm_hidden_weak.
23277         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23278         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23279         libm_hidden_def.
23280         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23281         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23282         Use libm_hidden_def.
23283         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23284         libm_hidden_def.
23285         (feraiseexcept): Define as weak not strong alias.  Use
23286         libm_hidden_weak.
23287         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23288         New inline function.  Factored out of ...
23289         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
23290         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23291         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23292         feraiseexcept.
23293         * math/w_acos.c (__acos): Likewise.
23294         * math/w_asin.c (__asin): Likewise.
23295         * math/w_ilogb.c (__ilogb): Likewise.
23296         * math/w_j0.c (y0): Likewise.
23297         * math/w_j1.c (y1): Likewise.
23298         * math/w_jn.c (yn): Likewise.
23299         * math/w_log.c (__log): Likewise.
23300         * math/w_log10.c (__log10): Likewise.
23301         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23302         * sysdeps/aarch64/fpu/math_private.h
23303         (libc_feupdateenv_test_aarch64): Likewise.
23304         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23305         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23306         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23307         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23308         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23309         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23310         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23311         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23312         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23313         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23315 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23317         [BZ #17732]
23318         * io/test-utime.c (main): Replace %ld with %jd and cast to
23319         intmax_t.
23320         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23321         * nptl/tst-mutex5.c: Include <stdint.h>.
23322         (do_test): Replace %ld with %jd and cast to intmax_t.
23323         * posix/tst-regex.c (run_test): Likewise.
23324         (run_test_backwards): Likewise.
23325         * rt/tst-clock.c: Include <stdint.h>.
23326         (clock_test): Replace %ld with %jd and cast to intmax_t.
23327         * rt/tst-cpuclock1.c: Include <stdint.h>.
23328         (do_test): Replace %lu with %ju and cast to uintmax_t.
23329         * rt/tst-cpuclock2.c: Include <stdint.h>.
23330         (do_test): Replace %lu with %ju and cast to uintmax_t.
23331         * rt/tst-mqueue1.c: Include <stdint.h>.
23332         (check_attrs): Replace %ld with %jd and cast to intmax_t.
23333         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23334         intmax_t.
23335         * rt/tst-mqueue4.c (do_test): Likewise.
23336         * rt/tst-timer4.c: Include <stdint.h>.
23337         (check_ts): Replace %ld with %jd and cast to intmax_t.
23338         (do_test): Likewise.
23339         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23340         and cast to intmax_t.
23341         * sysdeps/pthread/tst-timer.c (main): Likewise.
23342         * time/clocktest.c (main): Likewise.
23343         * time/tst-posixtz.c (do_test): Likewise.
23344         * timezone/tst-timezone.c (main): Likewise.
23346 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23347             H.J. Lu  <hongjiu.lu@intel.com>
23349         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23350         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23351         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23352         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23353         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23354         version if bit_Fast_Unaligned_Load is set.
23355         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23356         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23357         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23358         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23359         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23360         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23362         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23363         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23364         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23365         to 4.
23366         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23367         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23368         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23369         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23371 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
23373         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23374         instead of #if to avoid a Wundef warning.
23375         * stdlib/tst-limits.c (do_test): Likewise.
23377         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23378         parallel other exception macros.
23379         (fegetenv): Convert from macro to extern inline so that it applies
23380         retroactively to inline functions already seen by the compiler.
23381         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23383         * posix/Makefile (before-compile): Use $(objpfx) for
23384         posix-conf-vars-def.h.
23386 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23388         * posix/getconf.c (main): Use size_t for type of I.
23389         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23390         NSPEC.
23392         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23393         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23394         * posix/posix-envs.def: Likewise.
23395         * sysdeps/posix/sysconf.c: Likewise.
23396         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23397         (specs): Remove array.
23398         * scripts/gen-posix-conf-vars.awk: Support generation of specs
23399         array.
23401         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23402         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23403         (__sysconf): Use CONF_IS_* macros.
23405         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23406         ($(objpfx)posix-conf-vars-def.h): New target.
23407         * posix/posix-conf-vars.list: New file.
23408         * posix/posix-conf-vars.h: New file.
23409         * posix/confstr.c: Include posix-conf-vars.h.
23410         (confstr): Use CONF_IS_* macros.
23411         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
23412         CONF_IS_* macros.
23413         * scripts/gen-posix-conf-vars.awk: New file.
23415 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
23417         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23418         fegetround): Add no-op macros to avoid linknamespace issues.
23420         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23421         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23423         * sysdeps/unix/sysv/linux/tile/sysdep.h
23424         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23425         assembly-specific section to avoid a redefinition warning.
23427         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23428         long before casting to pointer to avoid a cast warning.
23430 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
23432         * sysdeps/tile/tilegx/Implies: New file.
23434 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
23436         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23438 2014-12-23  Florian Weimer  <fweimer@redhat.com>
23440         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23442 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23445         not define.
23446         * sysdeps/unix/sysv/linux/utimes.c: Do not include
23447         <kernel-features.h>.
23448         (__utimes) [__NR_utimes]: Make code unconditional.
23449         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23450         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23451         (__ASSUME_UTIMES): Do not undefine.
23452         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23453         (__ASSUME_UTIMES): Likewise.
23454         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23455         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23456         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23457         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23459 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23461         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23463 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
23465         [BZ #17747]
23466         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23467         alias to weak alias for j0l, y0l.
23468         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23469         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23471         [BZ #17746]
23472         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23473         conversion.
23475 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
23477         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23478         to zero if not already defined.
23480 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23482         [BZ #17724]
23483         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23484         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
23485         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
23486         (char *) casts added.
23487         * sysdeps/ieee754/k_standardf.c: New file.
23488         * sysdeps/ieee754/k_standardl.c: Likewise.
23489         * math/Makefile (libm-support): Remove k_standard.
23490         (libm-calls): Add k_standard.
23492 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23494         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23495         Optimize to avoid an unnecessary FPCR read.
23497 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23499         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23500         Optimize to reduce FPCR/FPSR accesses.
23502 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23504         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23505         Call libc_fetestexcept_aarch64.
23507 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
23509         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23510         Call libc_fesetround_aarch64.
23512 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
23514         [BZ #17733]
23515         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23516         (__bind): Do not define as weak alias.
23517         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23518         define.
23519         (__getsockname): Do not define as weak alias.
23521 2014-12-22  Will Newton  <will.newton@linaro.org>
23523         * manual/install.texi: Document that we require bison 2.7
23524         or above.
23525         * INSTALL: Regenerate.
23526         * configure.ac: Use AC_CHECK_PROG_VER instead of
23527         AC_PATH_PROG when checking for bison and check for
23528         version 2.7 or above.
23529         * configure: Regenerate.
23531 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
23533         [BZ #17745]
23534         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23535         * sysdeps/tile/ffsll.c (ffsll): To here.
23537         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23539 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23541         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23542         if not defined.
23543         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23544         definition.
23545         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23546         hidden ___tls_get_addr.
23547         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23548         hidden __tls_get_addr.
23549         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23550         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23551         Likewise.
23553 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
23555         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23556         _dl_init call.
23558 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
23560         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23561         from "call _dl_init@PLT".
23562         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23564 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
23566         * manual/search.texi: (Array Sort Function): Clarify stable sorting
23567         guarantees.
23569 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
23571         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23573 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23575         [BZ #17744]
23576         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23577         strnlen.
23579 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23581         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23582         of multu on MIPSr6.
23583         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23584         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23585         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23586         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23587         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23589 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
23591         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23592         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23593         (PTR_SUBU): Use subu for mips32r6/mips64r6.
23594         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23595         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23596         mips32r6/mips64r6.
23597         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23599 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
23601         * string/strncat.c (STRNCAT): Simplify implementation.
23603 2014-12-19  David S. Miller  <davem@davemloft.net>
23605         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23606         access the quad as both a long double and as a series of 4 words.
23608         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23609         link_map->l_info array access.
23611 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
23613         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23615         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23616         * math/atest-exp2.c (TIMEOUT): Likewise.
23617         * math/atest-sincos.c (TIMEOUT): Likewise.
23619 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23621         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23622         -Wno-error with -fno-builtin-lround.
23624 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23626         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23627         Contains futex constants and functions moved over from ...
23628         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
23629         <lowlevellock-futex.h>.
23630         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23631         (lll_timedwait_tid): Add comments and parentheses around macro
23632         arguments.
23634 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23636         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23637         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
23638         (__lll_private_flag): Remove.
23639         (lll_futex_wait): Likewise.
23640         (lll_futex_timed_wait): Likewise.
23641         (lll_futex_wake): Likewise.
23642         (lll_futex_requeue): Likewise.
23643         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23644         (__lll_timedwait_tid): Spell out argument names.
23645         (lll_timedwait_tid): Add comments and parentheses around macro
23646         arguments.
23647         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23648         LLL_SHARED and LLL_PRIVATE usable from assembly code.
23650 2014-12-19  Torvald Riegel  <triegel@redhat.com>
23652         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23653         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23655         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23656         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23657         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23658         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23659         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23660         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23661         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23662         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23666         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23667         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23668         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23669         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23670         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23672 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23674         * sysdeps/x86_64/x32/Makefile: New file.
23676 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
23678         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23679         1L with (mp_limb_t) 1.
23681 2014-12-17  Roland McGrath  <roland@hack.frob.com>
23683         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23684         * nptl/libc_pthread_init.c: ... here.
23685         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23686         * nptl/register-atfork.c: ... here.
23688         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23689         Use pthread_sigmask rather than INTERNAL_SYSCALL.
23690         Use assert_perror to check its return value.
23691         (__gai_create_helper_thread): Likewise.
23693         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23695         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23697 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
23699         [BZ #17725]
23700         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23701         __profil_counter.
23702         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23703         Likewise.
23704         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23705         Likewise.
23706         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23707         Likewise.
23708         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23709         (profil_counter): Likewise.
23710         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23711         (profil_counter): Likewise.
23712         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23713         Likewise.
23714         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23715         Likewise.
23716         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23717         (profil_counter): Likewise.
23718         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23719         Likewise.
23720         [!__profil_counter] (profil_counter): Define as weak alias of
23721         __profil_counter.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23723         (profil_counter): Rename to __profil_counter.
23724         [!__profil_counter] (profil_counter): Define as weak alias of
23725         __profil_counter.
23726         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23727         (profil_counter): Rename to __profil_counter.
23728         [!__profil_counter] (profil_counter): Define as weak alias of
23729         __profil_counter.
23730         * sysdeps/posix/profil.c: Update comment referring to
23731         profil_counter.
23732         (__profil): Use __profil_counter instead of profil_counter.
23733         * sysdeps/posix/sprofil.c (profil_counter): Rename to
23734         __profil_counter.  Use __profil_counter_ushort and
23735         __profil_counter_uint in definitions.
23736         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23737         instead of profil_counter_uint and profil_counter_ushort.
23739         [BZ #17722]
23740         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23741         define as weak alias of __inet_makeaddr.
23742         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23743         as weak alias of __inet_addr.
23744         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23745         as weak alias of __inet_pton.  Use libc_hidden_weak.
23746         * include/arpa/inet.h (__inet_pton): Declare.  Use
23747         libc_hidden_proto.
23748         (inet_makeaddr): Don't use libc_hidden_proto.
23749         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
23750         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23751         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
23752         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23753         Remove variable.
23754         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23755         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23757 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
23759         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23761 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23763         * stdio-common/bug-vfprintf-nargs.c (do_test):
23764         Cast value to intptr_t to avoid format warning
23765         for usage with PRIdPTR printing macro.
23767 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23769         * libio/tst-widetext.c (do_test):
23770         Use format type %td instead of %Zd for ptrdiff_t
23771         in order to avoid format warning.
23773 2014-12-17  Andreas Schwab  <schwab@suse.de>
23775         * nscd/mem.c (gc): Add size_t cast to match printf format.
23777 2014-12-16  Roland McGrath  <roland@hack.frob.com>
23779         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23780         (init): Apply PTR_MANGLE to pointers before storing them.
23781         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23782         before using them.
23784 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
23786         [BZ #17719]
23787         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23788         define as weak alias of __memrchr.
23789         (__memrchr): Do not define as strong alias of memrchr.
23790         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23791         Remove variable.
23792         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23793         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23794         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23796         [BZ #17717]
23797         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23798         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
23799         (if_indextoname): Rename to __if_indextoname and define as weak
23800         alias of __if_indextoname.  Use libc_hidden_weak.
23801         (if_freenameindex): Rename to __if_freenameindex and define as
23802         weak alias of __if_freenameindex.
23803         (if_nameindex): Rename to __if_nameindex and define as weak alias
23804         of __if_nameindex.
23805         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23806         __if_nametoindex and define as weak alias of __if_nametoindex.
23807         Use libc_hidden_weak.
23808         (if_freenameindex): Rename to __if_freenameindex and define as
23809         weak alias of __if_freenameindex.
23810         (if_nameindex): Rename to __if_nameindex and define as weak alias
23811         of __if_nameindex.
23812         (if_indextoname): Rename to __if_indextoname and define as weak
23813         alias of __if_indextoname.  Use libc_hidden_weak.
23814         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23815         __if_nametoindex and define as weak alias of __if_nametoindex.
23816         Use libc_hidden_weak.
23817         (if_freenameindex): Rename to __if_freenameindex and define as
23818         weak alias of __if_freenameindex.  Use libc_hidden_weak.
23819         (if_nameindex_netlink): Use __if_freenameindex instead of
23820         if_freenameindex.
23821         (if_nameindex): Rename to __if_nameindex and define as weak alias
23822         of __if_nameindex.  Use libc_hidden_weak.
23823         (if_indextoname): Rename to __if_indextoname and define as weak
23824         alias of __if_indextoname.  Use libc_hidden_weak.
23825         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23826         libc_hidden_proto.
23827         [!_ISOMAC] (__if_freenameindex): Likewise.
23828         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23829         if_nametoindex.
23830         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23831         variable.
23832         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23833         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23834         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23835         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23836         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23837         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23838         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23840         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23841         Remove variable.
23842         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23843         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23845 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23847         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
23848         subscript above bounds'
23850         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
23851         bounds.
23853 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
23855         * libio/tst-fopenloc.c: Use test-skeleton.c.
23857         * stdlib/tst-bsearch.c: Use test-skeleton.c.
23858         (entry): Rename to ITEM.
23859         (do_test, comp): Adjust.
23861         * stdio-common/tst-fseek.c: Use test-skeleton.c.
23863 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23865         * string/tester.c: Include <libc-internal.h>.
23866         (test_memset): Ignore -Wmemset-transposed-args.
23868 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23870         * misc/tst-mntent2.c (do_test): Fix warning.
23872 2014-12-16  Torvald Riegel  <triegel@redhat.com>
23874         * elf/tst-unique4lib.cc(a): Mark as used.
23876 2014-12-16  Florian Weimer  <fweimer@redhat.com>
23878         [BZ #17630]
23879         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
23880         names.
23882 2014-12-16  Allan McRae  <allan@archlinux.org>
23884         * stdio-common/Makefile (tests): Re-add bug26.
23886 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
23888         [BZ #17657]
23889         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
23890         static array.
23892 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
23894         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
23895         (__lll_lock_wait): Likewise.
23896         (__lll_timedlock_wait): Likewise.
23897         (__lll_timedwait_tid): Likewise.
23898         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
23899         (__lll_robust_timedlock_wait): Likewise.
23900         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
23901         (lll_cond_trylock): Likewise.
23902         (__lll_lock): Likewise.
23903         (__lll_robust_lock): Likewise.
23904         (__lll_cond_lock): Likewise.
23905         (lll_robust_cond_lock): Likewise.
23906         (__lll_timedlock): Likewise.
23907         (__lll_robust_timedlock): Likewise.
23908         (__lll_unlock): Likewise.
23909         (__lll_robust_unlock): Likewise.
23910         (lll_wait_tid): Likewise.
23911         (lll_timedwait_tid): Likewise.
23913 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23915         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
23917 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23919         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
23921 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
23923         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
23924         * stdio-common/tst-sprintf.c: Likewise.
23926 2014-12-15  Torvald Riegel  <triegel@redhat.com>
23928         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
23930 2014-12-15  Jeff Law  <law@redhat.com>
23932         [BZ #16617]
23933         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
23934         on the heap.  (CVE-2012-3406)
23935         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
23936         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
23937         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
23939 2014-12-15  Will Newton  <will.newton@linaro.org>
23941         * manual/install.texi: Bump required version of texinfo
23942         to 4.7 from 4.5.
23943         * INSTALL: Regenerated.
23944         * configure.ac: Check for makeinfo version 4.7 and above.
23945         * configure: Regenerated.
23947 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23949         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
23950         PREFIX, string constant to insert between directory and name.
23951         * sysdeps/posix/shm_open.c: Update caller.
23952         * sysdeps/posix/shm_unlink.c: Likewise.
23953         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
23954         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
23955         (SEM_SHM_PREFIX): New macro.
23956         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
23957         [$(have-thread-library) = no].
23958         * nptl/Makefile (libpthread-routines): Add shm-directory.
23959         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
23960         * sysdeps/nptl/shm-directory.h: New file.
23961         * sysdeps/posix/shm-directory.c
23962         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
23963         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
23964         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
23965         INTERNAL_SYSCALL.
23966         (__where_is_shmfs): Function removed.
23967         (mountpoint, defaultmount, defaultdir, __namedsem_once):
23968         Variables removed.
23969         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
23970         Use SHM_GET_NAME.
23971         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
23973         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
23974         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
23975         unconditional for use inside libpthread.
23976         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
23978 2014-12-12  Roland McGrath  <roland@hack.frob.com>
23980         * nptl/pthread_getaffinity.c: New file.
23981         * nptl/pthread_setaffinity.c: New file.
23982         * nptl/pthread_getname.c: New file.
23983         * nptl/pthread_setname.c: New file.
23985         * nptl/pthread_create.c (START_THREAD_DEFN)
23986         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
23988 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23989             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23991         * resolv/res_send.c (send_vc): Disable warning resplen may
23992         be used uninitialized.
23994 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23996         * nptl/tst-mutex6.c
23997         (ATTR_NULL): New define checks ATTR against NULL.
23998         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
23999         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24001 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24003         [BZ #17581]
24004         * malloc/hooks.c
24005         (mem2mem_check): Revert my previous change.
24006         (malloc_check_get_size): Revert my previous change.
24007         (mem2chunk_check): Revert my previous change.
24009 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24011         * sysdeps/posix/shm-directory.c: New file.
24012         * sysdeps/posix/shm-directory.h: New file.
24013         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24014         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24015         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24016         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24017         Transmute EPERM to EACCES.
24018         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24019         from ...
24020         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24021         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24023 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24025         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24026         pointer and cast to uintptr_t.
24027         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24028         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24029         Add cast to avoid warning.
24030         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24032 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24034         * nptl/semaphore.h: Move to ...
24035         * sysdeps/pthread/semaphore.h: ... here.
24036         * Makefile (installed-headers): Change nptl/semaphore.h to
24037         sysdeps/pthread/semaphore.h.
24039 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24041         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24042         generated error format strings.
24044         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24045         -Wformat-extra-args warnings for scanf formats.
24046         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24047         test of zero-length format (duh).
24048         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24049         corner-case scanf format test.
24050         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24051         generated fprintf format string.
24052         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24053         corner-case sprintf format tests.
24054         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24055         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24056         -Wformat-extra-args warnings throughout.
24057         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24058         (CFLAGS-scanf4.c): Likewise.
24059         (CFLAGS-scanf7.c): Likewise.
24060         (CFLAGS-tst-sprintf.c): Likewise.
24061         (CFLAGS-tst-printf.c): Likewise.
24062         (CFLAGS-tst-printfsz.c): Likewise.
24064 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24066         * include/cpio.h: New file.
24067         * include/fmtmsg.h: Likewise.
24069         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24070         corresponding format argument to size_t.
24071         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24072         arguments.
24073         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24074         corresponding format argument to size_t.
24075         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24076         arguments.
24077         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24078         corresponding format argument to size_t.
24079         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24080         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24081         (CFLAGS-tst-mbswcs2.c): Likewise.
24082         (CFLAGS-tst-mbswcs3.c): Likewise.
24083         (CFLAGS-tst-mbswcs4.c): Likewise.
24084         (CFLAGS-tst-mbswcs5.c): Likewise.
24085         (CFLAGS-tst-trans.c): Likewise.
24087 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24089         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24090         rather than assuming they won't contain any '%'s.
24092 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24094         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24095         inhibit_loop_to_libcall to avoid recursive calls.
24096         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24097         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24099 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24101         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24102         prototype.
24104 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24106         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24107         integer value instead of boolean.
24109 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24111         * malloc/malloc.c: Fix powerof2 check.
24113 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24115         * locale/programs/locfile.h (maybe_swap_uint32):
24116         Remove inline and add unused attribute.
24118 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24121         Truncating assembler expression to a .long expression.
24123 2014-12-11  Andreas Schwab  <schwab@suse.de>
24125         * elf/rtld.c (struct map_args): Constify str member.
24126         (do_preload): Constify fname argument.
24128 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24131         constants definition.
24133 2014-12-11  Andreas Schwab  <schwab@suse.de>
24135         [BZ #16657]
24136         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24137         FORCE_ELISION instead of DO_ELISION.
24138         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24139         Remove.
24140         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24141         Likewise.
24143         * iconvdata/gconv-modules: Remove duplicate entry.
24145 2014-12-11  Will Newton  <will.newton@linaro.org>
24147         Merge gettext 0.19.3 into intl/.
24149         This involves a number of cosmetic changes to comments
24150         and ANSI function definitions and prototypes throughout
24151         all the files. The gettext copyright header is used but
24152         with the date ranges taken from the glibc copy.
24154         * NEWS: Add gettext merge to 2.21.
24155         * intl/bindtextdom.c: Switch to gettext copyright.
24156         Use ANSI definitions and prototypes.
24157         Use gl_* locking primitives rather than __libc_* ones.
24158         Use __builtin_expect rather than __glibc_likely/unlikely.
24159         * intl/dcgettext.c: Switch to gettext copyright.
24160         Use ANSI definitions and prototypes.
24161         * intl/dcigettext.c: Switch to gettext copyright.
24162         Use ANSI definitions and prototypes.
24163         (INTDIV0_RAISES_SIGFPE): New define.
24164         Use gl_* locking primitives rather than __libc_* ones.
24165         Include eval-plural.h instead of plural-eval.c.
24166         Use __builtin_expect rather than __glibc_likely/unlikely.
24167         * intl/dcngettext.c: Switch to gettext copyright.
24168         Use ANSI definitions and prototypes.
24169         * intl/dgettext.c: Likewise.
24170         * intl/dngettext.c: Likewise.
24171         * intl/plural-eval.c: Renamed to...
24172         * intl/eval-plural.h: ...this.
24173         * intl/explodename.c: Switch to gettext copyright.
24174         Use ANSI definitions and prototypes.
24175         (_nl_explode_name): Use strchr instead of __rawmemchr.
24176         * intl/finddomain.c: Switch to gettext copyright.
24177         Use ANSI definitions and prototypes.
24178         Use gl_* locking primitives rather than __libc_* ones.
24179         (_nl_find_domain): Use malloc rather than alloca for
24180         allocation of temporary locale name.
24181         * intl/gettext.c: Switch to gettext copyright.
24182         Use ANSI definitions and prototypes.
24183         * intl/gettextP.h: Switch to gettext copyright.
24184         Use ANSI definitions and prototypes.
24185         Use gl_* locking primitives rather than __libc_* ones.
24186         * intl/gmo.h: Switch to gettext copyright.
24187         (struct sysdep_string): Move struct segment_pair outside of
24188         struct definition.
24189         * intl/hash-string.c: Use ANSI definitions and prototypes.
24190         * intl/hash-string.h: Switch to gettext copyright.
24191         Use ANSI definitions and prototypes.
24192         * intl/l10nflist.c: Switch to gettext copyright.
24193         Use ANSI definitions and prototypes.
24194         (_nl_normalize_codeset): Avoid integer overflow.
24195         * intl/loadinfo.h: Switch to gettext copyright.
24196         Use ANSI definitions and prototypes.
24197         (LIBINTL_DLL_EXPORTED): New define.
24198         (PATH_SEPARATOR): New define.
24199         * intl/loadmsgcat.c: Switch to gettext copyright.
24200         * intl/localealias.c: Switch to gettext copyright.
24201         Use ANSI definitions and prototypes.
24202         (_nl_expand_alias): Use PATH_SEPARATOR.
24203         * intl/ngettext.c: Switch to gettext copyright.
24204         Use ANSI definitions and prototypes.
24205         * intl/plural-exp.c: Likewise.
24206         * intl/plural-exp.h: Switch to gettext copyright.
24207         Use ANSI definitions and prototypes.
24208         (struct expression): Move definition of enum operator outside
24209         of struct definition.
24210         * intl/plural.c: Regenerate.
24211         * intl/plural.y: Switch to gettext copyright.
24212         Use ANSI definitions and prototypes.
24213         Port to bison 3.0.
24214         * intl/textdomain.c: Switch to gettext copyright.
24215         Use ANSI definitions and prototypes.
24216         Use gl_* locking primitives rather than __libc_* ones.
24218 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24220         * debug/warning-nop.c: Add used atrribute.
24222 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24224         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24226         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24227         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24228         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24230 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24231             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24233         [BZ #17634]
24234         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24235         Undefine after defining function.  Define as weak alias of
24236         __wcschr.  Use libc_hidden_weak.
24237         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24238         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24239         (libc_hidden_def): Also define __GI___wcschr alias.
24240         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24241         __wcschr and define as weak alias of __wcschr.
24242         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24243         __wcschr.
24244         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24245         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24246         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24247         libc_hidden_weak.  Do not use libc_hidden_def.
24248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24249         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24250         __GI___wcschr alias.
24251         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24252         [IS_IN (libc)] (wcschr): Define as macro expanding to
24253         __redirect_wcschr.
24254         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24255         [IS_IN (libc)] (__wcschr_power6): Likewise.
24256         [IS_IN (libc)] (__wcschr_power7): Likewise.
24257         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24258         instead of wcschr.
24259         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24260         __libc_wcschr.
24261         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24262         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24263         __wcschr and define as weak alias of __wcschr.  Use
24264         libc_hidden_builtin_def.
24265         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24266         as weak alias of __wcschr.  Use libc_hidden_weak.
24267         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24268         wcschr.
24269         * time/era.c (_nl_init_era_entries): Likewise.
24270         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24271         variable.
24272         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24273         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24275 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24277         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24278         format for long int variable.
24280 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24282         [BZ #10672]
24283         * manual/search.texi: (Array Sort Function): Remove claim how to make
24284         qsort stable.
24286 2014-12-10  Andreas Schwab  <schwab@suse.de>
24288         [BZ #12847]
24289         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24290         user-controlled locks.
24292 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
24294         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24295         register.
24297 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24299         * configure.ac (--disable-werror): New configure option.
24300         (enable_werror): New AC_SUBST.
24301         * configure: Regenerated.
24302         * config.make.in (enable-werror): New variable.
24303         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24304         -Wno-error=undef.
24305         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24306         * manual/install.texi (Configuring and compiling): Document
24307         --disable-werror.
24308         * INSTALL: Regenerated.
24309         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24310         (CFLAGS-tst-chk2.c): Likewise.
24311         (CFLAGS-tst-chk3.c): Likewise.
24312         (CFLAGS-tst-chk4.cc): Likewise.
24313         (CFLAGS-tst-chk5.cc): Likewise.
24314         (CFLAGS-tst-chk6.cc): Likewise.
24315         (CFLAGS-tst-lfschk1.c): Likewise.
24316         (CFLAGS-tst-lfschk2.c): Likewise.
24317         (CFLAGS-tst-lfschk3.c): Likewise.
24318         (CFLAGS-tst-lfschk4.cc): Likewise.
24319         (CFLAGS-tst-lfschk5.cc): Likewise.
24320         (CFLAGS-tst-lfschk6.cc): Likewise.
24322         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24323         (main): Disable -Wdeprecated-declarations around calls to
24324         register_printf_function.
24326         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24327         (do_test): Disable -Wdiv-by-zero around some calls to
24328         fwrite_unlocked and fread_unlocked.
24330         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24331         (DIAG_POP_NEEDS_COMMENT): Likewise.
24332         (_DIAG_STR1): Likewise.
24333         (_DIAG_STR): Likewise.
24334         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24335         * stdio-common/bug21.c: Include <libc-internal.h>.
24336         (do_test): Disable -Wformat around call to sscanf.
24337         * stdio-common/scanf14.c: Include <libc-internal.h>.
24338         (main): Disable -Wformat around some calls to scanf functions.
24340 2014-12-09  Torvald Riegel  <triegel@redhat.com>
24342         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24344 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24346         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24347         stack variable alignment.
24349 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
24351         [BZ #17682]
24352         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24353         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24354         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24355         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24356         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24357         __getrlimit instead of getrlimit.
24358         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24359         __gettimeofday instead of gettimeofday.
24360         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24361         Likewise.
24362         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24363         Likewise.
24364         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24365         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24366         Remove variable.
24367         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24368         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24370 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24372         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24373         for wide-character tests.
24375 2014-12-04  Roland McGrath  <roland@hack.frob.com>
24377         * io/openat64.c: #include <libc-internal.h>
24378         (__openat64): Prototypify.  Use ignore_value on MODE.
24379         * io/openat.c: Likewise.
24380         * misc/reboot.c: #include <libc-internal.h>
24381         (reboot): Prototypify.  Use ignore_value on HOWTO.
24382         * misc/ptrace.c: #include <libc-internal.h>
24383         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
24385 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
24387         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24388         XPG4, UNIX98 and XOPEN2K.
24389         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24390         Remove variable.
24391         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24393 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24395         * libio/fileops.c: Use ISO C style for function definitions.
24396         * libio/iofopen.c: Likewise.
24397         * libio/wfileops.c: Likewise.
24399         [BZ #17653]
24400         * libio/fileops.c (_IO_new_file_underflow): Unset cached
24401         offset on EOF.
24402         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24403         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24404         (fgets_func): Function pointer to fgets and fgetws.
24405         (do_ftell_test): Add test to verify ftell value after read
24406         EOF.
24407         (do_test): Set fgets_func.
24409         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24410         O_TRUNC flag for w and w+ modes.
24411         (do_rewind_test): Likewise.
24412         (do_ftell_test): Likewise.
24413         (do_write_test): Likewise.
24415         [BZ #17647]
24416         * libio/fileops.c (do_ftell): Seek only when there are
24417         unflushed writes.
24418         * libio/wfileops.c (do_ftell_wide): Likewise.
24419         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24420         test case.
24421         (do_one_test): Call it.
24423 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
24425         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24426         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24427         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24428         Remove variable.
24429         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24430         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24431         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24433 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24435         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24436         Remove variable.
24437         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24439         [BZ #17668]
24440         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24441         as weak alias of __getifaddrs.  Use libc_hidden_weak.
24442         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24443         __freeifaddrs.  Use libc_hidden_weak.
24444         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24445         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
24446         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24447         __freeifaddrs.  Use libc_hidden_weak.
24448         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24449         __getifaddrs and define as weak alias of __getifaddrs.  Use
24450         libc_hidden_weak.
24451         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24452         __freeifaddrs.  Use libc_hidden_weak.
24453         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24454         Remove variable.
24455         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24456         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24458 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
24460         [BZ #17601]
24461         * sysdeps/mips/start.S (__start): Use indirect jump to call
24462         __libc_start_main.
24464 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
24466         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24468         * nptl/tst-mutex1.c: Include <stdbool.h>.
24469         [!ATTR] (ATTR_NULL): New macro.
24470         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24471         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24472         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24474         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24475         to char *.
24477         [BZ #17665]
24478         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24479         Change conditional to [__USE_MISC].
24481         [BZ #17664]
24482         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24483         fgets_unlocked.
24484         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24485         __fgets_unlocked.
24486         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24487         fgets_unlocked.
24488         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24489         Remove variable.
24490         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24491         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24492         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24493         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24494         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24495         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24496         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24497         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24498         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24500         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24502 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24505         Remove strpbrk objects.
24506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24507         (__libc_ifunc_impl_list): Remove strpbrk implementation.
24508         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24510         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24511         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24513         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24514         Remove strcspn objects.
24515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24516         (__libc_ifunc_impl_list): Remove strcspn implementation.
24517         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24518         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24519         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24520         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24523         Remove strspn objetcs.
24524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24525         (__libc_ifunc_impl_list): Remove strspn implementation.
24526         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24527         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24528         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24529         * sysdeps/powerpc/powerpc64/strspn.S: New file.
24531 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
24533         [BZ #17581]
24534         * malloc/hooks.c
24535         (mem2mem_check): Add a terminator to the chain of checking blocks.
24536         (malloc_check_get_size): Use it here.
24537         (mem2chunk_check): Ditto.
24539 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24541         * sysdeps/powerpc/powerpc64/strtok.S: New file.
24542         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24544 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
24546         * bits/ioctl-types.h: Indent preprocessor directives correctly.
24548         * nptl/nptl-init.c: Include libc-internal.h.
24549         (__pthread_initialize_minimal_internal): Use ROUND_UP.
24551         * elf/ldconfig.c (search_dir): Expand comment.
24553 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
24555         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24556         variable.
24557         (linknamespace-symlist-stdlibs-tests): Likewise.
24558         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24559         instead of $(objpfx)symlist-stdlibs.
24560         (linknamespace-libs-isoc): New variable.
24561         (linknamespace-libs): Use $(linknamespace-libs-isoc).
24562         (linknamespace-libs-ISO): New variable.
24563         (linknamespace-libs-ISO99): Likewise.
24564         (linknamespace-libs-ISO11): Likewise.
24565         (linknamespace-libs-XPG3): Likewise.
24566         (linknamespace-libs-XPG4): Likewise.
24567         (linknamespace-libs-POSIX): Likewise.
24568         (linknamespace-libs-UNIX98): Likewise.
24569         (linknamespace-libs-XOPEN2K): Likewise.
24570         (linknamespace-libs-POSIX2008): Likewise.
24571         (linknamespace-libs-XOPEN2K8): Likewise.
24572         ($(objpfx)symlist-stdlibs): Replace by
24573         $(linknamespace-symlist-stdlibs-tests).  Use
24574         $(linknamespace-libs-$*) as set of libraries.
24575         ($(linknamespace-header-tests)): Update dependencies.  Use
24576         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24577         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24578         * conform/linknamespace.pl: Remove comment about considering
24579         definitions of symbols from irrelevant libraries.
24581 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
24583         [BZ #13862]
24584         * elf/dl-tls.c: Include <atomic.h>.
24585         (oom): Remove #ifdef SHARED/#endif.
24586         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24587         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
24588         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24589         big enough.
24590         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24591         * nptl/Makefile (tests): Add tst-stack4.
24592         (modules-names): Add tst-stack4mod.
24593         ($(objpfx)tst-stack4): New.
24594         (tst-stack4mod.sos): Likewise.
24595         ($(objpfx)tst-stack4.out): Likewise.
24596         ($(tst-stack4mod.sos)): Likewise.
24597         (clean): Likewise.
24598         * nptl/tst-stack4.c: New file.
24599         * nptl/tst-stack4mod.c: Likewise.
24601 2014-11-27  J. Brown  <jb999@gmx.de>
24603         * sysdeps/x86/bits/string.h: Add recent CPUs.
24605 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24607         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24608         sigblock.
24610         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24611         feof.
24613         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24614         variable.
24616 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
24618         * nscd/connections.c: Include libc-internal.h because of macro
24619         usage ignore_value.
24621 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24623         * string/bits/string3.h (__warn_memset_zero_len): Don't
24624         declare for gcc newer than 5.0.
24625         (memset): Don't test for zero-length __LEN for gcc newer than
24626         5.0.
24628 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
24630         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24631         size_t for %zu format.
24633         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24634         difference, not %ju.
24636 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24638         * include/libc-internal.h (ignore_value): New macro.
24639         * nscd/connections.c (restart): Wrap calls to setuid and setgid
24640         with ignore_value.
24642         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24643         definition.
24645         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24646         pthread_cleanup_push to void *.
24648         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24649         Undefine.
24651         [BZ #16619]
24652         [BZ #16740]
24653         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24654         instead of 1L << 52.
24656         * libio/bug-rewind.c (do_test): Check fwscanf return values.
24657         * libio/bug-rewind2.c (do_test): Likewise.
24659         * debug/test-stpcpy_chk-ifunc.c: Remove file.
24660         * debug/test-strcpy_chk-ifunc.c: Likewise.
24661         * wcsmbs/test-wcschr-ifunc.c: Likewise.
24662         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24663         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24664         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24665         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24666         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24667         * Rules [$(multi-arch) = no] (tests): Do not filter out
24668         $(tests-ifunc).
24669         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24670         * debug/Makefile (tests-ifunc): Remove variable.
24671         (tests): Do not add $(tests-ifunc).
24672         * wcsmbs/Makefile (tests-ifunc): Remove variable.
24673         (tests): Do not add $(tests-ifunc).
24674         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24675         [TEST_IFUNC]: Remove conditionals.
24676         * string/test-string.h (TEST_IFUNC): Remove macro.
24677         [TEST_IFUNC]: Remove conditionals.
24679         * string/test-strchr.c [!WIDE] (L): New macro.
24680         [WIDE] (L): Likewise.
24681         (check1): Use CHAR instead of char.  Use L on string and character
24682         constants.
24684 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
24686         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24687         tests.
24688         * sysdeps/powerpc/bits/atomic.h
24689         (__arch_atomic_exchange_and_add_32_acq): Add definition.
24690         (__arch_atomic_exchange_and_add_32_rel): Likewise.
24691         (atomic_exchange_and_add_acq): Likewise.
24692         (atomic_exchange_and_add_rel): Likewise.
24693         * sysdeps/powerpc/powerpc32/bits/atomic.h
24694         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24695         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24696         * sysdeps/powerpc/powerpc64/bits/atomic.h
24697         (__arch_atomic_exchange_and_add_64_acq): Add definition.
24698         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24700 2014-11-26  Torvald Riegel  <triegel@redhat.com>
24702         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24703         Change synchronization of __sched_fifo_min_prio and
24704         __sched_fifo_max_prio.
24705         * nptl/pthread_mutexattr_getprioceiling.c
24706         (pthread_mutexattr_getprioceiling): Likewise.
24707         * nptl/pthread_mutexattr_setprioceiling.c
24708         (pthread_mutexattr_setprioceiling): Likewise.
24709         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24710         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24711         Likewise.
24713 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
24715         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24716         void.
24718 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24720         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24721         third argument const.
24723 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
24725         fnmatch: work around GCC compiler warning bug with uninit var
24726         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24727         This works around a bug with x86-64 GCC 4.9.2 and earlier
24728         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24729         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24730         used uninitialized in this function [-Wmaybe-uninitialized]".
24732 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
24734         * posix/bug-regex31.c (main): Return RES not 0.
24736 2014-11-25  Anton Blanchard <anton@samba.org>
24738         * sysdeps/powerpc/bits/atomic.h
24739         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24741 2014-11-24  Sterling Augustine  <saugustine@google.com>
24743         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24745 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
24747         [BZ #17608]
24748         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24750 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
24752         [BZ #17633]
24753         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24754         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24755         variable.
24756         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24757         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24759 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24761         * string/strncpy.c (strncpy): Improve performance by using memset.
24763 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
24765         * string/strcpy.c (strcpy):
24766         Improve performance by using strlen and memcpy.
24768 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
24770         * string/strcoll_l.c (get_next_seq): __always_inline.
24771         * string/strcoll_l.c (do_compare): __always_inline.
24773 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24775         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24776         defined.
24777         * include/mqueue.h: Likewise.
24778         * include/stdlib.h: Likewise.
24780         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24781         (get_null_defines): Adjust.
24782         * sunrpc/Makefile: Adjust comment.
24783         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24784         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24785         (CFLAGS-interp.c): Likewise.
24786         (CFLAGS-ldconfig.c): Likewise.
24787         (CPPFLAGS-.os): Likewise.
24788         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24789         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24790         * extra-modules.mk (extra-modules.mk): Likewise.
24791         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24792         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24793         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24794         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24795         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24796         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24797         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24798         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24799         * iconvdata/Makefile (CPPFLAGS): Likewise.
24800         (cpp-srcs-left): Add libof for all iconvdata routines.
24801         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24802         * include/assert.h: Likewise.
24803         * include/ctype.h: Likewise.
24804         * include/errno.h: Likewise.
24805         * include/libc-symbols.h: Likewise.
24806         * include/math.h: Likewise.
24807         * include/netdb.h: Likewise.
24808         * include/resolv.h: Likewise.
24809         * include/stdio.h: Likewise.
24810         * include/stdlib.h: Likewise.
24811         * include/string.h: Likewise.
24812         * include/sys/stat.h: Likewise.
24813         * include/wctype.h: Likewise.
24814         * intl/l10nflist.c: Likewise.
24815         * libidn/idn-stub.c: Likewise.
24816         * libio/libioP.h: Likewise.
24817         * nptl/libc_multiple_threads.c: Likewise.
24818         * nptl/pthreadP.h: Likewise.
24819         * posix/regex_internal.h: Likewise.
24820         * resolv/res_hconf.c: Likewise.
24821         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24822         * sysdeps/arm/memmove.S: Likewise.
24823         * sysdeps/arm/sysdep.h: Likewise.
24824         * sysdeps/generic/_itoa.h: Likewise.
24825         * sysdeps/generic/symbol-hacks.h: Likewise.
24826         * sysdeps/gnu/errlist.awk: Likewise.
24827         * sysdeps/gnu/errlist.c: Likewise.
24828         * sysdeps/i386/i586/memcpy.S: Likewise.
24829         * sysdeps/i386/i586/memset.S: Likewise.
24830         * sysdeps/i386/i686/memcpy.S: Likewise.
24831         * sysdeps/i386/i686/memmove.S: Likewise.
24832         * sysdeps/i386/i686/mempcpy.S: Likewise.
24833         * sysdeps/i386/i686/memset.S: Likewise.
24834         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24835         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24836         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24837         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24838         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24839         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24840         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24841         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24842         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24843         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24850         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
24851         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
24852         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
24853         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24854         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24855         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24856         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24857         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24858         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24859         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24860         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
24861         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24862         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
24863         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24864         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24866         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24867         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24870         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24871         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24872         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24873         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24874         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24875         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24876         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24877         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24878         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24879         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24880         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
24881         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
24882         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24883         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
24884         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24885         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
24886         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
24887         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24888         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
24889         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
24890         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24891         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
24892         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
24893         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24894         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
24895         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24896         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
24897         * sysdeps/nptl/bits/libc-lock.h: Likewise.
24898         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
24899         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
24900         * sysdeps/posix/closedir.c: Likewise.
24901         * sysdeps/posix/opendir.c: Likewise.
24902         * sysdeps/posix/readdir.c: Likewise.
24903         * sysdeps/posix/rewinddir.c: Likewise.
24904         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
24905         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
24906         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24907         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24908         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24909         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
24910         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
24911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
24912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
24913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
24914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
24915         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
24916         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
24917         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
24918         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
24919         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
24920         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
24921         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
24922         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
24923         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
24924         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
24925         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
24926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
24927         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
24928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
24929         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
24930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
24931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
24932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
24933         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
24934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
24935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
24936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
24937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
24938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
24939         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
24940         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24941         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24942         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
24943         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
24944         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
24945         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
24946         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
24947         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
24948         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
24949         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
24950         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
24951         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
24952         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
24953         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
24954         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
24955         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
24956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
24957         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
24958         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
24959         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
24960         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
24961         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
24962         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
24963         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
24964         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
24965         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
24966         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
24967         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
24968         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
24969         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
24970         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
24971         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
24972         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
24973         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
24974         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
24975         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
24976         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
24977         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
24978         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
24979         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
24980         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
24981         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
24982         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24983         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
24984         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
24985         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
24987         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
24988         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24989         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
24990         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
24991         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24992         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24993         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24994         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
24995         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
24996         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
24997         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24998         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25000         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25001         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25002         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25003         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25004         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25005         * sysdeps/unix/alpha/sysdep.S: Likewise.
25006         * sysdeps/unix/alpha/sysdep.h: Likewise.
25007         * sysdeps/unix/make-syscalls.sh: Likewise.
25008         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25010         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25011         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25012         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25013         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25014         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25015         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25016         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25017         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25018         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25019         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25020         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25021         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25022         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25023         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25024         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25025         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25026         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25027         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25028         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25029         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25030         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25031         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25032         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25033         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25034         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25037         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25038         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25039         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25042         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25043         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25046         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25047         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25048         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25049         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25050         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25051         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25052         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25055         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25057         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25058         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25059         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25060         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25061         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25062         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25063         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25064         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25066         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25067         * sysdeps/x86_64/memcpy.S: Likewise.
25068         * sysdeps/x86_64/memmove.c: Likewise.
25069         * sysdeps/x86_64/memset.S: Likewise.
25070         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25071         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25072         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25073         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25074         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25077         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25078         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25079         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25080         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25081         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25082         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25083         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25084         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25085         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25086         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25087         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25088         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25089         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25090         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25091         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25092         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25093         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25094         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25095         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25096         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25097         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25098         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25099         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25100         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25101         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25102         * sysdeps/x86_64/strcmp.S: Likewise.
25104         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25106         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25107         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25108         * elf/rtld-Rules: Likewise.
25109         * elf/setup-vdso.h: Likewise.
25110         * include/assert.h: Likewise.
25111         * include/bits/stdlib-float.h: Likewise.
25112         * include/errno.h: Likewise.
25113         * include/sys/stat.h: Likewise.
25114         * include/unistd.h: Likewise.
25115         * sysdeps/aarch64/setjmp.S: Likewise.
25116         * sysdeps/alpha/setjmp.S: Likewise.
25117         * sysdeps/arm/__longjmp.S: Likewise.
25118         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25119         * sysdeps/arm/setjmp.S: Likewise.
25120         * sysdeps/arm/sysdep.h: Likewise.
25121         * sysdeps/generic/_itoa.h: Likewise.
25122         * sysdeps/generic/dl-sysdep.h: Likewise.
25123         * sysdeps/generic/ldsodefs.h: Likewise.
25124         * sysdeps/i386/dl-tls.h: Likewise.
25125         * sysdeps/i386/setjmp.S: Likewise.
25126         * sysdeps/m68k/setjmp.c: Likewise.
25127         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25128         * sysdeps/mach/hurd/opendir.c: Likewise.
25129         * sysdeps/posix/getcwd.c: Likewise.
25130         * sysdeps/posix/opendir.c: Likewise.
25131         * sysdeps/posix/profil.c: Likewise.
25132         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25133         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25134         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25135         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25136         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25137         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25138         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25139         * sysdeps/s390/dl-tls.h: Likewise.
25140         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25141         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25142         * sysdeps/sh/sh3/setjmp.S: Likewise.
25143         * sysdeps/sh/sh4/setjmp.S: Likewise.
25144         * sysdeps/unix/alpha/sysdep.h: Likewise.
25145         * sysdeps/unix/arm/sysdep.S: Likewise.
25146         * sysdeps/unix/i386/sysdep.S: Likewise.
25147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25148         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25149         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25152         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25153         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25154         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25155         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25156         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25157         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25158         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25162         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25165         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25166         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25167         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25168         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25170         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25171         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25172         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25174         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25175         * sysdeps/x86_64/setjmp.S: Likewise.
25177         * include/math.h: Use IS_IN instead of IS_IN_libm.
25178         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25179         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25180         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25181         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25182         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25183         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25184         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25185         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25186         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25188         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25189         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25190         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25191         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25192         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25193         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25194         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25195         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25196         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25197         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25198         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25199         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25200         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25201         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25202         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25203         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25204         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25205         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25206         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25207         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25208         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25209         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25210         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25212         Likewise.
25213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25214         Likewise.
25215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25216         Likewise.
25217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25218         Likewise.
25219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25220         Likewise.
25221         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25222         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25223         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25224         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25225         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25226         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25232         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25233         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25234         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25235         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25236         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25237         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25238         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25239         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25240         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25241         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25242         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25243         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25245         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25247         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25249         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25250         * nptl/pthreadP.h: Likewise.
25251         * nptl_db/structs.def: Likewise.
25252         * sysdeps/arm/sysdep.h: Likewise.
25253         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25254         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25255         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25256         * sysdeps/unix/alpha/sysdep.h: Likewise.
25257         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25259         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25260         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25261         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25262         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25263         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25264         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25265         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25266         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25267         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25268         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25269         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25270         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25275         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25278         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25279         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25280         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25281         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25282         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25284         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25285         * nptl/pthreadP.h: Likewise.
25286         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25287         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25288         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25289         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25290         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25291         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25292         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25293         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25294         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25295         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25296         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25297         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25299         Likewise.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25301         Likewise.
25302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25303         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25304         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25305         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25306         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25307         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25308         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25309         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25311         * dlfcn/dladdr.c: Use IS_IN.
25312         * dlfcn/dladdr1.c: Likewise.
25313         * dlfcn/dlclose.c: Likewise.
25314         * dlfcn/dlerror.c: Likewise.
25315         * dlfcn/dlinfo.c: Likewise.
25316         * dlfcn/dlmopen.c: Likewise.
25317         * dlfcn/dlopen.c: Likewise.
25318         * dlfcn/dlsym.c: Likewise.
25319         * dlfcn/dlvsym.c: Likewise.
25321         * include/ifaddrs.h: Use IS_IN.
25322         * inet/check_pf.c: Likewise.
25323         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25324         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25326         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25327         IS_IN_ldconfig.
25328         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25329         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25331         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25332         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25333         IS_IN (libc).
25335         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25337         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25338         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25339         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25340         * include/libc-symbols.h (IS_IN_LIB): New macro.
25341         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25342         * include/netdb.h: Likewise.
25343         * include/stap-probe.h: Remove all uses of IN_LIB.
25345         * Makeconfig (module-cppflags-real): Define MODULE_NAME
25346         instead of IN_MODULE.
25347         * include/libc-symbols.h (IN_MODULE): Define using
25348         MODULE_NAME.
25349         (PASTE_NAME, PASTE_NAME1): New macros.
25350         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25351         of IN_LIB.
25352         (STAP_PROBE_ASM): Likewise.
25354 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25356         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25357         __mach_init in dlopened libc.
25359 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
25361         * sysdeps/arm/preconfigure.ac: Delete EABI check.
25362         * sysdeps/arm/preconfigure: Regenerate.
25364 2014-11-21  Roland McGrath  <roland@hack.frob.com>
25366         * nptl/pthread_create.c (__pthread_create_2_1): Set
25367         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25368         when copying values from IATTR into PD.
25370 2014-11-21  Will Newton  <will.newton@linaro.org>
25371             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
25373         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25374         Refactor inline-asm.  Also add comment.
25376         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25377         ElfW macro instead of hardcoded Elf64 types.
25378         (la_aarch64_gnu_pltenter): Likewise.
25379         * sysdeps/aarch64/dl-machine.h
25380         (elf_machine_runtime_setup): Use ElfW(Addr).
25382         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25383         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25384         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25385         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25386         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25387         (R_AARCH64_TLS_DTPMOD64): Rename to ..
25388         (R_AARCH64_TLS_DTPMOD): This.
25389         (R_AARCH64_TLS_DTPREL64): Rename to ...
25390         (R_AARCH64_TLS_DTPREL): This.
25391         (R_AARCH64_TLS_TPREL64): Rename to ...
25392         (R_AARCH64_TLS_TPREL): This.
25393         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25394         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25395         R_AARCH64_TLS_TPREL64.
25396         (elf_machine_rela): Likewise.
25398 2014-11-21  Torvald Riegel  <triegel@redhat.com>
25400         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25401         by setting it to 0.  64b atomics are not supported currently.
25403 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25405         [BZ #16469]
25406         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25407         search domain names.
25409 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25411         [BZ #16469]
25412         * NEWS: Update.
25413         * resolv/res_query.c (__libc_res_nquerydomain): Retain
25414         trailing dot.
25415         * posix/tst-getaddrinfo5.c: New.
25416         * posix/Makefile (tests): Add it.
25418 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25420         [BZ #14498]
25421         * NEWS: Fixed.
25422         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25423         after parsing line but before break_if_match.
25424         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25425         if there is a protocol mismatch.
25427 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25429         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25430         because the potential race is on the user-supplied stream.
25432 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25434         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25435         string literal if not passed a buffer.
25436         * manual/job.texi (ctermid): Update reasoning, note deviation
25437         from posix, suggest mtasurace when not passed a buffer, for
25438         future non-preliminary safety notes.
25440 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25442         * manual/users.texi (cuserid): Fix MT-Safety note for the case
25443         of not passing it a buffer.
25444         Reported by Peng Haitao.
25446 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
25448         * manual/Makefile ($(objpfx)stamp-summary): Require
25449         check-safety.sh to pass.
25450         * manual/check-safety.sh: Wish for verification that every
25451         @deftypefn and @deftypefun is followed by a @safety remark.
25453 2014-11-20  Roland McGrath  <roland@hack.frob.com>
25455         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25457         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25458         PTHREAD_CANCEL_ASYNCHRONOUS.
25459         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25460         send SIGCANCEL.
25462         * nptl/default-sched.h: New file.
25463         * sysdeps/unix/sysv/linux/default-sched.h: New file.
25464         * nptl/pthread_create.c: Include it.
25465         (__pthread_create_2_1): Use collect_default_sched instead of making
25466         Linux syscalls here directly.
25468 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25470         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25471         __pthread_once): Use C11 atomics.
25473 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25475         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25477 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25479         * include/atomic.h (__atomic_link_error, __atomic_check_size,
25480         atomic_thread_fence_acquire, atomic_thread_fence_release,
25481         atomic_thread_fence_seq_cst, atomic_load_relaxed,
25482         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25483         atomic_compare_exchange_weak_relaxed,
25484         atomic_compare_exchange_weak_acquire,
25485         atomic_compare_exchange_weak_release,
25486         atomic_exchange_acquire, atomic_exchange_release,
25487         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25488         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25489         atomic_fetch_and_acquire,
25490         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25492 2014-11-20  Torvald Riegel  <triegel@redhat.com>
25494         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25495         USE_ATOMIC_COMPILER_BUILTINS): Define.
25496         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25498         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25500         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25502         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25504         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25506         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25508         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25510         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25512         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25514         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25516         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25518         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25520         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25522         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25524         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25526         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25528         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25530         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25531         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25532         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25534         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25537 2014-11-19  Roland McGrath  <roland@hack.frob.com>
25539         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25540         the sched_priority value here.  It was already checked when the user
25541         called pthread_attr_setschedparam.
25543         * nptl/tst-bad-schedattr.c: New file.
25544         * nptl/Makefile (tests): Add it.
25546 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
25547             Florian Weimer  <fweimer@redhat.com>
25548             Joseph Myers  <joseph@codesourcery.com>
25549             Adam Conrad  <adconrad@0c3.net>
25550             Andreas Schwab  <schwab@suse.de>
25551             Brooks  <bmoses@google.com>
25553         [BZ #17625]
25554         * wordexp-test.c (__dso_handle): Add prototype.
25555         (__register_atfork): Likewise.
25556         (__app_register_atfork): New function.
25557         (registered_forks): New global.
25558         (register_fork): New function.
25559         (test_case): Add 3 new tests for WRDE_CMDSUB.
25560         (main): Call __app_register_atfork.
25561         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25562         fork count is non-zero fail the test.
25563         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25564         is set.
25565         (parse_dollars): Remove check for WRDE_NOCMD.
25566         (parse_dquote): Likewise.
25568 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25570         * Makeconfig (built-modules): List non-library modules to be
25571         built.
25572         (module-cppflags): Include libc-modules.h for
25573         everything except shlib-versions.v.i.
25574         (CPPFLAGS): Use it.
25575         (before-compile): Add libc-modules.h.
25576         ($(common-objpfx)libc-modules.h,
25577         $(common-objpfx)libc-modules.stmp): New targets.
25578         (common-generated): Add libc-modules.h and libc-modules.stmp.
25579         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25580         * include/libc-symbols.h: Don't include libc-modules.h.
25581         * include/libc-modules.h: Remove file.
25582         * scripts/gen-libc-modules.awk: New script to generate
25583         libc-modules.h.
25584         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25585         Depend on libc-modules.stmp.
25587         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25589         * Makeconfig (in-module): Get value of libof set for the
25590         translation unit.
25591         (CPPFLAGS): Use $(in-module).
25592         * Makerules: Don't suffix routine names for nonlib.
25593         * include/libc-modules.h: New file.
25594         * include/libc-symbols.h: Include libc-modules.h
25595         (IS_IN): New macro to replace IS_IN_* macros.
25596         * elf/Makefile: Set libof-* for each routine.
25597         * elf/rtld-Rules: Likewise.
25598         * extra-modules.mk: Likewise.
25599         * iconv/Makefile: Likewise.
25600         * iconvdata/Makefile: Likewise.
25601         * locale/Makefile: Likewise.
25602         * malloc/Makefile: Likewise.
25603         * nss/Makefile: Likewise.
25604         * sysdeps/gnu/Makefile: Likewise.
25605         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25606         * sysdeps/unix/sysv/linux/Makefile: Likewise.
25607         * sysdeps/s390/s390-64/Makefile: Likewise.
25608         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
25609         CPPFLAGS for nscd instead of nonlib.
25611 2014-11-18  Roland McGrath  <roland@hack.frob.com>
25613         * nptl/createthread.c: New file.
25615         * nptl/createthread.c: Moved ...
25616         * sysdeps/unix/sysv/linux/createthread.c: ... here.
25618         * nptl/createthread.c: Add proper top-line comment.
25619         (do_clone): Folded into ...
25620         (create_thread): ... here.  Take new arguments STOPPED_START and
25621         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
25622         increment __nptl_threads, do event-reporting logic, do
25623         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25624         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
25625         resource cleanup if sched_setaffinity or sched_setscheduler fails,
25626         just send SIGCANCEL.
25627         * nptl/pthread_create.c: Forward-declare create_thread before
25628         including createthread.c.
25629         (start_thread): Use new macro START_THREAD_DEFN to replace defining
25630         declaration, and new macro START_THREAD_SELF to replace argument.
25631         Remove return statement.
25632         (report_thread_creation): New function.
25633         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
25634         synchronization logic, and __nptl_nthreads increment here, around
25635         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
25636         PD->parent_cancelhandling here, before create_thread.  When
25637         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25638         __deallocate_stack, and ENOMEM translation here.
25640 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
25642         [BZ #17616]
25643         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25644         (mptwo): Rename to __mptwo.
25645         (__inv): Use __mptwo instead of mptwo.
25646         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25647         (mptwo): Rename to __mptwo.
25648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25649         of mpone and __mptwo instead of mptwo.
25650         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25651         instead of mpone.
25652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25653         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25654         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25655         of mpone and __mptwo instead of mptwo.
25656         (__mpranred): Use __mpone instead of mpone.
25657         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25658         variable.
25659         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25660         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25661         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25662         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25663         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25664         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25665         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25666         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25667         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25668         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25669         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25670         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25671         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25672         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25673         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25674         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25675         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25676         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25677         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25679 2014-11-18  Tom de Vries  <tom@codesoucery.com>
25681         * manual/signal.texi (Primitives Interrupted by Signals): In section,
25682         replace BSD Handler xref with BSD Signal Handling.
25684 2014-11-17  Richard Henderson  <rth@redhat.com>
25686         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25687         (_FP_PACK_RAW_2): Remove.
25688         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25689         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25690         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25691         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25692         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25693         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25694         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25695         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25696         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25697         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25698         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25699         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25700         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25701         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25702         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25703         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25705 2014-11-14  Roland McGrath  <roland@hack.frob.com>
25707         * signal/signal.h [__USE_MISC]
25708         (struct sigvec): Remove type.
25709         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25710         (sigvec): Remove declaration.
25711         * sysdeps/posix/sigvec.c: Moved ...
25712         * signal/sigvec.c: ... here, replacing old file.
25713         (struct sigvec): New type, copied from old signal.h definition.
25714         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25715         (__sigvec): Convert definition to prototype.
25716         (sigvec): Replace weak_alias with compat_symbol.
25717         * signal/Versions (libc: GLIBC_2.21): New version set.
25718         * include/signal.h: Remove __sigvec declaration.
25719         * sysdeps/unix/bsd/sigvec.c: Remove file.
25720         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25721         * manual/signal.texi (BSD Handler): Remove subsection.
25722         Move siginterrupt up to ...
25723         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
25724         (Blocking in BSD): Fold subsection into its parent.
25725         * NEWS: Mention sigvec removal.
25727 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25729         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25730         (DLA_FMS): Make definition conditional only on [__FMA4__].
25731         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25732         definition.
25734         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25735         Make definition conditional only on [PROF].
25736         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25737         definition.
25738         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25739         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25741         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25742         !__GNUC__].
25743         * include/signal.h (__sigpause): Move declaration above call to
25744         libc_hidden_proto.
25745         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25746         variable.
25747         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25748         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25750 2014-11-14  David S. Miller  <davem@davemloft.net>
25752         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25753         Define before including <string/memcpy.c> and <string/mempcpy.c>.
25755 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
25757         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25758         * configure: Regenerated.
25759         * manual/install.texi (Tools for Compilation): Document a
25760         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25761         compiler verified to work.
25762         * INSTALL: Regenerated.
25764         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25765         redeclare with asm name.
25766         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25767         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25768         including <string.h>.
25769         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25770         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25771         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25772         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25773         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25774         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25775         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25777 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
25779         * stdlib/strtol.c (__strtol): Use prototype definition.
25781         [BZ #17594]
25782         * stdlib/strtol.c (SYM__): New macro.
25783         (SYM__1): Likewise.
25784         (__strtol): Likewise.
25785         (strtol): Rename to __strtol and define as weak alias of
25786         __strtol.  Use libc_hidden_weak.
25788 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25790         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25791         Use numbered labels in inline assembly.
25793 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25795         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25796         Add setjmp LIBC_PROBE.
25797         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25798         Likewise.
25799         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25800         Add longjmp, longjmp_target LIBC_PROBE.
25801         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25802         Likewise.
25804 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25806         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25807         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25808         to get rid of unused variable warning.
25810 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25812         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25813         Check for unwind_backtrace ==  NULL only in SHARED case.
25814         (__backchain_backtrace): Compile only in SHARED case.
25815         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25816         Likewise.
25817         (__backchain_backtrace): Declare as static.
25819 2014-11-12  Roland McGrath  <roland@hack.frob.com>
25821         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25822         (__libc_multiple_threads_ptr): Variable moved ...
25823         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25825 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
25827         * conform/GlibcConform.pm: New file.
25828         * conform/conformtest.pl: Use GlibcConform module.
25829         * conform/linknamespace.pl: New file.
25830         * conform/list-header-symbols.pl: Likewise.
25831         * conform/Makefile (linknamespace-symlists-base): New variable.
25832         (linknamespace-symlists-tests): Likewise.
25833         (linknamespace-header-base): Likewise.
25834         (linknamespace-header-tests): Likewise.
25835         (tests-special): Add new tests.
25836         ($(linknamespace-symlists-tests)): New rule.
25837         (linknamespace-libs): New variable.
25838         ($(objpfx)symlist-stdlibs): New rule.
25839         ($(linknamespace-header-tests)): Likewise.
25840         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25841         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25842         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25843         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
25844         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
25845         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
25846         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
25847         (test-xfail-ISO/math.h/linknamespace): Likewise.
25848         (test-xfail-ISO/signal.h/linknamespace): Likewise.
25849         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
25850         (test-xfail-ISO/time.h/linknamespace): Likewise.
25851         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25852         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
25853         (test-xfail-ISO99/math.h/linknamespace): Likewise.
25854         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25855         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25856         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25857         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25858         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25859         (test-xfail-ISO11/math.h/linknamespace): Likewise.
25860         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25861         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25862         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25863         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25864         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
25865         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
25866         (test-xfail-XPG3/math.h/linknamespace): Likewise.
25867         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
25868         (test-xfail-XPG3/search.h/linknamespace): Likewise.
25869         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
25870         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25871         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
25872         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25873         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25874         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
25875         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25876         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25877         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
25878         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
25879         (test-xfail-XPG4/math.h/linknamespace): Likewise.
25880         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
25881         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25882         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25883         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25884         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25885         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
25886         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
25887         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
25888         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
25889         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25890         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
25891         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25892         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
25893         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25894         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25895         (test-xfail-POSIX/math.h/linknamespace): Likewise.
25896         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
25897         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
25898         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25899         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25900         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
25901         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25902         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25903         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
25904         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25905         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25906         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25907         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25908         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25909         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25910         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25911         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25912         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25913         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
25914         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25915         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25916         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25917         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
25918         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25919         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25920         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
25921         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25922         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25923         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25924         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25925         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25926         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25927         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
25928         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
25929         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25930         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
25931         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25932         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
25933         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25934         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25935         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25936         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
25937         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25938         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25939         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25940         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
25941         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
25942         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
25943         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25944         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25945         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25946         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25947         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
25948         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
25949         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25950         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25951         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25952         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25953         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25954         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25955         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25956         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25957         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25958         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25959         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
25960         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25961         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25962         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
25963         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25964         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25965         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25966         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25967         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25968         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25969         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25970         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25971         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25972         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25973         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25974         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25975         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25976         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25977         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
25978         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25979         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25980         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25981         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25982         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25983         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
25984         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25985         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25986         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25987         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25988         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25989         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25990         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25991         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25992         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25993         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25994         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25995         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25996         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25997         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
25998         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25999         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26000         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26002         [BZ #17589]
26003         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26004         of fgets_unlocked.
26006         [BZ #17585]
26007         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26008         (memmem): Rename to __memmem and define as weak alias of
26009         __memmem.  Use libc_hidden_weak.
26010         (__memmem): Use libc_hidden_def.
26011         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26012         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26013         memmem.
26015         [BZ #17582]
26016         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26017         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26018         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26019         and define as weak alias of __fgets_unlocked.  Use
26020         libc_hidden_weak.
26021         (__fgets_unlocked): Use libc_hidden_def.
26022         * include/stdio.h (__fgets_unlocked): Declare.  Use
26023         libc_hidden_proto.
26024         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26025         __fgets_unlocked instead of fgets_unlocked.
26026         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26027         (GET_NPROCS_CONF_PARSER): Likewise.
26028         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26029         (GET_NPROCS_CONF_PARSER): Likewise.
26031         [BZ #17574]
26032         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26033         weak alias of __wmemset.  Use libc_hidden_weak.
26034         (__wmemset): Use libc_hidden_def.
26035         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26036         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26037         of wmemset.
26039         [BZ #17573]
26040         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26041         with asm name __mempcpy.
26042         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26044         [BZ #17572]
26045         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26046         and define as weak alias of __rawmemchr.
26047         (__rawmemchr): Do not define as strong alias of rawmemchr.
26049         [BZ #17571]
26050         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26051         alias of __qsort_r.
26052         (qsort): Call __qsort_r instead of qsort_r.
26053         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26054         (__qsort_r): Declare.  Call libc_hidden_proto.
26055         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26056         instead of qsort_r.
26057         * nscd/gai.c (__qsort_r): Define to qsort_r.
26058         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26059         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26060         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26062         [BZ #17570]
26063         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26064         define as weak alias of __malloc_info.
26066         [BZ #17584]
26067         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26068         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26069         (__rewinddir): Use libc_hidden_def.
26070         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26071         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26072         (__rewinddir): Use libc_hidden_def.
26073         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26074         weak alias of __rewinddir.  Don't use libc_hidden_def.
26075         (__rewinddir): Use libc_hidden_def.
26076         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26077         (__rewinddir): Use libc_hidden_proto.
26078         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26079         rewinddir.
26080         (__getcwd): Use __rewinddir instead of rewinddir.
26082         [BZ #17583]
26083         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26084         alias of __fileno.  Use libc_hidden_weak.
26085         (__fileno): Use libc_hidden_def.
26086         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26087         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26088         alias of __ftello.
26089         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26090         __ftello.
26091         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26092         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26093         libc_hidden_def.
26094         (fread_unlocked): Don't use libc_hidden_ver.
26095         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26096         and define as weak alias of __fread_unlocked.  Don't use
26097         libc_hidden_def.
26098         (__fread_unlocked): Use libc_hidden_def.
26099         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26100         (ftello): Don't use libc_hidden_proto.
26101         (__ftello): Declare.  Use libc_hidden_proto.
26102         (fread_unlocked): Don't use libc_hidden_proto.
26103         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26104         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26105         and __ftello instead of fileno, fread_unlocked and ftello.
26107 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26109         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26110         GOT12.
26111         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26112         Likewise.
26113         (_dl_start_user): Likewise.
26114         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26116 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26117             Siddhesh Poyarekar  <siddhesh@redhat.com>
26119         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26120         Move argv and envp down instead of moving argc up.
26121         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26123 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26125         [BZ #17506]
26126         * test-skeleton.c (main): Return successful if one of
26127         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26128         * string/tst-strcoll-overflow.c: Define expected status.
26130 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26132         [BZ #17475]
26133         * locale/iso-639.def: Define Bhili and Tulu language codes.
26135 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26137         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26139 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26141         [BZ #17555]
26142         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26144 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26146         * configure.ac: Updated check of minimal required version to
26147         2.22.
26148         * manual/install.texi (Tools for Compilation): Updated version
26149         number.
26150         * configure: Regenerated.
26151         * INSTALL: Likewise.
26153 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26155         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26156         __tls_get_addr.
26158 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26160         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26161         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26162         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26163         libc_hidden_weak.
26164         (waitpid): Define as alias of __waitpid.
26165         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26166         __waitpid.
26167         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26168         libc_hidden_weak.
26169         (waitpid): Define as alias of __waitpid.
26170         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26171         __libc_waitpid alias.
26172         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26173         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26174         Likewise.
26175         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26176         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26177         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26178         alias.
26179         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26180         __waitpid.
26181         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26182         libc_hidden_weak.
26183         (waitpid): Define as alias of __waitpid.
26185 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26187         * manual/llio.texi: Add comment that write safety has been
26188         fixed in Linux.
26190         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26191         (localplt-build-dso): Add elf/ld.so.
26192         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26193         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26194         and free for ld.so.
26195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26196         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26198         Likewise.
26199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26200         Likewise.
26201         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26202         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26203         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26204         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26205         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26206         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26207         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26208         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26209         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26210         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26211         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26213 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26215         [BZ #14132]
26216         * include/libc-symbols.h (INTUSE): Remove macro.
26217         (INTDEF): Likewise.
26218         (INTVARDEF): Likewise.
26219         (_INTVARDEF): Likewise.
26220         (INTDEF2): Likewise.
26221         (INTVARDEF2): Likewise.
26222         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26223         rtld_hidden_def instead of INTVARDEF.
26224         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26225         (_dl_starting_up_internal): Remove declaration.
26226         (_dl_starting_up): Use rtld_hidden_proto.
26227         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26228         declaration.
26229         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26230         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26231         _dl_starting_up.
26232         * elf/dl-writev.h (_dl_writev): Likewise.
26233         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26234         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26235         _dl_starting_up_internal.
26237 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26239         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26240         test-skeleton.c.
26242 2014-11-05  Will Newton  <will.newton@linaro.org>
26244         * benchtests/Makefile: (bench-malloc): Add malloc thread
26245         scalability benchmark.
26246         * benchtests/bench-malloc-threads.c: New file.
26248 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26250         * sysdeps/aarch64/strchrnul.S: New file.
26252 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26254         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26255         definition.
26256         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26257         Likwise.
26258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26259         Likewise.
26260         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26261         Likewise.
26262         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26263         Likewise.
26264         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26265         Likewise.
26267 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26269         * catgets/test-gencat.c: Use test-skeleton.c.
26270         * catgets/tst-catgets.c: Likewise.
26271         * csu/tst-empty.c: Likewise.
26272         * elf/tst-audit2.c: Likewise.
26273         * elf/tst-global1.c: Likewise.
26274         * elf/tst-pathopt.c: Likewise.
26275         * elf/tst-piemod1.c: Likewise.
26276         * elf/tst-tls10.c: Likewise.
26277         * elf/tst-tls11.c: Likewise.
26278         * elf/tst-tls12.c: Likewise.
26279         * gnulib/tst-gcc.c: Likewise.
26280         * iconvdata/tst-e2big.c: Likewise.
26281         * iconvdata/tst-loading.c: Likewise.
26282         * iconv/tst-iconv1.c: Likewise.
26283         * iconv/tst-iconv2.c: Likewise.
26284         * inet/test-inet6_opt.c: Likewise.
26285         * inet/tst-gethnm.c: Likewise.
26286         * inet/tst-network.c: Likewise.
26287         * inet/tst-ntoa.c: Likewise.
26288         * intl/tst-codeset.c: Likewise.
26289         * intl/tst-gettext2.c: Likewise.
26290         * intl/tst-gettext3.c: Likewise.
26291         * intl/tst-ngettext.c: Likewise.
26292         * intl/tst-translit.c: Likewise.
26293         * io/test-stat.c: Likewise.
26294         * libio/test-fmemopen.c: Likewise.
26295         * libio/tst-freopen.c: Likewise.
26296         * libio/tst-sscanf.c: Likewise.
26297         * libio/tst-ungetwc1.c: Likewise.
26298         * libio/tst-ungetwc2.c: Likewise.
26299         * libio/tst-widetext.c: Likewise.
26300         * localedata/tst-ctype.c: Likewise.
26301         * localedata/tst-digits.c: Likewise.
26302         * localedata/tst-leaks.c: Likewise.
26303         * localedata/tst-mbswcs1.c: Likewise.
26304         * localedata/tst-mbswcs2.c: Likewise.
26305         * localedata/tst-mbswcs3.c: Likewise.
26306         * localedata/tst-mbswcs4.c: Likewise.
26307         * localedata/tst-mbswcs5.c: Likewise.
26308         * localedata/tst-setlocale.c: Likewise.
26309         * localedata/tst-trans.c: Likewise.
26310         * localedata/tst-wctype.c: Likewise.
26311         * localedata/tst-xlocale1.c: Likewise.
26312         * login/tst-grantpt.c: Likewise.
26313         * malloc/tst-calloc.c: Likewise.
26314         * malloc/tst-malloc.c: Likewise.
26315         * malloc/tst-mallocstate.c: Likewise.
26316         * malloc/tst-mcheck.c: Likewise.
26317         * malloc/tst-mtrace.c: Likewise.
26318         * malloc/tst-obstack.c: Likewise.
26319         * math/atest-exp2.c: Likewise.
26320         * math/atest-exp.c: Likewise.
26321         * math/atest-sincos.c: Likewise.
26322         * math/test-matherr.c: Likewise.
26323         * math/test-misc.c: Likewise.
26324         * math/test-powl.c: Likewise.
26325         * math/tst-definitions.c: Likewise.
26326         * misc/tst-dirname.c: Likewise.
26327         * misc/tst-efgcvt.c: Likewise.
26328         * misc/tst-fdset.c: Likewise.
26329         * misc/tst-hsearch.c: Likewise.
26330         * misc/tst-mntent2.c: Likewise.
26331         * nptl/tst-sem7.c: Likewise.
26332         * nptl/tst-sem8.c: Likewise.
26333         * nptl/tst-sem9.c: Likewise.
26334         * nss/test-netdb.c: Likewise.
26335         * posix/tst-fnmatch.c: Likewise.
26336         * posix/tst-getlogin.c: Likewise.
26337         * posix/tst-gnuglob.c: Likewise.
26338         * posix/tst-mmap.c: Likewise.
26339         * pwd/tst-getpw.c: Likewise.
26340         * resolv/tst-inet_ntop.c: Likewise.
26341         * rt/tst-timer.c: Likewise.
26342         * stdio-common/test-fseek.c: Likewise.
26343         * stdio-common/test-popen.c: Likewise.
26344         * stdio-common/test-vfprintf.c: Likewise.
26345         * stdio-common/tst-cookie.c: Likewise.
26346         * stdio-common/tst-fileno.c: Likewise.
26347         * stdio-common/tst-gets.c: Likewise.
26348         * stdio-common/tst-obprintf.c: Likewise.
26349         * stdio-common/tst-perror.c: Likewise.
26350         * stdio-common/tst-sprintf2.c: Likewise.
26351         * stdio-common/tst-sprintf3.c: Likewise.
26352         * stdio-common/tst-sprintf.c: Likewise.
26353         * stdio-common/tst-swprintf.c: Likewise.
26354         * stdio-common/tst-tmpnam.c: Likewise.
26355         * stdio-common/tst-unbputc.c: Likewise.
26356         * stdio-common/tst-wc-printf.c: Likewise.
26357         * stdlib/tst-environ.c: Likewise.
26358         * stdlib/tst-fmtmsg.c: Likewise.
26359         * stdlib/tst-limits.c: Likewise.
26360         * stdlib/tst-rand48-2.c: Likewise.
26361         * stdlib/tst-rand48.c: Likewise.
26362         * stdlib/tst-random2.c: Likewise.
26363         * stdlib/tst-random.c: Likewise.
26364         * stdlib/tst-strtol.c: Likewise.
26365         * stdlib/tst-strtoll.c: Likewise.
26366         * stdlib/tst-tls-atexit.c: Likewise.
26367         * stdlib/tst-xpg-basename.c: Likewise.
26368         * string/test-ffs.c: Likewise.
26369         * string/tst-bswap.c: Likewise.
26370         * string/tst-inlcall.c: Likewise.
26371         * string/tst-strtok.c: Likewise.
26372         * string/tst-strxfrm.c: Likewise.
26373         * sysdeps/x86_64/tst-audit10.c: Likewise.
26374         * sysdeps/x86_64/tst-audit3.c: Likewise.
26375         * sysdeps/x86_64/tst-audit4.c: Likewise.
26376         * sysdeps/x86_64/tst-audit5.c: Likewise.
26377         * time/tst-ftime_l.c: Likewise.
26378         * time/tst-getdate.c: Likewise.
26379         * time/tst-mktime3.c: Likewise.
26380         * time/tst-mktime.c: Likewise.
26381         * time/tst-posixtz.c: Likewise.
26382         * time/tst-strptime2.c: Likewise.
26383         * time/tst-strptime3.c: Likewise.
26384         * wcsmbs/tst-btowc.c: Likewise.
26385         * wcsmbs/tst-mbrtowc.c: Likewise.
26386         * wcsmbs/tst-mbsrtowcs.c: Likewise.
26387         * wcsmbs/tst-wchar-h.c: Likewise.
26388         * wcsmbs/tst-wcpncpy.c: Likewise.
26389         * wcsmbs/tst-wcrtomb.c: Likewise.
26390         * wcsmbs/tst-wcsnlen.c: Likewise.
26391         * wcsmbs/tst-wcstof.c: Likewise.
26393 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
26395         [BZ #14132]
26396         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26397         INTDEF.
26398         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26399         declaration.
26400         (_dl_mcount): Use rtld_hidden_proto.
26401         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26402         _dl_mcount.
26403         * elf/rtld.c (_rtld_global_ro): Likewise.
26405         [BZ #14132]
26406         * elf/dl-init.c (_dl_init): Don't use INTDEF.
26407         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26408         of _dl_init_internal.
26409         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26410         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26411         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26412         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26413         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26414         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26415         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26416         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26417         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26418         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26419         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26420         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26421         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26422         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26423         * sysdeps/tile/dl-start.S (_start): Likewise.
26424         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26425         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26427         [BZ #14132]
26428         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26429         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26430         (rtld_progname): Make macro definition unconditional.
26431         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26432         INTDEF.
26433         (dlmopen_doit): Do not use INTUSE with _dl_argv.
26434         (dl_main): Likewise.
26435         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26436         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26437         instead of _dl_argv_internal.
26438         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26439         __GI__dl_argv instead of INTUSE(_dl_argv).
26440         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26441         __GI__dl_argv instead of _dl_argv_internal.
26443         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26444         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26445         macro.
26446         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26447         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26448         New macro.
26449         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26450         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26451         macro.
26452         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26453         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26455 2014-11-04  Andreas Schwab  <schwab@suse.de>
26457         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26459 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26461         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26462         mtvsrd instruction in binary form.
26464 2014-11-03  Andreas Schwab  <schwab@suse.de>
26466         [BZ #17522]
26467         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26468         for less than MB_LEN_MAX use a local buffer of that size.
26469         * libio/tst-fputws.c: New file.
26470         * libio/Makefile (tests): Add tst-fputws.
26472 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
26474         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26475         the size of the fpu_fr.fpu_dregs[] array.
26477 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
26479         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26480         (__nanosleep): Do not define as alias.
26481         (nanosleep): Define as alias of __nanosleep.
26482         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26483         __libc_nanosleep name.
26485 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26487         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26488         install.texi in comment.
26490 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26492         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26493         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26494         ... add here and use lwsync or sync ...
26495         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26496         ... and add here using lwsync.
26498 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26500         * elf/dl-machine-reject-phdr.h: New file.
26501         * elf/dl-load.c: #include that.
26502         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26503         if that returned true.
26505 2014-10-31  Roland McGrath  <roland@hack.frob.com>
26507         [BZ #17496]
26508         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26509         gen-as-const-headers chunk.  Add a big scare comment after the last
26510         safe place to touch before-compile.
26512 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
26514         * manual/install.texi (Tools for Compilation): Update autoconf
26515         version requirements.
26516         * INSTALL: Regenerated.
26518         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26519         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26520         (__libc_pselect): Likewise.
26522         [BZ #14138]
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26528 2014-10-31  Torvald Riegel  <triegel@redhat.com>
26530         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26531         correct barrier instruction.
26532         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26533         Likewise.
26534         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26535         Likewise.
26537 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26539         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26540         after defining inlines.  Instead, just use parens to defeat macro
26541         expansion of __isctype in its declaration.
26543 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26545         * include/sys/uio.h (__libc_readv): Remove declaration.
26546         (__libc_writev): Likewise.
26547         * misc/readv.c (__libc_readv): Rename to __readv.
26548         (__readv): Do not define as alias.
26549         (readv): Define as alias of __readv.
26550         * misc/writev.c (__libc_writev): Rename to __writev.
26551         (__writev): Do not define as alias.
26552         (writev): Define as alias of __writev.
26553         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26554         (__readv): Do not define as alias.
26555         (readv): Define unconditionally as alias of __readv.
26556         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26557         (__writev): Do not define as alias.
26558         (writev): Define unconditionally as alias of __writev.
26559         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26560         name.
26561         (writev): Do not define __libc_writev name.
26563 2014-10-30  Roland McGrath  <roland@hack.frob.com>
26565         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26566         (convert_charseq): New function, broken out of ...
26567         (use_from_charmap): ... here.  Call it.
26568         (use_to_charmap): Use convert_charseq and free instead of duplicating
26569         its code with a variable-length stack struct.
26571 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
26573         * include/fcntl.h (__libc_creat): Remove declaration.
26574         * io/creat.c (__libc_creat): Rename to creat.
26575         (creat): Do not define as alias.
26576         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26577         of creat instead of __libc_creat.
26578         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26579         to creat.
26580         (creat): Do not define as alias.
26581         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26582         __libc_creat.
26583         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26584         __libc_creat name.
26585         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26586         Likewise.
26588 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
26590         * manual/llio.texi: Add comments discussing why write() may be
26591         considered MT-unsafe on Linux.
26593 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
26595         * dl-load.c (local_strdup): Remove.
26596         (expand_dynamic_string_token): Use __strdup.
26597         (decompose_rpath): Likewise.
26598         (_dl_map_object): Likewise.
26600 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
26602         [BZ #14132]
26603         * sysdeps/generic/unwind-dw2-fde.c
26604         (__register_frame_info_bases_internal): Do not declare.
26605         (__register_frame_info_table_bases_internal): Likewise.
26606         (__deregister_frame_info_bases_internal): Likewise.
26607         (__register_frame_info_bases): Declare and use hidden_proto before
26608         definition.  Use hidden_def instead of INTDEF.
26609         (__register_frame_info_table_bases): Likewise.
26610         (__deregister_frame_info_bases): Likewise.
26611         (__register_frame_info): Do not use INTUSE.
26612         (__register_frame): Likewise.
26613         (__register_frame_info_table): Likewise.
26614         (__register_frame_table): Likewise.
26615         (__deregister_frame_info): Likewise.
26616         (__deregister_frame): Likewise.
26618 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
26620         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26621         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26622         not undefine.
26623         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26624         Likewise.
26625         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26626         Likewise.
26628 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
26630         [BZ #14138]
26631         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26632         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26633         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26634         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26635         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26636         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26637         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26638         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26639         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26640         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26641         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26642         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26643         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26644         syscall.
26645         (setfsuid): Likewise.
26646         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26647         (setfsuid): Likewise.
26648         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26649         (setfsuid): Likewise.
26650         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26651         Likewise.
26652         (setfsuid): Likewise.
26653         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26654         (setfsuid): Likewise.
26655         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26656         Likewise.
26657         (setfsuid): Likewise.
26659 2014-10-27  Andreas Schwab  <schwab@suse.de>
26661         [BZ #17501]
26662         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26663         check for Slow_SSE4_2 feature bit.
26664         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26665         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26666         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26667         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
26669 2014-10-24  Roland McGrath  <roland@hack.frob.com>
26671         * configure.ac: Validate compiler version with a empirical test of
26672         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26673         $CC -v output.
26674         * configure: Regenerated.
26676         * inet/htons.c (htons): Prototypify.
26677         * inet/htonl.c (htonl): Likewise.
26679 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26681         * string/strncat.c (strncat): Improve performance by using strlen.
26683 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26685         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26687 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26689         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26690         Call libc_fetestexcept_aarch64.
26692 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26694         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26695         Call libc_feholdexcept_aarch64.
26697 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26699         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26700         Call get_rounding_mode.
26702 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26704         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26705         Simplify logic.
26707 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
26709         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26710         Simplify logic.
26712 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
26714         [BZ #14138]
26715         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26716         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26717         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26718         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26719         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26720         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26721         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26722         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26723         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26724         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26725         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26726         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26727         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26728         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26729         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26730         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26731         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26732         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26733         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26734         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26735         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26736         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26737         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26738         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26739         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26740         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26741         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26742         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26743         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26744         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26745         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26746         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26747         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26748         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26749         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26750         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26751         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26752         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26753         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26754         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26755         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26756         syscall.
26757         (geteuid): Likewise.
26758         (getgid): Likewise.
26759         (getuid): Likewise.
26760         (getresgid): Likewise.
26761         (getresuid): Likewise.
26762         (getgroups): Likewise.
26763         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26764         (geteuid): Likewise.
26765         (getgid): Likewise.
26766         (getuid): Likewise.
26767         (getresgid): Likewise.
26768         (getresuid): Likewise.
26769         (getgroups): Likewise.
26770         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26771         (geteuid): Likewise.
26772         (getgid): Likewise.
26773         (getuid): Likewise.
26774         (getresgid): Likewise.
26775         (getresuid): Likewise.
26776         (getgroups): Likewise.
26777         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26778         Likewise.
26779         (geteuid): Likewise.
26780         (getgid): Likewise.
26781         (getuid): Likewise.
26782         (getresgid): Likewise.
26783         (getresuid): Likewise.
26784         (getgroups): Likewise.
26785         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26786         (geteuid): Likewise.
26787         (getgid): Likewise.
26788         (getuid): Likewise.
26789         (getresgid): Likewise.
26790         (getresuid): Likewise.
26791         (getgroups): Likewise.
26792         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26793         Likewise.
26794         (geteuid): Likewise.
26795         (getgid): Likewise.
26796         (getuid): Likewise.
26797         (getgroups): Likewise.
26799         [BZ #14138]
26800         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26801         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26802         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26803         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26804         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26805         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26806         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26807         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26808         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26809         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26810         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26811         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26812         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26813         __chown.
26814         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26815         (lchown): Likewise.
26816         (fchown): Likewise.
26817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26818         Likewise.
26819         (lchown): Likewise.
26820         (fchown): Likewise.
26821         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26822         (lchown): Likewise.
26823         (fchown): Likewise.
26824         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26825         Likewise.
26826         (lchown): Likewise.
26827         (fchown): Likewise.
26829 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26831         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26832         Simplify logic.
26834 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26836         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26837         Cleanup logic.
26839 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26841         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26842         Remove unused include.
26844 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
26846         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
26847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
26848         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
26849         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
26851 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
26852             Helge Deller <deller@gmx.de>
26854         [BZ #17508]
26855         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
26856         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
26857         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
26859 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
26861         [BZ #14132]
26862         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
26863         Remove macro definition.
26864         (__ashrdi3_v_glibc20): Likewise.
26865         (__lshrdi3_v_glibc20): Likewise.
26866         (__cmpdi2_v_glibc20): Likewise.
26867         (__ucmpdi2_v_glibc20): Likewise.
26868         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
26869         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26870         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26871         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26872         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26873         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
26875 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26877         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
26878         old GNU extension [0] syntax.
26879         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
26880         alloca rather than an array member with variable length.
26881         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
26882         * nscd/nscd.c (invalidate_db): New function, broken out of ...
26883         (parse_opt): ... here.  Likewise use alloca there.
26884         Validate the -i argument before checking for rootness.
26885         (send_shutdown): New function, broken out of ...
26886         (parse_opt): ... here.
26888 2014-10-22  Roland McGrath  <roland@hack.frob.com>
26890         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
26891         macro to get at the _rt_local_ro field.
26892         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
26893         ([PIC] case) or _dl_hwcap ([!PIC] case).
26894         * sysdeps/arm/setjmp.S: Likewise.
26896         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
26897         * sysdeps/arm/configure.ac: New check to define it.
26898         * sysdeps/arm/configure: Regenerated.
26899         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
26900         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
26901         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
26902         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
26903         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
26904         Use move/movt pair instead of a load.
26905         (LDST_GLOBAL): Macro removed.
26906         (LDR_GLOBAL): New macro replaces it.
26907         (LDR_HIDDEN): New macro.
26908         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
26909         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
26911         * setjmp/tst-setjmp-static.c: New file.
26912         * setjmp/Makefile (tests): Add it.
26913         (tests-static): New variable.
26915 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
26917         [BZ #17485]
26918         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
26920 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
26922         [BZ #14132]
26923         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
26925 2014-10-21  Roland McGrath  <roland@hack.frob.com>
26927         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
26929 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26931         * io/fts.c (dirent_not_directory): New function.
26932         (fts_build): Call it.
26934 2014-10-20  Roland McGrath  <roland@hack.frob.com>
26936         * nptl/version.c (__nptl_main): Use normal __write rather than
26937         INTERNAL_SYSCALL.
26938         (banner): Update copyright years.
26940         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
26941         gettimeofday.
26942         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26943         * nptl/pthread_cond_timedwait.c: Likewise.
26944         * nptl/pthread_mutex_timedlock.c: Likewise.
26945         * nptl/sem_timedwait.c: Likewise.
26947         * sysdeps/nptl/bits/libc-lock.h
26948         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26949         (__libc_lock_init_recursive): Return void, not 0.
26950         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
26951         (__libc_rwlock_init): Likewise.
26952         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
26954 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26956         [BZ #15215]
26957         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
26958         (__pthread_once_slow): ... here.
26959         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
26960         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
26962 2014-10-20  Torvald Riegel  <triegel@redhat.com>
26964         [BZ #15215]
26965         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
26966         __PTHREAD_ONCE_FORK_GEN_INCR): New.
26967         * sysdeps/nptl/fork.c (__libc_fork): Use them.
26968         * nptl/pthread_once.c (__pthread_once): Likewise.
26969         Update comments.
26971 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
26973         [BZ #14138]
26974         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
26975         name.
26976         (writev): Use __libc_writev as strong name.
26977         * sysdeps/unix/sysv/linux/readv.c: Remove file.
26978         * sysdeps/unix/sysv/linux/writev.c: Likewise.
26980 2014-10-17  Roland McGrath  <roland@hack.frob.com>
26982         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
26984         * sysdeps/i386/nptl/tls.h
26985         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
26986         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26987         New macros.
26988         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
26989         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
26990         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
26991         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
26992         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
26993         Call CHECK_THREAD_SYSINFO instead of doing an assert.
26995         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26996         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
26997         on [__NR_futex].
26998         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
26999         broken out of ...
27000         (__pthread_mutex_init): ... here.  Call it.
27001         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27002         Conditionalize PI cases on [__NR_futex].
27003         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27004         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27005         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27007         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27008         conditional on [SIGSETXID].
27009         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27010         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27011         is defined.  Likewise for SIGSETXID.
27012         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27013         Conditionalize definitions on [SIGSETXID].
27014         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27015         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27016         unblocking on [SIGCANCEL].
27018         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27019         [__NR_set_robust_list].
27021 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27023         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27024         (do_compare): Likewise.
27026 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27028         [BZ #15884]
27029         * string/strcoll_l.c: Don't include stdio.h.
27030         (coll_seq): Remove members idxarr and rulearr.
27031         (get_next_seq_cached): Remove function.
27032         (get_next_seq): Likewise.
27033         (get_next_seq_nocache): Rename to get_next_seq.
27034         (do_compare): Remove function.
27035         (do_compare_nocache): Rename to do_compare.
27036         (STRCOLL): Remove weight and rules cache.
27038 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27040         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27041         * sysdeps/arm/sfp-machine.h: ... to here.
27042         * sysdeps/arm/Implies: Remove arm/soft-fp.
27044 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27046         * conform/data/sys/utsname.h-data (*_t): Allow.
27047         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27048         [POSIX] (WEXITED): Do not expect constant.
27049         [POSIX] (WSTOPPED): Likewise.
27050         [POSIX] (WNOHANG): Likewise.
27051         [POSIX] (WNOWAIT): Likewise.
27052         [POSIX] (siginfo_t): Do not expect type or elements.
27053         [POSIX] (pid_t): Do not expect type.
27054         [POSIX] (signal.h): Do not allow header.
27055         [POSIX] (sys/resource.h): Likewise.
27056         [POSIX] (si_*): Do not allow pattern.
27057         [POSIX] (W*): Likewise.
27058         [POSIX] (P_*): Likewise.
27059         [POSIX] (BUS_*): Likewise.
27060         [POSIX] (CLD_*): Likewise.
27061         [POSIX] (FPE_*): Likewise.
27062         [POSIX] (ILL_*): Likewise.
27063         [POSIX] (POLL_*): Likewise.
27064         [POSIX] (SEGV_*): Likewise.
27065         [POSIX] (SI_*): Likewise.
27066         [POSIX] (TRAP_*): Likewise.
27067         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27068         variable.
27070 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27072         [BZ #12926]
27073         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27074         infinite loop when __recvmsg returns 0.
27076 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27078         * CANCEL-FCT-WAIVE: Remove file.
27079         * CANCEL-FILE-WAIVE: Likewise.
27081         [BZ #14132]
27082         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27083         instead of INTVARDEF.
27084         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27085         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27086         rtld_hidden_data_def instead of INTVARDEF.
27087         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27088         * elf/dl-deps.c (expand_dst): Likewise.
27089         * elf/dl-load.c (_dl_dst_count): Likewise.
27090         (_dl_dst_substitute): Likewise.
27091         (decompose_rpath): Likewise.
27092         (_dl_init_paths): Likewise.
27093         (open_path): Likewise.
27094         (_dl_map_object): Likewise.
27095         * elf/rtld.c (dl_main): Likewise.
27096         (process_dl_audit): Likewise.
27097         (process_envvars): Likewise.
27098         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27099         Remove declaration.
27100         (__libc_enable_secure): Use rtld_hidden_proto.
27102 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27104         * elf/dl-load.c
27105         (add_path): New function broken out of _dl_rtld_di_serinfo.
27106         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27108 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27110         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27111         parentheses around macro arguments.
27112         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27115         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27116         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27118         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27119         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27120         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27123         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27124         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27125         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27126         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27127         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27128         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27129         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27130         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27132         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27133         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27134         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27137         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27138         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27141         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27142         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27143         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27144         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27145         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27146         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27147         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27148         Likewise.
27149         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27156         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27157         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27158         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27160         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27161         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27162         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27170         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27171         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27172         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27173         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27174         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27175         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27176         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27177         (_FP_FRAC_SRS_1): Likewise.
27178         (_FP_FRAC_CLZ_1): Likewise.
27179         (_FP_MUL_MEAT_1_imm): Likewise.
27180         (_FP_MUL_MEAT_1_wide): Likewise.
27181         (_FP_MUL_MEAT_1_hard): Likewise.
27182         (_FP_SQRT_MEAT_1): Likewise.
27183         (_FP_FRAC_ASSEMBLE_1): Likewise.
27184         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27185         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27186         (__FP_CLZ_2): Likewise.
27187         (_FP_MUL_MEAT_2_wide): Likewise.
27188         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27189         (_FP_MUL_MEAT_2_gmp): Likewise.
27190         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27191         (_FP_SQRT_MEAT_2): Likewise.
27192         (_FP_FRAC_ASSEMBLE_2): Likewise.
27193         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27194         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27195         (_FP_FRAC_CLZ_4): Likewise.
27196         (_FP_MUL_MEAT_4_wide): Likewise.
27197         (_FP_MUL_MEAT_4_gmp): Likewise.
27198         (_FP_SQRT_MEAT_4): Likewise.
27199         (_FP_FRAC_ASSEMBLE_4): Likewise.
27200         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27201         * soft-fp/op-common.h (_FP_CMP): Likewise.
27202         (_FP_CMP_EQ): Likewise.
27203         (_FP_CMP_UNORD): Likewise.
27204         (_FP_TO_INT): Likewise.
27205         (_FP_FROM_INT): Likewise.
27206         [!__FP_CLZ] (__FP_CLZ): Likewise.
27207         (_FP_DIV_HELP_imm): Likewise.
27208         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27209         Likewise.
27210         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27212         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27221         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27225         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27226         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27235         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27239         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27240         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27241         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27243         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27244         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27245         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27246         (FP_UNPACK_RAW_SP): Likewise.
27247         (FP_PACK_RAW_S): Likewise.
27248         (FP_PACK_RAW_SP): Likewise.
27249         (FP_UNPACK_S): Likewise.
27250         (FP_UNPACK_SP): Likewise.
27251         (FP_UNPACK_SEMIRAW_S): Likewise.
27252         (FP_UNPACK_SEMIRAW_SP): Likewise.
27253         (FP_PACK_S): Likewise.
27254         (FP_PACK_SP): Likewise.
27255         (FP_PACK_SEMIRAW_S): Likewise.
27256         (FP_PACK_SEMIRAW_SP): Likewise.
27257         (_FP_SQRT_MEAT_S): Likewise.
27258         (FP_CMP_S): Likewise.
27259         (FP_CMP_EQ_S): Likewise.
27260         (FP_CMP_UNORD_S): Likewise.
27261         (FP_TO_INT_S): Likewise.
27262         (FP_FROM_INT_S): Likewise.
27264         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27266         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27267         (FP_EX_INVALID_IMZ): Likewise.
27268         (FP_EX_INVALID_IMZ_FMA): Likewise.
27269         (FP_EX_INVALID_ISI): Likewise.
27270         (FP_EX_INVALID_ZDZ): Likewise.
27271         (FP_EX_INVALID_IDI): Likewise.
27272         (FP_EX_INVALID_SQRT): Likewise.
27273         (FP_EX_INVALID_CVI): Likewise.
27274         (FP_EX_INVALID_VC): Likewise.
27275         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27276         "invalid" exceptions.
27277         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27278         (_FP_ADD_INTERNAL): Likewise.
27279         (_FP_MUL): Likewise.
27280         (_FP_FMA): Likewise.
27281         (_FP_DIV): Likewise.
27282         (_FP_CMP_CHECK_NAN): Likewise.
27283         (_FP_SQRT): Likewise.
27284         (_FP_TO_INT): Likewise.
27285         (FP_EXTEND): Likewise.
27287 2014-10-09  Allan McRae  <allan@archlinux.org>
27289         * po/fr.po: Update French translation from translation project.
27291 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27293         [BZ #14132]
27294         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27295         of INTDEF.
27296         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27297         (__cxa_atexit): Use libc_hidden_proto.
27298         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27300         [BZ #14132]
27301         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27302         declaration.
27303         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27304         [!_ISOMAC] (__iswspace_l_internal): Likewise.
27305         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27306         [!_ISOMAC] (__iswctype_internal): Likewise.
27307         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27308         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27309         alias.
27310         (fcntl): Remove __fcntl_internal alias.
27311         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27312         __connect_internal alias.
27313         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27314         Likewise.
27316         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27317         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27318         FP_DENORM_ZERO.
27319         (_FP_CHECK_FLUSH_ZERO): New macro.
27320         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27321         (_FP_CMP): Likewise.
27322         (_FP_CMP_EQ): Likewise.
27323         (_FP_TO_INT): Do not set inexact for subnormal arguments if
27324         FP_DENORM_ZERO.
27325         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27326         (FP_TRUNC): Likewise.
27328         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27329         treated as invalid conversion, not as normal exponent.
27331         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27332         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
27333         (_FP_CMP_EQ): Likewise.
27334         (_FP_CMP_UNORD): Likewise.
27335         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27336         (FP_CMP_EQ_D): Likewise.
27337         (FP_CMP_UNORD_D): Likewise.
27338         * soft-fp/extended.h (FP_CMP_E): Likewise.
27339         (FP_CMP_EQ_E): Likewise.
27340         (FP_CMP_UNORD_E): Likewise.
27341         * soft-fp/quad.h (FP_CMP_Q): Likewise.
27342         (FP_CMP_EQ_Q): Likewise.
27343         (FP_CMP_UNORD_Q): Likewise.
27344         * soft-fp/single.h (FP_CMP_S): Likewise.
27345         (FP_CMP_EQ_S): Likewise.
27346         (FP_CMP_UNORD_S): Likewise.
27347         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27348         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27349         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27350         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27351         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27352         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27353         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27354         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27355         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27356         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27357         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27358         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27359         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27360         to FP_CMP_Q.
27361         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27362         FP_CMP_Q.
27363         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27364         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27365         FP_CMP_EQ_Q.
27366         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27367         FP_CMP_Q.
27368         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27369         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27370         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27371         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27372         FP_CMP_EQ_Q.
27373         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27374         FP_CMP_Q.
27375         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27376         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27377         FP_CMP_EQ_Q.
27378         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27379         FP_CMP_Q.
27380         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27381         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27382         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27383         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27384         FP_CMP_EQ_Q.
27386         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27387         a subnormal result, set the underflow exception if trapping on
27388         underflow is enabled.
27389         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27390         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27391         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27392         redefine to 0.
27393         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27394         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27395         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27396         * soft-fp/extendxftf2.c (__extendxftf2): Use
27397         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27399         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27400         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27401         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27402         FP_HANDLE_EXCEPTIONS.
27403         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27404         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27405         FP_HANDLE_EXCEPTIONS.
27406         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27407         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27408         FP_HANDLE_EXCEPTIONS.
27409         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27410         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27411         FP_HANDLE_EXCEPTIONS.
27413 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
27415         [BZ #14132]
27416         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27417         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27418         use INTUSE.
27419         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27420         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27421         Remove alias.
27422         (__adjtimex): Define using libc_hidden_ver.
27423         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27424         Remove declaration.
27425         (ntp_gettime): Call __adjtimex directly.
27426         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27427         Remove declaration.
27428         (ntp_gettimex): Call __adjtimex directly.
27429         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27430         __adjtimex_internal alias.
27432 2014-10-08  Roland McGrath  <roland@hack.frob.com>
27434         [BZ #17460]
27435         * nscd/nscd.c (more_help): Rewrite list of tables collection
27436         using xstrdup and asprintf.
27438         * nscd/nscd_conf.c: Remove local xstrdup declaration.
27440 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27441             Roland McGrath  <roland@hack.frob.com>
27443         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27444         (do_lookup_unique): ... local function 'enter' here; update callers.
27446 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
27448         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27449         compat_symbol calls on [SHARED].
27450         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27451         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27452         Remove.
27453         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27454         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27455         (oldsetrlimit): Remove.
27456         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27458         (lchown): New syscall entry.
27459         (oldsetrlimit): Remove.
27460         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27461         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27462         (oldsetrlimit): Remove.
27463         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27465         [BZ #14138]
27466         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27467         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27468         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27469         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27470         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27471         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27472         (fchown): Likewise.
27473         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27474         (fchown): Likewise.
27475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27476         Likewise.
27478 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27480         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27481         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27482         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27483         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27484         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27485         Likewise.
27486         (__old_sem_post): Likewise.
27488 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
27490         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27491         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27492         HAVE_CLOCK_GETTIME_VSYSCALL macros.
27493         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27494         Use INLINE_VSYSCALL macro.
27495         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27496         __vdso_clock_gettime.
27497         * sysdeps/unix/sysv/linux/tile/init-first.c
27498         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27499         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27500         __vdso_clock_gettime.
27502         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27503         to set up frame more cleanly.
27505         * sysdeps/tile/memcmp.c: New file.
27507         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27509         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27510         * sysdeps/tile/tilegx/strcasestr.c: New file.
27511         * sysdeps/tile/tilegx/strnlen.c: New file.
27512         * sysdeps/tile/tilegx/strstr.c: New file.
27514         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27516 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
27518         * nptl/tst-setuid3.c: Write errors to stdout.
27520 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27522         * elf/dl-deps.c
27523         (preload): New functions broken out of _dl_map_object_deps.
27524         (_dl_map_object_deps):  Remove a nested function. Update call sites.
27526 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
27528         [BZ #14138]
27529         * sysdeps/unix/sysv/linux/execve.c: Remove file.
27530         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27532 2014-10-01  Steve Ellcey  <sellcey@mips.com>
27534         * sysdeps/mips/strcmp.S: New.
27536 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
27538         [BZ #14138]
27539         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27540         (linkat): Likewise.
27541         (mkdirat): Likewise.
27542         (readlinkat): Likewise.
27543         (renameat): Likewise.
27544         (symlinkat): Likewise.
27545         (unlinkat): Likewise.
27546         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27547         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27548         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27549         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27550         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27551         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27552         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27554 2014-09-30  Will Newton  <will.newton@linaro.org>
27556         * math/math.h: Define long double math functions if
27557         _LIBC_TEST is defined.
27558         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27560         * localedata/Makefile: Move assignment to tests-special
27561         into an ifdef testing run-built-tests.
27562         * timezone/Makefile: Likewise.
27564 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
27566         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27567         with $(BASH) not $(SHELL).
27569 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
27570             Matthew LeGendre  <legendre1@llnl.gov>
27572         [BZ #17411]
27573         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27574         l_reloc_result.
27576 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27578         * stdio-common/printf_fp.c
27579         (hack_digit): New function, broken out of ...
27580         (__printf_fp): ... local function here.  Update call sites.
27581         hack_digit now takes an additional parameter that is a pointer
27582         to a struct of the referenced locals.  Those locals moved inside
27583         the struct and references updated.
27585 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
27587         * aclocal.m4: Require autoconf 2.69.
27588         * configure: Regenerated.
27589         * sysdeps/aarch64/configure: Likewise.
27590         * sysdeps/alpha/configure: Likewise.
27591         * sysdeps/arm/armv7/configure: Likewise.
27592         * sysdeps/arm/configure: Likewise.
27593         * sysdeps/ia64/configure: Likewise.
27594         * sysdeps/mach/configure: Likewise.
27595         * sysdeps/mips/configure: Likewise.
27596         * sysdeps/s390/configure: Likewise.
27597         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27600         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27601         file.
27602         * sysdeps/ia64/configure.ac: Likewise.
27604 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
27606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27607         specify symbol version for ld.so.  Do not include entry for
27608         libpthread.
27609         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27610         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27611         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27613         [BZ #14171]
27614         * Makeconfig [$(build-shared) = yes]
27615         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27616         makefiles.
27617         [$(build-shared) = yes && $(soversions.mk-done) = t]
27618         ($(common-objpfx)gnu/lib-names.h): Remove rule.
27619         [$(build-shared) = yes && $(soversions.mk-done) = t]
27620         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
27621         to Makerules.
27622         [$(build-shared) = yes && $(soversions.mk-done) = t]
27623         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27624         here.
27625         [$(build-shared) = yes && $(soversions.mk-done) = t]
27626         (common-generated): Don't append gnu/lib-names.h and
27627         gnu/lib-names.stmp here.
27628         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27629         (lib-names-h-abi): New variable.
27630         [$(build-shared) = yes && $(soversions.mk-done) = t]
27631         (lib-names-stmp-abi): Likewise.
27632         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27633         abi-variants] (before-compile): Append
27634         $(common-objpfx)$(lib-names-h-abi).
27635         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27636         abi-variants] (common-generated): Append gnu/lib-names.h.
27637         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27638         abi-variants] (install-others-nosubdir): Depend on
27639         $(inst_includedir)/$(lib-names-h-abi).
27640         [$(build-shared) = yes && $(soversions.mk-done) = t &&
27641         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27642         [$(build-shared) = yes && $(soversions.mk-done) = t]
27643         ($(common-objpfx)$(lib-names-h-abi)): New rule.
27644         [$(build-shared) = yes && $(soversions.mk-done) = t]
27645         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27646         [$(build-shared) = yes && $(soversions.mk-done) = t]
27647         (common-generated): Append $(lib-names-h-abi) and
27648         $(lib-names-stmp-abi).
27649         * scripts/lib-names.awk: Do not handle multi being set.
27650         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27651         Remove variable.
27652         (abi-lp64_be-ld-soname): Likewise.
27653         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27654         Likewise.
27655         (abi-hard-ld-soname): Likewise.
27656         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27657         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27658         Remove variable.
27659         (abi-o32_hard-ld-soname): Likewise.
27660         (abi-o32_soft_2008-ld-soname): Likewise.
27661         (abi-o32_hard_2008-ld-soname): Likewise.
27662         (abi-n32_soft-ld-soname): Likewise.
27663         (abi-n32_hard-ld-soname): Likewise.
27664         (abi-n32_soft_2008-ld-soname): Likewise.
27665         (abi-n32_hard_2008-ld-soname): Likewise.
27666         (abi-n64_soft-ld-soname): Likewise.
27667         (abi-n64_hard-ld-soname): Likewise.
27668         (abi-n64_soft_2008-ld-soname): Likewise.
27669         (abi-n64_hard_2008-ld-soname): Likewise.
27670         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27671         Likewise.
27672         (abi-64-v2-ld-soname): Likewise.
27673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27674         ld.so entries.
27675         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27676         variable.
27677         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27678         entry.
27679         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27680         variable.
27681         (abi-64-ld-soname): Likewise.
27682         (abi-x32-ld-soname): Likewise.
27683         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27684         entry.
27685         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27687 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
27689         [BZ #14138]
27690         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27691         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27692         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27693         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27694         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27695         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27696         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27697         syscall entry for GLIBC_2.2 symbol version.
27698         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27699         Likewise.
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27701         (setrlimit): Likewise.
27702         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27703         Likewise.
27705 2014-09-23  Will Newton  <will.newton@linaro.org>
27707         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27708         _LINUX_ARM_SYSDEP_H include guard too.
27709         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27710         define.
27712 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
27714         * sysdeps/unix/sysv/linux/eventfd.c:
27715         Make first argument unsigned.
27716         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27717         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27719 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
27721         [BZ #16852]
27722         * socket/recvmmsg.c (recvmmsg): Drop const argument.
27723         * socket/sys/socket.h: Likewise.
27724         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27726 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27728         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27730 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
27732         * time/tst-ftime.c: New test.
27733         * time/Makefile (tests): Add tst-ftime.
27735 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
27737         * soft-fp/extended.h: Fix comment formatting.
27738         * soft-fp/op-1.h: Likewise.
27739         * soft-fp/op-2.h: Likewise.
27740         * soft-fp/op-4.h: Likewise.
27741         * soft-fp/op-8.h: Likewise.
27742         * soft-fp/op-common.h: Likewise.
27743         * soft-fp/soft-fp.h: Likewise.
27745         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27747 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
27749         [BZ #6652]
27750         * Makeconfig (soversions-default-setname): Remove variable.
27751         ($(common-objpfx)soversions.i): Don't pass default_setname to
27752         soversions.awk.
27753         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27754         oldest_abi to abi-versions.awk.
27755         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27756         * config.make.in (oldest-abi): Remove variable.
27757         * configure.ac (--enable-oldest-abi): Remove configure option.
27758         * configure: Regenerated.
27759         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27760         text.
27761         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27762         * scripts/soversions.awk: Do not handle default_setname variable.
27763         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27764         variable.
27765         * sysdeps/mach/hurd/configure: Regenerated.
27766         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27767         variable.
27768         * sysdeps/unix/sysv/linux/configure: Regenerated.
27770 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27772         * elf/Makefile (CFLAGS-interp.c): Remove.
27773         ($(elf-objpfx)runtime-linker.h): Generate header with linker
27774         path string.
27775         * elf/interp.c: Include generated runtime-linker.h
27777         * Makerules (lib%.so): Don't include $(+interp) in
27778         prerequisites.
27779         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27780         * dlfcn/eval.c: Remove file.
27782         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27783         macros.
27785         [BZ #17266]
27786         * misc/sys/cdefs.h: Define __extern_always_inline for clang
27787         4.2 and newer.
27789         [BZ #17370]
27790         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27792 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27793             Jakub Jelinek  <jakub@redhat.com>
27795         [BZ #17266]
27796         * libio/stdio.h: Check definition of __fortify_function
27797         instead of __extern_always_inline to include bits/stdio2.h.
27798         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27799         check if __extern_always_inline is defined.
27800         [__USE_MISC || __USE_XOPEN]: Likewise.
27801         [__USE_ISOC99] Likewise.
27802         * misc/sys/cdefs.h (__fortify_function): Define only if
27803         __extern_always_inline is defined.
27804         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27805         __extern_always_inline and __extern_inline only for g++-4.3
27806         and newer or a compatible gcc.
27808 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
27810         [BZ #17371]
27811         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27812         last change to handle zero prefix length.
27814 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27816         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27817         _SC_REGEX_VERSION.
27819         * posix/getconf.c (vars): Add _POSIX_IPV6 and
27820         _POSIX_RAW_SOCKETS.
27822 2014-09-13  Allan McRae  <allan@archlinux.org>
27824         * po/ru.po: Update Russian translation from translation project.
27826 2014-09-12  Roland McGrath  <roland@hack.frob.com>
27828         * locale/programs/locale.c (show_locale_vars): Inline local function
27829         into its sole call site.  Clean up some style nits.
27830         (print_item): New function, broken out of ...
27831         (show_info): ... local function here.  Clean up style nits.
27833         * locale/programs/ld-ctype.c (set_one_default): New function, broken
27834         out of ...
27835         (set_class_defaults): ... local function set_default here.
27836         Define set_default as a macro locally to pass constant parameters.
27837         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27838         rather than a shared local.
27840         * stdlib/rpmatch.c (try): New function, broken out of ...
27841         (rpmatch): ... local function here.  Also, prototypify definition.
27843 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
27845         * scripts/soversions.awk: Do not handle configuration names.
27846         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
27847         vendor and os variables to soversions.awk.
27848         * configure.ac: Do not modify gnu-* host_os.
27849         * configure: Regenerated
27850         * shlib-versions: Remove first column with configuration names.
27851         * nptl/shlib-versions: Likewise.
27852         * nptl_db/shlib-versions: Likewise.
27853         * sysdeps/hppa/shlib-versions: Likewise.
27854         * sysdeps/m68k/shlib-versions: Likewise.
27855         * sysdeps/mach/hurd/shlib-versions: Likewise.
27856         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
27857         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
27858         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
27859         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
27860         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
27861         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
27862         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
27863         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
27864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27865         Likewise.
27866         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27867         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27868         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27869         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27870         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27871         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
27872         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27873         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27876         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
27877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
27878         Regenerated.
27879         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
27880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
27881         Condition symbol version definitions on [HAVE_ELFV2_ABI].
27883         * shlib-versions: Remove OS-specific entries.  Moved to files in
27884         sysdeps.
27885         * sysdeps/mach/hurd/shlib-versions: New file.
27886         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
27888         * nptl/shlib-versions: Remove architecture-specific entries.
27889         Moved to files in sysdeps.
27890         * shlib-versions: Likewise.
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
27892         file.
27893         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27894         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
27895         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
27896         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
27898         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
27899         (UDP_NO_CHECK6_RX): Likewise.
27901 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27903         * sysdeps/posix/sysconf.c (__sysconf): Spell
27904         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
27906 2014-08-12  Florian Weimer  <fweimer@redhat.com>
27908         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
27909         loading.
27910         * iconv/Versions (__gconv_transliterate): Export for use from
27911         gconv modules.
27912         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
27913         (struct __gconv_trans_data, __gconv_trans_fct,
27914         __gconv_trans_context_fct, __gconv_trans_query_fct,
27915         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
27916         definitions.
27917         (struct __gconv_step_data): Remove __trans member.
27918         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
27919         longer hidden.  Remove unused trans_data argument.
27920         * iconv/gconv_int.h (struct trans_struct): Remove definition.
27921         (__gconv_translit_find): Remove declaration.
27922         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
27923         prototype.
27924         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
27925         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
27926         trans_data argument.  Add hidden definition.
27927         (__gconv_translit_find): Remove.
27928         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
27929         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
27930         * iconv/skeleton.c: Remove transliteration initialization.
27931         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
27932         __gconv_step_data initialization.
27933         * libio/iofwide.c (__libio_translit_): Remove.
27934         (_IO_fwide): Adjust struct __gconv_step_data initialization.
27935         * wcsmbs/btowc.c (__btowc): Likewise.
27936         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27937         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
27938         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27939         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27940         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
27941         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27942         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27943         * wcsmbs/wctob.c (wctob): Likewise.
27945 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27947         [BZ #16194]
27948         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
27949         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
27950         register usage.
27951         * sysdeps/x86/Makefile: Adjust.
27953 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27954             Roland McGrath  <roland@hack.frob.com>
27956         * locale/weight.h: Add include guard.
27957         (findidx): Make static rather than auto; take new parameters
27958         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
27959         * locale/weightwc.h: Likewise.
27960         * posix/fnmatch_loop.c
27961         (FCT): Change type of EXTRA from int32_t to wint_t.
27962         Don't include either header inside the function.
27963         Call FINDIDX rather than findidx, and pass new arguments.
27964         #undef FINDIDX at the end of the file.
27965         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
27966         FINDIDX before including fnmatch_loop.c for the non-wide version.
27967         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
27968         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
27969         for the wide version.
27970         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
27971         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
27972         Pass new arguments to findidx.
27973         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
27974         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
27975         Don't #include it inside the function.  Pass new arguments to findidx.
27976         * posix/regex_internal.h
27977         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
27978         (re_string_elem_size_at): Don't #include it inside the function.
27979         Pass new arguments to findidx.
27980         * string/strcoll_l.c: #include WEIGHT_H at top level.
27981         (get_next_seq): Don't #include it inside the function.
27982         Pass new arguments to findidx.
27983         (get_next_seq_nocache): Likewise.
27984         * string/strxfrm_l.c: #include WEIGHT_H at top level.
27985         (STRXFRM): Don't #include it inside the function.
27986         Pass new arguments to findidx.
27988 2014-09-11  Florian Weimer  <fweimer@redhat.com>
27990         [BZ #17344]
27991         * malloc/malloc.c (unlink): Turn asserts into a call to
27992         malloc_printerr.
27994 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
27996         [BZ #17370]
27997         * libio/wfileops (do_ftell_wide): Free OUT.
27999 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28001         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28003 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28005         [BZ #17363]
28006         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28007         group if the current group is empty.
28009 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28011         * benchtests/bench-memset.c (test_main): Add more test from size
28012         from 32 to 512 bytes.
28013         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28014         Add POWER8 memset object.
28015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28016         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28017         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28018         implementation.
28019         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28020         Likewise.
28021         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28022         multiarch POWER8 memset optimization.
28023         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28024         POWER8 memset optimization.
28026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28027         Remove bzero multiarch objects.
28028         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28029         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28030         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28031         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28032         Remove define.
28033         [__bzero]: Redefine to specific name.
28034         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28035         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28036         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28037         define.
28038         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28039         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28041 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28043         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28044         warnings into errors.
28046         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28047         __cxa_thread_atexit_impl prototype.
28049 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28051         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28052         Fix capitalization of error message.
28054 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28056         * sysdeps/mips/preconfigure: Modify ABI tests.
28058 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28060         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28062 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28063             Carlos O'Donell  <carlos@systemhalted.org>
28065         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28066         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28067         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28068         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28069         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28070         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28071         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28072         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28073         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28074         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28075         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28076         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28077         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28078         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28079         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28080         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28081         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28082         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28084         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28086         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28087         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28088         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28089         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28090         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28091         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28092         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28093         Deconditionalize the code that was previously under [RESET_PID].
28094         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28095         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28096         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28097         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28098         include sysdep.h.
28100 2014-09-08  Allan McRae  <allan@archlinux.org>
28102         * version.h (RELEASE): Set to "development".
28103         (VERSION): Set to "2.20.90"
28105 2014-09-07  Allan McRae  <allan@archlinux.org
28107         * version.h (RELEASE): Set to "stable".
28108         (VERSION): Set to "2.20"
28109         * include/features.h (__GLIBC_MINOR__): Set to 20.
28111         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28112         Liebler.
28114         * po/ko.po: Update Korean translation from translation project.
28116 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28118         [BZ #17354]
28119         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28120         macro for handling signed relocations.
28122 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28124         [BZ #17325]
28125         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28126         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28127         assert.
28128         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28129         * iconvdata/ibm935.c (BODY): Likewise.
28130         * iconvdata/ibm937.c (BODY): Likewise.
28131         * iconvdata/ibm939.c (BODY): Likewise.
28132         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28133         assert.
28134         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28135         script.
28136         * iconvdata/run-iconv-test.sh: New test loop for checking for
28137         decoder crashers.
28139 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28142         libm_hidden_ver.
28144 2014-09-01  Allan McRae  <allan@archlinux.org>
28146         * po/eo.po: Update Esperanto translation from translation project.
28148         * po/ca.po: Update Catalan translation from translation project.
28150 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28152         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28153         __proc_dostop call.
28155 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28157         [BZ #17319]
28158         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28159         to call set_thread_area instead of hand written asm.
28160         (__NR_set_thread_area): Removed define.
28161         (TLS_FLAG_WRITABLE): Likewise.
28162         (__ASSUME_SET_THREAD_AREA): Remove check.
28163         (TLS_EBX_ARG): Remove define.
28164         (TLS_LOAD_EBX): Likewise.
28166 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28168         Simplify atomicity of socket creation in bind.
28170         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28171         looking up the name after linking the file.
28173 2014-08-27  Allan McRae  <allan@archlinux.org>
28175         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28177 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28179         [BZ #17187]
28180         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28181         trans_compare, open_translit, __gconv_translit_find):
28182         Remove module loading code.
28184 2014-08-26  Allan McRae  <allan@archlinux.org>
28186         * po/vi.po: Update Vietnamese translation from translation project.
28188         * po/uk.po: Update Ukrainian translation from translation project.
28190         * po/fr.po: Update French translation from translation project.
28192         * po/ru.po: Update Russian translation from translation project.
28194         * po/pl.po: Update Polish translation from translation project.
28196         * po/cs.po: Update Czech translation from translation project.
28198         * po/de.po: Update German translation from translation project.
28200         * po/bg.po: Update Bulgarian translation from translation project.
28202         * po/sv.po: Update Sweedish translation from translation project.
28204         * po/nl.po: Update Dutch translation from translation project.
28206         * po/es.po: Update Spanish translation from translation project.
28208 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28210         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28212         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28213         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28214         (CPPFLAGS-iconvconfig): Likewise.
28215         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28217         * include/libc-symbols.h: Remove unnecessary check for
28218         NOT_IN_libc.
28219         * nptl/pthreadP.h: Likewise.
28220         * sysdeps/aarch64/setjmp.S: Likewise.
28221         * sysdeps/alpha/setjmp.S: Likewise.
28222         * sysdeps/arm/sysdep.h: Likewise.
28223         * sysdeps/i386/setjmp.S: Likewise.
28224         * sysdeps/m68k/setjmp.c: Likewise.
28225         * sysdeps/posix/getcwd.c: Likewise.
28226         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28227         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28228         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28229         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28230         * sysdeps/sh/sh3/setjmp.S: Likewise.
28231         * sysdeps/sh/sh4/setjmp.S: Likewise.
28232         * sysdeps/unix/alpha/sysdep.h: Likewise.
28233         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28234         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28235         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28236         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28241         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28244         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28245         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28246         * sysdeps/x86_64/setjmp.S: Likewise.
28248 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28250         [BZ #17263]
28251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28252         <stdint.h>.
28253         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28254         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28256 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28258         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28260         [BZ #17262]
28261         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28262         and __x86_64__ when disabling x87 inline functions.
28264 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28266         [BZ #17259]
28267         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28268         asm statement with __cpuid_count.
28270 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28272         * configure.ac: Change __ehdr_start code to dereference the struct.
28273         Run readelf on the output to look for relocations.
28274         * configure: Regenerated.
28276 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28278         [BZ #17261]
28279         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28280         value to 0.
28281         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28283 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28285         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28287 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
28289         [BZ #16892]
28290         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28291         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28293 2014-08-12  Sean Anderson  <seanga2@gmail.com>
28295         * malloc/malloc.c: Fix typo in comment.
28297 2014-08-09  Allan McRae  <allan@archlinux.org>
28299         * Regenerate libc.po.
28301 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
28303         * intl/tst-gettext2.sh: Check every lang file for creation.
28305 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28307         * sysdeps/aarch64/fpu/math_private.h
28308         (libc_feholdsetround_noex_aarch64_ctx): New function.
28310 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
28312         * sysdeps/arm/armv6/strcpy.S (strcpy):
28313         Fix performance issue in misaligned cases.
28315 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28317         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28318         Move definition from termios.h.
28319         (struct termio): Likewise.
28320         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28321         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28322         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28323         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28324         Likewise.
28325         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28326         Move definition to ioctl-types.h
28327         (struct termio): Likewise.
28328         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28329         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28330         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28331         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28332         Likewise.
28334 2014-08-05  Richard Henderson  <rth@redhat.com>
28336         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28337         exceptions.
28338         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28339         Add fraiseexcpt.
28340         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28341         Use __feraiseexcept.
28342         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28343         Protect libm symbols with IS_IN_libm.
28345         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28347 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
28349         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28351 2014-08-04  Will Newton  <will.newton@linaro.org>
28353         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28354         file.
28356 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
28358         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28359         variants for each function.
28361 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28363         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28364         appended ...
28365         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28366         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28367         appended ...
28368         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28369         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28370         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28371         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28372         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28373         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28374         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28375         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28376         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28377         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28378         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28379         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28380         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28381         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28382         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28383         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28384         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28385         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28386         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28387         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28388         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28389         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28390         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28391         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28392         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28393         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28394         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28395         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28396         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28397         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28398         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28399         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28400         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28401         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28402         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28403         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28404         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28405         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28406         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28407         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28408         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28409         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28410         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28411         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28412         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28413         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28414         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28415         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28416         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28417         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28418         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28419         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28420         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28421         Update #include.
28422         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28423         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28425 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28427         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28428         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28429         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28430         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28431         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28432         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28434 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28436         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28437         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28438         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28439         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28441 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28443         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28444         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28445         (__libc_vfork): Define function under this name.
28446         (__vfork): Define as an alias.
28447         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28448         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28450 2014-08-04  Roland McGrath  <roland@hack.frob.com>
28452         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28453         that was previously under [RESET_PID].
28454         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28456 2014-08-04  Andreas Schwab  <schwab@suse.de>
28458         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28460 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
28462         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28463         (main): Likewise.
28465 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28467         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28469 2014-08-01  Richard Henderon  <rth@redhat.com>
28471         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28472         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28473         typo in exact zero test.
28474         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28475         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28476         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28478 2014-08-01  Roland McGrath  <roland@hack.frob.com>
28480         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28481         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28482         * sysdeps/arm/sysdep.h: ... here.
28483         [!__ASSEMBLER__]: Include <stdint.h>.
28485 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28487         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28488         (HAVE_WCTYPE_H): Likewise.
28489         (HAVE_ISWCTYPE): Likewise.
28490         (ENABLE_NLS): Likewise.
28491         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28492         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28494         * posix/regex_internal.c: Check if DEBUG is defined and is
28495         set.
28497         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28498         (HAVE_MBSRTOWCS): Likewise.
28499         * posix/fnmatch.c: Include string.h unconditionally.
28501 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
28503         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28504         reversal.
28506 2014-07-31  Roland McGrath  <roland@hack.frob.com>
28508         * sysdeps/generic/safe-fatal.h: New file.
28509         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28510         * nptl/forward.c: Include it.
28511         (__pthread_unwind): Use __safe_fatal as default action, rather
28512         than a bogus use of INTERNAL_SYSCALL that could never work.
28514         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28515         * configure.ac (libc_cv_builtin_trap): New test.
28516         * configure: Regenerated.
28517         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28518         (ABORT_INSTRUCTION): Define using __builtin_trap.
28520         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28521         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28522         * sysdeps/nptl/nptl-signals.h: New file.
28523         * nptl/pthreadP.h: Include <nptl-signals.h>.
28525 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28527         * sysdeps/s390/s390-64/utf16-utf32-z9.c
28528         (ONE_DIRECTION): Define.
28529         * sysdeps/s390/s390-64/utf8-utf16-z9.c
28530         (ONE_DIRECTION): Define.
28531         * sysdeps/s390/s390-64/utf8-utf32-z9.c
28532         (ONE_DIRECTION): Define.
28534 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
28536         * sysdeps/s390/Makefile: Delete file.
28537         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28538         * sysdeps/s390/__longjmp.c: Delete file.
28539         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28540         Remove fields __flags and __reserved.
28541         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28542         and add versioning.
28543         * sysdeps/s390/rtld-__longjmp.c: Delete file.
28544         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28545         * sysdeps/s390/rtld-setjmp.S: Likewise.
28546         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28547         * sysdeps/s390/s390-32/__longjmp.c: ... here.
28548         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28549         * sysdeps/s390/s390-32/setjmp.S: ... here.
28550         Add versioning.
28551         (__sigsetjmp): Remove setting __flags field.
28552         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28553         * sysdeps/s390/s390-64/__longjmp.c: ... here.
28554         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28555         * sysdeps/s390/s390-64/setjmp.S: ... here.
28556         Add versioning.
28557         (__sigsetjmp): Remove setting __flags field.
28558         * sysdeps/s390/setjmp.S: Delete file.
28559         * sysdeps/s390/sigjmp.c: Likewise.
28560         * sysdeps/s390/v1-longjmp.c: Likewise.
28561         * sysdeps/s390/v1-setjmp.h: Likewise.
28562         * sysdeps/s390/v1-sigjmp.c: Likewise.
28563         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28564         Remove v1-longjmp_chk.
28565         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28566         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28567         Include debug/longjmp_chk.c and add versioning.
28568         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28569         Include nptl/pt-longjmp.c and add versioning.
28570         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28571         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28572         Include __longjmp.c.
28573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28574         Move to ...
28575         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28576         (__getcontext): Remove setting __flags field.
28577         Add versioning.
28578         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28579         Don't restore upper high grps.
28580         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28581         Likewise.
28582         (__swapcontext): Remove setting uc_flags field.
28583         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28584         Delete file.
28585         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28586         Include __longjmp.c.
28587         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28588         Move to ...
28589         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28590         (__getcontext): Remove setting __flags field.
28591         Add versioning.
28592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28593         (__swapcontext): Remove setting uc_flags field.
28594         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28595         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28596         Remove fields uc_high_gprs and __reserved.
28597         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28598         New file with reverted content.
28599         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28600         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28601         Regenerated.
28602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28603         Regenerated.
28605 2014-07-31  Andreas Schwab  <schwab@suse.de>
28607         * config.h.in (HAVE_IFUNC): Define to 0.
28608         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28609         definedness.
28611 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
28613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28614         memmove-avx-unaligned, memcpy-avx-unaligned and
28615         mempcpy-avx-unaligned.
28616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28617         Add tests for AVX memcpy functions.
28618         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28619         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28620         memcpy_chk.
28621         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28622         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28623         memmove_chk.
28624         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28625         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28626         mempcpy_chk.
28627         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28628         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28629         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28631 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28633         [BZ #17213]
28634         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28635         powerpc64le.
28637 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
28639         [BZ #16839]
28640         * manual/llio.texi: Add section about open file description locks.
28641         * manual/examples/ofdlocks.c: Example of open file description
28642         lock usage.
28643         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28644         F_OFD_SETLK, and F_OFD_SETLKW.
28646 2014-07-23  Allan McRae  <allan@archlinux.org>
28648         * po/es.po: Update Spanish translation from translation project.
28650 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
28652         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28654 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
28656         [BZ #17078]
28657         * sysdeps/arm/dl-machine.h (elf_machine_rela)
28658         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28659         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28661 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #17088]
28664         * math/fesetenv.c (__fesetenv)
28665         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28666         * math/feupdateenv.c (__feupdateenv)
28667         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28669         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28670         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28671         (__ASSUME_SOCKETCALL): Do not define.
28673         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28674         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28675         (__ASSUME_SOCKETCALL): Do not define.
28676         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28677         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28678         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28679         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28681         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28683         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28685         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28686         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28687         (__ASSUME_SOCKETCALL): Do not define.
28688         (__ASSUME_IPC64): Define unconditionally.
28689         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28690         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28691         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28693         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28695         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28696         Likewise.
28698         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28699         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28700         (__ASSUME_SOCKETCALL): Do not define.
28701         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28702         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28703         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28704         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28705         (__ASSUME_REQUEUE_PI): Define unconditionally.
28706         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28707         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28708         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28709         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28710         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28711         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28713         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28714         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28715         (__ASSUME_SOCKETCALL): Do not define.
28716         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28718         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28719         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28721         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28723         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28724         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28725         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28726         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28728         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28730         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28731         (__ASSUME_GETCPU_SYSCALL): Likewise.
28733         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28734         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
28735         cases for individual architectures.
28736         * sysdeps/gnu/configure: Regenerated.
28737         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28738         LIBC_SLIBDIR_RTLDDIR.
28739         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28740         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28741         LIBC_SLIBDIR_RTLDDIR.
28742         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28744         LIBC_SLIBDIR_RTLDDIR.
28745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28746         Regenerated.
28747         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28748         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28749         file.
28750         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28751         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28752         file.
28753         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28754         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28755         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28756         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28758         * sysdeps/aarch64/shlib-versions: Move to ...
28759         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28760         * sysdeps/alpha/shlib-versions: Move to ...
28761         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28762         * sysdeps/arm/shlib-versions: Move to ...
28763         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28764         * sysdeps/hppa/shlib-versions: Move all contents except for
28765         libgcc_s entry to ...
28766         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
28767         entry from ...
28768         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
28769         * sysdeps/ia64/shlib-versions: Move to ...
28770         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
28771         entry from ...
28772         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
28773         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28774         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28775         * sysdeps/microblaze/shlib-versions: Move to ...
28776         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28777         * sysdeps/mips/shlib-versions: Move to ...
28778         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
28779         entry from ...
28780         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
28781         * sysdeps/tile/shlib-versions: Move to ...
28782         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28783         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28784         from ...
28785         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
28786         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28787         entry from ...
28788         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
28790 2014-07-17  Will Newton  <will.newton@linaro.org>
28792         * sysdeps/arm/bits/atomic.h
28793         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28794         (__arch_compare_and_exchange_bool_16_int): Likewise.
28795         (__arch_compare_and_exchange_bool_64_int): Likewise.
28797         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28798         into an #else block.
28800 2014-07-16  Roland McGrath  <roland@hack.frob.com>
28802         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28803         just Linux configurations.  Test empirically that the compiler sets
28804         __ARM_EABI__, rather than using the tuple to decide.
28805         * sysdeps/arm/preconfigure: Regenerated.
28806         * sysdeps/unix/sysv/linux/arm/configure: File removed.
28807         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28808         contents appended ...
28809         * sysdeps/arm/configure.ac: ... here.
28810         * sysdeps/arm/configure: Regenerated.
28812 2014-07-15  Roland McGrath  <roland@hack.frob.com>
28814         * nptl/pthread_kill.c: New file.
28815         * nptl/pthread_sigmask.c: New file.
28816         * nptl/pthread_sigqueue.c: New file.
28818         * sysdeps/nptl/lowlevellock.h: New file.
28819         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28820         * sysdeps/nptl/lowlevellock-futex.h: New file.
28822         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28823         Remove dead declarations.
28825 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
28827         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28828         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28829         config-cflags-avx2.
28830         * sysdeps/x86_64/configure.ac: Likewise.
28831         * sysdeps/i386/configure: Regenerated.
28832         * sysdeps/x86_64/configure: Likewise.
28833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28834         memset-avx2 only if config-cflags-avx2 is yes.
28835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28836         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28837         defined.
28838         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28839         only if HAVE_AVX2_SUPPORT is defined.
28840         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28842 2014-07-14  Alan Modra  <amodra@gmail.com>
28844         [BZ #17153]
28845         * elf/elf.h (DT_PPC64_NUM): Correct value.
28846         * NEWS: Add to fixed bug list.
28848 2014-07-13  Jim Meyering  <meyering@fb.com>
28850         [BZ 17150]
28851         regex: don't deref NULL upon heap allocation failure
28852         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
28853         failure in one more place.
28854         To trigger the segfault, configure grep -with-included-regex,
28855         build it, and run these commands:
28856         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
28858 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
28860         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28862 2014-07-11  Richard Henderson  <rth@redhat.com>
28864         * sysdeps/aarch64/libm-test-ulps: Update.
28866 2014-07-10  Florian Weimer  <fweimer@redhat.com>
28868         [BZ #17135]
28869         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
28870         * nptl/allocatestack.c (__nptl_setxid_error): New function.
28871         (__nptl_setxid): Initialize error member.  Call
28872         __nptl_setxid_error.
28873         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
28874         * nptl/descr.h (struct xid_command): Add error member.
28875         * nptl/tst-setuid3.c: New file.
28876         * nptl/Makefile (tests): Add it.
28878 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
28881         New define.
28882         (__lll_trylock): Use __lll_base_trylock.
28883         (__lll_cond_trylock): Likewise.
28885 2014-07-10  Roland McGrath  <roland@hack.frob.com>
28887         * nptl/pthread_create.c (start_thread): Use atomic_or and
28888         lll_futex_wake directly rather than lll_robust_dead.
28889         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28890         (lll_robust_dead): Macro removed.
28891         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
28892         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28893         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28894         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28895         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28896         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28897         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28898         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28899         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28900         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28901         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28902         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28903         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28904         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28905         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28907         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
28908         Use atomic_compare_and_exchange_val_acq directly rather than
28909         lll_robust_trylock.
28910         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
28911         (__lll_robust_trylock, lll_robust_trylock): Removed.
28912         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
28913         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
28914         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28915         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28916         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
28917         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
28918         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28919         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
28920         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28921         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28922         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28923         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28924         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28927 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28929         * manual/locale.texi (Locale Names): New section documenting
28930         locale name syntax.  Adjust menu and node chaining accordingly.
28931         (Choosing Locale): Reference Locale Names, Locale Categories.
28932         Mention setting LC_ALL=C.  Reflect that name syntax is now
28933         documented.
28934         (Locale Categories): New section title.  Reference Locale Names.
28935         LC_ALL is an environment variable, but not a category.
28936         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
28937         description, now in Locale Name.  Reference that section.  Locale
28938         name syntax is now documented.
28940 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28942         [BZ #17137]
28943         * locale/findlocale.c (name_present, valid_locale_name): New
28944         functions.
28945         (_nl_find_locale): Use the loc_name variable to store name
28946         candidates.  Call name_present and valid_locale_name to check and
28947         validate locale names.  Return an error if the locale is invalid.
28949 2014-07-02  Florian Weimer  <fweimer@redhat.com>
28951         * locale/setlocale.c (setlocale): Use strdup for allocating
28952         composite name copy.
28954 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28956         Sync up with gnulib.
28957         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
28958         [!_LIBC && ENABLE_NLS]: Include gettext.h.
28959         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
28960         and _GL_ARG_NONNULL.
28961         [USE_UNLOCKED_IO]: Include unlocked-io.h.
28962         [!_LIBC]: Include code for Windows and Cygwin.
28963         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
28964         Include prototype for int strerror_r.
28965         [!_LIBC] (is_open): New function.
28966         (flush_stdout): New function.
28967         (print_errno_message): Use it.
28968         (error): Likewise.
28969         (error_at_line): Likewise.
28970         (error_tail) Add function attribute macros.  Use
28971         __builtin_expect.
28973         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
28975         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
28977         * io/ftw.c: Include sys/param.h unconditionally.
28979         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
28981         [BZ #17125]
28982         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
28983         libc_freeres_ptr.
28984         (freecache): New function to free CACHE on exit.
28986         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
28987         initialization.
28989 2014-07-09  David S. Miller  <davem@davemloft.net>
28991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28993         * sysdeps/sparc/nptl/internaltypes.h: Delete.
28994         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
28995         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
28996         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
28997         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
28998         * sysdeps/sparc/nptl/sem_init.c: Likewise.
28999         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29000         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29001         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29002         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29003         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29004         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29005         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29007 2014-07-09  Andreas Schwab  <schwab@suse.de>
29009         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29010         output.
29011         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29012         (do_test): Likewise.
29014         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29016 2014-07-09  Will Newton  <will.newton@linaro.org>
29018         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29019         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29020         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29021         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29022         * sysdeps/hppa/start.S (_start): Likewise.
29024 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29026         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29028         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29029         defined.
29031 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29033         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29034         after checking that it is non-NULL.
29036         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29038 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29040         * sysdeps/powerpc/memmove.c: Remove file.
29041         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29042         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29043         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29044         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29045         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29046         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29047         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29048         string memmove instead of removed powerpc one.
29050         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29051         [weak_alias]: Fix compiler warning due trailing data.
29052         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29053         [weak_alias]: Likewise.
29054         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29055         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29058         (__libc_ifunc_impl_list): Add memmove functions.
29060 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29062         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29063         Remove code.
29064         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29065         Likewise.
29066         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29067         Likewise.
29068         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29069         Likewise.
29070         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29071         Likewise.
29072         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29073         Likewise.
29074         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29075         Likewise.
29076         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29077         Likewise.
29078         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29079         Likewise.
29080         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29081         Likewise.
29082         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29083         Likewise.
29084         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29085         Likewise.
29086         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29087         Likewise.
29088         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29089         Likewise.
29090         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29091         Likewise.
29092         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29093         Likewise.
29094         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29095         Likewise.
29097 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29099         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29100         to avoid alignment traps in non-cacheable memory.
29101         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29104         multiarch objects.
29105         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29106         file: multiarch power7 memmove.
29107         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29108         multiarch default memmove.
29109         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29110         multiarch memove for powerpc32/power4.
29112         * string/bcopy.c: Use full path to include memmove.c.
29113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29114         multiarch objects.
29115         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29116         bcopy for powerpc64.
29117         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29118         bcopy for powerpc64.
29119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29120         and memmove implementations.
29121         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29122         optimized multiarch memmove for POWER7/powerpc64.
29123         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29124         default multiarch memmove for powerpc64.
29125         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29126         multiarch for powerpc64.
29127         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29128         for POWER7/powerpc64.
29129         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29130         memmove for POWER7/powerpc64.
29132         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29133         glibc default one.
29135         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29136         __ELF_NATIVE_CLASS equal to 64.
29138 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29140         * sysdeps/nptl/lowlevellock.h: File removed.
29142         * NEWS: NPTL is no longer an add-on!
29143         * nptl/internaltypes.h: Moved ...
29144         * sysdeps/nptl/internaltypes.h: ... here.
29145         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29146         * sysdeps/nptl/fork.c: Likewise.
29147         * sysdeps/nptl/gai_misc.h: Likewise.
29148         * sysdeps/nptl/librt-cancellation.c: Likewise.
29149         * sysdeps/nptl/jmp-unwind.c: Likewise.
29150         * sysdeps/nptl/setxid.h: Likewise.
29151         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29152         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29153         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29154         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29155         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29156         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29157         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29158         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29159         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29160         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29161         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29162         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29163         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29164         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29165         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29166         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29167         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29168         * nptl/Makeconfig: Moved ...
29169         * sysdeps/nptl/Makeconfig: ... here.
29170         * nptl/configure: File removed.
29171         * nptl/ANNOUNCE: File removed.
29172         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29173         * sysdeps/unix/sysv/linux/configure: Regenerated.
29175         * nptl/Makefile (routines): Add libc_pthread_init,
29176         libc_multiple_threads, register-atfork and unregister-atfork.
29177         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29178         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29179         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29180         pthread-pi-defines.sym, structsem.sym.
29181         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29182         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29183         [$(subdir) = nptl] (tests): Add tst-setgetname.
29184         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29185         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29186         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29187         [!LIBC_SIGACTION]: Remove aliases.
29188         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29189         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29190         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29191         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29192         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29193         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29194         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29195         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29196         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29197         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29198         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29199         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29200         __libc_allocate_rtsig_private.
29201         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29202         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29203         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29204         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29205         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29206         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29207         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29208         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29209         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29210         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29211         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29212         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29213         * nptl/internaltypes.h: ... here.
29214         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29215         * sysdeps/nptl/jmp-unwind.c: ... here.
29216         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29217         * nptl/libc-lowlevellock.c: ... here.
29218         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29219         * nptl/libc_multiple_threads.c: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29221         * nptl/libc_pthread_init.c: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29223         * nptl/lowlevelbarrier.sym: ... here.
29224         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29225         * nptl/lowlevelcond.sym: ... here.
29226         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29227         * nptl/lowlevellock.c: ... here.
29228         * nptl/lowlevellock.h: Moved ...
29229         * sysdeps/nptl/lowlevellock.h: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29231         * nptl/lowlevelrobustlock.c: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29233         * nptl/lowlevelrobustlock.sym: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29235         * nptl/lowlevelrwlock.sym: ... here.
29236         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29237         * nptl/pt-fork.c: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29239         * nptl/pthread-pi-defines.sym: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29241         * nptl/pthread_attr_getaffinity.c: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29243         * nptl/pthread_attr_setaffinity.c: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29245         * nptl/pthread_mutex_cond_lock.c: ... here.
29246         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29247         Update #include.
29248         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29249         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29250         * nptl/pthread_once.c: ... here, replacing old file.
29251         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29252         * nptl/pthread_yield.c: ... here.
29253         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29254         * nptl/register-atfork.c: ... here.
29255         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29256         * nptl/sem_post.c: ... here.
29257         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29258         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29259         * nptl/sem_timedwait.c: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29261         * nptl/sem_trywait.c: ... here.
29262         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29263         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29264         * nptl/sem_wait.c: ... here.
29265         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29266         * nptl/structsem.sym: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29268         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29269         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29270         * nptl/unregister-atfork.c: ... here.
29271         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29272         * nptl/unwindbuf.sym: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29274         * sysdeps/nptl/fork.c: ... here.
29275         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29276         * sysdeps/nptl/fork.h: ... here.
29277         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29278         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29279         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29280         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29281         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29282         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29283         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29284         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29285         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29286         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29287         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29288         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29289         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29290         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29291         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29292         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29293         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29294         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29295         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29296         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29297         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29298         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29299         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29300         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29301         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29302         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29303         * sysdeps/unix/sysv/linux/raise.c: ... here.
29304         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29305         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29306         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29307         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29308         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29309         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29310         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29311         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29312         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29313         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29314         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29315         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29316         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29317         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29318         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29320 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29322         * sysdeps/generic/memcopy.h: Add comment for
29323         MEMCPY_OK_FOR_FWD_MEMMOVE.
29325 2014-07-04  Will Newton  <will.newton@linaro.org>
29327         * string/memchr.c: Merge from gnulib.
29328         [_LIBC]: Remove conditionals.
29329         (__ptr_t): Remove define.
29330         (LONG_MAX_32_BITS): Likewise.
29331         (LONG_MAX): Likewise.
29332         (MEMCHR): Use ANSI prototype and optimize algorithm.
29334         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29336 2014-07-03  Roland McGrath  <roland@hack.frob.com>
29338         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29339         (lll_futex_timed_wait_bitset): Fix syscall argument count.
29341         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29342         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29343         in a bare environment with no <stdlib.h> installed.
29344         * sysdeps/nptl/configure: Regenerated.
29346         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29348         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29349         AC_EGREP_CPP for kernel header checks, so they only succeed if
29350         including <linux/version.h> actually works right.
29351         * sysdeps/unix/sysv/linux/configure: Regenerated.
29353         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29354         value so it's not diagnosed as unused.
29356         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29357         thing) with "ifeq ($(subdir),rt)".
29359 2014-07-03  Richard Henderson  <rth@redhat.com>
29361         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29362         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29363         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29365         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29366         (math_force_eval): New.
29368         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29369         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29371         * sysdeps/alpha/fpu/s_round.c: Remove file.
29372         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29374         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29375         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29376         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29377         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29378         (_dl_start, print_statistics): Likewise.
29379         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29380         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29382         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29383         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29384         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29385         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29386         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29387         (HP_SMALL_TIMING_AVAIL): Define.
29388         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29389         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29390         (HP_SMALL_TIMING_AVAIL): Define.
29391         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29392         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29394         * sysdeps/aarch64/hp-timing.h: New file.
29396         * sysdeps/generic/hp-timing.h: Remove dead comment.
29397         * sysdeps/generic/hp-timing-common.h: New file.
29398         * sysdeps/alpha/hp-timing.h: Include it.
29399         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29400         * sysdeps/i386/i686/hp-timing.h: Likewise.
29401         * sysdeps/ia64/hp-timing.h: Likewise.
29402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29403         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29404         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29405         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29406         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29407         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29408         (hp_timing_t): New.
29410         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29411         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29412         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29413         * elf/rtld.c (_dl_start_final): Likewise.
29414         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29415         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29416         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29417         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29418         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29420         (HP_TIMING_DIFF_INIT): Remove.
29421         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29422         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29423         (HP_TIMING_DIFF_INIT): Remove.
29424         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29425         * sysdeps/i386/i686/hp-timing.c: Remove file.
29426         * sysdeps/x86_64/hp-timing.c: Remove file.
29427         * sysdeps/ia64/hp-timing.c: Remove file.
29428         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29429         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29430         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29431         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29433         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29434         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29435         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29436         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29437         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29438         (HP_TIMING_ACCUM): Remove.
29439         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29440         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29441         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29443         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29444         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29445         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29446         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29447         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29448         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29449         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29450         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29452         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29454 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
29456         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29458 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29460         Sync up with gettext.
29461         * intl/loadmsgcat.c: Define O_BINARY if not defined.
29462         [_MSC_VER]: Include malloc.h
29463         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29464         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29465         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
29466         TEMP_FAILURE_RETRY.  Cast return of alloca.
29467         [!_LIBC] Call gl_rwlock_init.
29468         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29470 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29472         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29473         before checking its value.
29475 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29479         * debug/memcpy_chk.c: Don't include pagecopy.h.
29480         * debug/mempcpy_chk.c: Likewise.
29481         * string/memcpy.c: Likewise.
29482         * string/memmove.c: Likewise.
29483         * sysdeps/powerpc/memmove.c: Likewise.
29484         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
29485         definition of PAGE_COPY_FWD_MAYBE here...
29486         * sysdeps/generic/pagecopy.h: ... from here.
29487         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29489 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29490             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29492         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29494         optimizations.
29495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29496         (__libc_ifunc_impl_list): Likewise.
29497         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29498         multiarch strcat for PPC64.
29499         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29502 2014-07-02  Roland McGrath  <roland@hack.frob.com>
29504         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29506 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29508         * intl/loadmsgcat.c: Remove declaration of
29509         get_sysdep_segment_value.
29510         (get_sysdep_segment_value): Use ISO C style.
29511         (_nl_load_domain): Use ISO C style.  Get rid of redundant
29512         semicolon.  Fix typo and formatting in comment.
29513         (_nl_unload_domain): Use ISO C style.
29515         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29517 2014-07-02  Will Newton  <will.newton@linaro.org>
29519         * malloc/obstack.c: Merge from gnulib master.
29520         [HAVE_CONFIG_H]: Remove conditional code.
29521         [!_LIBC]: Include config.h.
29522         [!ELIDE_CODE]: Don't include inttypes.h, include
29523         stdint.h unconditionally.
29524         (print_and_abort): Mark as _Noreturn.
29525         (_obstack_allocated_p): Mark as __attribute_pure__.
29526         (obstack_free): Rename to __obstack_free.
29527         [!__attribute__]: Remove conditional code.
29528         * malloc/obstack.h: Merge from gnulib master.
29529         [__cplusplus]: Move conditional down.
29530         [!__attribute_pure__]: Define __attribute_pure__ here
29531         if it is not already defined.
29532         (_obstack_memory_used): Mark as __attribute_pure__.
29533         [!__obstack_free]: Define as obstack_free.
29534         [__GNUC__]: Remove check for ancient NeXT gcc.
29536 2014-07-02  Will Newton  <will.newton@linaro.org>
29537             Paul Eggert  <eggert@cs.ucla.edu>
29539         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29541 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29543         * resolv/gethnamaddr.c: Add comment warning that the file is
29544         not maintained.
29546 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
29548         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29549         entries.
29551         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29552         entry for aio_cancel and aio_cancel64.
29553         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29554         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29555         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29556         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29557         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29558         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29559         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29560         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29561         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29562         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29563         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29564         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29565         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29567 2014-07-01  Roland McGrath  <roland@hack.frob.com>
29569         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29570         * nptl/pthread_mutex_lock.c: Likewise.
29571         * nptl/pthread_mutex_timedlock.c: Likewise.
29572         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29574 2014-07-01  Richard henderson  <rth@redhat.com>
29576         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29577         (__isnan, __isnanl): Remove.
29578         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29580         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29582 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29584         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29586 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29588         * resolv/nss_dns/dns-host.c (getanswer_r)
29589         [MULTI_PTRS_ARE_ALIASES]: Remove code.
29591 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
29593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29594         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29595         undefine.
29596         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29597         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29599 2014-07-01  Roland McGrath <roland@hack.frob.com>
29601         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29602         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29604         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29605         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29607         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29608         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29609         ... here.
29610         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29611         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29613         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29614         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29615         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29616         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29618         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29619         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29620         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29621         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29622         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29623         Moved ...
29624         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29625         ... here.
29626         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29627         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29628         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29629         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29630         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29631         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29632         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29633         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29634         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29635         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29636         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29637         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29638         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29639         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29640         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29641         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29642         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29643         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29644         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29645         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29646         ... here.
29647         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29648         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29649         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29650         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29651         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29652         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29653         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29654         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29656 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
29658         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29659         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29660         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29661         Add sysdep.
29663 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29667 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29669         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29670         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29672         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29674         * sysdeps/arm/libm-test-ulps: Regenerated.
29676 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29677             Roland McGrath <roland@hack.frob.com>
29679         * test-skeleton.c (signal_handler): Kill the whole process group
29680         before killing the child individually.
29681         (main): Report any failure on `setpgid'.
29683 2014-06-30  Roland McGrath  <roland@hack.frob.com>
29685         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29686         from _TLS_H to _ARM_NPTL_TLS_H.
29687         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29688         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29690 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
29692         [BZ #16539]
29693         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29694         (__expm1l): Return argument unchanged when small but not
29695         subnormal.
29697         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29698         include macro name.
29699         (_FP_UNPACK_RAW_1_P): Likewise.
29700         (_FP_PACK_RAW_1): Likewise.
29701         (_FP_PACK_RAW_1_P): Likewise.
29702         (_FP_MUL_MEAT_1_wide): Likewise.
29703         (_FP_MUL_MEAT_DW_1_hard): Likewise.
29704         (_FP_MUL_MEAT_1_hard): Likewise.
29705         (_FP_DIV_MEAT_1_imm): Likewise.
29706         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29707         (_FP_DIV_MEAT_1_udiv): Likewise.
29708         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29709         (_FP_UNPACK_RAW_2): Likewise.
29710         (_FP_UNPACK_RAW_2_P): Likewise.
29711         (_FP_PACK_RAW_2): Likewise.
29712         (_FP_PACK_RAW_2_P): Likewise.
29713         (_FP_MUL_MEAT_DW_2_wide): Likewise.
29714         (_FP_MUL_MEAT_2_wide): Likewise.
29715         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29716         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29717         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29718         (_FP_MUL_MEAT_2_gmp): Likewise.
29719         (_FP_DIV_MEAT_2_udiv): Likewise.
29720         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29721         (_FP_FRAC_SRL_4): Likewise.
29722         (_FP_FRAC_SRST_4): Likewise.
29723         (_FP_FRAC_SRS_4): Likewise.
29724         (_FP_UNPACK_RAW_4): Likewise.
29725         (_FP_UNPACK_RAW_4_P): Likewise.
29726         (_FP_PACK_RAW_4): Likewise.
29727         (_FP_PACK_RAW_4_P): Likewise.
29728         (_FP_MUL_MEAT_DW_4_wide): Likewise.
29729         (_FP_MUL_MEAT_4_wide): Likewise.
29730         (_FP_MUL_MEAT_4_gmp): Likewise.
29731         (umul_ppppmnnn): Likewise.
29732         (_FP_DIV_MEAT_4_udiv): Likewise.
29733         (__FP_FRAC_ADD_4): Likewise.
29734         (__FP_FRAC_SUB_3): Likewise.
29735         (__FP_FRAC_SUB_4): Likewise.
29736         (__FP_FRAC_DEC_3): Likewise.
29737         (__FP_FRAC_DEC_4): Likewise.
29738         (__FP_FRAC_ADDI_4): Likewise.
29739         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29740         (_FP_FRAC_SRL_8): Likewise.
29741         (_FP_FRAC_SRS_8): Likewise.
29743         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29744         include macro name.
29745         (FP_UNPACK_RAW_EP): Likewise.
29746         (FP_PACK_RAW_E): Likewise.
29747         (FP_PACK_RAW_EP): Likewise.
29748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29749         (_FP_ISSIGNAN): Likewise.
29750         (_FP_ADD_INTERNAL): Likewise.
29751         (_FP_FMA): Likewise.
29752         (_FP_CMP): Likewise.
29753         (_FP_SQRT): Likewise.
29754         (_FP_TO_INT): Likewise.
29755         (_FP_FROM_INT): Likewise.
29756         (FP_EXTEND): Likewise.
29757         (_FP_DIV_MEAT_N_loop): Likewise.
29759 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
29761         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29762         throughout.
29764 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
29766         [BZ #17097]
29767         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29768         result with correct sign in case of exponents that produce
29769         overflow except for X very close to 1.
29771 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
29773         mktime: merge #if/#ifdef usage from glibc
29774         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29775         as that works with both Glibc's and Gnulib's style.
29776         See thread starting at Siddhesh Poyarekar's bug report at:
29777         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29779 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29781         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29782         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29783         * sysdeps/tile/tilegx/memmove.c: Remove file.
29785 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29787         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29788         abi-name definition.
29789         * scripts/soversions.awk: Do not handle or generate ABI lines.
29790         * shlib-versions: Remove ABI entries.
29791         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29792         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29794 2014-06-27  Roland McGrath  <roland@hack.frob.com>
29796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29797         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29798         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29799         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29801         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29803         Moved ...
29804         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29805         ... here.
29806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29807         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29809         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29811         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29813         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29814         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29815         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29817         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29819         Moved ...
29820         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29822         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29824         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29826         Moved ...
29827         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29829         Moved ...
29830         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29832         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29834         Moved ...
29835         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29837         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29839         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29841         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29843         Moved ...
29844         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
29845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
29846         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
29847         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
29848         Moved ...
29849         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
29850         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
29851         Moved ...
29852         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
29853         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
29854         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
29855         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
29856         Moved ...
29857         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
29858         ... here.
29859         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
29860         Identical file removed.
29861         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
29862         Moved ...
29863         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
29864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
29865         Identical file removed.
29866         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
29867         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
29868         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
29869         Moved ...
29870         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
29871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
29872         Identical file removed.
29873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
29874         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
29875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
29876         Identical file removed.
29877         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
29878         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
29879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
29880         Identical file removed.
29881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
29882         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
29883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
29884         Identical file removed.
29885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
29886         Moved ...
29887         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
29888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
29889         Identical file removed.
29890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
29891         Moved ...
29892         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
29893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
29894         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
29895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
29896         Identical file removed.
29897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
29898         Moved ...
29899         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
29900         ... here.
29901         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
29902         Identical file removed.
29903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
29904         Moved ...
29905         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
29906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
29907         Identical file removed.
29908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
29909         Moved ...
29910         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
29911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
29912         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
29913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
29914         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
29915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
29916         Moved ...
29917         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
29918         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
29919         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
29921         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
29922         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
29923         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
29924         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
29925         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
29927 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
29929         [BZ #17092]
29930         * nscd/nscd.c (monitor_child): Return exit status of child
29931         instead of return value from wait syscall.
29933 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
29935         * configure.ac (libc_commonpagesize): Remove variable.
29936         (libc_relro_required): Likewise.
29937         (libc_cv_z_relro): Remove configure test.
29938         * configure: Regenerated.
29939         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
29940         variable.
29941         (libc_relro_required): Likewise.
29942         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
29943         (libc_relro_required): Likewise.
29944         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
29945         (libc_relro_required): Likewise.
29946         * sysdeps/arm/preconfigure: Regenerated.
29947         * sysdeps/ia64/preconfigure: Remove file.
29948         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
29949         variable.
29950         (libc_relro_required): Likewise.
29952         [BZ #16561]
29953         [BZ #16562]
29954         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
29955         (__ieee754_yn): Set FE_TONEAREST mode internally and then
29956         recompute overflowing results in original rounding mode.
29957         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
29958         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
29959         recompute overflowing results in original rounding mode.
29960         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
29961         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29962         recompute overflowing results in original rounding mode.
29963         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
29964         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29965         recompute overflowing results in original rounding mode.
29966         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
29967         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
29968         recompute overflowing results in original rounding mode.
29969         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
29970         (libc_feholdsetround_ctx): New macro.
29971         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
29972         * sysdeps/i386/fpu/libm-test-ulps: Update.
29973         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
29975 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
29977         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
29978         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
29979         corresponding .cpsetup call.
29981 2014-06-26  Roland McGrath  <roland@hack.frob.com>
29983         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
29984         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
29985         * sysdeps/arm/Makefile [$(subdir) = csu]
29986         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
29987         (static-only-routines): Add aeabi_read_tp here.
29988         (shared-only-routines): Add libc-aeabi_read_tp here.
29989         (CFLAGS-libc-start.c): Add -fexceptions here.
29990         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
29991         (sysdep_routines, static-only-routines, shared-only-routines):
29992         Don't add to these here.
29993         (CFLAGS-libc-start.c): Likewise.
29995         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
29996         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29997         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
29998         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29999         * sysdeps/arm/Makefile [$(subdir) = rt]
30000         (librt-sysdep_routines, librt-shared-only-routines):
30001         Append rt-aeabi_unwind_cpp_pr1 here.
30002         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30003         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30004         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30005         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30006         Append nptl-aeabi_unwind_cpp_pr1 here.
30007         (tests): Filter out tst-cleanupx4 here.
30008         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30009         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30010         Don't do those here.
30012 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30014         * scripts/list-sources.sh: Do not handle ports specially.
30016 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30018         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30019         * sysdeps/arm/feupdateenv.c: Likewise.
30021         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30023 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30025         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30026         trailing whitespace removed.
30027         * scripts/config.guess: Update to version 2014-03-23.
30028         * scripts/config.sub: Update to version 2014-05-01
30029         * scripts/install-sh: Update to version 2013-12-25.23.
30030         * scripts/move-if-change: Update from gnulib.
30032 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30034         * debug/memmove_chk.c: Remove pagecopy.h include.
30036 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30038         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30039         identical to gnulib mktime.
30041 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30043         * configure.ac: Do not test for machine being rs6000.  Do not test
30044         for powerpc*-*soft.
30045         * configure: Regenerated.
30047         [BZ #11505]
30048         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30049         test.
30050         * configure: Regenerated.
30051         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30052         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30053         Remove configure test.
30054         * sysdeps/arm/configure: Regenerated.
30055         * sysdeps/nptl/configure.ac: Do not check
30056         libc_cv_asm_cfi_directives.
30057         * sysdeps/nptl/configure: Regenerated.
30058         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30059         * sysdeps/x86_64/nptl/configure: Remove generated file.
30060         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30061         unconditional.
30062         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30064 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30066         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30067         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30068         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30069         it is defined.
30071         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30072         instead of whether it is defined.
30073         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30074         * sysdeps/hppa/dl-machine.h: Likewise.
30075         * sysdeps/ia64/dl-machine.h: Likewise.
30076         * sysdeps/m68k/dl-machine.h: Likewise.
30077         * sysdeps/microblaze/dl-machine.h: Likewise.
30078         * sysdeps/mips/dl-machine.: Likewise.
30079         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30080         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30081         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30082         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30083         * sysdeps/sh/dl-machine.h: Likewise.
30084         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30085         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30086         * sysdeps/tile/dl-machine.h: Likewise.
30087         * sysdeps/x86_64/dl-machine.h: Likewise.
30089         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30090         code.
30091         (verify_persistent_db): Likewise.
30093 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30096         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30098         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30100         Moved ...
30101         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30102         ... here.
30103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30104         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30106         Identical file removed.
30107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30108         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30110         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30112         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30114         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30116         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30118         Moved ...
30119         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30121         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30123         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30125         Moved ...
30126         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30128         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30130         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30132         Identical file removed.
30133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30134         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30136         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30138         Moved ...
30139         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30140         ... here.
30141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30142         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30144         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30146         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30150         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30152         Moved ...
30153         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30155         Moved ...
30156         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30158         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30160         Moved ...
30161         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30163         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30165         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30166         folded into ...
30167         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30168         * sysdeps/unix/sysv/linux/s390/Versions
30169         (libpthread: GLIBC_2.19): New version set.
30170         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30171         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30172         (librt: GLIBC_2.3.3): New version set.
30173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30174         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30175         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30176         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30177         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30178         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30179         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30180         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30181         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30182         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30183         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30184         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30185         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30186         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30187         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30188         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30189         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30190         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30192         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30193         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30195         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30196         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30197         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30198         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30199         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30201         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30203         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30204         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30209         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30211         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30213         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30215         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30217         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30220         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30221         (__libc_vfork): Define the function under this name.
30222         [!NOT_IN_libc] (__vfork): Make this an alias.
30223         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30225         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30226         (__libc_vfork): Define the function under this name.
30227         [!NOT_IN_libc] (__vfork): Make this an alias.
30228         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30229         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30230         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30233         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30235         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30236         code that was previously under [RESET_PID].
30237         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30238         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30241         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30242         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30243         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30244         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30245         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30246         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30247         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30248         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30249         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30250         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30251         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30252         Moved ...
30253         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30254         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30255         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30256         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30257         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30258         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30259         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30260         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30261         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30262         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30264         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30265         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30266         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30267         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30268         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30269         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30270         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30271         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30272         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30273         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30274         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30275         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30276         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30277         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30278         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30279         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30280         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30281         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30283 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30285         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30286         that was previously under [RESET_PID].
30287         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30289 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30291         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30292         not undefine and redefine.
30293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30294         [O_CLOEXEC]: Make code unconditional.
30295         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30296         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30297         <kernel-features.h>.
30298         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30299         conditional variable definition.
30300         (shm_open) [O_CLOEXEC]: Make code unconditional.
30301         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30302         code.
30304         * configure.ac (USE_REGPARMS): Don't define here.
30305         * configure: Regenerated.
30306         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30307         * sysdeps/i386/configure: Regenerated.
30309         * nptl/createthread.c: Don't include kernel-features.h.
30310         * nptl/pthread_cancel.c: Likewise.
30311         * nptl/pthread_condattr_setclock.c: Likewise.
30312         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30313         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30314         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30315         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30316         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30321         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30322         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30323         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30324         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30325         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30326         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30327         * nscd/gai.c: Likewise.
30328         * nss/nss_db/db-open.c: Likewise.
30329         * sysdeps/generic/ldsodefs.h: Likewise.
30330         * sysdeps/sh/nptl/tls.h: Likewise.
30331         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30332         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30333         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30334         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30335         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30336         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30337         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30338         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30339         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30340         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30341         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30342         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30343         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30344         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30345         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30346         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30347         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30348         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30349         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30350         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30353         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30354         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30359         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30360         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30361         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30362         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30364         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30365         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30366         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30367         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30368         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30369         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30370         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30371         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30372         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30373         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30374         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30375         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30376         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30377         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30378         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30379         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30380         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30381         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30382         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30383         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30384         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30385         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30386         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30387         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30388         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30411         * sysdeps/unix/sysv/linux/pread.c: Likewise.
30412         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30413         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30414         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30415         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30416         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30417         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30418         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30419         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30420         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30421         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30422         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30423         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30424         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30425         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30426         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30427         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30429         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30430         * sysdeps/unix/sysv/linux/system.c: Likewise.
30431         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30432         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30433         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30434         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30435         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30436         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30437         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30439         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30440         * configure: Regenerated.
30441         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30443         * configure.ac (base_machine): Do not set specially for particular
30444         machines here.
30445         * configure: Regenerated.
30446         * sysdeps/powerpc/preconfigure: Move machine and base_machine
30447         settings from configure.ac.
30448         * sysdeps/i386/preconfigure: New file.
30449         * sysdeps/s390/preconfigure: Likewise.
30450         * sysdeps/sh/preconfigure: Likewise.
30451         * sysdeps/sparc/preconfigure: Likewise.
30453 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30455         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30456         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30457         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30458         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30459         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30460         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30461         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30462         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30463         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30464         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30465         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30466         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30467         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30469         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30472         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30473         * sysdeps/sparc/sparc64/Makefile: ... appended here.
30475         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30476         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30477         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30478         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30479         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30480         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30481         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30482         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30483         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30484         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30485         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30486         * sysdeps/sparc/sparc32/sem_post.c: ... here.
30487         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30488         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30489         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30490         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30491         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30492         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30493         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30494         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30496         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30497         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30498         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30500         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30502         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30504         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30505         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30506         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30507         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30508         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30510         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30511         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30512         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30515         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30517         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30519         Moved ...
30520         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30521         ... here.
30522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30523         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30525         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30527         Moved ...
30528         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30530         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30536         Moved ...
30537         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30539         Moved ...
30540         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30542         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30544         Moved ...
30545         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30547         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30549         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30551         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30553         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30555         Moved ...
30556         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30557         ... here.
30558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30559         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30561         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30563         Moved ...
30564         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30568         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30570         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30572         Moved ...
30573         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30575         Moved ...
30576         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30578         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30580         Moved ...
30581         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30583         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30585         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30587 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30589         * timezone/checktab.awk: Update from tzcode 2014e.
30590         * timezone/private.h: Likewise.
30591         * timezone/tzfile.h: Likewise.
30592         * timezone/zdump.c: Likewise.
30593         * timezone/zic.c: Likewise.
30595         * sysdeps/unix/sysv/linux/kernel-features.h
30596         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30597         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30598         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30599         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30600         Remove conditional code.
30602 2014-06-25  Will Newton  <will.newton@linaro.org>
30604         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30605         (_dl_arm_cap_flags): Add HWCAP2 values.
30606         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30607         (_DL_HWCAP_COUNT): Increase to 37.
30608         (_DL_HWCAP_LAST): New define.
30609         (_DL_HWCAP2_LAST): New define.
30610         (_dl_procinfo): Add support for printing
30611         AT_HWCAP2 entries.
30612         (_dl_string_hwcap): Use _dl_hwcap_string.
30614 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30618 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
30620         * README: Do not mention ports directory.
30622         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30623         Remove macro.
30624         * sysdeps/unix/sysv/linux/futimes.c: Do not include
30625         <kernel-features.h>.
30626         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30627         conditional variable definition.
30628         (__futimes): Update comment.
30629         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30630         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30632         [BZ #16560]
30633         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30634         arguments close to 0.
30635         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30636         Likewise.
30637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30638         Likewise.
30639         * math/auto-libm-test-in: Add more tests of exp10.
30640         * math/auto-libm-test-out: Regenerated.
30641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30643         * sysdeps/unix/sysv/linux/kernel-features.h
30644         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30645         * sysdeps/unix/sysv/linux/readv.c: Do not include
30646         <kernel-features.h>.
30647         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30648         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30649         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30650         unconditional.
30651         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30652         conditional code.
30653         * sysdeps/unix/sysv/linux/writev.c: Do not include
30654         <kernel-features.h>.
30655         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30656         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30657         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30658         unconditional.
30659         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30660         conditional code.
30662 2014-06-25  Will Newton  <will.newton@linaro.org>
30664         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30665         comment changes throughout the file.  Remove checks
30666         for HAVE_*_H definitions that are not required.
30667         (__gen_tempname): Call abort if an unknown kind value is
30668         passed.
30670 2014-06-25  Andreas Schwab  <schwab@suse.de>
30672         [BZ #17086]
30673         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30674         scalbln, scalblnf, scalblnl in libc.
30676 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30678         [BZ #17086]
30679         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30680         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30681         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30683 2014-06-24  Roland McGrath  <roland@hack.frob.com>
30685         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30686         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30687         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30688         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30689         Update #include.
30690         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30691         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30692         Update #include.
30693         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30694         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30695         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30696         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30697         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30698         * sysdeps/x86/bits/pthreadtypes.h: ... here.
30699         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30700         * sysdeps/x86/bits/semaphore.h: ... here.
30701         * sysdeps/x86/nptl/elide.h: Moved ...
30702         * sysdeps/x86/elide.h: ... here.
30703         * sysdeps/x86_64/nptl/Implies: File removed.
30704         * sysdeps/i386/nptl/Implies: File removed.
30706 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
30708         [BZ #16539]
30709         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30710         return the argument for normal arguments with exponent below -64.
30711         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30712         Likewise.
30713         * math/auto-libm-test-in: Add another test of expm1.
30714         * math/auto-libm-test-out: Regenerated.
30716         [BZ #16287]
30717         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30718         calling __erfcl for arguments at least 16.
30719         * math/auto-libm-test-in: Add more tests of erf.
30720         * math/auto-libm-test-out: Regenerated.
30722         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30723         individual architectures.
30724         * sysdeps/unix/sysv/linux/configure: Regenerated.
30725         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30726         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30727         * sysdeps/unix/sysv/linux/powerpc/configure.ac
30728         (ldd_rewrite_script): Define variable.
30729         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30731         file.
30732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30733         generated file.
30734         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30735         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30736         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30737         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30738         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30739         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30740         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30741         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30743 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30745         [BZ #17084]
30746         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30747         Rename member __data.d to __data.__elision_data.
30749 2014-06-24  Wilco  <wdijkstr@arm.com>
30751         * NEWS: Add 16918 to fixed bug list.
30753 2014-06-24  Wilco  <wdijkstr@arm.com>
30755         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30757 2014-06-24  Wilco  <wdijkstr@arm.com>
30759         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30760         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30761         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30762         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30763         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30764         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30765         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30766         Use _FPU_MASK_RM.
30768 2014-06-24  Wilco  <wdijkstr@arm.com>
30770         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30772 2014-06-24  Wilco  <wdijkstr@arm.com>
30774         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30775         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30776         * sysdeps/arm/fesetround.c (fesetround): Remove space.
30777         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30779 2014-06-24  Wilco  <wdijkstr@arm.com>
30781         [BZ #16918]
30782         * sysdeps/arm/feupdateenv.c (feupdateenv):
30783         Rewrite to reduce FPSCR accesses and fix return value.
30785 2014-06-24  Wilco  <wdijkstr@arm.com>
30787         * sysdeps/arm/fclrexcpt.c (feclearexcept):
30788         Optimize to avoid unnecessary FPSCR writes.
30789         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30790         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30791         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30792         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30794 2014-06-24  Wilco  <wdijkstr@arm.com>
30796         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30797         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30798         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30799         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30800         Call libc_fetestexcept_vfp.
30801         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30802         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30803         __SOFTFP__ ifdef so that they can be built for softfp.
30805 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30807         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30808         argument type signed char.
30810         * Makerules (check-abi): Dump diff of symlist if the test
30811         fails.
30813 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30815         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30816         using abort.
30818         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30819         Remove unused variable ST.
30821 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
30823         [BZ #16354]
30824         [BZ #17061]
30825         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30826         small arguments before calling __expm1.
30827         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30828         small arguments before calling __expm1f.
30829         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30830         small arguments before calling __expm1l.
30831         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30832         Likewise.
30833         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30834         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
30835         spurious underflow for some cosh tests.
30836         * math/auto-libm-test-out: Regenerated.
30837         * sysdeps/i386/fpu/libm-test-ulps: Update.
30839         [BZ #17050]
30840         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30841         (__ieee754_y1): Set errno if return value overflows.
30842         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30843         (__ieee754_y1f): Set errno if return value overflows.
30844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
30845         (__ieee754_y1l): Set errno if return value overflows.
30846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
30847         (__ieee754_y1l): Set errno if return value overflows.
30848         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
30849         * math/auto-libm-test-out: Regenerated.
30851         * math/gen-auto-libm-tests.c: Document use of
30852         ignore-zero-inf-sign.
30853         (input_flag_type): Add value flag_ignore_zero_inf_sign.
30854         (input_flags): Add ignore-zero-inf-sign.
30855         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
30856         * math/gen-libm-test.pl (generate_testfile): Handle
30857         ignore-zero-inf-sign.
30858         * math/auto-libm-test-in: Mark some cpow tests with
30859         ignore-zero-inf-sign and some with xfail-rounding.
30860         * math/auto-libm-test-out: Regenerated.
30861         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
30862         * sysdeps/i386/fpu/libm-test-ulps: Update.
30863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30865         [BZ #16315]
30866         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
30867         overflowing or underflowing operations take place with sign of
30868         result.
30869         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30870         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30871         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
30872         (__ieee754_pow): Recompute overflowing and underflowing results in
30873         original rounding mode.
30874         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
30875         (__powl_helper): Allow negative argument X and scale negated value
30876         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
30877         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
30878         overflowing or underflowing operations take place with sign of
30879         result.
30880         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
30881         Include <math.h>.
30882         * math/auto-libm-test-in: Add more tests of pow.
30883         * math/auto-libm-test-out: Regenerated.
30884         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
30885         (pow_tonearest_test_data): Remove.
30886         (pow_test_tonearest): Likewise.
30887         (pow_towardzero_test_data): Likewise.
30888         (pow_test_towardzero): Likewise.
30889         (pow_downward_test_data): Likewise.
30890         (pow_test_downward): Likewise.
30891         (pow_upward_test_data): Likewise.
30892         (pow_test_upward): Likewise.
30893         (main): Don't call removed functions.
30894         * sysdeps/i386/fpu/libm-test-ulps: Update.
30895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30897 2014-06-23  Roland McGrath  <roland@hack.frob.com>
30899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
30900         Moved ...
30901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
30902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30903         Moved ...
30904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
30905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30906         Moved ...
30907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30909         Moved ...
30910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
30911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30912         File removed.
30913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30914         File removed.
30915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
30916         File removed.
30917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
30918         File removed.
30919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
30920         File removed.
30921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
30922         File removed.
30923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
30924         File removed.
30925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30926         File removed.
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
30928         File removed.
30929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30930         File removed.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
30932         File removed.
30933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
30934         File removed.
30935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
30936         Moved ...
30937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
30938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
30939         Moved ...
30940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
30941         ... here.
30942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
30943         Moved ...
30944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
30945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
30946         Moved ...
30947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
30948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
30949         Moved ...
30950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
30951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
30952         Moved ...
30953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
30954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
30955         Moved ...
30956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
30957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
30958         Moved ...
30959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
30960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
30961         Moved ...
30962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
30963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
30964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
30965         ... here.
30966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
30967         Moved ...
30968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
30969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
30970         Moved ...
30971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
30972         ... here.
30973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
30974         Moved ...
30975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30976         ... here.
30977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30978         Moved ...
30979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30980         ... here.
30981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30982         Moved ...
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
30984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
30985         Moved ...
30986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
30987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
30988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
30989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
30990         Moved ...
30991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
30992         ... here.
30993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30994         Moved ...
30995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
30996         ... here.
30997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
30998         Moved ...
30999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31001         Moved ...
31002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31004         Moved ...
31005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31007         Moved ...
31008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31010         Moved ...
31011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31012         ... here.
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31014         Moved ...
31015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31017         Moved ...
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31020         Moved ...
31021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31023         Moved ...
31024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31028         Moved ...
31029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31031         Moved ...
31032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31034         Moved ...
31035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31036         ... here.
31037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31038         Moved ...
31039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31040         ... here.
31041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31042         Moved ...
31043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31044         ... here.
31045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31046         Moved ...
31047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31049         Moved ...
31050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31052         Moved ...
31053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31055         Moved ...
31056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31057         ... here.
31058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31059         Moved ...
31060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31061         ... here.
31062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31063         Moved ...
31064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31065         ... here.
31066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31067         Moved ...
31068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31070         Moved ...
31071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31073 2014-06-23  Will Newton  <will.newton@linaro.org>
31074             Wilco  <wdijkstr@arm.com>
31076         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31077         implementation.  Include get-rounding-mode.h.
31078         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31079         [!libc_feholdsetround_noex_ctx]: Define
31080         libc_feholdsetround_noex_ctx.
31081         [!libc_feholdsetround_noexf_ctx]: Define
31082         libc_feholdsetround_noexf_ctx.
31083         [!libc_feholdsetround_noexl_ctx]: Define
31084         libc_feholdsetround_noexl_ctx.
31085         (libc_feholdsetround_ctx): New function.
31086         (libc_feresetround_ctx): New function.
31087         (libc_feholdsetround_noex_ctx): New function.
31088         (libc_feresetround_noex_ctx): New function.
31090 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31092         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31093         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31094         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31095         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31096         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31097         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31099         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31100         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31101         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31102         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31103         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31104         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31106         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31108         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31110         Moved ...
31111         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31112         ... here.
31113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31114         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31116         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31118         Moved ...
31119         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31121         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31123         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31125         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31127         Moved ...
31128         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31130         Moved ...
31131         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31133         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31135         Moved ...
31136         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31138         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31139         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31140         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31141         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31142         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31144         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31146         Moved ...
31147         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31148         ... here.
31149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31150         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31152         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31154         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31156         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31158         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31160         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31162         Moved ...
31163         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31165         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31167         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31169         Moved ...
31170         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31172         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31173         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31174         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31176         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31177         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31178         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31185         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31186         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31187         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31188         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31189         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31190         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31191         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31192         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31193         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31194         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31195         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31196         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31199         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31200         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31201         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31202         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31203         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31205 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31208         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31209         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31210         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31211         (IPV6_PMTUDISC_INTERFACE): Likewise.
31212         (IPV6_PMTUDISC_OMIT): Likewise.
31214 2014-06-23  Andreas Schwab  <schwab@suse.de>
31216         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31217         Remove unused errout label.
31219 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31221         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31222         macro: hardware supports Vector Crypto instructions.
31224 2014-06-23  Will Newton  <will.newton@linaro.org>
31226         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31227         rather than __builtin_expect.
31229         * elf/dl-lookup.c (undefined_msg): Remove variable.
31230         (_dl_lookup_symbol_x): Replace undefined_msg with string
31231         literal.
31233         * elf/dl-lookup.c (do_lookup_unique): New function.
31234         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31235         to a separate function.
31237 2014-06-23  Andreas Schwab  <schwab@suse.de>
31239         [BZ #17079]
31240         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31241         before reading the next line.
31243 2014-06-23  Will Newton  <will.newton@linaro.org>
31245         * test-skeleton.c (signal_handler): Use printf and %m
31246         rather than perror.  Use printf rather than fprintf to
31247         stderr.  Use puts rather than fputs to stderr.
31248         (main): Likewise.
31250 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31252         * nscd/nscd.c (thread_info_t): Remove typedef.
31253         (thread_info): Remove variable.
31255 2014-06-21  Allan McRae  <allan@archlinux.org>
31257         * NEWS: Mention CVE-2014-4043.
31259 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31261         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31262         * nptl/smp.h: ... here.
31264         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31266         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31267         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31268         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31269         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31271         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31272         * nptl/stack-aliasing.h: New file.
31273         * sysdeps/i386/i686/stack-aliasing.h: New file.
31274         * sysdeps/i386/i686/nptl/Makefile: File removed.
31275         * sysdeps/x86_64/stack-aliasing.h: New file.
31276         * sysdeps/x86_64/nptl/Makefile
31277         (CFLAGS-pthread_create.c): Variable removed.
31279         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31280         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31281         old file.
31282         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31283         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31284         old file.
31286 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
31288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31289         (__ASSUME_SIGFRAME_V2): Remove macro.
31290         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31291         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31292         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31293         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31294         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31295         Declare as function.  Remove conditional macro definitions.
31296         (__default_rt_sa_restorer): Likewise.
31297         (__default_sa_restorer_v1): Remove declaration.
31298         (__default_sa_restorer_v2): Likewise.
31299         (__default_rt_sa_restorer_v1): Likewise.
31300         (__default_rt_sa_restorer_v2): Likewise.
31301         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31302         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31303         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31305 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31307         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31308         (libpthread-routines): Add sysdep.
31309         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31310         * sysdeps/unix/sysv/linux/sparc/Versions
31311         (libpthread: GLIBC_2.3.3): New version set.
31312         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31313         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31314         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31316         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
31317         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31318         Moved ...
31319         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31320         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31321         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31322         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31323         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31324         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31325         * sysdeps/sparc/nptl/sem_init.c: ... here.
31326         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31327         * sysdeps/sparc/nptl/sem_post.c: ... here.
31328         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31329         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31330         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31331         * sysdeps/sparc/nptl/sem_wait.c: ... here.
31332         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31333         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31334         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31335         (libpthread-routines): Add cpu_relax.
31336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31337         File removed.
31338         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31339         (librt: GLIBC_2.3.3): New version set.
31340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31341         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31342         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31343         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31346         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31348         Moved ...
31349         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31351         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31353         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31355         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31357         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31359         Moved ...
31360         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31361         Update #include.
31362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31363         Moved ...
31364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31365         Update #include.
31366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31367         Moved ...
31368         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31369         Update #include.
31370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31371         Moved ...
31372         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31373         Update #include.
31374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31375         Moved ...
31376         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31377         Update #include.
31378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31379         Moved ...
31380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31381         Update #include.
31382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31383         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31389         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31391         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31393         Moved ...
31394         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31396         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31398         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31400 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31402         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31403         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31404         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31405         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31406         * nscd/nscd.c: Likewise.
31407         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31408         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31409         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31410         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31412         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31413         <kernel-features.h>.
31414         (init_mq_netlink): Remove conditional have_sock_cloexec
31415         definitions.  Remove code conditional on have_sock_cloexec < 0.
31416         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31417         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31418         * sysdeps/unix/sysv/linux/opensock.c: Do not include
31419         <kernel-features.h>.
31420         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31421         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31423 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31426         Add tests for memset_chk and memset.
31428         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31429         with AVX2_Usable.
31431 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31433         [BZ #16046]
31434         * elf/tst-dl-iter-static.c: New file.
31435         * elf/Makefile (tests-static): Add tst-dl-iter-static.
31437         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31438         error.
31440 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31442         * sysdeps/unix/sysv/linux/kernel-features.h
31443         (__ASSUME_F_GETOWN_EX): Remove macro.
31444         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31445         <kernel-features.h>.
31446         (miss_F_GETOWN_EX): Remove variable or macro.
31447         (do_fcntl): Do not check miss_F_GETOWN_EX.
31448         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31450         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31451         Remove macro.
31452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31453         [!__ASSUME_AT_RANDOM]: Remove conditional code.
31454         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31456         * sysdeps/unix/sysv/linux/kernel-features.h
31457         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31458         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31459         [ADJ_OFFSET_SS_READ]: Make code unconditional.
31460         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31462 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
31464         [BZ #17075]
31465         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31466         Fix calculation of the symbol's value.
31467         * sysdeps/arm/tst-armtlsdescloc.c: New file.
31468         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31469         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31470         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31471         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31472         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31473         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31474         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31475         (modules-names): Add `tst-armtlsdescmod',
31476         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31477         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31478         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31479         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31480         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31481         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31482         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31483         ($(objpfx)tst-armtlsdescloc): New dependency.
31484         ($(objpfx)tst-armtlsdescextnow): Likewise.
31485         ($(objpfx)tst-armtlsdescextlazy): Likewise.
31486         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31487         TLS scheme support.
31488         * sysdeps/arm/configure: Regenerate.
31490 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
31492         * include/fcntl.h (__atfct_seterrno): Remove prototype.
31493         (__atfct_seterrno_2): Likewise.
31494         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31495         <kernel-features.h>.
31496         (__ASSUME_ATFCTS): Do not undefine and redefine.
31497         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31498         (__have_atfcts): Remove conditional definition.
31499         (__fxstatat([__NR_fstatat64]: Make code unconditional.
31500         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31501         unreachable if [__ASSUME_ATFCTS].
31502         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31503         not undefine and redefine.
31504         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31505         <kernel-features.h>.
31506         (faccessat) [__NR_faccessat]: Make code unconditional.
31507         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31508         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31509         <kernel-features.h>.
31510         (fchmodat) [__NR_fchmodat]: Make code unconditional.
31511         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31512         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31513         <kernel-features.h>.
31514         (fchownat) [__NR_fchownat]: Make code unconditional.
31515         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31516         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31517         <kernel-features.h>.
31518         (futimesat) [__NR_futimesat]: Make code unconditional.
31519         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31520         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31521         <kernel-features.h>.
31522         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31523         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31524         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31525         <kernel-features.h>.
31526         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31527         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31528         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31529         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31530         <kernel-features.h>.
31531         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31532         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31533         * sysdeps/unix/sysv/linux/linkat.c: Do not include
31534         <kernel-features.h>.
31535         (linkat) [__NR_linkat]: Make code unconditional.
31536         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31537         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31538         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31539         <kernel-features.h>.
31540         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31541         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31542         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31543         <kernel-features.h>.
31544         (mkdirat) [__NR_mkdirat]: Make code unconditional.
31545         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31546         * sysdeps/unix/sysv/linux/openat.c: Do not include
31547         <kernel-features.h>.
31548         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31549         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31550         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31551         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31552         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31553         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31554         <kernel-features.h>.
31555         (readlinkat) [__NR_readlinkat]: Make code unconditional.
31556         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
31557         result of INLINE_SYSCALL directly, not via int variable.
31558         * sysdeps/unix/sysv/linux/renameat.c: Do not include
31559         <kernel-features.h>.
31560         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31561         (renameat) [__NR_renameat]: Make code unconditional.
31562         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31563         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31564         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31565         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31566         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31567         (__ASSUME_ATFCTS): Do not undefine and redefine.
31568         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31569         <kernel-features.h>.
31570         (symlinkat) [__NR_symlinkat]: Make code unconditional.
31571         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31572         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31573         <kernel-features.h>.
31574         (unlinkat) [__NR_unlinkat]: Make code unconditional.
31575         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31576         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31577         (__ASSUME_ATFCTS): Do not undefine and redefine.
31578         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31579         <kernel-features.h>.
31580         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31581         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31582         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31583         <kernel-features.h>.
31584         (__xmknodat) [__NR_mknodat]: Make code unconditional.
31585         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31587 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
31589         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31591 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
31593         [BZ #17069]
31594         * posix/regcomp.c (parse_reg_exp): Deallocate partially
31595         constructed tree before returning error.
31596         * posix/bug-regexp36.c: Expand test case.
31598 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31600         [BZ #6803]
31601         * math/libm-test.inc (scalbln_test_date):
31602         Add errno expectations.
31603         * math/w_scalblnf.c: New File.
31604         Add wrapper which checks for setting errno to ERANGE.
31605         Add weak_alias for corresponding scalbln function.
31606         * math/w_scalbln.c: Likewise.
31607         * math/w_scalblnl.c: Likewise.
31608         * math/Makefile (libm-calls): Add w_scalbln.
31609         * sysdeps/ieee754/flt-32/s_scalblnf.c:
31610         Remove weak_alias for corresponding scalbln function.
31611         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31614         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31615         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31616         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31617         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31618         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31619         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31620         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31621         Remove long_double_symbol for scalblnl function in libm, libc.
31622         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31623         Add wrapper which checks for setting errno to ERANGE.
31624         Add long_double_symbol for scalblnl function in libm, libc.
31625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31626         Remove long_double_symbol for scalblnl in libm.
31627         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31628         Add wrapper which checks for setting errno to ERANGE.
31629         Add long_double_symbol for scalblnl function in libm.
31630         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31631         Do not use wrapper because of own implementation.
31633 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
31635         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31636         3 bytes for __pad1 for x32.
31637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31639 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
31640             H.J. Lu  <hongjiu.lu@intel.com>
31642         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31643         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31644         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31645         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31646         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31648 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
31650         [BZ #17069]
31651         * posix/regcomp.c (parse_expression): Deallocate partially
31652         constructed tree before returning error.
31653         * posix/Makefile.c (tests): Add bug-regex36.
31654         (generated): Add bug-regex36.mtrace.
31655         (tests-special): Add $(objpfx)bug-regex36-mem.out
31656         (bug-regex36-ENV): New variable.
31657         ($(objpfx)bug-regex36-mem.out): New rule.
31658         * posix/bug-regex36.c: New file.
31660 2014-06-19  Will Newton  <will.newton@linaro.org>
31662         * malloc/malloc.c (systrim): If extra is zero then return
31663         early.
31665 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31667         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31669 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
31671         * sysdeps/aarch64/strchr.S: New file.
31673 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31675         [BZ #17022]
31676         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31677         from arguments -2 or below.
31678         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31679         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31681 2014-06-18  Andreas Schwab  <schwab@suse.de>
31683         [BZ #17062]
31684         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31685         of a bracket expr not to run off the end of the string.
31686         * posix/Makefile (tests): Add tst-fnmatch3.
31687         * posix/tst-fnmatch3.c: New file.
31689 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
31691         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31692         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31693         [$(cross-compiling) = no]: Likewise.
31694         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31695         [$(cross-compiling) = no]: Likewise.
31697 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31699         [BZ #17031]
31700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31701         double, adjusted for any remainder from the high double.
31702         * math/libm-test.inc (nearbyint): Add tests.
31703         (rint): Likewise.
31705 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31707         * nptl/sysdeps/powerpc/Makefile: Moved ...
31708         * sysdeps/powerpc/nptl/Makefile: ... here.
31709         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31710         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31711         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31712         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31713         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31714         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31715         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31716         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31717         * nptl/sysdeps/powerpc/tls.h: Moved ...
31718         * sysdeps/powerpc/nptl/tls.h: ... here.
31720 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
31722         [BZ #16681]
31723         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31724         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31725         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31726         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31727         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31728         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31729         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31730         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31731         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31733 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
31735         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31737 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
31739         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31740         defined operator.
31742         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31743         $TIMEOUTFACTOR.
31745 2014-06-16  Florian Weimer  <fweimer@redhat.com>
31747         [BZ #17058]
31748         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31749         non-executed part of the test.
31751 2014-06-16  Andreas Schwab  <schwab@suse.de>
31753         * string/bits/string2.h (strdup, strndup): Update feature guard.
31755 2014-06-14  David S. Miller  <davem@davemloft.net>
31757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31759 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
31761         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31762         that was previously under [RESET_PID].
31763         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31765         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31766         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31767         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31768         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31769         (__libc_vfork): New strong alias.
31770         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31772 2014-06-14 Andi Kleen  <ak@linux.intel.com>
31774         * sysdeps/generic/elide.h: New file.
31776 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31778         * Makefile (installed-headers): Adjust path of pthread.h header.
31780 2014-06-13  Roland McGrath  <roland@hack.frob.com>
31782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31783         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31784         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31785         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31787         * nptl/sysdeps/s390/Makefile: Moved ...
31788         * sysdeps/s390/nptl/Makefile: ... here.
31789         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31790         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31791         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31792         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31793         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31794         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31795         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31796         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31797         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31798         * sysdeps/s390/nptl/pthreaddef.h: ... here.
31799         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31800         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31801         * nptl/sysdeps/s390/tls.h: Moved ...
31802         * sysdeps/s390/nptl/tls.h: ... here.
31804         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31805         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31807 2014-06-13  David S. Miller  <davem@davemloft.net>
31809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31812         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31817         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31818         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31819         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31820         Remove RESET_PID cpp guards.
31821         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31822         Remove RESET_PID cpp guards.
31823         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31825 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
31827         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31828         __sp to uintptr_t.
31830 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31835         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31836         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31842         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
31844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
31845         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
31846         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
31847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
31848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
31849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
31850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
31851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
31853         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
31854         (pthread_rwlock_rdlock): Add elision.
31855         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
31856         (pthread_rwlock_wrlock): Add elision.
31857         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31858         (pthread_rwlock_trywrlock): Add elision.
31859         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
31860         (pthread_rwlock_tryrdlock): Add elision.
31861         * nptl/pthread_rwlock_unlock.c: Include elide.h.
31862         (pthread_rwlock_tryrdlock): Add elision unlock.
31863         * nptl/sysdeps/pthread/pthread.h:
31864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
31865         (PTHREAD_RWLOCK_INITIALIZER,
31866         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
31867         Handle new elision field.
31868         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
31869         * sysdeps/arm/nptl/bits/pthreadtypes.h
31870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31871         * sysdeps/sh/nptl/bits/pthreadtypes.h
31872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31873         * sysdeps/tile/nptl/bits/pthreadtypes.h
31874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31875         * sysdeps/a/nptl/bits/pthreadtypes.h
31876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31877         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
31878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
31880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31881         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
31882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
31884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31885         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
31886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31887         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
31888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31889         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
31890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31891         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
31892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31893         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
31894         (elision_init): Set try_xbegin to zero when no RTM.
31895         * sysdeps/x86/nptl/bits/pthreadtypes.h
31896         (pthread_rwlock_t): Change __pad1 to __rwelision.
31897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
31899 2014-06-13  Andi Kleen  <ak@linux.intel.com>
31901         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
31902         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
31903         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
31904         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
31906 2014-06-13  Meador Inge  <meadori@codesourcery.com>
31908         [BZ #16996]
31909         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
31910         that the cached result has been set before returning it.
31912 2014-06-12  Roland McGrath  <roland@hack.frob.com>
31914         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
31915         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
31916         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
31917         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
31918         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
31919         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
31921         * nptl/sysdeps/sparc/Makefile: Moved ...
31922         * sysdeps/sparc/nptl/Makefile: ... here.
31923         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
31924         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
31925         * nptl/sysdeps/sparc/tls.h: Moved ...
31926         * sysdeps/sparc/nptl/tls.h: ... here.
31927         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
31928         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
31929         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
31930         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
31931         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
31932         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
31933         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
31934         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
31935         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
31936         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
31937         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
31938         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
31939         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
31940         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
31941         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
31942         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
31943         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
31944         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
31945         Update #include.
31946         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
31947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31948         Update #include.
31949         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
31950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
31951         Update #include.
31952         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
31953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
31954         Update #include.
31956         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
31958         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
31959         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
31961         * sysdeps/pthread/posix-timer.h: Include <list.h>.
31962         (struct list_links): Type removed.
31963         (struct thread_node, struct timer_node): Replace struct list_links
31964         with struct list_head.
31965         (list_unlink_ip): Likewise.
31966         * sysdeps/pthread/timer_routines.c
31967         (timer_free_list, thread_free_list, thread_active_list): Likewise.
31968         (list_append, list_insbefore): Likewise.
31969         (list_init): Function removed.
31970         (thread_init, init_module): Use INIT_LIST_HEAD instead.
31971         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
31972         * sysdeps/pthread/Makefile: ... here, new file.
31974         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
31975         * sysdeps/nptl/Implies: ... here.
31976         * sysdeps/unix/sysv/linux/Implies: Add nptl.
31977         * nptl/sysdeps/pthread/list.h: Moved ...
31978         * include/list.h: ... here.
31979         * nptl/sysdeps/pthread/createthread.c: Moved ...
31980         * nptl/createthread.c: ... here.
31981         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
31982         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
31983         * nptl/pt-longjmp.c: ... here.
31984         * nptl/sysdeps/pthread/Makefile: Moved ...
31985         * sysdeps/nptl/Makefile: ... here.
31986         * nptl/sysdeps/pthread/Subdirs: Moved ...
31987         * sysdeps/nptl/Subdirs: ... here.
31988         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
31989         * sysdeps/nptl/aio_misc.h: ... here.
31990         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
31991         * sysdeps/nptl/bits/libc-lock.h: ... here.
31992         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
31993         * sysdeps/nptl/bits/libc-lockP.h: ... here.
31994         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
31995         * sysdeps/nptl/bits/stdio-lock.h: ... here.
31996         * nptl/sysdeps/pthread/configure: Moved ...
31997         * sysdeps/nptl/configure: ... here.
31998         * nptl/sysdeps/pthread/configure.ac: Moved ...
31999         * sysdeps/nptl/configure.ac: ... here.
32000         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32001         * sysdeps/nptl/gai_misc.h: ... here.
32002         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32003         * sysdeps/nptl/librt-cancellation.c: ... here.
32004         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32005         * sysdeps/nptl/malloc-machine.h: ... here.
32006         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32007         * sysdeps/nptl/pthread-functions.h: ... here.
32008         * nptl/sysdeps/pthread/pthread.h: Moved ...
32009         * sysdeps/nptl/pthread.h: ... here.
32010         * nptl/sysdeps/pthread/setxid.h: Moved ...
32011         * sysdeps/nptl/setxid.h: ... here.
32012         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32013         * sysdeps/nptl/sigfillset.c: ... here.
32014         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32015         * sysdeps/nptl/tcb-offsets.h: ... here.
32016         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32017         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32018         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32019         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32020         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32021         * sysdeps/pthread/allocalim.h: ... here.
32022         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32023         * sysdeps/pthread/bits/sigthread.h: ... here.
32024         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32025         * sysdeps/pthread/flockfile.c: ... here.
32026         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32027         * sysdeps/pthread/ftrylockfile.c: ... here.
32028         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32029         * sysdeps/pthread/funlockfile.c: ... here.
32030         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32031         * sysdeps/pthread/posix-timer.h: ... here.
32032         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32033         * sysdeps/pthread/timer_create.c: ... here.
32034         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32035         * sysdeps/pthread/timer_delete.c: ... here.
32036         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32037         * sysdeps/pthread/timer_getoverr.c: ... here.
32038         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32039         * sysdeps/pthread/timer_gettime.c: ... here.
32040         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32041         * sysdeps/pthread/timer_routines.c: ... here.
32042         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32043         * sysdeps/pthread/timer_settime.c: ... here.
32044         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32045         * sysdeps/pthread/tst-timer.c: ... here.
32046         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32047         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32049         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32050         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32052         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32053         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32054         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32055         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32056         Update #include target.
32057         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32058         * sysdeps/i386/i686/nptl/Makefile: ... here.
32059         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32060         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32061         Update #include target.
32062         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32063         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32064         * nptl/sysdeps/i386/Makefile: Moved ...
32065         * sysdeps/i386/nptl/Makefile: ... here.
32066         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32067         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32068         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32069         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32070         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32071         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32072         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32073         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32074         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32075         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32076         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32077         * nptl/sysdeps/i386/tls.h: Moved ...
32078         * sysdeps/i386/nptl/tls.h: ... here.
32080         * sysdeps/sh/Makefile [$(subdir) = csu]
32081         (gen-as-const-headers): Add tcb-offsets.sym.
32082         * nptl/sysdeps/sh/Makefile: File removed.
32083         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32084         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32085         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32086         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32087         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32088         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32089         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32090         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32091         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32092         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32093         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32094         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32095         * nptl/sysdeps/sh/tls.h: Moved ...
32096         * sysdeps/sh/nptl/tls.h: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32098         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32099         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32100         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32101         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32102         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32103         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32104         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32105         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32106         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32108         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32110         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32112         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32114         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32116         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32118         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32120         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32122         Moved ...
32123         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32125         Moved ...
32126         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32128         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32131         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32132         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32133         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32134         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32135         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32136         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32137         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32138         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32139         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32140         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32141         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32142         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32143         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32144         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32146 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32148         * posix/spawn_faction_addopen.c: Include string.h.
32150 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32152         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32153         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32154         * nptl/sysdeps/x86_64/Makefile: Moved ...
32155         * sysdeps/x86_64/nptl/Makefile: ... here.
32156         * nptl/sysdeps/x86_64/configure: Moved ...
32157         * sysdeps/x86_64/nptl/configure: ... here.
32158         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32159         * sysdeps/x86_64/nptl/configure.ac: ... here.
32160         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32161         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32162         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32163         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32164         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32165         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32166         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32167         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32168         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32169         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32170         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32171         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32172         * nptl/sysdeps/x86_64/tls.h: Moved ...
32173         * sysdeps/x86_64/nptl/tls.h: ... here.
32174         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32175         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32176         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32177         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32179         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32181 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32185 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32187         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32188         type.
32189         [POSIX] (off_t): Likewise.
32190         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32191         [POSIX] (S_ISBLK): Require macro.
32192         [POSIX] (S_ISCHR): Likewise.
32193         [POSIX] (S_ISDIR): Likewise.
32194         [POSIX] (S_ISFIFO): Likewise.
32195         [POSIX] (S_ISREG): Likewise.
32196         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32197         optional-macro.
32198         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32199         type.
32200         [POSIX] (time_t): Likewise.
32201         [POSIX] (timer_t): Likewise.
32203 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32205         [BZ #17048]
32206         * posix/spawn_int.h (struct __spawn_action): Make the path string
32207         non-const to support deallocation.
32208         * posix/spawn_faction_addopen.c
32209         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32210         * posix/spawn_faction_destroy.c
32211         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32212         path in all spawn_do_open actions.
32213         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32214         posix_spawn_file_actions_addopen.
32216 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32218         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32219         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32220         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32221         conditional code always true.
32222         (__libc_vfork): New alias.
32224 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32226         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32227         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32229         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32231         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32232         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32234         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32237         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32238         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32240 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32242         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32243         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32244         multiarch strcmp for PPC64.
32245         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32246         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32248         multiarch optimizations.
32249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32250         (__libc_ifunc_impl_list): Likewise.
32252 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32254         * benchtests/scripts/validate_benchout.py: New script.
32255         * benchtests/Makefile (bench-func): Call it.
32256         * benchtests/scripts/benchout.schema.json: New file.
32258 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32260         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32261         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32262         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32263         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32264         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32265         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32266         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32267         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32268         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32269         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32270         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32272         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32273         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32274         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32275         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32277         Moved ...
32278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32279         ... here.
32280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32281         Moved ...
32282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32284         Moved ...
32285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32286         ... here.
32287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32288         Moved ...
32289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32290         ... here.
32291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32292         Moved ...
32293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32295         Moved ...
32296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32297         ... here.
32298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32299         Moved ...
32300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32301         ... here.
32302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32303         Moved ...
32304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32306         Moved ...
32307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32308         ... here.
32309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32310         Moved ...
32311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32312         ... here.
32313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32314         Moved ...
32315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32316         ... here.
32317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32318         Moved ...
32319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32321         Moved ...
32322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32323         ... here.
32324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32325         Moved ...
32326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32327         ... here.
32328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32329         Moved ...
32330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32331         ... here.
32332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32333         Moved ...
32334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32336         Moved ...
32337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32338         ... here.
32339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32340         Moved ...
32341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32342         ... here.
32343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32344         Moved ...
32345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32347         Moved ...
32348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32349         ... here.
32350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32351         Moved ...
32352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32354         Moved ...
32355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32357         Moved ...
32358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32359         ... here.
32360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32361         Moved ...
32362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32363         ... here.
32364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32365         Moved ...
32366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32367         ... here.
32368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32369         Moved ...
32370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32372         Moved ...
32373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32374         ... here.
32375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32376         Moved ...
32377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32378         ... here.
32379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32380         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32382         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32384         Moved ...
32385         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32386         ... here.
32387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32388         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32390         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32392         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32394         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32396         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32398         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32400         Moved ...
32401         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32403         Moved ...
32404         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32406         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32408         Moved ...
32409         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32411         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32412         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32413         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32414         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32415         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32417 2014-06-10  Wilco  <wdijkstr@arm.com>
32419         * math/test-fenv-return.c: New file.
32420         * math/Makefile: Add new test test-fenv-return.
32422 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
32424         [BZ #17042]
32425         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32426         when x - 1 is zero.
32427         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32428         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32429         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32430         0.0L for an argument of 1.0L.
32431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32432         Likewise.
32433         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32434         value when x - 1 is zero.
32435         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32436         * sysdeps/i386/fpu/libm-test-ulps: Update.
32437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32439 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
32441         [BZ #15119]
32442         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32444 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32446         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32447         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32449 2014-06-09  Roland McGrath  <roland@hack.frob.com>
32451         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32452         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32454         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32455         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32457         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32458         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32460         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32461         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32463         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32464         if not already defined.
32465         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32466         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32467         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32468         (TLS_INIT_TP): Use it.
32469         (TLS_DEFINE_INIT_TP): New macro.
32470         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32472 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
32474         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32475         constant.
32476         [POSIX] (IXANY): Likewise.
32477         [POSIX] (OLCUC): Likewise.
32478         [POSIX || POSIX2008] (CBAUD): Do not allow.
32479         [POSIX || POSIX2008] (DEFECHO): Likewise.
32480         [POSIX || POSIX2008] (ECHOCTL): Likewise.
32481         [POSIX || POSIX2008] (ECHOKE): Likewise.
32482         [POSIX || POSIX2008] (ECHOPRT): Likewise.
32483         [POSIX || POSIX2008] (EXTA): Likewise.
32484         [POSIX || POSIX2008] (EXTB): Likewise.
32485         [POSIX || POSIX2008] (FLUSHO): Likewise.
32486         [POSIX || POSIX2008] (LOBLK): Likewise.
32487         [POSIX || POSIX2008] (PENDIN): Likewise.
32488         [POSIX || POSIX2008] (SWTCH): Likewise.
32489         [POSIX || POSIX2008] (VDISCARD): Likewise.
32490         [POSIX || POSIX2008] (VDSUSP): Likewise.
32491         [POSIX || POSIX2008] (VLNEXT): Likewise.
32492         [POSIX || POSIX2008] (VREPRINT): Likewise.
32493         [POSIX || POSIX2008] (VSTATUS): Likewise.
32494         [POSIX || POSIX2008] (VWERASE): Likewise.
32495         (B*): Change to B[0123456789]*.
32496         * conform/data/time.h-data [POSIX || UNIX98]
32497         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32498         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32499         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32500         [POSIX] (tm_*): Do not allow.
32502 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
32504         * Makefile (install): Don't set LANGUAGE.
32505         * Makefile.in (install): Likewise.
32506         * assert/Makefile (test-assert-ENV): Remove variable.
32507         (test-assert-perr-ENV): Likewise.
32508         * elf/Makefile (neededtest4-ENV): Likewise.
32509         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32510         [$(cross-compiling) = no]: Don't set LANGUAGE.
32511         * io/ftwtest-sh (LANG): Remove variable.
32512         * libio/Makefile (tst-widetext-ENV): Likewise.
32513         * manual/install.texi (Running make install): Don't refer to
32514         environment settings for make install.
32515         * INSTALL: Regenerated.
32516         * nptl/tst-tls6.sh: Don't set LANG.
32517         * posix/globtest.sh (LANG): Remove variable.
32518         * string/Makefile (tester-ENV): Likewise.
32519         (inl-tester-ENV): Likewise.
32520         (noinl-tester-ENV): Likewise.
32521         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32522         [$(cross-compiling) = no]: Don't set LANGUAGE.
32523         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32524         without explicit environment settings.
32526 2014-06-06  Roland McGrath  <roland@hack.frob.com>
32528         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32529         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32530         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32531         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32533 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
32535         * crypt/crypt-private.h [DOS]: Add some includes taken from the
32536         other files in the crypt directory.
32537         * crypt/crypt.c: Remove duplicate includes.
32538         * crypt/crypt-entry.c: Likewise.
32539         * crypt/crypt_util.c: Likewise.
32541 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
32543         * Makeconfig (run-program-env): New variable.
32544         (run-program-prefix-before-env): Likewise.
32545         (run-program-prefix-after-env): Likewise.
32546         (run-program-prefix): Define in terms of new variables.
32547         (built-program-cmd-before-env): New variable.
32548         (built-program-cmd-after-env): Likewise.
32549         (built-program-cmd): Define in terms of new variables.
32550         (test-program-prefix-before-env): New variable.
32551         (test-program-prefix-after-env): Likewise.
32552         (test-program-prefix): Define in terms of new variables.
32553         (test-program-cmd-before-env): New variable.
32554         (test-program-cmd-after-env): Likewise.
32555         (test-program-cmd): Define in terms of new variables.
32556         * Rules (make-test-out): Use $(run-program-env).
32557         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32558         (help): Do not mention environment variables.  Mention
32559         --timeoutfactor option.
32560         (timeoutfactor): New variable.
32561         (blacklist_exports): Remove function.
32562         (exports): Remove variable.
32563         (command): Do not include ${exports}.
32564         * manual/install.texi (Configuring and compiling): Do not mention
32565         test wrappers preserving environment variables.  Mention that last
32566         assignment to a variable must take precedence.
32567         * INSTALL: Regenerated.
32568         * benchtests/Makefile (run-bench): Use $(run-program-env).
32569         * catgets/Makefile ($(objpfx)test1.cat): Use
32570         $(built-program-cmd-before-env), $(run-program-env) and
32571         $(built-program-cmd-after-env).
32572         ($(objpfx)test2.cat): Do not specify environment variables
32573         explicitly.
32574         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32575         $(run-program-env) and $(built-program-cmd-after-env).
32576         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32577         $(run-program-env) and $(test-program-cmd-after-env).
32578         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32579         explicitly.
32580         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32581         run_program_env and test_program_cmd_after_env arguments.
32582         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32583         * elf/tst-pathopt.sh: Use run_program_env argument.
32584         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32585         $(test-wrapper-env) and $(run-program-env).
32586         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32587         run_program_env arguments.
32588         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32589         * intl/Makefile ($(objpfx)tst-gettext.out): Use
32590         $(test-program-prefix-before-env), $(run-program-env) and
32591         $(test-program-prefix-after-env).
32592         ($(objpfx)tst-gettext2.out): Likewise.
32593         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32594         run_program_env and test_program_prefix_after_env arguments.
32595         * intl/tst-gettext2.sh: Likewise.
32596         * intl/tst-gettext4.sh: Do not set environment variables
32597         explicitly.
32598         * intl/tst-gettext6.sh: Likewise.
32599         * intl/tst-translit.sh: Likewise.
32600         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32601         $(test-program-prefix-before-env), $(run-program-env) and
32602         $(test-program-prefix-after-env).
32603         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32604         run_program_env and test_program_prefix_after_env arguments.
32605         * math/Makefile (run-regen-ulps): Use $(run-program-env).
32606         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32607         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
32608         explicitly with each use of ${test_wrapper_env}.
32609         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32610         $(test-program-prefix-before-env), $(run-program-env) and
32611         $(test-program-prefix-after-env).
32612         * posix/tst-getconf.sh: Do not set environment variables
32613         explicitly.
32614         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32615         run_program_env and test_program_prefix_after_env arguments.
32616         * stdio-common/tst-printf.sh: Do not set environment variables
32617         explicitly.
32618         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32619         $(test-program-prefix-before-env), $(run-program-env) and
32620         $(test-program-prefix-after-env).
32621         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32622         run_program_env and test_program_prefix_after_env arguments.
32623         Split $test calls into $test_pre and $test.
32624         * timezone/Makefile (build-testdata): Use
32625         $(built-program-cmd-before-env), $(run-program-env) and
32626         $(built-program-cmd-after-env).
32628 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32630         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32631         strlen for non SHARED builds.
32633 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32635         * nptl/allocatestack.c (check_list): Inlined function...
32636         (__reclaim_stacks): ... here.
32638 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32640         [BZ #15698]
32641         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32642         memory overrun.
32644 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
32646         * Rules (make-test-out): Include
32647         LOCPATH=$(common-objpfx)localedata in default environment.
32648         * debug/Makefile (tst-chk1-ENV): Remove variable.
32649         (tst-chk2-ENV): Likewise.
32650         (tst-chk3-ENV): Likewise.
32651         (tst-chk4-ENV): Likewise.
32652         (tst-chk5-ENV): Likewise.
32653         (tst-chk6-ENV): Likewise.
32654         (tst-lfschk1-ENV): Likewise.
32655         (tst-lfschk2-ENV): Likewise.
32656         (tst-lfschk3-ENV): Likewise.
32657         (tst-lfschk4-ENV): Likewise.
32658         (tst-lfschk5-ENV): Likewise.
32659         (tst-lfschk6-ENV): Likewise.
32660         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32661         (tst-iconv7-ENV): Likewise.
32662         * intl/Makefile (LOCPATH-ENV): Likewise.
32663         (tst-codeset-ENV): Likewise.
32664         (tst-gettext3-ENV): Likewise.
32665         (tst-gettext5-ENV): Likewise.
32666         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32667         (tst-fopenloc-ENV): Likewise.
32668         (tst-fgetws-ENV): Remove variable.
32669         (tst-ungetwc1-ENV): Likewise.
32670         (tst-ungetwc2-ENV): Likewise.
32671         (bug-ungetwc2-ENV): Likewise.
32672         (tst-swscanf-ENV): Likewise.
32673         (bug-ftell-ENV): Likewise.
32674         (tst-fgetwc-ENV): Likewise.
32675         (tst-fseek-ENV): Likewise.
32676         (tst-ftell-partial-wide-ENV): Likewise.
32677         (tst-ftell-active-handler-ENV): Likewise.
32678         (tst-ftell-append-ENV): Likewise.
32679         * posix/Makefile (tst-fnmatch-ENV): Likewise.
32680         (tst-regexloc-ENV): Likewise.
32681         (bug-regex1-ENV): Likewise.
32682         (tst-regex-ENV): Likewise.
32683         (tst-regex2-ENV): Likewise.
32684         (bug-regex5-ENV): Likewise.
32685         (bug-regex6-ENV): Likewise.
32686         (bug-regex17-ENV): Likewise.
32687         (bug-regex18-ENV): Likewise.
32688         (bug-regex19-ENV): Likewise.
32689         (bug-regex20-ENV): Likewise.
32690         (bug-regex22-ENV): Likewise.
32691         (bug-regex23-ENV): Likewise.
32692         (bug-regex25-ENV): Likewise.
32693         (bug-regex26-ENV): Likewise.
32694         (bug-regex30-ENV): Likewise.
32695         (bug-regex32-ENV): Likewise.
32696         (bug-regex33-ENV): Likewise.
32697         (bug-regex34-ENV): Likewise.
32698         (bug-regex35-ENV): Likewise.
32699         (tst-rxspencer-ENV): Likewise.
32700         (tst-rxspencer-no-utf8-ENV): Likewise.
32701         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32702         (tst-sscanf-ENV): Likewise.
32703         (tst-swprintf-ENV): Likewise.
32704         (tst-swscanf-ENV): Likewise.
32705         (test-vfprintf-ENV): Likewise.
32706         (scanf13-ENV): Likewise.
32707         (bug14-ENV): Likewise.
32708         (tst-grouping-ENV): Likewise.
32709         * stdlib/Makefile (tst-strtod-ENV): Likewise.
32710         (tst-strtod3-ENV): Likewise.
32711         (tst-strtod4-ENV): Likewise.
32712         (tst-strtod5-ENV): Likewise.
32713         (testmb2-ENV): Likewise./
32714         * string/Makefile (tst-strxfrm-ENV): Likewise.
32715         (tst-strxfrm2-ENV): Likewise.
32716         (bug-strcoll1-ENV): Likewise.
32717         (test-strcasecmp-ENV): Likewise.
32718         (test-strncasecmp-ENV): Likewise.
32719         * time/Makefile (tst-strptime-ENV): Likewise.
32720         (tst-ftime_l-ENV): Likewise.
32721         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32722         (tst-mbrtowc-ENV): Likewise.
32723         (tst-wcrtomb-ENV): Likewise.
32724         (tst-mbrtowc2-ENV): Likewise.
32725         (tst-c16c32-1-ENV): Likewise.
32726         (tst-mbsnrtowcs-ENV): Likewise.
32728 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
32730         * manual/resource.texi (How to get information about the memory
32731         subsystem?): Fix typo.
32732         Reported by Peon de la Parra Ivan <peon@keba.com>
32734 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
32736         [BZ #16882]
32737         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32738         (pthread_spin_lock): Branch out of spin loop to proper location.
32739         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32740         (pthread_spin_lock): Likewise.
32742         * nptl/tst-spin4.c: New test.
32743         * nptl/Makefile (tests): Add tst-spin4.
32745 2014-06-03  Andreas Schwab  <schwab@suse.de>
32747         [BZ #15946]
32748         * resolv/res_send.c (send_dg): Reload file descriptor after
32749         calling reopen.
32751 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
32753         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32755 2014-06-03  Richard Henderson  <rth@redhat.com>
32757         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32758         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32759         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32760         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
32761         in the SAVE_PID block.
32762         (__libc_vfork): New alias.
32763         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32765         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32766         child in registers, not on the stack.  Remove RESET_PID conditionals.
32767         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32769 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32771         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32773 2014-06-03  Wilco  <wdijkstr@arm.com>
32775         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32776         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32777         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32778         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32779         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32780         Likewise.
32782 2014-06-03  Wilco  <wdijkstr@arm.com>
32784         * sysdeps/aarch64/fpu/math_private.h
32785         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32786         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32787         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32788         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32789         Fix declarations.
32791 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32793         * crypt/crypt-private.h: Include ufc-crypt.h.
32794         (__b64_from_24bit): Declare extern.
32795         * crypt/crypt_util.c(__b64_from_24bit): New function.
32796         (b64t): New static const variable.
32797         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32798         (b64t): Remove variable.
32799         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32800         * crypt/sha256-crypt.c: Include crypt-private.h.
32801         (b64t): Remove variable.
32802         (__sha256_crypt_r): Remove b64_from_24bit and replace
32803         with __b64_from_24bit.
32804         * crypt/sha512-crypt.c: Likewise.
32806 2014-06-02  Roland McGrath  <roland@hack.frob.com>
32808         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32809         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32810         Label the code __libc_vfork rather than __vfork.
32811         [!NOT_IN_libc] (vfork): Define as weak alias.
32812         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32813         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32814         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32816 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32818         * malloc/malloc.c (malloc_info): Fix format specifier for
32819         n_mmaps.
32821 2014-06-02  Wilco  <wdijkstr@arm.com>
32823         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32824         FPCR write.
32826 2014-06-02  Wilco  <wdijkstr@arm.com>
32828         [BZ #17009]
32829         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32830         Rewrite to reduce FPCR/FPSR accesses.
32832 2014-06-01  David S. Miller  <davem@davemloft.net>
32834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32836 2014-05-31  David S. Miller  <davem@davemloft.net>
32838         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32839         to occur in round to nearest mode when |x| >= 2.0
32841 2014-05-30  Richard Henderson  <rth@twiddle.net>
32843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
32844         (PSEUDO_RET_NOERRNO): Remove.
32845         (ret): Don't redefine.
32846         (ret_NOERRNO): Define in terms of ret.
32847         (ret_ERRVAL): Likewise.
32849         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
32850         use of PSEUDO_RET; perform the error check directly.
32852 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
32854         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
32855         with __int128_t.
32857 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32859         * malloc/malloc (malloc_info): Fix formatting.
32861 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32862             Roland McGrath  <roland@hack.frob.com>
32864         * malloc/malloc (malloc_info): Also print mmapped statistics.
32866 2014-05-30  Roland McGrath  <roland@hack.frob.com>
32868         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
32869         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
32871 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
32873         * malloc/malloc.c (malloc_info): Inline mi_arena.
32875 2014-05-29  Richard Henderson  <rth@twiddle.net>
32877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
32878         Remove comma before expanding ASM_ARGS_##nr.
32879         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
32880         Make _x0 a strict output; make _x8 a strict input; adjust expansion
32881         of ASM_ARGS_##nr.
32882         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
32883         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
32884         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
32885         (ASM_ARGS_1): Add leading comma.
32887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
32888         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
32889         to __errno_location.
32890         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
32891         Remove the expected plt for __errno_location.
32893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32894         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
32895         call to __read_tp.
32897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32898         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
32899         it and break it down.
32900         (DOCARGS_0, DOCARGS_1): Do nothing.
32901         (DOCARGS_2): Update to store into the new stack frame.
32902         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
32903         (UNDOCARGS_1): Update to restore from the new stack frame.
32904         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
32905         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
32907         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
32908         (SINGLE_THREAD_P): New parameter for result regno.
32909         (PSEUDO): Update to match; use cbz instead of beq.
32911         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
32912         Use ENTRY to define the _nocancel entry point.  Share the syscall
32913         and syscall error check paths with the cancel path.
32914         (PSEUDO_END): New.
32916         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
32917         whitespace; tabs before and after asm mnemonics.
32919 2014-05-29  Eric Wong  <normalperson@yhbt.net>
32921         [BZ #15132]
32922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32923         Call fstat64 or stat64 internally, depending on arguments passed.
32924         Replace stat buffer argument with file descriptor argument.
32925         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
32926         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32927         Pass fd to __internal_statvfs instead of calling fstat64.
32928         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
32929         Pass fd to __internal_statvfs64 instead of calling fstat64.
32930         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
32931         Pass -1 to __internal_statvfs instead of calling stat64.
32932         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
32933         Pass -1 to __internal_statvfs64 instead of calling stat64.
32935 2014-05-28  Roland McGrath  <roland@hack.frob.com>
32937         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
32938         that was previously under [RESET_PID].
32939         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
32941         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
32942         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
32944 2014-05-27  Roland McGrath  <roland@hack.frob.com>
32946         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
32948         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
32949         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
32951 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
32953         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
32955 2014-05-27  Andreas Schwab  <schwab@suse.de>
32957         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
32958         TLS_INIT_TP macro.
32959         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
32960         * elf/rtld.c (init_tls, dl_main): Likewise.
32961         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
32962         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
32963         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
32964         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
32965         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
32966         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
32967         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
32968         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
32969         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
32970         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
32971         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
32972         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
32973         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
32974         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
32975         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
32976         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
32977         * sysdeps/generic/tls.h: Update description.
32979 2014-05-27  Will Newton  <will.newton@linaro.org>
32981         [BZ #16990]
32982         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
32983         and restore r2 rather than just restoring.
32985 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32987         [BZ #16724]
32988         * libio/tst-ftell-append.c: New test case.
32989         * libio/Makefile (tests): Add test case.
32990         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
32991         append mode.
32992         * libio/wfileops.c (do_ftell_wide): Likewise.
32994 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32998         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
32999         ...
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33002         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33003         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33005         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33006         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33009         Moved ...
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33012         Moved ...
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33014         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33015         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33016         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33017         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33018         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33019         ...
33020         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33021         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33022         Moved ...
33023         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33024         here.
33025         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33026         ...
33027         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33028         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33029         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33031         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33032         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33033         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33034         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33037         merge into ...
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33040         ...
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33043         ...
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33046         Moved ...
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33048         here.
33049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33050         Moved ...
33051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33053         Moved ...
33054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33057         conditional [RESET_PID].
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33060         removed.
33061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33062         removed.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33065         <tcb-offsets.h>.
33066         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33067         (__libc_vfork): New strong alias.
33068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33069         removed.
33070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33071         Removed.
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33074         <tcb-offsets.h>.
33075         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33076         (__libc_vfork): New strong alias.
33077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33078         removed.
33079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33080         removed.
33082 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33084         * malloc/malloc.c (mi_arena): New function.
33085         (malloc_info): Remove nested function mi_arena. Call non-nosted
33086         function mi_arena.
33088 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33090         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33091         by insrwi.
33092         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33093         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33094         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33095         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33096         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33097         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33098         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33100 2014-05-26  Andreas Schwab  <schwab@suse.de>
33102         [BZ #16984]
33103         * locale/programs/repertoire.c (repertoire_read): Add slash
33104         between I18NPATH element and file name.
33105         * locale/programs/locfile.c (locfile_read): Likewise.
33107 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33109         * nptl/pthread_mutexattr_settype.c
33110         (__pthread_mutexattr_settype):
33111         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33113 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33115         * nptl/tst-mutex5 (do_test):
33116         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33118 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33120         * benchtests/README: Document 'init' directive.
33121         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33122         BENCH_INIT.
33123         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33124         (parse_file): Recognize 'init' directive.
33126 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33128         [BZ #16796]
33129         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33130         alignment of struct pthread.
33132 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33134         [BZ #16878]
33135         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33136         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33137         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33138         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33140 2014-05-25  Richard Henderson  <rth@twiddle.net>
33142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33143         (SINGLE_THREAD_P_PIC): Remove.
33144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33145         (SINGLE_THREAD_P_PIC): Remove.
33147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33148         branch to syscall error ...
33149         (PSEUDO): ... here.
33150         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33151         from __local_syscall_error to .Lsyscall_error.
33152         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33153         (SYSCALL_ERROR): Update label name.
33155         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33156         Do not use DOARGS/UNDOARGS.
33157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33158         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33159         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33160         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33161         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33164         block comment.
33166         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33167         define if !NOT_IN_libc.
33168         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33169         define with non-default symbol versions.
33171 2014-05-23  Richard Henderson  <rth@twiddle.net>
33173         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33174         (vfork, __vfork): Define via compat_symbol.
33176         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33177         [!HAVE_IFUNC] (vfork_compat): Remove.
33178         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33180 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33182         [BZ #16978]
33183         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33184         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33185         variable.
33187 2014-05-23  Richard Henderson  <rth@twiddle.net>
33189         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33190         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33191         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33192         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33194         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33195         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33196         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33197         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33198         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33199         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33200         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33201         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33202         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33203         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33204         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33205         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33206         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33207         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33208         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33209         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33210         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33211         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33212         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33213         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33214         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33215         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33216         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33217         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33218         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33219         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33220         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33221         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33222         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33223         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33224         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33225         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33226         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33227         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33228         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33229         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33230         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33231         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33232         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33233         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33234         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33235         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33236         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33237         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33238         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33239         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33240         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33241         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33242         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33243         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33245         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33247         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33249         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33251         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33252         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33253         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33254         before exiting on error.
33255         (__libc_vfork): New strong alias.
33256         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33257         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33259         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33260         that was previously under [RESET_PID].
33261         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33263         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33265 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33267         [BZ #16977]
33268         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33269         value when x - 1 is zero.
33270         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33271         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33272         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33273         0.0L for an argument of 1.0L.
33274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33275         Likewise.
33276         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33277         value when x - 1 is zero.
33278         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33279         * sysdeps/i386/fpu/libm-test-ulps: Update.
33280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33282 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33284         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33285         alphasort and versionsort.
33287 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33289         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33290         macro.
33291         [copysignf]: Likewise.
33293 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33295         * crypt/md5-crypt.c: Fix formatting.
33297 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33299         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33300         (b64_from_24bit): New function.
33302 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33304         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33305         libc_hidden_builtin_def to ifunc.
33306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33307         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33309 2014-05-21  Roland McGrath  <roland@hack.frob.com>
33311         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33312         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33314 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
33316         * nscd/Depend (linuxthreads): Remove.
33317         (nptl): Add.
33318         * resolv/Depend (linuxthreads): Remove.
33319         * rt/Depend (linuxthreads): Remove.
33321         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33322         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33323         $(common-objpfx)elf/.
33324         (link-libc-before-gnulib): Likewise.
33325         (elfobjdir): Remove variable.
33326         * Makefile (install): Use $(elf-objpfx) instead of
33327         $(common-objpfx)elf/.
33328         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33329         $(elfobjdir)/.
33330         (link-libc-deps): Likewise.
33331         ($(common-objpfx)libc.so): Likewise.
33332         ($(common-objpfx)linkobj/libc.so): Likewise.
33333         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33334         instead of $(common-objpfx)elf/.
33335         (symbolic-link-list): Likewise.
33336         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33337         [$(cross-compiling) = no]: Likewise.
33338         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33339         $(elfobjdir)/.
33340         (static-gnulib-arch): Likewise.
33341         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33342         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33343         $(common-objpfx)elf/.
33345 2014-05-21  Richard Henderson  <rth@redhat.com>
33347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33348         (SINGLE_THREAD_P): Use the correct width load.  Fold
33349         into the ldr offset.
33351         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33352         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33354 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
33356         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33357         (libgcc_s_resume): Use __attribute_used__.
33358         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33359         Likewise.
33361 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33363         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33364         optimization when used with float constants.
33366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33368 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
33370         [BZ #16915]
33371         * locale/nl_langinfo_l.c: Make direct reference to every
33372         _nl_current_CATEGORY symbol.
33373         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33374         (tests-static): Add tst-langinfo-static.
33375         (tests-special): Add tst-langinfo-static.out.
33376         ($(objpfx)tst-langinfo.out): Redirect output.
33377         ($(objpfx)tst-langinfo-static.out): New.
33378         * localedata/tst-langinfo.sh: Send output to stdout.
33379         * localedata/tst-langinfo-static.c: New file.
33381         [BZ #16965]
33382         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33383         when the shift amount is modulo the limb size.
33385 2014-05-20  Richard Henderson  <rth@redhat.com>
33387         [BZ #16967]
33388         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33389         Change type of sa_flags from unsigned int to int.
33391         [BZ #16966]
33392         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33394         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33396 2014-05-20  Will Newton  <will.newton@linaro.org>
33398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33399         Test the return value of the system call in the nocancel case.
33401 2014-05-20  Will Newton  <will.newton@linaro.org>
33402             Yvan Roux  <yvan.roux@linaro.org>
33404         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33405         #include of asm/ptrace.h.
33406         (PTRACE_GET_THREAD_AREA): Remove #undef.
33407         (PTRACE_GETHBPREGS): Likewise.
33408         (PTRACE_SETHBPREGS): Likewise.
33409         (struct user_regs_struct): New structure.
33410         (struct user_fpsimd_struct): New structure.
33411         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33412         #include of asm/ptrace.h and second #include of sys/user.h.
33413         (PTRACE_GET_THREAD_AREA): Remove #undef.
33414         (PTRACE_GETHBPREGS): Likewise.
33415         (PTRACE_SETHBPREGS): Likewise.
33416         (ELF_NGREG): Use new struct user_regs_struct.
33417         (elf_fpregset_t): Use new struct user_fpsimd_struct.
33419 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33424 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
33426         [BZ #16958]
33427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33428         membar to avoid block loads/stores to overlap previous stores.
33430 2014-05-17  Richard Henderson  <rth@redhat.com>
33432         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33433         Create the __##syscall_name##_nocancel entry point.
33434         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33435         Remove; let the sysdep-cancel.h code create it.
33437 2014-05-17  David S. Miller  <davem@davemloft.net>
33439         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33440         Protect with __USE_GNU.
33441         (TIOCSET_TEMPT): Likewise.
33442         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33443         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33444         these are already provided in bits/ioctl-types.h
33446 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33448         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33449         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33451         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33452         Use wait4 regardless of [__NR_waitpid].
33454 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
33456         PR libgcc/60166
33457         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33458         (_FP_NANSIGN_Q): Set the quiet bit.
33460 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
33462         * benchtests/Makefile
33463         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33464         not $(common-objpfx)math/libm.so.
33465         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33466         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33467         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33468         $(common-objpfx)dlfcn/libdl.so.
33469         ($(objpfx)tst-audit8): Depend on $(libm), not
33470         $(common-objpfx)math/libm.so.
33471         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33472         not $(common-objpfx)dlfcn/libdl.so.
33473         * math/Makefile
33474         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33475         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
33476         [$(build-shared) = yes].
33477         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33478         $(common-objpfx)nptl/libpthread.so.
33479         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33480         $(common-objpfx)math/libm.so$(libm.so-version) or
33481         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33482         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33483         $(common-objpfx)dlfcn/libdl.so.
33484         * setjmp/Makefile (link-libm): Remove variable.
33485         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33486         * stdio-common/Makefile (link-libm): Remove variable.
33487         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33488         * stdlib/Makefile (link-libm): Remove variable.
33489         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33490         ($(objpfx)tst-strtod-round): Likewise.
33491         ($(objpfx)tst-tininess): Likewise.
33492         ($(objpfx)tst-strtod-underflow): Likewise.
33493         ($(objpfx)tst-strtod6): Likewise.
33494         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33495         $(libdl), not $(common-objpfx)nptl/libpthread.so and
33496         $(common-objpfx)dlfcn/libdl.so.
33498 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33500         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33501         BSD terminal modes definitions.
33503 2014-05-16  Roland McGrath  <roland@hack.frob.com>
33505         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33506         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33508         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33509         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33510         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33511         Don't do #include_next.
33512         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33513         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33514         Don't do #include_next.
33515         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33516         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33517         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33518         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33520 2014-05-16  Allan McRae  <allan@archlinux.org>
33522         * po/sv.po: Update Swedish translation from translation project.
33524         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33525         in sed expression.
33527 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
33529         [BZ #16917]
33530         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33531         errno if the TIOCGPTN ioctl fails with an error different than
33532         EINVAL.
33533         * login/tst-ptsname.c: New file.
33534         * login/Makefile (tests): Add tst-ptsname.
33536         [BZ #16943]
33537         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33538         and prlimit64.
33540 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33542         [BZ #16849]
33543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33544         herrno to return EAI_AGAIN.
33546 2014-05-14  Roland McGrath  <roland@hack.frob.com>
33548         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33549         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33550         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33551         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33552         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33555         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33559         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33560         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33561         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33562         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33563         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33564         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33565         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33566         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33567         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33569         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33571         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33572         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33573         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33574         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33575         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33576         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33577         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33579         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33581         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33583         Moved ...
33584         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33586         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33588         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33590         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33592         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33596         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33598         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33600         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33602         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33604         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33606         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33608         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33610         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33612         Moved ...
33613         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33615         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33617         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33619         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33621         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33623         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33625         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33627         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33629         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33631         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33633         Moved ...
33634         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33636         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33638         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33639         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33640         (libpthread-sysdep_routines): Add elision-related stuff here instead.
33641         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33642         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33643         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33644         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33645         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33646         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33647         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33648         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33649         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33650         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33651         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33652         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33653         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33654         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33655         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33656         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33657         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33658         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33659         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33660         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33661         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33662         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33663         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33664         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33665         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33666         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33667         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33668         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33670         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33671         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33673         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33674         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33675         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33677         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33678         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33679         Moved ...
33680         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33682         Moved ...
33683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33685         Moved ...
33686         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33688         Moved ...
33689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33690         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33691         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33693         Moved ...
33694         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33695         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33696         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33698         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33699         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33700         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33702         Moved ...
33703         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33705         Moved ...
33706         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33707         ... here.
33708         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33709         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33710         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33711         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33713         Moved ...
33714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33715         ... here.
33716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33717         Moved ...
33718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33719         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33720         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33722         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33723         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33730         Moved ...
33731         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33733         Moved ...
33734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33735         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33736         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33738         Moved ...
33739         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33740         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33741         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33743         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33744         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33745         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33747         Moved ...
33748         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33750         Moved ...
33751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33752         ... here.
33753         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33754         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33755         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33756         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33758         Moved ...
33759         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33760         ... here.
33761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33762         Moved ...
33763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33764         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33765         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33766         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33767         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33768         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33770         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33771         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33773         Moved ...
33774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33775         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33776         Moved ...
33777         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33782         Moved ...
33783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33784         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33785         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33786         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33787         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33789         Moved ...
33790         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33791         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33792         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33794         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33795         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33796         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33798         Moved ...
33799         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33801         Moved ...
33802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33803         ... here.
33804         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33805         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33806         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33807         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33809         Moved ...
33810         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33811         ... here.
33812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33815         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33816         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33817         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33818         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33819         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33820         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33821         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33822         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33823         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33824         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33826         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33827         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33829         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33830         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33832         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33833         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33834         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33835         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33836         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33837         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33838         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33839         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33840         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33841         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33843         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
33844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
33845         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
33846         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
33847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
33848         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
33849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
33850         Moved ...
33851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
33852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
33853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
33854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
33855         Moved ...
33856         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
33857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
33858         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
33859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
33860         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
33861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
33862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
33864         Moved ...
33865         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
33866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
33867         Moved ...
33868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
33870         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
33872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
33873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
33874         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
33875         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
33876         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
33877         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
33878         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
33879         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
33880         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
33881         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
33882         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
33883         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
33884         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
33886         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
33887         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
33888         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
33889         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
33890         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
33892         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
33893         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
33894         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
33895         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
33896         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
33897         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
33898         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
33899         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
33900         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
33901         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
33903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
33904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
33906         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
33907         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
33908         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
33909         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
33910         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
33911         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
33912         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
33913         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
33914         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
33915         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
33916         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
33917         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
33918         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
33919         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
33920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
33921         Update #include.
33922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
33923         Likewise.
33924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33925         Likewise.
33926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33927         Likewise.
33928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33929         Likewise.
33930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
33931         Likewise.
33932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
33933         Likewise.
33934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33935         Likewise.
33936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
33937         Likewise.
33938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
33939         Likewise.
33940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
33941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
33942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
33943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
33944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
33945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
33946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
33947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
33948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
33949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
33950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
33951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
33952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
33953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
33954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
33956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
33957         that was previously under [RESET_PID].
33958         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33959         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
33960         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
33962         * sysdeps/i386/nptl/Implies: New file.
33963         * sysdeps/x86_64/nptl/Implies: New file.
33964         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
33965         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
33966         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
33967         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
33969         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
33970         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33971         (__libc_vfork): New strong alias.
33972         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
33973         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
33975         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
33976         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33977         (__libc_vfork): New strong alias.
33978         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
33979         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
33981         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
33982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33983         (__libc_vfork): New strong alias.
33984         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
33985         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
33986         * nptl/pt-vfork.c: New file.
33987         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
33988         (libpthread: GLIBC_2.20): New version set (empty).
33990 2014-05-14  Will Newton  <will.newton@linaro.org>
33992         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
33993         rather than #if.
33995 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
33997         [BZ #16564]
33998         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
33999         arguments with exponent 65 or above.
34000         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34001         arguments 0x1p113L or above.
34002         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34003         to arguments 0x1p107L or above.
34004         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34005         positive arguments with exponent 65 or above.
34006         * math/auto-libm-test-in: Add more tests of log1p.
34007         * math/auto-libm-test-out: Regenerated.
34009         [BZ #16928]
34010         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34011         non-finite arguments is +0.
34012         * math/s_cacosf.c (__cacosf): Likewise.
34013         * math/s_cacosl.c (__cacosl): Likewise.
34014         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34015         * sysdeps/i386/fpu/libm-test-ulps: Update.
34016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34018         [BZ #16927]
34019         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34020         value.
34021         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34022         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34023         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34024         for explicit high bit of mantissa when testing for argument equal
34025         to 1.
34026         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34027         * sysdeps/i386/fpu/libm-test-ulps: Update.
34028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34030         [BZ #16516]
34031         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34032         (__erf): Scale by 16 instead of 8 in potentially underflowing
34033         case.  Ensure exception if result actually underflows.
34034         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34035         (__erff): Scale by 16 instead of 8 in potentially underflowing
34036         case.  Ensure exception if result actually underflows.
34037         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34038         (efx8): Remove variable.
34039         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34040         case.  Ensure exception if result actually underflows.
34041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34042         (efx8): Remove variable.
34043         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34044         case.  Ensure exception if result actually underflows.
34045         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34046         (efx8): Remove variable.
34047         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34048         case.  Ensure exception if result actually underflows.
34049         * math/auto-libm-test-in: Add more tests of erf.
34050         * math/auto-libm-test-out: Regenerated.
34052 2014-05-14  Andreas Schwab  <schwab@suse.de>
34054         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34055         Remove code conditionalized on USE___THREAD.
34057         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34058         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34059         not definedness.
34061 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34064         Define unconditionally.
34065         (__ASSUME_O_CLOEXEC): Likewise.
34066         (__ASSUME_SOCK_CLOEXEC): Likewise.
34067         (__ASSUME_IN_NONBLOCK): Likewise.
34068         (__ASSUME_PIPE2): Likewise.
34069         (__ASSUME_EVENTFD2): Likewise.
34070         (__ASSUME_SIGNALFD4): Likewise.
34071         (__ASSUME_DUP3): Likewise.
34072         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34073         (__ASSUME_DUP3): Do not define.
34074         (__ASSUME_EVENTFD2): Likewise.
34075         (__ASSUME_IN_NONBLOCK): Likewise.
34076         (__ASSUME_O_CLOEXEC): Likewise.
34077         (__ASSUME_PIPE2): Likewise.
34078         (__ASSUME_SIGNALFD4): Likewise.
34079         (__ASSUME_SOCK_CLOEXEC): Likewise.
34080         (__ASSUME_UTIMES): Undefine.
34081         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34082         (__ASSUME_UTIMES): Do not define.
34083         (__ASSUME_O_CLOEXEC): Likewise.
34084         (__ASSUME_SOCK_CLOEXEC): Likewise.
34085         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34086         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34087         0x020621].
34088         (__ASSUME_PIPE2): Likewise.
34089         (__ASSUME_EVENTFD2): Likewise.
34090         (__ASSUME_SIGNALFD4): Likewise.
34091         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34092         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34093         Do not define.
34094         (__ASSUME_EVENTFD2): Likewise.
34095         (__ASSUME_SIGNALFD4): Likewise.
34096         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34097         (__ASSUME_32BITUIDS): Likewise.
34098         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34099         (__ASSUME_IPC64): Likewise.
34100         (__ASSUME_ST_INO_64_BIT): Likewise.
34101         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34102         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34103         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34104         (__ASSUME_UTIMES): Do not define.
34105         (__ASSUME_PSELECT): Likewise.
34106         (__ASSUME_PPOLL): Likewise.
34107         (__ASSUME_O_CLOEXEC): Likewise.
34108         (__ASSUME_SOCK_CLOEXEC): Likewise.
34109         (__ASSUME_IN_NONBLOCK): Likewise.
34110         (__ASSUME_PIPE2): Likewise.
34111         (__ASSUME_EVENTFD2): Likewise.
34112         (__ASSUME_SIGNALFD4): Likewise.
34113         (__ASSUME_DUP3): Likewise.
34114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34115         (__ASSUME_UTIMES): Likewise.
34116         (__ASSUME_O_CLOEXEC): Likewise.
34117         (__ASSUME_SOCK_CLOEXEC): Likewise.
34118         (__ASSUME_IN_NONBLOCK): Likewise.
34119         (__ASSUME_PIPE2): Likewise.
34120         (__ASSUME_EVENTFD2): Likewise.
34121         (__ASSUME_SIGNALFD4): Likewise.
34122         (__ASSUME_DUP3): Likewise.
34123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34124         (__ASSUME_UTIMES): Likewise.
34125         (__ASSUME_O_CLOEXEC): Likewise.
34126         (__ASSUME_SOCK_CLOEXEC): Likewise.
34127         (__ASSUME_IN_NONBLOCK): Likewise.
34128         (__ASSUME_PIPE2): Likewise.
34129         (__ASSUME_EVENTFD2): Likewise.
34130         (__ASSUME_SIGNALFD4): Likewise.
34131         (__ASSUME_DUP3): Likewise.
34132         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34133         Likewise.
34134         (__ASSUME_UTIMES): Likewise.
34135         (__ASSUME_EVENTFD2): Likewise.
34136         (__ASSUME_SIGNALFD4): Likewise.
34137         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34138         (__ASSUME_O_CLOEXEC): Likewise.
34139         (__ASSUME_SOCK_CLOEXEC): Likewise.
34140         (__ASSUME_IN_NONBLOCK): Likewise.
34141         (__ASSUME_PIPE2): Likewise.
34142         (__ASSUME_EVENTFD2): Likewise.
34143         (__ASSUME_SIGNALFD4): Likewise.
34144         (__ASSUME_DUP3): Likewise.
34145         (__ASSUME_UTIMES): Undefine.
34147         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34148         feclearexcept.  Remove symbol versioning code.
34149         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34150         symbol versioning code.
34151         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34152         symbol versioning code.
34153         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34154         feupdateenv.  Remove symbol versioning code.
34155         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34156         fegetexceptflag.  Remove symbol versioning code.
34157         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34158         fesetexceptflag.  Remove symbol versioning code.
34159         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34160         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34161         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34162         (__posix_fadvise64_l32): Remove prototype.
34163         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34164         code.
34166 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34168         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34169         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34170         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34171         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34173 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34175         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34176         current working directory
34178 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34180         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34181         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34182         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34183         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34184         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34185         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34186         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34187         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34188         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34189         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34190         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34191         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34192         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34193         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34194         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34195         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34196         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34197         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34198         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34199         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34200         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34201         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34202         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34203         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34204         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34205         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34206         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34207         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34209         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34210         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34211         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34212         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34213         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34214         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34215         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34216         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34217         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34218         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34219         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34220         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34221         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34223         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34224         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34226         * sysdeps/unix/sysv/linux/arm/Makefile
34227         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34228         Add rt-aeabi_unwind_cpp_pr1.
34229         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34230         Add nptl-aeabi_unwind_cpp_pr1.
34231         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34232         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34233         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34234         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34235         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34236         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34238         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34239         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34240         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34241         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34243         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34244         Deconditionalize the code that was previously under [RESET_PID].
34245         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34247         * sysdeps/generic/exit-thread.h: New file.
34248         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34249         * include/unistd.h (__exit_thread): Remove declaration.
34250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34251         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34252         * csu/libc-start.c: Include <exit-thread.h>.
34253         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34254         * nptl/pthread_create.c: Include <exit-thread.h>.
34255         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34256         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34257         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34258         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34259         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34260         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34261         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34262         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34263         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34264         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34265         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34266         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34267         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34268         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34269         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34270         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34271         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34273 2014-05-13  Andreas Schwab  <schwab@suse.de>
34275         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34277 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34279         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34280         (__ASSUME_UTIMES): Do not condition on kernel version.
34281         (__ASSUME_PSELECT): Define unconditionally.
34282         (__ASSUME_PPOLL): Likewise.
34283         (__ASSUME_ATFCTS): Likewise.
34284         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34285         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34286         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34287         (__ASSUME_UTIMENSAT): Define unconditionally.
34288         (__ASSUME_PRIVATE_FUTEX): Likewise.
34289         (__ASSUME_FALLOCATE): Likewise.
34290         (__ASSUME_O_CLOEXEC): Likewise.
34291         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34292         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34293         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34294         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34295         (__ASSUME_IN_NONBLOCK): Likewise.
34296         (__ASSUME_PIPE2): Likewise.
34297         (__ASSUME_EVENTFD2): Likewise.
34298         (__ASSUME_SIGNALFD4): Likewise.
34299         (__ASSUME_DUP3): Likewise.
34300         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34301         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34302         (__ASSUME_AT_RANDOM): Likewise.
34303         (__ASSUME_PREADV): Likewise.
34304         (__ASSUME_PWRITEV): Likewise.
34305         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34306         (__ASSUME_F_GETOWN_EX): Define unconditionally.
34307         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34308         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34309         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34311         (__ASSUME_O_CLOEXEC): Define unconditionally.
34312         (__ASSUME_PSELECT): Do not undefine conditionally.
34313         (__ASSUME_PPOLL): Likewise.
34314         (__ASSUME_ATFCTS): Likewise.
34315         (__ASSUME_SET_ROBUST_LIST): Likewise.
34316         (__ASSUME_UTIMENSAT): Likewise.
34317         (__ASSUME_FDATASYNC): Define unconditionally.
34318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34319         (__ASSUME_SIGFRAME_V2): Likewise.
34320         )__ASSUME_EVENTFD2): Likewise.
34321         (__ASSUME_SIGNALFD4): Likewise.
34322         (__ASSUME_PSELECT): Do not undefine conditionally.
34323         (__ASSUME_PPOLL): Likewise.
34324         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34325         (__ASSUME_PSELECT): Define unconditionally.
34326         (__ASSUME_PPOLL): Likewise.
34327         (__ASSUME_O_CLOEXEC): Likewise.
34328         (__ASSUME_SOCK_CLOEXEC): Likewise.
34329         (__ASSUME_IN_NONBLOCK): Likewise.
34330         (__ASSUME_PIPE2): Likewise.
34331         (__ASSUME_EVENTFD2): Likewise.
34332         (__ASSUME_SIGNALFD4): Likewise.
34333         (__ASSUME_DUP3): Likewise.
34334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34335         (__ASSUME_O_CLOEXEC): Likewise.
34336         (__ASSUME_SOCK_CLOEXEC): Likewise.
34337         (__ASSUME_IN_NONBLOCK): Likewise.
34338         (__ASSUME_PIPE2): Likewise.
34339         (__ASSUME_EVENTFD2): Likewise.
34340         (__ASSUME_SIGNALFD4): Likewise.
34341         (__ASSUME_DUP3): Likewise.
34342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
34343         (__ASSUME_EVENTFD2): Likewise.
34344         (__ASSUME_SIGNALFD4): Likewise.
34345         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34347 2014-05-12  Andreas Schwab  <schwab@suse.de>
34349         [BZ #16932]
34350         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34351         (_nss_nis_gethostbyname4_r): Return error if item length is larger
34352         than maximum RPC packet size.
34353         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34354         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34355         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34356         (_nss_nis_getservbyport_r): Likewise.
34358 2014-05-12  Will Newton  <will.newton@linaro.org>
34360         * malloc/Makefile (tests): Add tst-mallopt.
34361         * malloc/tst-mallopt.c: New file.
34363 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34365         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34366         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34368 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34370         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34371         (tst-tlsmod6.so): Likewise.
34373 2014-05-09  Roland McGrath  <roland@hack.frob.com>
34375         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34377 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
34379         [BZ #16064]
34380         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34381         and <dl-procinfo.h>.
34382         (__fegetenv): Save SSE state in envp->__eip if supported.
34383         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34384         envp->__eip if supported.
34385         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34386         and <dl-procinfo.h>.
34387         (__fesetenv): Always set __eip, __cs_selector, __opcode,
34388         __data_offset and __data_selector in environment to 0.  Set SSE
34389         state if supported.
34390         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34391         test-fenv-sse.
34392         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34393         -mfpmath=sse.
34394         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34396 2014-05-09  Will Newton  <will.newton@linaro.org>
34398         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34399         and libc_relro_required for ARM.
34400         * sysdeps/arm/preconfigure: Regenerate.
34402 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
34403             Stefan Liebler  <stli@linux.vnet.ibm.com>
34405         * config.make.in (enable-lock-elision): New Makefile variable.
34406         * configure.ac: Likewise.
34407         * configure: Regenerate.
34408         * sysdeps/s390/configure.ac:
34409         Add check for gcc transactions support.
34410         * sysdeps/s390/configure: Regenerate.
34411         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34412         Build elision files if enabled.
34413         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34414         Add lock elision support for s390.
34415         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34416         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34417         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34418         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34419         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34420         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34421         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34422         Likewise.
34423         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34424         Likewise.
34425         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34426         Likewise.
34427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34428         Likewise.
34429         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34430         (__lll_timedlock_elision, __lll_lock_elision)
34431         (__lll_unlock_elision, __lll_trylock_elision)
34432         (lll_timedlock_elision, lll_lock_elision)
34433         (lll_unlock_elision, lll_trylock_elision): Add.
34434         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34435         (pthread_mutex_t): Add lock elision support for s390.
34437 2014-05-14  Wilco  <wdijkstr@arm.com>
34439         * sysdeps/arm/fclrexcpt.c: Cleanup.
34440         * sysdeps/arm/fedisblxcpt.c: Cleanup.
34441         * sysdeps/arm/feenablxcpt.c: Cleanup.
34442         * sysdeps/arm/fegetenv.c: Cleanup.
34443         * sysdeps/arm/fegetexcept.c: Cleanup.
34444         * sysdeps/arm/fegetround.c: Cleanup.
34445         * sysdeps/arm/feholdexcpt.c: Cleanup.
34446         * sysdeps/arm/fesetenv.c: Cleanup.
34447         * sysdeps/arm/fesetround.c: Cleanup.
34448         * sysdeps/arm/feupdateenv.c: Cleanup.
34449         * sysdeps/arm/fgetexcptflg.c: Cleanup.
34450         * sysdeps/arm/fraiseexcpt.c: Cleanup.
34451         * sysdeps/arm/fsetexcptflg.c: Cleanup.
34452         * sysdeps/arm/ftestexcept.c: Cleanup.
34453         * sysdeps/arm/get-rounding-mode.h: Cleanup.
34454         * sysdeps/arm/setfpucw.c: Cleanup.
34456 2014-05-09  Will Newton  <will.newton@linaro.org>
34458         * sysdeps/arm/armv7/strcmp.S: New file.
34459         * NEWS: Mention addition of ARMv7 optimized strcmp.
34461 2014-05-08  Roland McGrath  <roland@hack.frob.com>
34463         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34464         look for %.ac rather than %.in.
34466         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34467         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34468         * sysdeps/mach/hurd/configure: Regenerated.
34469         * sysdeps/unix/sysv/linux/configure: Regenerated.
34471         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34473 2014-05-07  Steve Ellcey  <sellcey@mips.com>
34475         [BZ# 16922]
34476         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34477         (LONG_SUB): Ditto.
34478         (PTR_SUB): Ditto.
34480 2014-05-07  Andreas Schwab  <schwab@suse.de>
34482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34483         when skipping over non-matching result from nscd.
34485 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
34487         [BZ #16876]
34488         * nptl/sockperf.c (client): Check socket return value.
34490         [BZ #16877]
34491         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34492         nscd security class.
34494 2014-05-06  Roland McGrath  <roland@hack.frob.com>
34496         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34497         * sysdeps/arm/unwind.h: ... here.
34499 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
34501         [BZ# 16916]
34502         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34503         Define.
34505 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34507         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34508         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34509         multiarch strncpy for PPC64.
34510         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34511         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34513         multiarch optimizations.
34514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34515         (__libc_ifunc_impl_list): Likewise.
34516         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34517         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34518         multiarch stpncpy for PPC64.
34519         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34520         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34522 2014-05-06  Andreas Schwab  <schwab@suse.de>
34524         [BZ #16912]
34525         * gmon/mcount.c (_MCOUNT_DECL): Use
34526         atomic_compare_and_exchange_bool_acq instead of
34527         catomic_compare_and_exchange_bool_acq.
34529 2014-05-05  Roland McGrath  <roland@hack.frob.com>
34531         * elf/Makefile (others, install-bin): Remove pldd.
34532         (pldd-modules): Variable removed.
34533         ($(objpfx)pldd): Target removed.
34534         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34535         (others, install-bin): Append pldd here.
34536         ($(objpfx)pldd): New target.
34538         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34539         to 0, so the first #if test emitted later doesn't see it undefined.
34540         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34541         * sysdeps/gnu/errlist.c: Regenerated.
34543 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34545         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34546         [libc_hidden_builtin_def]: Define to empty value.
34547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34548         [libc_hidden_builtin_def]: Likewise.
34549         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34550         [libc_hidden_builtin_def]: Likewise.
34551         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34552         [libc_hidden_builtin_def]: Likewise.
34553         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34554         __redirect_memcpy and define ifunc as default hidden symbol.
34555         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34556         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34558 2014-05-04  Adam Conrad  <adconrad@0c3.net>
34560         * locale/iso-4217.def: Reintroduce XDR currency.
34562 2014-05-04  Allan McRae  <allan@archlinux.org>
34564         * po/eo.po: Update Esperanto translation from translation project.
34566 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
34568         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34569         and FEATURE_INDEX_MAX to 1.
34570         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34572 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34574         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34575         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34576         * iconvdata/big5.c (ONE_DIRECTION): Define.
34577         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34578         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34579         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34580         * iconvdata/cp932.c (ONE_DIRECTION): Define.
34581         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34582         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34583         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34584         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34585         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34586         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34587         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34588         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34589         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34590         * iconvdata/gbk.c (ONE_DIRECTION): Define.
34591         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34592         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34593         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34594         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34595         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34596         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34597         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34598         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34599         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34600         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34601         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34602         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34603         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34604         * iconvdata/iso646.c (ONE_DIRECTION): Define.
34605         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34606         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34607         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34608         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34609         * iconvdata/johab.c (ONE_DIRECTION): Define.
34610         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34611         * iconvdata/sjis.c (ONE_DIRECTION): Define.
34612         * iconvdata/t.61.c (ONE_DIRECTION): Define.
34613         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34614         * iconvdata/tscii.c (ONE_DIRECTION): Define.
34615         * iconvdata/uhc.c (ONE_DIRECTION): Define.
34616         * iconvdata/unicode.c (ONE_DIRECTION): Define.
34617         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34618         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34619         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34621 2014-05-01  Roland McGrath  <roland@hack.frob.com>
34623         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34624         (_IO_JUMPS_OFFSET): Define to 0.
34626         * nptl/sysdeps/pthread/bits/libc-lock.h
34627         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34628         (__libc_lock_define_initialized_recursive): Always define using
34629         initializer.  Modern compilers treat uninitialized (implicit zero) and
34630         explicit zero initializers the same (i.e. put the datum in bss).
34632 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34634         * nscd/nscd-client.h: Include <string.h>.
34636 2014-05-01  David S. Miller  <davem@davemloft.net>
34638         [BZ #16885]
34639         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34640         multiple zero bytes exist at the end of a string.
34641         Reported by Aurelien Jarno <aurelien@aurel32.net>
34643         * string/test-strcmp.c (check): Add explicit test for situations where
34644         there are multiple zero bytes after the first.
34646 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34648         [BZ #16890]
34649         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34650         when compiling wprintf.
34651         * stdio-common/tstdiomisc.c (t3): New function.
34652         (main): Call it.
34654 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34656         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34657         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34658         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34659         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34661 2014-05-01  Steve Ellcey  <sellcey@mips.com>
34663         * stdlib/longlong.h: Updated from GCC.
34665 2014-05-01  Will Newton  <will.newton@linaro.org>
34666             Bernard Ogden  <bernie.ogden@linaro.org>
34668         * NEWS: Update fixed bug list.
34670         [BZ #15119]
34671         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34673 2014-04-30  David S. Miller  <davem@davemloft.net>
34675         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34676         (libc_feholdexcept_setround_sparc_ctx): New function.
34677         (libc_fesetenv_sparc_ctx): Likewise.
34678         (libc_feupdateenv_sparc_ctx): Likewise.
34679         (libc_feholdsetround_sparc_ctx): Likewise.
34680         (libc_feholdexcept_setround_ctx): Define.
34681         (libc_feholdexcept_setroundf_ctx): Likewise.
34682         (libc_feholdexcept_setroundl_ctx): Likewise.
34683         (libc_fesetenv_ctx): Likewise.
34684         (libc_fesetenvf_ctx): Likewise.
34685         (libc_fesetenvl_ctx): Likewise.
34686         (libc_feupdateenv_ctx): Likewise.
34687         (libc_feupdateenvf_ctx): Likewise.
34688         (libc_feupdateenvl_ctx): Likewise.
34689         (libc_feresetround_ctx): Likewise.
34690         (libc_feresetroundf_ctx): Likewise.
34691         (libc_feresetroundl_ctx): Likewise.
34692         (libc_feholdsetround_ctx): Likewise.
34693         (libc_feholdsetroundf_ctx): Likewise.
34694         (libc_feholdsetroundl_ctx): Likewise.
34696         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34697         with __USE_GNU instead of XOPEN cpp guards.
34699         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34700         0.
34702         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34703         with XOPEN cpp guards.
34705 2014-04-30  Julian Brown  <julian@codesourcery.com>
34707         [BZ #16888]
34708         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34709         handling.
34711 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
34713         [BZ #9894]
34714         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34715         Change to 2.6.32.
34716         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34717         * sysdeps/unix/sysv/linux/configure: Regenerated.
34718         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34719         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34720         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34721         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34722         * README: Update reference to required Linux kernel version.
34723         * manual/install.texi (Linux): Update reference to required Linux
34724         kernel headers version.
34725         * INSTALL: Regenerated.
34727         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34728         header inclusion.
34729         [POSIX] (limits.h): Likewise.
34730         [POSIX] (math.h): Likewise.
34731         [POSIX] (sys/wait.h): Likewise.
34732         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34733         function.
34734         [POSIX] (stddef.h): Do not allow header inclusion.
34736 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34738         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34740 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
34742         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34743         Return immediately after lll_futex_wake.
34745 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34747         [BZ #16791]
34748         * nscd/nscd-client.h (datahead_init_common): Initialize entire
34749         structure.
34750         (datahead_init_pos): Call datahead_init_common early.
34751         (datahead_init_neg): Likewise.
34753         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34754         datahead_init_neg): New functions.
34755         * nscd/aicache.c (addhstaiX): Use them.
34756         * nscd/grpcache.c (cache_addgr): Likewise.
34757         * nscd/hstcache.c (cache_addhst): Likewise.
34758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34759         * nscd/netgroupcache.c (do_notfound): Likewise.
34760         (addgetnetgrentX): Likewise.
34761         (addinnetgrX): Likewise.
34762         * nscd/pwdcache.c (cache_addpw): Likewise.
34763         * nscd/servicescache.c (cache_addserv): Likewise.
34765 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34766             Atsushi Onoe  <atsushi@onoe.org>
34768         [BZ #14308]
34769         [BZ #12994]
34770         [BZ #13651]
34771         * resolv/res_query.c (__libc_res_nsearch): Return if at least
34772         one response is valid.
34773         * resolv/res_send.c (send_dg): Check for validity of other
34774         response if the current response is a referral.
34776 2014-04-29  Steve Ellcey  <sellcey@mips.com>
34778         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34780 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
34782         [BZ #16823]
34783         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34784         Always divide by positive zero when computing -Inf result.
34785         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34786         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34788 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34790         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34791         FPSCR if value do not change.
34792         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34793         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34794         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34795         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34796         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34797         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34798         function.
34800 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
34802         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34803         * sysdeps/unix/sysv/linux/hppa: Move directory from
34804         ports/systeps/unix/sysv/linux/hppa.
34805         * README: Update listing for hppa-*-linux-gnu.
34807 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
34809         [BZ #16754]
34810         * manual/stdio.texi (Hook functions): Fix types of stream hook
34811         functions.
34812         [BZ #16854]
34813         * socket/sys/socket.h: Fix typo in comment.
34815 2014-04-28  Wilco  <wdijkstr@arm.com>
34817         * sysdeps/arm/fenv_private.h: New file.
34818         * sysdeps/arm/math_private.h: New file.
34819         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34821 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
34823         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34824         with __int128_t.
34825         (La_x86_64_retval): Likewise.
34827 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
34829         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34830         fpsr if value didn't change.
34831         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34832         to fpcr if value didn't change.
34833         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34834         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34835         fpsr or fpcr if value didn't change.
34836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34837         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34838         fpcr if value didn't change.
34839         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34840         to fpsr if value didn't change.
34842 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34844         * nptl/tst-sem3.c: Use test-skeleton.c
34845         (main): Rename to do_test.  Use return instead of
34846         exit.
34847         * nptl/tst-sem4.c: Use test-skeleton.c
34848         (main): Rename to do_test.
34850 2014-04-22  David S. Miller  <davem@davemloft.net>
34852         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34853         (struct sigaction): New struct member __glibc_reserved0, change
34854         type of sa_flags to int.
34856 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
34858         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
34859         (COUNT_LEADING_ZEROS_0): Define for AArch64.
34861 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34863         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
34864         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
34866 2014-04-22  Will Newton  <will.newton@linaro.org>
34867             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
34869         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
34870         (__longjmp): Add longjmp and longjmp_target SystemTap
34871         probes.
34872         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
34873         (__sigsetjmp): Add setjmp SystemTap probe.
34875 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
34877         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
34878         match manual order.
34880 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34882         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
34884         * sysdeps/powerpc/fpu/fenv_private.h
34885         (libc_feholdexcept_setroundl_ctx): Define to
34886         libc_feholdexcept_setround_ppc_ctx.
34887         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
34888         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
34889         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
34890         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
34892 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34894         * sysdeps/aarch64/math-tests.h: New file.
34896 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
34898         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
34899         New.
34900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34901         Check and set bit_AVX2_Usable.
34902         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
34903         macro.
34904         (bit_AVX2): Likewise.
34905         (index_AVX2_Usable): Likewise.
34906         (CPUID_AVX2): Likewise.
34907         (HAS_AVX2): Likewise.
34909 2014-04-17  Will Newton  <will.newton@linaro.org>
34911         * manual/setjmp.texi (System V contexts): Add note that
34912         calling setcontext on a context created by a call to a
34913         signal handler is undefined.  Update text to note that
34914         setcontext from a signal handler is possible but not
34915         recommended.
34917         [BZ #16629]
34918         * stdlib/tst-setcontext.c: Include signal.h.
34919         (main): Check that the signal stack before and
34920         after swapcontext is the same.
34922         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
34923         Re-implement to restore registers in user code and avoid
34924         rt_sigreturn system call.
34926 2014-04-17  Wilco  <wdijkstr@arm.com>
34928         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
34929         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
34930         * math/test-fenv.c: Skip exception trap tests on targets which only
34931         support non-stop mode.
34933 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
34934             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34936         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
34937         (libc_feholdsetround_aarch64_ctx)
34938         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
34939         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
34940         (libc_feresetround_ctx, libc_feresetroundf_ctx)
34941         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
34942         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
34943         (libc_feresetround_noexl_ctx): Define.
34945 2014-04-16  Richard Henderson  <rth@redhat.com>
34947         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
34949         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
34950         unwind tables.
34952         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
34953         const from the non-libc, non-ldso copy.
34955         * sysdeps/alpha/libm-test-ulps: Regenerate.
34957 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
34958             Wilco Dijkstra  <wilco.dijkstra@arm.com>
34960         * sysdeps/aarch64/fpu/math_private.h: New file.
34962 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34964         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34966 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
34968         [BZ #16275]
34969         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
34970         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
34971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
34972         Intel MPX bound registers before _dl_profile_fixup.
34973         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
34974         registers after _dl_profile_fixup.  Save and restore bound
34975         registers bnd0/bnd1 when calling _dl_call_pltexit.
34976         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
34977         (LR_BND_OFFSET): Likewise.
34978         (LRV_BND0_OFFSET): Likewise.
34979         (LRV_BND1_OFFSET): Likewise.
34981 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34983         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
34984         to...
34985         * sysdeps/mach/hurd/i386/tls.h: ... here.
34986         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
34987         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
34988         fields.
34990 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34992         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
34994 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34996         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34998 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35000         [BZ #14770]
35001         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35002         * sysdeps/s390/configure: Regenerate.
35004         [BZ #16824]
35005         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35006         Set round-to-nearest internally to reduce error accumulation.
35008 2014-04-16  Alan Modra  <amodra@gmail.com>
35010         [BZ #16740]
35011         [BZ #16619]
35012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35013         * math/libm-test.inc (frexp_test_data): Add tests.
35014         * NEWS: Update fixed bug list.
35016 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35018         * benchtests/Makefile: Depend on libraries in build directory.
35019         (bench-math): Separate out math tests.
35020         (bench-pthread): Separate out pthread tests.
35021         (bench): Include math and pthread tests.
35023 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35025         [BZ #16831]
35026         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35027         _dl_debug_initialize.
35029         * configure.ac: Remove SELinux header check.
35030         * configure: Regenerate.
35031         * nscd/selinux.c (perms): Array of const char* to permission names.
35032         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35033         default policy. Call string_to_security_class and string_to_av_perm to
35034         translate strings. Enforce default policy and call avs_has_perm with
35035         results of translated strings.
35037 2014-04-13  David S. Miller  <davem@davemloft.net>
35039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35041 2014-04-12  Allan McRae  <allan@archlinux.org>
35043         [BZ #16838]
35044         * manual/string.texi (Collation Functions): Fix qsort argument
35045         order in example.
35046         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35048 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35050         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35051         Make the test a no-op if there are no exceptions defined.
35053 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35055         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35056         enable-hardcoded-path-in-tests
35058 2014-04-11  Will Newton  <will.newton@linaro.org>
35060         * benchtests/Makefile (extra-objs): Add json-lib.o.
35061         (bench-func): Tidy up JSON output.
35062         * benchtests/bench-skeleton.c: Include json-lib.h.
35063         (main): Use JSON library functions to do output of
35064         benchmark results.
35065         * benchtests/bench-timing-type.c (main): Output the
35066         timing type simply, leaving formatting to the user.
35067         * benchtests/json-lib.c: New file.
35068         * benchtests/json-lib.h: Likewise.
35070 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35072         [BZ #15215]
35073         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35074         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35075         memory barriers.  Add comments.
35076         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35077         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35078         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35079         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35080         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35081         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35083 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35085         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35086         * sysdeps/s390/s390-64/configure.ac: ... this ...
35087         * sysdeps/s390/configure.ac: ... to here.
35088         * sysdeps/s390/s390-32/configure: Delete file.
35089         * sysdeps/s390/s390-64/configure: Delete file.
35090         * sysdeps/s390/configure: Regenerate.
35092 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35094         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35096 2014-04-11  Will Newton  <will.newton@linaro.org>
35098         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35099         to zero if it is not defined elsewhere.  (mtrim): Test
35100         the value of MALLOC_DEBUG with #if rather than #ifdef.
35102 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35104         * benchtests/pthread_once-inputs: New file.
35105         * benchtests/pthread_once-source.c: New file.
35106         * benchtests/README: Update documentation.
35108 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35109             H.J. Lu  <hongjiu.lu@intel.com>
35111         [BZ #16275]
35112         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35113         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35114         * sysdeps/x86_64/configure: Regenerated.
35115         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35116         macro.
35117         (REGISTER_SAVE_RAX): Likewise.
35118         (REGISTER_SAVE_RCX): Likewise.
35119         (REGISTER_SAVE_RDX): Likewise.
35120         (REGISTER_SAVE_RSI): Likewise.
35121         (REGISTER_SAVE_RDI): Likewise.
35122         (REGISTER_SAVE_R8): Likewise.
35123         (REGISTER_SAVE_R9): Likewise.
35124         (REGISTER_SAVE_BND0): Likewise.
35125         (REGISTER_SAVE_BND1): Likewise.
35126         (REGISTER_SAVE_BND2): Likewise.
35127         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35128         bound registers when calling _dl_fixup.
35130 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35132         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35133         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35134         of its definition.
35135         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35136         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35137         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35138         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35139         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35140         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35141         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35143 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35145         [BZ #15514]
35146         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35147         pathconf(_PC_NAME_MAX).
35149 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35151         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35152         Remove macro usage.
35153         (__PTHREAD_SPINS): Move definition to ...
35154         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35155         (__PTHREAD_SPINS): ... here.
35156         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35157         (__PTHREAD_SPIN): Likewise.
35158         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35159         (__PTHREAD_SPIN): Likewise.
35160         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35161         (__PTHREAD_SPIN): Likewise.
35162         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35163         (__PTHREAD_SPIN): Likewise.
35164         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35165         (__PTHREAD_SPIN): Likewise.
35166         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35167         (__PTHREAD_SPIN): Likewise.
35168         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35169         (__PTHREAD_SPIN): Likewise.
35170         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35171         (__PTHREAD_SPIN): Likewise.
35172         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35173         (__PTHREAD_SPIN): Likewise.
35174         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35175         (__PTHREAD_SPIN): Likewise.
35176         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35177         (__PTHREAD_SPIN): Likewise.
35178         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35179         (__PTHREAD_SPIN): Likewise.
35181         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35182         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35183         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35185         imply folder.
35186         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35187         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35188         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35189         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35190         correct imply path.
35191         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35192         strlen symbol for non multi-arch builds.
35193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35194         missing hidden_def and weak_alias.
35196 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35198         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35200 2014-04-07  Will Newton  <will.newton@linaro.org>
35202         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35203         and contents.  [!_LIBC] Remove #ifndef and contents.
35204         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35205         * string/memccpy.c (__memccpy): Use ANSI prototype.
35206         * string/memfrob.c (memfrob): Likewise.
35207         * string/strcoll.c (STRCOLL): Likewise.
35208         * string/strlen.c (strlen): Likewise.
35209         * string/strtok.c (STRTOK): Likewise.
35210         * string/strcat.c: Remove unused #include of memcopy.h.
35211         (strcat): Use ANSI prototype.
35212         * string/strchr.c: Remove unused #include of memcopy.h.
35213         (strchr): Use ANSI prototype.
35214         * string/strcmp.c: Remove unused #include of memcopy.h.
35215         (strcmp): Use ANSI prototype.
35216         * string/strcpy.c: Remove unused #include of memcopy.h.
35217         (strcpy): Use ANSI prototype.
35219 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35221         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35222         * config.make.in (config-extra-cppflags): Set it from
35223         libc_extra_cppflags.
35224         * configure.ac (libc_extra_cflags): Make it accumulate over
35225         configure fragments.
35226         (libc_extra_cppflags): New flag.
35227         * configure. Regenerate.
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35229         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35230         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35233         [BZ #16815]
35234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35235         result for FE_DOWNWARD rounding mode.
35236         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35237         Likewise.
35238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35240 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35242         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35243         in function argument name.
35245 2014-04-03  David Svoboda  <svoboda@cert.org>
35247         [BZ #5666]
35248         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35249         explicitly.
35251 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35253         * elf/dl-unmap-segments.h: New file.
35254         * sysdeps/generic/ldsodefs.h
35255         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35256         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35257         * elf/dl-fptr.c: Likewise.
35258         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35259         * sysdeps/aarch64/tlsdesc.c: Likewise.
35260         * sysdeps/arm/tlsdesc.c: Likewise.
35261         * sysdeps/i386/tlsdesc.c: Likewise.
35262         * sysdeps/tile/dl-runtime.c: Likewise.
35263         * sysdeps/x86_64/tlsdesc.c: Likewise.
35264         * elf/dl-load.h: New file.
35265         * elf/dl-load.c: Include it.
35266         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35267         Macros moved to dl-load.h.
35268         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35269         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35270         Use _dl_unmap_segments in place of __munmap.
35271         Break out segment-mapping loop into ...
35272         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35274 2014-04-03  Will Newton  <will.newton@linaro.org>
35276         * elf/dl-lookup.c (do_lookup_x): Remove comment
35277         referring to nested function and move variable
35278         declarations down to before first use.
35280 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35282         [BZ #16799]
35283         [BZ #16800]
35284         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35285         with 0 numerator.
35286         * math/s_catanf.c (__catanf): Likewise.
35287         * math/s_catanh.c (__catanh): Likewise.
35288         * math/s_catanhf.c (__catanhf): Likewise.
35289         * math/s_catanhl.c (__catanhl): Likewise.
35290         * math/s_catanl.c (__catanl): Likewise.
35291         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35292         by positive zero when computing -Inf result.
35293         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35294         (catanh_test): Likewise.
35295         * sysdeps/i386/fpu/libm-test-ulps: Update.
35296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35298         [BZ #16789]
35299         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35300         instead of using underflowing value in computing result.
35301         * math/s_clog10.c (__clog10): Likewise.
35302         * math/s_clog10f.c (__clog10f): Likewise.
35303         * math/s_clog10l.c (__clog10l): Likewise.
35304         * math/s_clogf.c (__clogf): Likewise.
35305         * math/s_clogl.c (__clogl): Likewise.
35306         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35307         (clog10_test): Likewise.
35308         * sysdeps/i386/fpu/libm-test-ulps: Update.
35309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35311 2014-04-02  Alan Modra  <amodra@gmail.com>
35313         [BZ #16739]
35314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35315         output when value is near a power of two.  Use int64_t for lx and
35316         remove casts.  Use decimal rather than hex exponent constants.
35317         Don't use long double multiplication when double will suffice.
35318         * math/libm-test.inc (nextafter_test_data): Add tests.
35319         * NEWS: Add 16739 and 16786 to bug list.
35321         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35323         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35325 2014-04-01  Will Newton  <will.newton@linaro.org>
35327         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35328         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
35330 2014-04-01  Florian Weimer  <fweimer@redhat.com>
35332         [BZ #13347]
35333         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35334         * nptl/tst-setuid2.c: New file.
35335         * nptl/Makefile (xtests): Add tst-setuid2.
35337 2014-04-01  Alan Modra  <amodra@gmail.com>
35339         [BZ #16786]
35340         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35342 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35344         [BZ #6803]
35345         [BZ #6804]
35346         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35347         set errno as appropriate.
35348         * math/w_scalbf.c (__scalbf): Likewise.
35349         * math/w_scalbl.c (__scalbl): Likewise.
35350         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35351         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35352         * math/libm-test.inc (scalb_test_data): Add errno expectations.
35353         Add more NaN tests.
35355         [BZ #16349]
35356         * math/w_atan2.c: Include <errno.h>.
35357         (__atan2): Set errno for result underflowing to zero.
35358         * math/w_atan2f.c: Include <errno.h>.
35359         (__atan2f): Set errno for result underflowing to zero.
35360         * math/w_atan2l.c: Include <errno.h>.
35361         (__atan2l): Set errno for result underflowing to zero.
35362         * math/auto-libm-test-in: Don't allow missing errno for some atan2
35363         tests.
35364         * math/auto-libm-test-out: Regenerated.
35366 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35368         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35369         Encode instruction correctly in little endian.
35370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35371         Likewise.
35372         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35373         Likewise.
35374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35375         Likewise.
35376         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35377         Likewise.
35379 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
35381         [BZ #9894]
35382         * sysdeps/unix/sysv/linux/kernel-features.h
35383         [__sparc__ && !__arch64__ && !__sparc_v9__]
35384         (__ASSUME_SET_ROBUST_LIST): Do not define.
35385         [__sparc__ && !__arch64__ && !__sparc_v9__]
35386         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35387         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35388         Likewise.
35389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35390         (__ASSUME_FUTEX_LOCK_PI): Undefine.
35391         (__ASSUME_REQUEUE_PI): Likewise.
35392         (__ASSUME_SET_ROBUST_LIST): Likewise.
35393         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35394         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35395         Undefine.
35396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35398         Likewise.
35399         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35400         Likewise.
35401         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35402         Likewise.
35403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35404         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35405         Undefine.
35406         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35407         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35408         Likewise.
35410         [BZ #16648]
35411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35413         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35415 2014-03-31  Will Newton  <will.newton@linaro.org>
35417         * benchtests/Makefile (bench): Add ffs and ffsll to list
35418         of tests.
35419         * benchtests/ffs-inputs: New file.
35420         * benchtests/ffsll-inputs: Likewise.
35422 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
35424         [BZ #16770]
35425         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35426         too large before casting to int.
35427         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35428         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35429         * math/libm-test.inc (scalb_test_data): Add more tests.
35431 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35433         * benchtests/Makefile (DETAILED_OPT): New make option.
35434         (bench-func): Run benchmark program with -d if DETAILED_OPT is
35435         set.
35436         * benchtests/bench-skeleton.c: Include stdbool.h.
35437         (main): Store and print timings per input.
35438         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35439         member to each argument value.
35440         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35441         (_print_arg_data): Initialize per-input timing to 0.
35443         * benchtests/Makefile (timing-type): New binary.
35444         (bench-clean): Also remove bench-timing-type.
35445         (bench): New target for timing-type.
35446         (bench-func): Print output in JSON format.
35447         * benchtests/bench-skeleton.c (main): Print output in JSON
35448         format.
35449         * benchtests/bench-timing-type.c: New file.
35450         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35451         (TIMING_PRINT_STATS): Remove.
35452         * benchtests/scripts/bench.py (_print_arg_data): Store variant
35453         name separately.
35455         * benchtests/bench-modf.c: Remove.
35456         * benchtests/modf-inputs: New inputs file.
35458 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #16362]
35461         * math/s_clog10.c (M_PI_LOG10E): New macro.
35462         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35463         imaginary parts are 0.
35464         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35465         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35466         imaginary parts are 0.
35467         * math/s_clog10l.c (M_PI_LOG10El): New macro.
35468         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35469         imaginary parts are 0.
35470         * math/libm-test.inc (clog10_test_data): Update expected results
35471         for when real and imaginary parts are 0.
35473 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
35475         * elf/dl-load.c: Finish conversion of __builtin_expect into
35476         __glibc_{un}likely.
35478 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
35480         [BZ #16348]
35481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35482         1+x for argument with exponent below -67.
35483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35484         Likewise.
35485         * math/auto-libm-test-in: Add more tests of exp.
35486         * math/auto-libm-test-out: Regenerated.
35488 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35490         [BZ #16759]
35491         * inet/getnetgrent_r.c (get_nonempty_val): New function.
35492         (nscd_getnetgrent): Use it.
35494         [BZ #16760]
35495         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35496         of stpcpy.
35498 2014-03-27  Andi Kleen  <ak@linux.intel.com>
35500         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35501         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35502         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35503         (lll_robust_unlock): Remove out of line section. Use cfi
35504         intrinsics.
35505         (LLL_STUB_UNWIND_INFO*): Remove.
35506         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35507         (lll_robust_lock, lll_cond_lock, lll_timedlock)
35508         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35509         (lll_robust_unlock): Remove out of line section. Use cfi
35510         intrinsics.
35511         (LLL_STUB_UNWIND_INFO*): Remove.
35513 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35515         [BZ #16758]
35516         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35517         blank values.
35519 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
35521         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35523 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
35525         [BZ #16198]
35526         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35527         fnstenv.
35528         * math/test-fenv-preserve.c: New file.
35529         * math/Makefile (tests): Add test-fenv-preserve.
35531 2014-03-26  Will Newton <will.newton@linaro.org>
35533         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35535 2014-03-25  Roland McGrath  <roland@hack.frob.com>
35537         * scripts/versionlist.awk: Partition the version sets and emit all
35538         GLIBC_* (sorted) before all others (sorted).
35540 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35542         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35543         GLIBC_2.2.5 version.
35545 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35547         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35548         calls.
35550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35551         previous change.
35553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35555 2014-03-25  Andreas Schwab  <schwab@suse.de>
35557         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35558         label to be used after in6ailist is initialized.
35560 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35563         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35565 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
35567         [BZ #16357]
35568         [BZ #16599]
35569         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35570         min_plus_half.
35571         (fp_formats): Update initializers.
35572         (init_fp_formats): Initialize new field.
35573         (output_for_one_input_case): Allow underflow for results up to
35574         min_plus_half.
35575         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35576         * math/auto-libm-test-in: Don't mark some underflows from asin and
35577         atanh as spurious.
35578         * math/auto-libm-test-out: Regenerated.
35579         * sysdeps/i386/fpu/libm-test-ulps: Update.
35580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35582 2014-03-25  Andreas Schwab  <schwab@suse.de>
35584         * libio/Makefile (tst-ftell-partial-wide-ENV)
35585         (tst-ftell-active-handler-ENV): Define.
35587 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
35589         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35591 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35593         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35595 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35597         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35598         * sysdeps/x86_64/fpu/multiarch/e_exp.c
35599         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35601 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
35603         [BZ #16634]
35604         * elf/dl-load.c (open_verify): Add mode parameter.
35605         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35606         (open_path): Change from boolean 'secure' to complete flag 'mode'
35607         (_dl_map_object): Adjust.
35608         * elf/Makefile (tests): Add tst-dlopen-aout.
35609         * elf/tst-dlopen-aout.c: New test.
35611 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
35613         [BZ #16714]
35614         * sysdeps/unix/sysv/linux/s390/bits/stat.h
35615         (struct stat): Rename member pad0 to __glibc_reserved0.
35617         [BZ #16712]
35618         * sysdeps/s390/s390-32/bits/wordsize.h
35619         (__WORDSIZE32_SIZE_ULONG): New define.
35620         * sysdeps/s390/s390-64/bits/wordsize.h
35621         (__WORDSIZE32_SIZE_ULONG): Likewise.
35622         * sysdeps/generic/stdint.h (SIZE_MAX):
35623         Define as UL if __WORDSIZE32_SIZE_ULONG.
35625         [BZ #16713]
35626         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35627         (__glibc_reserved0): New variable.
35628         (sa_flags): Change type to int.
35630         * posix/Makefile (before-compile): Use += before-compile instead
35631         of a :=.
35633         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35634         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35636 2014-03-20  Andreas Schwab  <schwab@suse.de>
35638         [BZ #16743]
35639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35640         non-matching result from nscd.
35642 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35644         * scripts/bench.py: Moved to ...
35645         * benchtests/scripts/bench.py: ... here.
35646         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35648 2014-03-24  Andreas Schwab  <schwab@suse.de>
35650         [BZ #16002]
35651         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35652         alloca_account and account alloca use for struct in6ailist.
35654 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
35656         [BZ #16284]
35657         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35658         rounding mode to recompute results that overflow to infinity or
35659         underflow to zero.
35660         * math/auto-libm-test-in: Don't mark tests as expected to fail for
35661         bug 16284.
35662         * math/auto-libm-test-out: Regenerated.
35663         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35664         (ccosh_test): Likewise.
35665         (csin_test_data): Use plus_oflow.
35666         (csin_test): Use ALL_RM_TEST.
35667         (csinh_test_data): Use plus_oflow.
35668         (csinh_test): Use ALL_RM_TEST.
35669         * sysdeps/i386/fpu/libm-test-ulps: Update.
35670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35672 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
35674         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35675         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35676         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35678         [BZ #16731]
35679         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35680         when x - 1 is zero.
35681         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35682         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35683         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35684         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35685         argument is 1.
35686         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35687         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35688         zero.
35689         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35690         * sysdeps/i386/fpu/libm-test-ulps: Update.
35691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35693 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35695         * scripts/bench.pl: Remove file.
35696         * scripts/bench.py: New benchmark script.
35697         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35698         * benchtests/README: Mention python dependency.
35699         * scripts/pylintrc: New file.
35700         * scripts/pylint: New file.
35702         * bits/mathdef.h: Use #ifdef instead of #if.
35703         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35704         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35705         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35706         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35707         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35708         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35710 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35711             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35713         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35715         and strpbrk-ppc64 objects.
35716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35717         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35718         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35719         multiarch strpbrk for POWER7.
35720         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35721         multiarch strpbrk for PPC64.
35722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35723         ifunc selector.
35724         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35725         strpbrk for POWER7.
35727 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35729         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35730         (atan_test): Likewise.
35731         (atanh_test_data): Use NO_TEST_INLINE for two tests.
35732         (atanh_test): Use ALL_RM_TEST.
35733         (atan2_test_data): Likewise.
35734         (cabs_test): Likewise.
35735         (cacosh_test): Likewise.
35736         (carg_test): Likewise.
35737         (casin_test): Likewise.
35738         (casinh_test): Likewise.
35739         (cbrt_test): Likewise.
35740         (csqrt_test): Likewise.
35741         (erf_test): Likewise.
35742         (erfc_test): Likewise.
35743         (pow10_test): Likewise.
35744         (exp2_test): Likewise.
35745         (hypot_test): Likewise.
35746         (j0_test): Likewise.
35747         (j1_test): Likewise.
35748         (lgamma_test): Likewise.
35749         (gamma_test): Likewise.
35750         (sincos_test): Likewise.
35751         (tanh_test): Likewise.
35752         (y0_test): Likewise.
35753         (y1_test): Likewise.
35754         * sysdeps/i386/fpu/libm-test-ulps: Update.
35755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35757 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35759         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35761         and strcspn-ppc64 objects.
35762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35763         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35764         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35765         multiarch strcspn for POWER7.
35766         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35767         multiarch strcspn for PPC64.
35768         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35769         ifunc selector.
35770         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35771         strcspn for POWER7.
35773 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
35775         * math/gen-libm-test.pl (generate_testfile): Expect only function
35776         name as argument to AUTO_TESTS_* and pass results for all rounding
35777         modes to parse_args.
35778         (parse_auto_input): Separate inputs of automatic tests from
35779         outputs before storing in %auto_tests.
35780         * math/libm-test.inc (acos_test_data): Update call to
35781         AUTO_TESTS_f_f.
35782         (acos_test): Use ALL_RM_TEST.
35783         (acos_tonearest_test_data): Remove.
35784         (acos_test_tonearest): Likewise.
35785         (acos_towardzero_test_data): Likewise.
35786         (acos_test_towardzero): Likewise.
35787         (acos_downward_test_data): Likewise.
35788         (acos_test_downward): Likewise.
35789         (acos_upward_test_data): Likewise.
35790         (acos_test_upward): Likewise.
35791         (acosh_test_data): Update call to AUTO_TESTS_f_f.
35792         (asin_test_data): Likewise.
35793         (asin_test): Use ALL_RM_TEST.
35794         (asin_tonearest_test_data): Remove.
35795         (asin_test_tonearest): Likewise.
35796         (asin_towardzero_test_data): Likewise.
35797         (asin_test_towardzero): Likewise.
35798         (asin_downward_test_data): Likewise.
35799         (asin_test_downward): Likewise.
35800         (asin_upward_test_data): Likewise.
35801         (asin_test_upward): Likewise.
35802         (asinh_test_data): Update call to AUTO_TESTS_f_f.
35803         (atan_test_data): Likewise.
35804         (atanh_test_data): Likewise.
35805         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35806         (cabs_test_data): Update call to AUTO_TESTS_c_f.
35807         (carg_test_data): Likewise.
35808         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35809         (ccos_test_data): Update call to AUTO_TESTS_c_c.
35810         (ccosh_test_data): Likewise.
35811         (cexp_test_data): Likewise.
35812         (clog_test_data): Likewise.
35813         (clog10_test_data): Likewise.
35814         (cos_test_data): Update call to AUTO_TESTS_f_f.
35815         (cos_test): Use ALL_RM_TEST.
35816         (cos_tonearest_test_data): Remove.
35817         (cos_test_tonearest): Likewise.
35818         (cos_towardzero_test_data): Likewise.
35819         (cos_test_towardzero): Likewise.
35820         (cos_downward_test_data): Likewise.
35821         (cos_test_downward): Likewise.
35822         (cos_upward_test_data): Likewise.
35823         (cos_test_upward): Likewise.
35824         (cosh_test_data): Update call to AUTO_TESTS_f_f.
35825         (cosh_test): Use ALL_RM_TEST.
35826         (cosh_tonearest_test_data): Remove.
35827         (cosh_test_tonearest): Likewise.
35828         (cosh_towardzero_test_data): Likewise.
35829         (cosh_test_towardzero): Likewise.
35830         (cosh_downward_test_data): Likewise.
35831         (cosh_test_downward): Likewise.
35832         (cosh_upward_test_data): Likewise.
35833         (cosh_test_upward): Likewise.
35834         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35835         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35836         (ctan_test_data): Likewise.
35837         (ctan_test): Use ALL_RM_TEST.
35838         (ctan_tonearest_test_data): Remove.
35839         (ctan_test_tonearest): Likewise.
35840         (ctan_towardzero_test_data): Likewise.
35841         (ctan_test_towardzero): Likewise.
35842         (ctan_downward_test_data): Likewise.
35843         (ctan_test_downward): Likewise.
35844         (ctan_upward_test_data): Likewise.
35845         (ctan_test_upward): Likewise.
35846         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
35847         (ctanh_test): Use ALL_RM_TEST.
35848         (ctanh_tonearest_test_data): Remove.
35849         (ctanh_test_tonearest): Likewise.
35850         (ctanh_towardzero_test_data): Likewise.
35851         (ctanh_test_towardzero): Likewise.
35852         (ctanh_downward_test_data): Likewise.
35853         (ctanh_test_downward): Likewise.
35854         (ctanh_upward_test_data): Likewise.
35855         (ctanh_test_upward): Likewise.
35856         (erf_test_data): Update call to AUTO_TESTS_f_f.
35857         (erfc_test_data): Likewise.
35858         (exp_test_data): Likewise.
35859         (exp_test): Use ALL_RM_TEST.
35860         (exp_tonearest_test_data): Remove.
35861         (exp_test_tonearest): Likewise.
35862         (exp_towardzero_test_data): Likewise.
35863         (exp_test_towardzero): Likewise.
35864         (exp_downward_test_data): Likewise.
35865         (exp_test_downward): Likewise.
35866         (exp_upward_test_data): Likewise.
35867         (exp_test_upward): Likewise.
35868         (exp10_test_data): Update call to AUTO_TESTS_f_f.
35869         (exp10_test): Use ALL_RM_TEST.
35870         (exp10_tonearest_test_data): Remove.
35871         (exp10_test_tonearest): Likewise.
35872         (exp10_towardzero_test_data): Likewise.
35873         (exp10_test_towardzero): Likewise.
35874         (exp10_downward_test_data): Likewise.
35875         (exp10_test_downward): Likewise.
35876         (exp10_upward_test_data): Likewise.
35877         (exp10_test_upward): Likewise.
35878         (exp2_test_data): Update call to AUTO_TESTS_f_f.
35879         (expm1_test_data): Likewise.
35880         (expm1_test): Use ALL_RM_TEST.
35881         (expm1_tonearest_test_data): Remove.
35882         (expm1_test_tonearest): Likewise.
35883         (expm1_towardzero_test_data): Likewise.
35884         (expm1_test_towardzero): Likewise.
35885         (expm1_downward_test_data): Likewise.
35886         (expm1_test_downward): Likewise.
35887         (expm1_upward_test_data): Likewise.
35888         (expm1_test_upward): Likewise.
35889         (fma_test_data): Update call to AUTO_TESTS_fff_f.
35890         (fma_test): Use ALL_RM_TEST.
35891         (fma_towardzero_test_data): Remove.
35892         (fma_test_towardzero): Likewise.
35893         (fma_downward_test_data): Likewise.
35894         (fma_test_downward): Likewise.
35895         (fma_upward_test_data): Likewise.
35896         (fma_test_upward): Likewise.
35897         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
35898         (j0_test_data): Update call to AUTO_TESTS_f_f.
35899         (j1_test_data): Likewise.
35900         (jn_test_data): Update call to AUTO_TESTS_if_f.
35901         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
35902         (log_test_data): Update call to AUTO_TESTS_f_f.
35903         (log10_test_data): Likewise.
35904         (log1p_test_data): Likewise.
35905         (log2_test_data): Likewise.
35906         (pow_test_data): Update call to AUTO_TESTS_ff_f.
35907         (pow_tonearest_test_data): Likewise.
35908         (sin_test_data): Update call to AUTO_TESTS_f_f.
35909         (sin_test): Use ALL_RM_TEST.
35910         (sin_tonearest_test_data): Remove.
35911         (sin_test_tonearest): Likewise.
35912         (sin_towardzero_test_data): Likewise.
35913         (sin_test_towardzero): Likewise.
35914         (sin_downward_test_data): Likewise.
35915         (sin_test_downward): Likewise.
35916         (sin_upward_test_data): Likewise.
35917         (sin_test_upward): Likewise.
35918         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
35919         (sinh_test_data): Update call to AUTO_TESTS_f_f.
35920         (sinh_test): Use ALL_RM_TEST.
35921         (sinh_tonearest_test_data): Remove.
35922         (sinh_test_tonearest): Likewise.
35923         (sinh_towardzero_test_data): Likewise.
35924         (sinh_test_towardzero): Likewise.
35925         (sinh_downward_test_data): Likewise.
35926         (sinh_test_downward): Likewise.
35927         (sinh_upward_test_data): Likewise.
35928         (sinh_test_upward): Likewise.
35929         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
35930         (sqrt_test): Use ALL_RM_TEST.
35931         (sqrt_tonearest_test_data): Remove.
35932         (sqrt_test_tonearest): Likewise.
35933         (sqrt_towardzero_test_data): Likewise.
35934         (sqrt_test_towardzero): Likewise.
35935         (sqrt_downward_test_data): Likewise.
35936         (sqrt_test_downward): Likewise.
35937         (sqrt_upward_test_data): Likewise.
35938         (sqrt_test_upward): Likewise.
35939         (tan_test_data): Update call to AUTO_TESTS_f_f.
35940         (tan_test): Use ALL_RM_TEST.
35941         (tan_tonearest_test_data): Remove.
35942         (tan_test_tonearest): Likewise.
35943         (tan_towardzero_test_data): Likewise.
35944         (tan_test_towardzero): Likewise.
35945         (tan_downward_test_data): Likewise.
35946         (tan_test_downward): Likewise.
35947         (tan_upward_test_data): Likewise.
35948         (tan_test_upward): Likewise.
35949         (tanh_test_data): Update call to AUTO_TESTS_f_f.
35950         (tgamma_test_data): Likewise.
35951         (y0_test_data): Likewise.
35952         (y1_test_data): Likewise.
35953         (yn_test_data): Update call to AUTO_TESTS_if_f.
35954         (main): Do not call removed functions.
35956 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35958         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
35959         (ldexp_test_data): Remove.
35960         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
35961         scalbn_test_data.
35962         (scalb_test): Use ALL_RM_TEST.
35964 2014-03-19  Andreas Schwab  <schwab@suse.de>
35966         * nscd/nscd.service: Also invalidate netgroup cache on reload.
35968 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
35970         [BZ #16649]
35971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35972         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
35973         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
35974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35975         (__ASSUME_PREADV): Undefine.
35976         (__ASSUME_PWRITEV): Likewise.
35978 2014-03-18  Roland McGrath  <roland@hack.frob.com>
35980         * bits/mman-linux.h: Add comment about non-Linux use.
35981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
35982         bits/mman-linux.h resting place.
35984         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
35985         * bits/mman-linux.h: ... here.
35987 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35989         * conform/conformtest.pl: Add standard definition when calling C
35990         preprocessor on data files.
35991         (checknamespace): Remove unused variable.
35993 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
35995         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
35996         minus_oflow, plus_uflow and minus_uflow in expected results.
35997         * math/libm-test.inc (scalbn_test_data): Add more tests of
35998         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
35999         minus_uflow.
36000         (scalbn_test): Use ALL_RM_TEST.
36001         (scalbln_test_data): Add more tests of negative arguments.  Use
36002         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36003         (scalbln_test): Use ALL_RM_TEST.
36005 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36007         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36009 2014-03-18  Will Newton  <will.newton@linaro.org>
36011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36012         inaccurate comment.
36014 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36016         * Makerules [!subdir] (check-abi): Exit with error status if a
36017         test failed.
36019 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36021         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36022         for rint.  Include results for all rounding modes.
36023         (nearbyint_test): Use ALL_RM_TEST.
36024         (rint_test_data): Include all tests used for nearbyint.
36026 2014-03-17  Will Newton  <will.newton@linaro.org>
36028         * nptl/sysdeps/pthread/pthread.h: Revert previous
36029         change.
36031         * sysdeps/generic/ldsodefs.h: Revert previous
36032         change.
36034         * libio/genops.c: Revert previous change.
36035         * libio/libioP.h: Likewise.
36036         * stdio-common/vfprintf.c: Likewise.
36038         * sysdeps/generic/math_private.h: Revert previous
36039         change.
36041         * sysdeps/generic/math_private.h: Check whether
36042         HAVE_RM_CTX is defined with #ifdef rather
36043         than #if.
36045         * argp/argp-fmtstream.h: Check whether
36046         __STRICT_ANSI__ is defined with #ifdef rather
36047         than #if.
36048         * argp/argp.h: Likewise.
36050         * libio/genops.c: Check whether
36051         _IO_JUMPS_OFFSET is defined with #ifdef rather
36052         than #if.
36053         * libio/libioP.h: Likewise.
36054         * stdio-common/vfprintf.c: Likewise.
36056         * sysdeps/generic/ldsodefs.h: Check whether
36057         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36058         than #if.
36060         * nptl/sysdeps/pthread/pthread.h: Check
36061         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36062         its value.
36064 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36066         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36067         setting O_APPEND.
36068         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36069         test case.
36071         [BZ #16680]
36072         * libio/fileops.c (_IO_file_open): Seek to end of file but
36073         don't cache the offset.
36074         (get_file_offset): Remove function.
36075         (do_ftell): Use cached offset when available.
36076         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36077         don't cache the offset.
36078         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36079         case.
36080         (do_one_test): Call it.
36081         (do_ftell_test): Fix up expected old offset for a+ mode.
36082         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36083         available.
36085         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36086         up test status with function return status.
36087         (do_write_test): Likewise.
36088         (do_append_test): Likewise.
36090         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36091         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36092         Remove.
36094 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36096         * math/gen-libm-test.pl (parse_args): Handle results specified for
36097         each rounding mode separately.
36098         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36099         tests and results from lrint_tonearest_test_data,
36100         lrint_towardzero_test_data, lrint_downward_test_data and
36101         lrint_upward_test_data.
36102         (lrint_test): Use ALL_RM_TEST.
36103         (lrint_tonearest_test_data): Remove.
36104         (lrint_test_tonearest): Likewise.
36105         (lrint_towardzero_test_data): Likewise.
36106         (lrint_test_towardzero): Likewise.
36107         (lrint_downward_test_data): Likewise.
36108         (lrint_test_downward): Likewise.
36109         (lrint_upward_test_data): Likewise.
36110         (lrint_test_upward): Likewise.
36111         (llrint_test_data): Merge in per-rounding-mode tests and results
36112         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36113         llrint_downward_test_data and llrint_upward_test_data.
36114         (llrint_test): Use ALL_RM_TEST.
36115         (llrint_tonearest_test_data): Remove.
36116         (llrint_test_tonearest): Likewise.
36117         (llrint_towardzero_test_data): Likewise.
36118         (llrint_test_towardzero): Likewise.
36119         (llrint_downward_test_data): Likewise.
36120         (llrint_test_downward): Likewise.
36121         (llrint_upward_test_data): Likewise.
36122         (llrint_test_upward): Likewise.
36123         (rint_test_data): Merge in per-rounding-mode tests and results
36124         from rint_tonearest_test_data, rint_towardzero_test_data,
36125         rint_downward_test_data and rint_upward_test_data.  Add
36126         per-rounding-mode results for tests not in those arrays.
36127         (rint_test): Use ALL_RM_TEST.
36128         (rint_tonearest_test_data): Remove.
36129         (rint_test_tonearest): Likewise.
36130         (rint_towardzero_test_data): Likewise.
36131         (rint_test_towardzero): Likewise.
36132         (rint_downward_test_data): Likewise.
36133         (rint_test_downward): Likewise.
36134         (rint_upward_test_data): Likewise.
36135         (rint_test_upward): Likewise.
36136         (main): Don't call removed functions.
36138 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36140         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36141         "Compiled on ..." crapola.  It is anti-useful.
36143 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36145         * scripts/evaluate-test.sh: Handle fourth argument to determine
36146         whether test run should stop on failure.
36147         * Makeconfig (stop-on-test-failure): New variable.
36148         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36149         $(stop-on-test-failure).
36150         * Makefile (tests): Give a summary of results from testing and
36151         exit with failure status if they include an ERROR or FAIL.
36152         (xtests): Likewise.
36153         * manual/install.texi (Configuring and compiling): Mention
36154         stop-on-test-failure=y.
36155         * INSTALL: Regenerated.
36157 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36159         * scripts/versionlist.awk: New file.
36160         * Makerules [$(build-shared) = yes]
36161         (postclean-generated): Add Versions.def, not Versions.def.v and
36162         Versions.def.v.i.
36163         ($(common-objpfx)Versions.def.v.i): Target removed.
36164         ($(common-objpfx)Versions.def): New target.
36165         ($(common-objpfx)Versions.all): Depend on that rather that
36166         $(common-objpfx)Versions.def.v.
36167         * Versions.def: File removed.
36169         * Makeconfig (+gccwarn): Add -Wundef.
36170         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36171         a dl-sysdep.h breaking its contract.
36172         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36173         * include/stackinfo.h: New file.
36174         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36175         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36176         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36177         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36178         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36179         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36180         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36181         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36182         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36183         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36184         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36185         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36186         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36187         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36188         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36190 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36192         [BZ #16707]
36193         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36194         implementation.
36195         * math/libm-test.inc (round_test_data): Add more tests.
36197         [BZ #16706]
36198         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36199         implementation.
36200         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36202         [BZ #16701]
36203         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36204         implementation.
36205         * math/libm-test.inc (ceil_test_data): Add more tests.
36207         * math/libm-test.inc (trunc_test_data): Add more tests related to
36208         BZ#16414.
36210 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36212         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36213         with #if rather than #ifdef.
36214         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36216 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36218         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36219         first.  Disable AVX-512 GCC support if assembler doesn't support
36220         it.
36221         * sysdeps/x86_64/configure: Regenerated.
36223 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36225         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36226         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36227         (__old_pthread_attr_setstack): Likewise.
36228         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36229         [!_STACK_GROWS_DOWN]: Likewise.
36231 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36233         * config.make.in (have-bash2): Delete.
36234         * configure.ac (libc_cv_have_bash2): Delete.
36235         * configure: Regenerate.
36236         * elf/Makefile (common-ldd-rewrite): Rename to ...
36237         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36238         (sh-ldd-rewrite): Delete.
36239         (bash-ldd-rewrite): Delete.
36240         (have-bash2): Delete checks.
36241         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36242         ldd-rewrite.
36244         * config.make.in (have-ksh): Delete.
36245         (KSH): Delete.
36246         * configure.ac (libc_cv_have_ksh): Delete.
36247         * configure: Regenerate.
36249         * elf/Makefile: Delete $(have-ksh) check.
36250         ($(objpfx)sotruss): Change KSH to BASH.
36251         * elf/sotruss.ksh: Rename to ...
36252         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36253         function style to match POSIX.  Drop ksh vim mode setting.
36255         * manual/time.texi (Specifying the Time Zone with TZ): Change
36256         Tuesday to Thursday.
36258         * debug/tst-longjmp_chk2.c: Update header comment.
36259         (stackoverflow_handler): Add comment.  Call assert on pass value.
36261 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36263         [BZ #16194]
36264         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36265         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36266         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36267         (La_x86_64_vector): Add zmm.
36268         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36269         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36270         ($(objpfx)tst-audit10): New target.
36271         ($(objpfx)tst-audit10.out): Likewise.
36272         (tst-audit10-ENV): New.
36273         (AVX512-CFLAGS): Likewise.
36274         (CFLAGS-tst-audit10.c): Likewise.
36275         (CFLAGS-tst-auditmod10a.c): Likewise.
36276         (CFLAGS-tst-auditmod10b.c): Likewise.
36277         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36278         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36279         * sysdeps/x86_64/configure: Regenerated.
36280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36281         AVX-512 zmm register support.
36282         (_dl_x86_64_save_sse): Likewise.
36283         (_dl_x86_64_restore_sse): Likewise.
36284         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36285         size vector registers.
36286         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36287         (ZMM_SIZE): Likewise.
36288         * sysdeps/x86_64/tst-audit10.c: New file.
36289         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36290         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36292 2014-03-13  Roland McGrath  <roland@hack.frob.com>
36294         * configure.ac (HAVE_EHDR_START): New check.
36295         * configure: Regenerated.
36296         * config.h.in (HAVE_EHDR_START): New #undef.
36297         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36298         assuming the lowest-addressed segment maps the start of the file.
36300 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
36302         * INSTALL: Regenerated.
36304 2014-03-13  Will Newton  <will.newton@linaro.org>
36306         * manual/setjmp.texi (System V contexts): Improve
36307         clarity and grammar of documentation.
36309 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
36311         [BZ #16381]
36312         * elf/Makefile (tests): Add tst-pie2.
36313         (tests-pie): Add tst-pie2.
36314         * elf/tst-pie2.c: New file.
36315         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36316         for ET_EXEC.
36317         * elf/rtld.c (map_doit): Load executable as lt_executable.
36318         (dl_main): Likewise.
36320 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
36322         [BZ #16642]
36323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36324         (__ASSUME_PSELECT): Undefine.
36326 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36328         [BZ #16689]
36329         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36330         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36331         static build.
36332         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36333         selector for static builds.
36335 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36337         [BZ #16695]
36338         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36339         key in the buffer.
36341 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36343         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36344         IFUNC selector for static builds.
36346 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
36348         * sysdeps/mips/math_private.h [__mips_hard_float]
36349         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36350         libc_feresetround_mips_ctx.
36351         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36352         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36353         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36355         [BZ #16677]
36356         * math/s_nextafter.c (__nextafter): Do not return value from
36357         overflowing computation.
36358         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36359         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36360         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36361         Likewise.
36362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36363         Likewise.
36364         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36365         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36367 2014-03-11  Roland McGrath  <roland@hack.frob.com>
36369         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36370         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36371         Move sfi_sp use from the load-multiple (that no longer sets sp) to
36372         the new mov targetting sp.
36374 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36376         [BZ #16683]
36377         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36378         Define it for static builds as well.
36379         (NO_BZERO_IMPL): Likewise.
36381 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36383         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36384         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36385         multiarch strspn for PPC64.
36386         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36387         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36389         (__libc_ifunc_impl_list): Likewise.
36390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36391         multiarch optimizations
36392         * string/strspn.c (strspn): Using macro to redefine symbol name.
36394 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36395             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36397         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36398         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36399         multiarch strncat for PPC64.
36400         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36401         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36403         (__libc_ifunc_impl_list): Likewise.
36404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36405         multiarch optimizations
36407 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36409         [BZ #16639]
36410         * nscd/nscd.service: Make service type forking.
36412 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36414         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36415         sign in non default rounding modes.
36416         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36418 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
36420         * math/libm-test.inc (ALL_RM_TEST): New macro.
36421         (ceil_test): Use ALL_RM_TEST.
36422         (cimag_test): Likewise.
36423         (conj_test): Likewise.
36424         (copysign_test): Likewise.
36425         (cproj_test): Likewise.
36426         (creal_test): Likewise.
36427         (fabs_test): Likewise.
36428         (floor_test): Likewise.
36429         (fmax_test): Likewise.
36430         (fmin_test): Likewise.
36431         (fmod_test): Likewise.
36432         (fpclassify_test): Likewise.
36433         (frexp_test): Likewise.
36434         (ilogb_test): Likewise.
36435         (isfinite_test): Likewise.
36436         (finite_test): Likewise.
36437         (isgreater_test): Likewise.
36438         (isgreaterequal_test): Likewise.
36439         (isinf_test): Likewise.
36440         (isless_test): Likewise.
36441         (islessequal_test): Likewise.
36442         (islessgreater_test): Likewise.
36443         (isnan_test): Likewise.
36444         (isnormal_test): Likewise.
36445         (issignaling_test): Likewise.
36446         (isunordered_test): Likewise.
36447         (logb_test): Likewise.
36448         (logb_downward_test_data): Remove.
36449         (logb_test_downward): Likewise.
36450         (lround_test): Use ALL_RM_TEST.
36451         (llround_test): Likewise.
36452         (modf_test): Likewise.
36453         (nexttoward_test): Likewise.
36454         (remainder_test): Likewise.
36455         (drem_test): Likewise.
36456         (remainder_tonearest_test_data): Likewise.
36457         (remainder_test_tonearest): Likewise.
36458         (drem_test_tonearest): Likewise.
36459         (remainder_towardzero_test_data): Likewise.
36460         (remainder_test_towardzero): Likewise.
36461         (drem_test_towardzero): Likewise.
36462         (remainder_downward_test_data): Likewise.
36463         (remainder_test_downward): Likewise.
36464         (drem_test_downward): Likewise.
36465         (remainder_upward_test_data): Likewise.
36466         (remainder_test_upward): Likewise.
36467         (drem_test_upward): Likewise.
36468         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
36469         (round_test): Use ALL_RM_TEST.
36470         (signbit_test): Likewise.
36471         (trunc_test): Likewise.
36472         (significand_test): Likewise.
36473         (main): Don't call removed functions.
36475 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36477         [BZ #16674]
36478         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36479         || __USE_XOPEN2K8].
36480         (ILL_ILLOPN): Likewise.
36481         (ILL_ILLADR): Likewise.
36482         (ILL_ILLTRP): Likewise.
36483         (ILL_PRVOPC): Likewise.
36484         (ILL_PRVREG): Likewise.
36485         (ILL_COPROC): Likewise.
36486         (ILL_BADSTK): Likewise.
36487         (FPE_INTDIV): Likewise.
36488         (FPE_INTOVF): Likewise.
36489         (FPE_FLTDIV): Likewise.
36490         (FPE_FLTOVF): Likewise.
36491         (FPE_FLTUND): Likewise.
36492         (FPE_FLTRES): Likewise.
36493         (FPE_FLTINV): Likewise.
36494         (FPE_FLTSUB): Likewise.
36495         (SEGV_MAPERR): Likewise.
36496         (SEGV_ACCERR): Likewise.
36497         (BUS_ADRALN): Likewise.
36498         (BUS_ADRERR): Likewise.
36499         (BUS_OBJERR): Likewise.
36500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36501         (TRAP_TRACE): Likewise.
36502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36503         __USE_XOPEN2K8].
36504         (CLD_KILLED): Likewise.
36505         (CLD_DUMPED): Likewise.
36506         (CLD_TRAPPED): Likewise.
36507         (CLD_STOPPED): Likewise.
36508         (CLD_CONTINUED): Likewise.
36509         (POLL_IN): Likewise.
36510         (POLL_OUT): Likewise.
36511         (POLL_MSG): Likewise.
36512         (POLL_ERR): Likewise.
36513         (POLL_PRI): Likewise.
36514         (POLL_HUP): Likewise.
36515         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36516         Likewise.
36517         (ILL_ILLOPN): Likewise.
36518         (ILL_ILLADR): Likewise.
36519         (ILL_ILLTRP): Likewise.
36520         (ILL_PRVOPC): Likewise.
36521         (ILL_PRVREG): Likewise.
36522         (ILL_COPROC): Likewise.
36523         (ILL_BADSTK): Likewise.
36524         (FPE_INTDIV): Likewise.
36525         (FPE_INTOVF): Likewise.
36526         (FPE_FLTDIV): Likewise.
36527         (FPE_FLTOVF): Likewise.
36528         (FPE_FLTUND): Likewise.
36529         (FPE_FLTRES): Likewise.
36530         (FPE_FLTINV): Likewise.
36531         (FPE_FLTSUB): Likewise.
36532         (SEGV_MAPERR): Likewise.
36533         (SEGV_ACCERR): Likewise.
36534         (BUS_ADRALN): Likewise.
36535         (BUS_ADRERR): Likewise.
36536         (BUS_OBJERR): Likewise.
36537         (BUS_MCEERR_AR): Likewise.
36538         (BUS_MCEERR_AO): Likewise.
36539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36540         (TRAP_TRACE): Likewise.
36541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36542         __USE_XOPEN2K8].
36543         (CLD_KILLED): Likewise.
36544         (CLD_DUMPED): Likewise.
36545         (CLD_TRAPPED): Likewise.
36546         (CLD_STOPPED): Likewise.
36547         (CLD_CONTINUED): Likewise.
36548         (POLL_IN): Likewise.
36549         (POLL_OUT): Likewise.
36550         (POLL_MSG): Likewise.
36551         (POLL_ERR): Likewise.
36552         (POLL_PRI): Likewise.
36553         (POLL_HUP): Likewise.
36554         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36555         (ILL_ILLOPN): Likewise.
36556         (ILL_ILLADR): Likewise.
36557         (ILL_ILLTRP): Likewise.
36558         (ILL_PRVOPC): Likewise.
36559         (ILL_PRVREG): Likewise.
36560         (ILL_COPROC): Likewise.
36561         (ILL_BADSTK): Likewise.
36562         (FPE_INTDIV): Likewise.
36563         (FPE_INTOVF): Likewise.
36564         (FPE_FLTDIV): Likewise.
36565         (FPE_FLTOVF): Likewise.
36566         (FPE_FLTUND): Likewise.
36567         (FPE_FLTRES): Likewise.
36568         (FPE_FLTINV): Likewise.
36569         (FPE_FLTSUB): Likewise.
36570         (SEGV_MAPERR): Likewise.
36571         (SEGV_ACCERR): Likewise.
36572         (BUS_ADRALN): Likewise.
36573         (BUS_ADRERR): Likewise.
36574         (BUS_OBJERR): Likewise.
36575         (BUS_MCEERR_AR): Likewise.
36576         (BUS_MCEERR_AO): Likewise.
36577         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36578         (TRAP_TRACE): Likewise.
36579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36580         __USE_XOPEN2K8].
36581         (CLD_KILLED): Likewise.
36582         (CLD_DUMPED): Likewise.
36583         (CLD_TRAPPED): Likewise.
36584         (CLD_STOPPED): Likewise.
36585         (CLD_CONTINUED): Likewise.
36586         (POLL_IN): Likewise.
36587         (POLL_OUT): Likewise.
36588         (POLL_MSG): Likewise.
36589         (POLL_ERR): Likewise.
36590         (POLL_PRI): Likewise.
36591         (POLL_HUP): Likewise.
36592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36593         Likewise.
36594         (ILL_ILLOPN): Likewise.
36595         (ILL_ILLADR): Likewise.
36596         (ILL_ILLTRP): Likewise.
36597         (ILL_PRVOPC): Likewise.
36598         (ILL_PRVREG): Likewise.
36599         (ILL_COPROC): Likewise.
36600         (ILL_BADSTK): Likewise.
36601         (ILL_BADIADDR): Likewise.
36602         (ILL_BREAK): Likewise.
36603         (FPE_INTDIV): Likewise.
36604         (FPE_INTOVF): Likewise.
36605         (FPE_FLTDIV): Likewise.
36606         (FPE_FLTOVF): Likewise.
36607         (FPE_FLTUND): Likewise.
36608         (FPE_FLTRES): Likewise.
36609         (FPE_FLTINV): Likewise.
36610         (FPE_FLTSUB): Likewise.
36611         (FPE_DECOVF): Likewise.
36612         (FPE_DECDIV): Likewise.
36613         (FPE_DECERR): Likewise.
36614         (FPE_INVASC): Likewise.
36615         (FPE_INVDEC): Likewise.
36616         (SEGV_MAPERR): Likewise.
36617         (SEGV_ACCERR): Likewise.
36618         (SEGV_PSTKOVF): Likewise.
36619         (BUS_ADRALN): Likewise.
36620         (BUS_ADRERR): Likewise.
36621         (BUS_OBJERR): Likewise.
36622         (BUS_MCEERR_AR): Likewise.
36623         (BUS_MCEERR_AO): Likewise.
36624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36625         (TRAP_TRACE): Likewise.
36626         (TRAP_BRANCH): Likewise.
36627         (TRAP_HWBKPT): Likewise.
36628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36629         __USE_XOPEN2K8].
36630         (CLD_KILLED): Likewise.
36631         (CLD_DUMPED): Likewise.
36632         (CLD_TRAPPED): Likewise.
36633         (CLD_STOPPED): Likewise.
36634         (CLD_CONTINUED): Likewise.
36635         (POLL_IN): Likewise.
36636         (POLL_OUT): Likewise.
36637         (POLL_MSG): Likewise.
36638         (POLL_ERR): Likewise.
36639         (POLL_PRI): Likewise.
36640         (POLL_HUP): Likewise.
36641         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36642         (ILL_ILLOPN): Likewise.
36643         (ILL_ILLADR): Likewise.
36644         (ILL_ILLTRP): Likewise.
36645         (ILL_PRVOPC): Likewise.
36646         (ILL_PRVREG): Likewise.
36647         (ILL_COPROC): Likewise.
36648         (ILL_BADSTK): Likewise.
36649         (FPE_INTDIV): Likewise.
36650         (FPE_INTOVF): Likewise.
36651         (FPE_FLTDIV): Likewise.
36652         (FPE_FLTOVF): Likewise.
36653         (FPE_FLTUND): Likewise.
36654         (FPE_FLTRES): Likewise.
36655         (FPE_FLTINV): Likewise.
36656         (FPE_FLTSUB): Likewise.
36657         (SEGV_MAPERR): Likewise.
36658         (SEGV_ACCERR): Likewise.
36659         (BUS_ADRALN): Likewise.
36660         (BUS_ADRERR): Likewise.
36661         (BUS_OBJERR): Likewise.
36662         (BUS_MCEERR_AR): Likewise.
36663         (BUS_MCEERR_AO): Likewise.
36664         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36665         (TRAP_TRACE): Likewise.
36666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36667         __USE_XOPEN2K8].
36668         (CLD_KILLED): Likewise.
36669         (CLD_DUMPED): Likewise.
36670         (CLD_TRAPPED): Likewise.
36671         (CLD_STOPPED): Likewise.
36672         (CLD_CONTINUED): Likewise.
36673         (POLL_IN): Likewise.
36674         (POLL_OUT): Likewise.
36675         (POLL_MSG): Likewise.
36676         (POLL_ERR): Likewise.
36677         (POLL_PRI): Likewise.
36678         (POLL_HUP): Likewise.
36679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36680         (ILL_ILLOPN): Likewise.
36681         (ILL_ILLADR): Likewise.
36682         (ILL_ILLTRP): Likewise.
36683         (ILL_PRVOPC): Likewise.
36684         (ILL_PRVREG): Likewise.
36685         (ILL_COPROC): Likewise.
36686         (ILL_BADSTK): Likewise.
36687         (FPE_INTDIV): Likewise.
36688         (FPE_INTOVF): Likewise.
36689         (FPE_FLTDIV): Likewise.
36690         (FPE_FLTOVF): Likewise.
36691         (FPE_FLTUND): Likewise.
36692         (FPE_FLTRES): Likewise.
36693         (FPE_FLTINV): Likewise.
36694         (FPE_FLTSUB): Likewise.
36695         (SEGV_MAPERR): Likewise.
36696         (SEGV_ACCERR): Likewise.
36697         (BUS_ADRALN): Likewise.
36698         (BUS_ADRERR): Likewise.
36699         (BUS_OBJERR): Likewise.
36700         (BUS_MCEERR_AR): Likewise.
36701         (BUS_MCEERR_AO): Likewise.
36702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36703         (TRAP_TRACE): Likewise.
36704         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36705         __USE_XOPEN2K8].
36706         (CLD_KILLED): Likewise.
36707         (CLD_DUMPED): Likewise.
36708         (CLD_TRAPPED): Likewise.
36709         (CLD_STOPPED): Likewise.
36710         (CLD_CONTINUED): Likewise.
36711         (POLL_IN): Likewise.
36712         (POLL_OUT): Likewise.
36713         (POLL_MSG): Likewise.
36714         (POLL_ERR): Likewise.
36715         (POLL_PRI): Likewise.
36716         (POLL_HUP): Likewise.
36717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36718         (ILL_ILLOPN): Likewise.
36719         (ILL_ILLADR): Likewise.
36720         (ILL_ILLTRP): Likewise.
36721         (ILL_PRVOPC): Likewise.
36722         (ILL_PRVREG): Likewise.
36723         (ILL_COPROC): Likewise.
36724         (ILL_BADSTK): Likewise.
36725         (FPE_INTDIV): Likewise.
36726         (FPE_INTOVF): Likewise.
36727         (FPE_FLTDIV): Likewise.
36728         (FPE_FLTOVF): Likewise.
36729         (FPE_FLTUND): Likewise.
36730         (FPE_FLTRES): Likewise.
36731         (FPE_FLTINV): Likewise.
36732         (FPE_FLTSUB): Likewise.
36733         (SEGV_MAPERR): Likewise.
36734         (SEGV_ACCERR): Likewise.
36735         (BUS_ADRALN): Likewise.
36736         (BUS_ADRERR): Likewise.
36737         (BUS_OBJERR): Likewise.
36738         (BUS_MCEERR_AR): Likewise.
36739         (BUS_MCEERR_AO): Likewise.
36740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36741         (TRAP_TRACE): Likewise.
36742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36743         __USE_XOPEN2K8].
36744         (CLD_KILLED): Likewise.
36745         (CLD_DUMPED): Likewise.
36746         (CLD_TRAPPED): Likewise.
36747         (CLD_STOPPED): Likewise.
36748         (CLD_CONTINUED): Likewise.
36749         (POLL_IN): Likewise.
36750         (POLL_OUT): Likewise.
36751         (POLL_MSG): Likewise.
36752         (POLL_ERR): Likewise.
36753         (POLL_PRI): Likewise.
36754         (POLL_HUP): Likewise.
36755         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36756         (ILL_ILLOPN): Likewise.
36757         (ILL_ILLADR): Likewise.
36758         (ILL_ILLTRP): Likewise.
36759         (ILL_PRVOPC): Likewise.
36760         (ILL_PRVREG): Likewise.
36761         (ILL_COPROC): Likewise.
36762         (ILL_BADSTK): Likewise.
36763         (ILL_DBLFLT): Likewise.
36764         (ILL_HARDWALL): Likewise.
36765         (FPE_INTDIV): Likewise.
36766         (FPE_INTOVF): Likewise.
36767         (FPE_FLTDIV): Likewise.
36768         (FPE_FLTOVF): Likewise.
36769         (FPE_FLTUND): Likewise.
36770         (FPE_FLTRES): Likewise.
36771         (FPE_FLTINV): Likewise.
36772         (FPE_FLTSUB): Likewise.
36773         (SEGV_MAPERR): Likewise.
36774         (SEGV_ACCERR): Likewise.
36775         (BUS_ADRALN): Likewise.
36776         (BUS_ADRERR): Likewise.
36777         (BUS_OBJERR): Likewise.
36778         (BUS_MCEERR_AR): Likewise.
36779         (BUS_MCEERR_AO): Likewise.
36780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36781         (TRAP_TRACE): Likewise.
36782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36783         __USE_XOPEN2K8].
36784         (CLD_KILLED): Likewise.
36785         (CLD_DUMPED): Likewise.
36786         (CLD_TRAPPED): Likewise.
36787         (CLD_STOPPED): Likewise.
36788         (CLD_CONTINUED): Likewise.
36789         (POLL_IN): Likewise.
36790         (POLL_OUT): Likewise.
36791         (POLL_MSG): Likewise.
36792         (POLL_ERR): Likewise.
36793         (POLL_PRI): Likewise.
36794         (POLL_HUP): Likewise.
36795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36796         (ILL_ILLOPN): Likewise.
36797         (ILL_ILLADR): Likewise.
36798         (ILL_ILLTRP): Likewise.
36799         (ILL_PRVOPC): Likewise.
36800         (ILL_PRVREG): Likewise.
36801         (ILL_COPROC): Likewise.
36802         (ILL_BADSTK): Likewise.
36803         (FPE_INTDIV): Likewise.
36804         (FPE_INTOVF): Likewise.
36805         (FPE_FLTDIV): Likewise.
36806         (FPE_FLTOVF): Likewise.
36807         (FPE_FLTUND): Likewise.
36808         (FPE_FLTRES): Likewise.
36809         (FPE_FLTINV): Likewise.
36810         (FPE_FLTSUB): Likewise.
36811         (SEGV_MAPERR): Likewise.
36812         (SEGV_ACCERR): Likewise.
36813         (BUS_ADRALN): Likewise.
36814         (BUS_ADRERR): Likewise.
36815         (BUS_OBJERR): Likewise.
36816         (BUS_MCEERR_AR): Likewise.
36817         (BUS_MCEERR_AO): Likewise.
36818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36819         (TRAP_TRACE): Likewise.
36820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36821         __USE_XOPEN2K8].
36822         (CLD_KILLED): Likewise.
36823         (CLD_DUMPED): Likewise.
36824         (CLD_TRAPPED): Likewise.
36825         (CLD_STOPPED): Likewise.
36826         (CLD_CONTINUED): Likewise.
36827         (POLL_IN): Likewise.
36828         (POLL_OUT): Likewise.
36829         (POLL_MSG): Likewise.
36830         (POLL_ERR): Likewise.
36831         (POLL_PRI): Likewise.
36832         (POLL_HUP): Likewise.
36833         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36834         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36836         [BZ #16670]
36837         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36838         before #include of <time.h>.
36839         [!__USE_XOPEN2K] (__need_timespec): Likewise.
36840         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36841         (test-xfail-UNIX98/sched.h/conform): Likewise.
36843 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36845         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
36846         error absence of trapping exception support.
36847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36849 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
36851         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
36852         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
36853         * timezone/Makefile (testdata): Move definition above include of
36854         Rules.
36855         (test-zones): New variable.
36856         (tests-special): Add zone files.
36857         (build-testdata): Use $(evaluate-test).
36859         * elf/Makefile (tests-special): Rename tests to end with .out.
36860         ($(objpfx)noload-mem): Likewise.
36861         ($(objpfx)tst-leaks1-mem): Likewise.
36862         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
36863         * iconv/Makefile (xtests-special): Change test-iconvconfig to
36864         $(objpfx)test-iconvconfig.out.
36865         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
36866         set -e inside subshell and redirect output to file.
36867         * iconvdata/Makefile (generated): Rename tests to end with .out.
36868         Correct type.
36869         (tests-special): Rename tests to end with .out.
36870         ($(objpfx)mtrace-tst-loading): Likewise.
36871         * intl/Makefile (generated): Likewise.
36872         (tests-special): Likewise.
36873         ($(objpfx)mtrace-tst-gettext): Likewise.
36874         * misc/Makefile (generated): Likewise.
36875         (tests-special): Likewise.
36876         ($(objpfx)tst-error1-mem): Likewise.
36877         * nptl/Makefile (tests-special): Likewise.
36878         ($(objpfx)tst-stack3-mem): Likewise.
36879         (generated): Likewise.
36880         * posix/Makefile (generated): Likewise.
36881         (tests-special): Likewise.
36882         (xtests-special): Likewise.
36883         ($(objpfx)tst-fnmatch-mem): Likewise.
36884         ($(objpfx)bug-regex2-mem): Likewise.
36885         ($(objpfx)bug-regex14-mem): Likewise.
36886         ($(objpfx)bug-regex21-mem): Likewise.
36887         ($(objpfx)bug-regex31-mem): Likewise.
36888         ($(objpfx)tst-vfork3-mem): Likewise.
36889         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
36890         ($(objpfx)tst-pcre-mem): Likewise.
36891         ($(objpfx)tst-boost-mem): Likewise.
36892         ($(objpfx)bug-ga2-mem): Likewise.
36893         ($(objpfx)bug-glob2-mem): Likewise.
36894         * resolv/Makefile (generate): Likewise.
36895         (tests-special): Likewise.
36896         (xtests-special): Likewise.
36897         (generated): Likewise.
36898         ($(objpfx)mtrace-tst-leaks): Likewise.
36899         ($(objpfx)mtrace-tst-leaks2): Likewise.
36901         * scripts/merge-test-results.sh: New file.
36902         * Makefile (tests-special-notdir): New variable.
36903         (tests): Run merge-test-results.sh.
36904         (xtests): Likewise.
36905         * Rules (tests-special-notdir): New variable.
36906         (xtests-special-notdir): Likewise.
36907         (tests): Run merge-test-results.sh
36908         (xtests): Likewise.
36910         * Makeconfig (test-xfail-name): New variable.
36911         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
36912         compute variable name for expected failures.
36913         * conform/Makefile (conformtest-headers-data): New variable.
36914         (conformtest-standards): Likewise.
36915         (conformtest-headers-ISO): Likewise.
36916         (conformtest-headers-ISO99): Likewise.
36917         (conformtest-headers-ISO11): Likewise.
36918         (conformtest-headers-POSIX): Likewise.
36919         (conformtest-headers-XPG3): Likewise.
36920         (conformtest-headers-XPG4): Likewise.
36921         (conformtest-headers-UNIX98): Likewise.
36922         (conformtest-headers-XOPEN2K): Likewise.
36923         (conformtest-headers-POSIX2008): Likewise.
36924         (conformtest-headers-XOPEN2K8): Likewise.
36925         (conformtest-header-list-base): Likewise.
36926         (conformtest-header-list-tests): Likewise.
36927         (conformtest-header-base): Likewise.
36928         (conformtest-header-tests): Likewise.
36929         (tests-special): Add $(conformtest-header-list-tests).  If
36930         [$(fast-check) && !$(cross-compiling)], add
36931         $(conformtest-header-tests) instead of
36932         $(objpfx)run-conformtest.out.
36933         (generated): Add $(conformtest-header-list-base).  If
36934         [$(fast-check) && !$(cross-compiling)], add
36935         $(conformtest-header-base).  Remove previous setting.
36936         ($(conformtest-header-list-tests)): New target.
36937         (test-xfail-run-conformtest): Remove variable.
36938         ($(objpfx)run-conformtest.out): Remove target.
36939         (test-xfail-ISO11/complex.h/conform): New variable.
36940         (test-xfail-ISO11/stdalign.h/conform): Likewise.
36941         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
36942         (test-xfail-XPG3/varargs.h/conform): Likewise.
36943         (test-xfail-XPG4/varargs.h/conform): Likewise.
36944         (test-xfail-UNIX98/varargs.h/conform): Likewise.
36945         (test-xfail-XPG4/ndbm.h/conform): Likewise.
36946         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
36947         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
36948         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
36949         (test-xfail-XPG3/fcntl.h/conform): Likewise.
36950         (test-xfail-XPG3/ftw.h/conform): Likewise.
36951         (test-xfail-XPG3/grp.h/conform): Likewise.
36952         (test-xfail-XPG3/langinfo.h/conform): Likewise.
36953         (test-xfail-XPG3/limits.h/conform): Likewise.
36954         (test-xfail-XPG3/pwd.h/conform): Likewise.
36955         (test-xfail-XPG3/search.h/conform): Likewise.
36956         (test-xfail-XPG3/signal.h/conform): Likewise.
36957         (test-xfail-XPG3/stdio.h/conform): Likewise.
36958         (test-xfail-XPG3/stdlib.h/conform): Likewise.
36959         (test-xfail-XPG3/string.h/conform): Likewise.
36960         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
36961         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
36962         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
36963         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
36964         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
36965         (test-xfail-XPG3/sys/types.h/conform): Likewise.
36966         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
36967         (test-xfail-XPG3/termios.h/conform): Likewise.
36968         (test-xfail-XPG3/time.h/conform): Likewise.
36969         (test-xfail-XPG3/unistd.h/conform): Likewise.
36970         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
36971         (test-xfail-XPG4/fcntl.h/conform): Likewise.
36972         (test-xfail-XPG4/langinfo.h/conform): Likewise.
36973         (test-xfail-XPG4/netdb.h/conform): Likewise.
36974         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
36975         (test-xfail-XPG4/signal.h/conform): Likewise.
36976         (test-xfail-XPG4/stdio.h/conform): Likewise.
36977         (test-xfail-XPG4/stdlib.h/conform): Likewise.
36978         (test-xfail-XPG4/stropts.h/conform): Likewise.
36979         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
36980         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
36981         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
36982         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
36983         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
36984         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
36985         (test-xfail-XPG4/sys/time.h/conform): Likewise.
36986         (test-xfail-XPG4/sys/types.h/conform): Likewise.
36987         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
36988         (test-xfail-XPG4/termios.h/conform): Likewise.
36989         (test-xfail-XPG4/ucontext.h/conform): Likewise.
36990         (test-xfail-XPG4/unistd.h/conform): Likewise.
36991         (test-xfail-XPG4/utmpx.h/conform): Likewise.
36992         (test-xfail-POSIX/sched.h/conform): Likewise.
36993         (test-xfail-POSIX/signal.h/conform): Likewise.
36994         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36995         (test-xfail-POSIX/tar.h/conform): Likewise.
36996         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
36997         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
36998         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
36999         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37000         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37001         (test-xfail-UNIX98/sched.h/conform): Likewise.
37002         (test-xfail-UNIX98/signal.h/conform): Likewise.
37003         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37004         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37005         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37006         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37007         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37008         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37009         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37010         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37011         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37012         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37013         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37014         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37015         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37016         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37017         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37018         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37019         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37020         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37021         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37022         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37023         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37024         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37025         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37026         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37027         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37028         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37029         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37030         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37031         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37032         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37033         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37034         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37035         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37036         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37037         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37038         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37039         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37040         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37041         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37042         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37043         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37044         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37045         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37046         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37047         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37048         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37049         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37050         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37051         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37052         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37053         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37054         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37055         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37056         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37057         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37058         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37059         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37060         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37061         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37062         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37063         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37064         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37065         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37066         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37067         (conformtest-cc-flags): Likewise.
37068         ($(conformtest-header-tests): New target.
37069         * conform/check-header-lists.sh: New file.
37070         * conform/run-conformtest.sh: Remove.
37072         * conform/conformtest.pl: Allow ' and \ in values given for
37073         constants.
37074         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37075         inclusion.
37076         [POSIX] (sys/types.h): Likewise.
37077         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37078         inclusion.
37079         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37080         inclusion.
37081         * conform/data/signal.h-data (SIGIO): Remove expectation.
37082         [XPG3] (SIGBUS): Do not expect.
37083         [POSIX || XPG3] (SIGPOLL): Likewise.
37084         [POSIX || XPG3] (SIGPROF): Likewise.
37085         [POSIX || XPG3] (SIGSYS): Likewise.
37086         [XPG3] (SIGTRAP): Likewise.
37087         [POSIX || XPG3] (SIGURG): Likewise.
37088         [POSIX || XPG3] (SIGVTALRM): Likewise.
37089         [POSIX || XPG3] (SIGXCPU): Likewise.
37090         [POSIX || XPG3] (SIGXFSZ): Likewise.
37091         [POSIX] (SA_SIGINFO): Expect.
37092         [XPG3] (siginfo_t): Do not expect type or contents.
37093         [POSIX] (si_pid): Do not expect element.
37094         [POSIX] (si_uid): Likewise.
37095         [POSIX] (si_addr): Likewise.
37096         [POSIX] (si_status): Likewise.
37097         [POSIX] (si_band): Likewise.
37098         [XPG4] (si_value): Likewise.
37099         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37100         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37101         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37102         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37103         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37104         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37105         [POSIX || XPG3] (ILL_COPROC): Likewise.
37106         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37107         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37108         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37109         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37110         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37111         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37112         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37113         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37114         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37115         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37116         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37117         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37118         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37119         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37120         [POSIX || XPG3] (CLD_EXITED): Likewise.
37121         [POSIX || XPG3] (CLD_KILLED): Likewise.
37122         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37123         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37124         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37125         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37126         [POSIX || XPG3] (POLL_IN): Likewise.
37127         [POSIX || XPG3] (POLL_OUT): Likewise.
37128         [POSIX || XPG3] (POLL_MSG): Likewise.
37129         [POSIX || XPG3] (POLL_ERR): Likewise.
37130         [POSIX || XPG3] (POLL_PRI): Likewise.
37131         [POSIX || XPG3] (POLL_HUP): Likewise.
37132         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37133         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37134         (SIG*): Do not allow.
37135         [XPG3] (si_*): Likewise.
37136         [XPG3] (SI_*): Likewise.
37137         [XPG3 || XPG4] (sigev_*): Likewise.
37138         [XPG3 || XPG4] (SIGEV_*): Likewise.
37139         [XPG3 || XPG4] (sival_*): Likewise.
37140         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37141         [POSIX || XPG3] (BUS_*): Likewise.
37142         [POSIX || XPG3] (CLD_*): Likewise.
37143         [POSIX || XPG3] (FPE_*): Likewise.
37144         [POSIX || XPG3] (ILL_*): Likewise.
37145         [POSIX || XPG3] (POLL_*): Likewise.
37146         [POSIX || XPG3] (SEGV_*): Likewise.
37147         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37148         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37149         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37150         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37151         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37152         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37153         Specify type and value.
37154         (TVERSLEN): Likewise.
37155         (REGTYPE): Likewise.
37156         (AREGTYPE): Likewise.
37157         (LNKTYPE): Likewise.
37158         (SYMTYPE): Likewise.
37159         (CHRTYPE): Likewise.
37160         (BLKTYPE): Likewise.
37161         (DIRTYPE): Likewise.
37162         (FIFOTYPE): Likewise.
37163         (CONTTYPE): Likewise.
37164         (TSUID): Likewise.
37165         (TSGID): Likewise.
37166         (TSVTX): Likewise.
37167         (TUREAD): Likewise.
37168         (TUWRITE): Likewise.
37169         (TUEXEC): Likewise.
37170         (TGREAD): Likewise.
37171         (TGWRITE): Likewise.
37172         (TGEXEC): Likewise.
37173         (TOREAD): Likewise.
37174         (TOWRITE): Likewise.
37175         (TOEXEC): Likewise.
37176         [POSIX] (TSVTX): Expect constant.
37178 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37180         * Makefile (tests): Change dependencies to ....
37181         (tests-special): ... additions to this variable.
37182         (tests): Depend on $(tests-special).
37183         * Makerules (check-abi-list): New variable.
37184         (check-abi): Depend on $(check-abi-list).
37185         [$(subdir) = elf] (tests-special): Add
37186         $(objpfx)check-abi-libc.out.
37187         [$(build-shared) = yes && subdir] (tests-special): Add
37188         $(check-abi-list).
37189         [$(build-shared) = yes && subdir] (tests): Do not depend on
37190         check-abi.
37191         * Rules (tests): Depend on $(tests-special).
37192         (xtests): Depend on $(xtests-special).
37193         * catgets/Makefile (tests): Change dependencies to ....
37194         (tests-special): ... additions to this variable.
37195         * conform/Makefile (tests): Change dependencies to ....
37196         (tests-special): ... additions to this variable.
37197         * elf/Makefile (tests): Change dependencies to ....
37198         (tests-special): ... additions to this variable.
37199         * grp/Makefile (tests): Change dependencies to ....
37200         (tests-special): ... additions to this variable.
37201         * iconv/Makefile (xtests): Change dependencies to ....
37202         (xtests-special): ... additions to this variable.
37203         * iconvdata/Makefile (tests): Change dependencies to ....
37204         (tests-special): ... additions to this variable.
37205         * intl/Makefile (tests): Change dependencies to ....
37206         (tests-special): ... additions to this variable.  Also add
37207         $(objpfx)tst-gettext.out.
37208         * io/Makefile (tests): Change dependencies to ....
37209         (tests-special): ... additions to this variable.
37210         * libio/Makefile (tests): Change dependencies to ....
37211         (tests-special): ... additions to this variable.
37212         * malloc/Makefile (tests): Change dependencies to ....
37213         (tests-special): ... additions to this variable.
37214         * misc/Makefile (tests): Change dependencies to ....
37215         (tests-special): ... additions to this variable.
37216         * nptl/Makefile (tests): Change dependencies to ....
37217         (tests-special): ... additions to this variable.
37218         * nptl_db/Makefile (tests): Change dependencies to ....
37219         (tests-special): ... additions to this variable.
37220         * posix/Makefile (tests): Change dependencies to ....
37221         (tests-special): ... additions to this variable.
37222         (xtests): Change dependencies to ....
37223         (xtests-special): ... additions to this variable.
37224         * resolv/Makefile (tests): Change dependencies to ....
37225         (tests-special): ... additions to this variable.
37226         (xtests): Change dependencies to ....
37227         (xtests-special): ... additions to this variable.
37228         * stdio-common/Makefile (tests): Change dependencies to ....
37229         (tests-special): ... additions to this variable.
37230         (do-tst-unbputc): Remove target.
37231         (do-tst-printf): Likewise.
37232         * stdlib/Makefile (tests): Change dependencies to ....
37233         (tests-special): ... additions to this variable.
37234         * string/Makefile (tests): Change dependencies to ....
37235         (tests-special): ... additions to this variable.
37236         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37237         (tests-special): ... additions to this variable.
37239         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37240         whole file.
37241         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37242         whole file.
37243         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37244         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37246         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37247         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37248         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37249         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37250         * conform/data/libgen.h-data [XPG3]: Likewise.
37251         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37252         * conform/data/ndbm.h-data [XPG3]: Likewise.
37253         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37254         * conform/data/netdb.h-data [XPG3]: Likewise.
37255         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37256         * conform/data/poll.h-data [XPG3]: Likewise.
37257         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37258         * conform/data/strings.h-data [XPG3]: Likewise.
37259         * conform/data/stropts.h-data [XPG3]: Likewise.
37260         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37261         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37262         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37263         Likewise.
37264         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37265         * conform/data/sys/time.h-data [XPG3]: Likewise.
37266         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37267         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37268         * conform/data/sys/un.h-data [XPG3]: Likewise.
37269         * conform/data/syslog.h-data [XPG3]: Likewise.
37270         * conform/data/ucontext.h-data [XPG3]: Likewise.
37271         * conform/data/utmpx.h-data [XPG3]: Likewise.
37272         * conform/data/varargs.h-data [UNIX98]: Enable file.
37274         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37276         * math/libm-test.inc (struct test_f_f_data): Move expected results
37277         into structure for each rounding mode.
37278         (struct test_ff_f_data): Likewise.
37279         (struct test_ff_f_data_nexttoward): Likewise.
37280         (struct test_fi_f_data): Likewise.
37281         (struct test_fl_f_data): Likewise.
37282         (struct test_if_f_data): Likewise.
37283         (struct test_fff_f_data): Likewise.
37284         (struct test_c_f_data): Likewise.
37285         (struct test_f_f1_data): Likewise.
37286         (struct test_fF_f1_data): Likewise.
37287         (struct test_ffI_f1_data): Likewise.
37288         (struct test_c_c_data): Likewise.
37289         (struct test_cc_c_data): Likewise.
37290         (struct test_f_i_data): Likewise.
37291         (struct test_ff_i_data): Likewise.
37292         (struct test_f_l_data): Likewise.
37293         (struct test_f_L_data): Likewise.
37294         (struct test_fFF_11_data): Likewise.
37295         (RM_): New macro.
37296         (RM_FE_DOWNWARD): Likewise.
37297         (RM_FE_TONEAREST): Likewise.
37298         (RM_FE_TOWARDZERO): Likewise.
37299         (RM_FE_UPWARD): Likewise.
37300         (RUN_TEST_LOOP_f_f): Update references to expected results.
37301         (RUN_TEST_LOOP_2_f): Likewise.
37302         (RUN_TEST_LOOP_fff_f): Likewise.
37303         (RUN_TEST_LOOP_c_f): Likewise.
37304         (RUN_TEST_LOOP_f_f1): Likewise.
37305         (RUN_TEST_LOOP_fF_f1): Likewise.
37306         (RUN_TEST_LOOP_fI_f1): Likewise.
37307         (RUN_TEST_LOOP_ffI_f1): Likewise.
37308         (RUN_TEST_LOOP_c_c): Likewise.
37309         (RUN_TEST_LOOP_cc_c): Likewise.
37310         (RUN_TEST_LOOP_f_i): Likewise.
37311         (RUN_TEST_LOOP_f_i_tg): Likewise.
37312         (RUN_TEST_LOOP_ff_i_tg): Likewise.
37313         (RUN_TEST_LOOP_f_b): Likewise.
37314         (RUN_TEST_LOOP_f_b_tg): Likewise.
37315         (RUN_TEST_LOOP_f_l): Likewise.
37316         (RUN_TEST_LOOP_f_L): Likewise.
37317         (RUN_TEST_LOOP_fFF_11): Likewise.
37318         * math/gen-libm-test.pl (parse_args): Output four copies of
37319         expected results for each test.
37321         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37322         (__ASSUME_UTIMES): Remove.
37323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37324         (__ASSUME_UTIMES): Likewise.
37326         * math/gen-auto-libm-tests.c: Update comment on output format.
37327         (output_for_one_input_case): Generate before-rounding and
37328         after-rounding information as conditions on output flags not
37329         floating-point format.
37330         * math/auto-libm-test-out: Regenerated.
37331         * math/gen-libm-test.pl (cond_value): New function.
37332         (or_cond_value): Use cond_value.
37333         (generate_testfile): Handle conditional exceptions.
37335 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
37337         * math/libm-test.inc (max_valid_error): New variable.
37338         (init_max_error): Take new argument specifying whether function
37339         results are exactly determined.  Set max_valid_error and bound
37340         other variables for errors based on this argument.
37341         (set_max_error): Do not record results above max_valid_error.
37342         (check_float_internal): Only accept errors of up to 0.5ulps if
37343         also at most max_valid_error.
37344         (START): Take new argument EXACT and pass it to init_max_error.
37345         (acos_test): Update call to START.
37346         (acos_test_tonearest): Likewise.
37347         (acos_test_towardzero): Likewise.
37348         (acos_test_downward): Likewise.
37349         (acos_test_upward): Likewise.
37350         (acosh_test): Likewise.
37351         (asin_test): Likewise.
37352         (asin_test_tonearest): Likewise.
37353         (asin_test_towardzero): Likewise.
37354         (asin_test_downward): Likewise.
37355         (asin_test_upward): Likewise.
37356         (asinh_test): Likewise.
37357         (atan_test): Likewise.
37358         (atanh_test): Likewise.
37359         (atan2_test): Likewise.
37360         (cabs_test): Likewise.
37361         (cacos_test): Likewise.
37362         (cacosh_test): Likewise.
37363         (carg_test): Likewise.
37364         (casin_test): Likewise.
37365         (casinh_test): Likewise.
37366         (catan_test): Likewise.
37367         (catanh_test): Likewise.
37368         (cbrt_test): Likewise.
37369         (ccos_test): Likewise.
37370         (ccosh_test): Likewise.
37371         (ceil_test): Likewise.
37372         (cexp_test): Likewise.
37373         (cimag_test): Likewise.
37374         (clog_test): Likewise.
37375         (clog10_test): Likewise.
37376         (conj_test): Likewise.
37377         (copysign_test): Likewise.
37378         (cos_test): Likewise.
37379         (cos_test_tonearest): Likewise.
37380         (cos_test_towardzero): Likewise.
37381         (cos_test_downward): Likewise.
37382         (cos_test_upward): Likewise.
37383         (cosh_test): Likewise.
37384         (cosh_test_tonearest): Likewise.
37385         (cosh_test_towardzero): Likewise.
37386         (cosh_test_downward): Likewise.
37387         (cosh_test_upward): Likewise.
37388         (cpow_test): Likewise.
37389         (cproj_test): Likewise.
37390         (creal_test): Likewise.
37391         (csin_test): Likewise.
37392         (csinh_test): Likewise.
37393         (csqrt_test): Likewise.
37394         (ctan_test): Likewise.
37395         (ctan_test_tonearest): Likewise.
37396         (ctan_test_towardzero): Likewise.
37397         (ctan_test_downward): Likewise.
37398         (ctan_test_upward): Likewise.
37399         (ctanh_test): Likewise.
37400         (ctanh_test_tonearest): Likewise.
37401         (ctanh_test_towardzero): Likewise.
37402         (ctanh_test_downward): Likewise.
37403         (ctanh_test_upward): Likewise.
37404         (erf_test): Likewise.
37405         (erfc_test): Likewise.
37406         (exp_test): Likewise.
37407         (exp_test_tonearest): Likewise.
37408         (exp_test_towardzero): Likewise.
37409         (exp_test_downward): Likewise.
37410         (exp_test_upward): Likewise.
37411         (exp10_test): Likewise.
37412         (exp10_test_tonearest): Likewise.
37413         (exp10_test_towardzero): Likewise.
37414         (exp10_test_downward): Likewise.
37415         (exp10_test_upward): Likewise.
37416         (pow10_test): Likewise.
37417         (exp2_test): Likewise.
37418         (expm1_test): Likewise.
37419         (expm1_test_tonearest): Likewise.
37420         (expm1_test_towardzero): Likewise.
37421         (expm1_test_downward): Likewise.
37422         (expm1_test_upward): Likewise.
37423         (fabs_test): Likewise.
37424         (fdim_test): Likewise.
37425         (floor_test): Likewise.
37426         (fma_test): Likewise.
37427         (fma_test_towardzero): Likewise.
37428         (fma_test_downward): Likewise.
37429         (fma_test_upward): Likewise.
37430         (fmax_test): Likewise.
37431         (fmin_test): Likewise.
37432         (fmod_test): Likewise.
37433         (fpclassify_test): Likewise.
37434         (frexp_test): Likewise.
37435         (hypot_test): Likewise.
37436         (ilogb_test): Likewise.
37437         (isfinite_test): Likewise.
37438         (finite_test): Likewise.
37439         (isgreater_test): Likewise.
37440         (isgreaterequal_test): Likewise.
37441         (isinf_test): Likewise.
37442         (isless_test): Likewise.
37443         (islessequal_test): Likewise.
37444         (islessgreater_test): Likewise.
37445         (isnan_test): Likewise.
37446         (isnormal_test): Likewise.
37447         (issignaling_test): Likewise.
37448         (isunordered_test): Likewise.
37449         (j0_test): Likewise.
37450         (j1_test): Likewise.
37451         (jn_test): Likewise.
37452         (ldexp_test): Likewise.
37453         (lgamma_test): Likewise.
37454         (gamma_test): Likewise.
37455         (lrint_test): Likewise.
37456         (lrint_test_tonearest): Likewise.
37457         (lrint_test_towardzero): Likewise.
37458         (lrint_test_downward): Likewise.
37459         (lrint_test_upward): Likewise.
37460         (llrint_test): Likewise.
37461         (llrint_test_tonearest): Likewise.
37462         (llrint_test_towardzero): Likewise.
37463         (llrint_test_downward): Likewise.
37464         (llrint_test_upward): Likewise.
37465         (log_test): Likewise.
37466         (log10_test): Likewise.
37467         (log1p_test): Likewise.
37468         (log2_test): Likewise.
37469         (logb_test): Likewise.
37470         (logb_test_downward): Likewise.
37471         (lround_test): Likewise.
37472         (llround_test): Likewise.
37473         (modf_test): Likewise.
37474         (nearbyint_test): Likewise.
37475         (nextafter_test): Likewise.
37476         (nexttoward_test): Likewise.
37477         (pow_test): Likewise.
37478         (pow_test_tonearest): Likewise.
37479         (pow_test_towardzero): Likewise.
37480         (pow_test_downward): Likewise.
37481         (pow_test_upward): Likewise.
37482         (remainder_test): Likewise.
37483         (drem_test): Likewise.
37484         (remainder_test_tonearest): Likewise.
37485         (drem_test_tonearest): Likewise.
37486         (remainder_test_towardzero): Likewise.
37487         (drem_test_towardzero): Likewise.
37488         (remainder_test_downward): Likewise.
37489         (drem_test_downward): Likewise.
37490         (remainder_test_upward): Likewise.
37491         (drem_test_upward): Likewise.
37492         (remquo_test): Likewise.
37493         (rint_test): Likewise.
37494         (rint_test_tonearest): Likewise.
37495         (rint_test_towardzero): Likewise.
37496         (rint_test_downward): Likewise.
37497         (rint_test_upward): Likewise.
37498         (round_test): Likewise.
37499         (scalb_test): Likewise.
37500         (scalbn_test): Likewise.
37501         (scalbln_test): Likewise.
37502         (signbit_test): Likewise.
37503         (sin_test): Likewise.
37504         (sin_test_tonearest): Likewise.
37505         (sin_test_towardzero): Likewise.
37506         (sin_test_downward): Likewise.
37507         (sin_test_upward): Likewise.
37508         (sincos_test): Likewise.
37509         (sinh_test): Likewise.
37510         (sinh_test_tonearest): Likewise.
37511         (sinh_test_towardzero): Likewise.
37512         (sinh_test_downward): Likewise.
37513         (sinh_test_upward): Likewise.
37514         (sqrt_test): Likewise.
37515         (sqrt_test_tonearest): Likewise.
37516         (sqrt_test_towardzero): Likewise.
37517         (sqrt_test_downward): Likewise.
37518         (sqrt_test_upward): Likewise.
37519         (tan_test): Likewise.
37520         (tan_test_tonearest): Likewise.
37521         (tan_test_towardzero): Likewise.
37522         (tan_test_downward): Likewise.
37523         (tan_test_upward): Likewise.
37524         (tanh_test): Likewise.
37525         (tgamma_test): Likewise.
37526         (trunc_test): Likewise.
37527         (y0_test): Likewise.
37528         (y1_test): Likewise.
37529         (yn_test): Likewise.
37530         (significand_test): Likewise.
37532         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37533         individual tests in comment.
37534         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37535         (prev_max_error): New variable.
37536         (prev_real_max_error): Likewise.
37537         (prev_imag_max_error): Likewise.
37538         (compare_ulp_data): Don't refer to test names in comment.
37539         (find_test_ulps): Remove function.
37540         (find_function_ulps): Likewise.
37541         (find_complex_function_ulps): Likewise.
37542         (init_max_error): Take function name as argument.  Look up ulps
37543         for that function.
37544         (print_ulps): Remove function.
37545         (print_max_error): Use prev_max_error instead of calling
37546         find_function_ulps.
37547         (print_complex_max_error): Use prev_real_max_error and
37548         prev_imag_max_error instead of calling find_complex_function_ulps.
37549         (check_float_internal): Take max_ulp parameter instead of calling
37550         find_test_ulps.  Don't call print_ulps.
37551         (check_float): Update call to check_float_internal.
37552         (check_complex): Update calls to check_float_internal.
37553         (START): Pass argument to init_max_error.
37554         * math/gen-libm-test.pl (%results): Don't include "kind"
37555         information.
37556         (parse_ulps): Don't handle ulps of individual tests.
37557         (print_ulps_file): Likewise.
37558         (output_ulps): Likewise.
37559         * math/README.libm-test: Update.
37560         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37561         individual tests.
37562         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37563         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37564         * sysdeps/arm/libm-test-ulps: Likewise.
37565         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37566         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37567         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37568         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37569         * sysdeps/microblaze/libm-test-ulps: Likewise.
37570         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37571         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37573         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37574         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37575         * sysdeps/sh/libm-test-ulps: Likewise.
37576         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37577         * sysdeps/tile/libm-test-ulps: Likewise.
37578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37580 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
37582         * math/libm-test.inc (print_complex_max_error): Check separately
37583         whether real and imaginary errors are within allowed range and
37584         pass 0 to print_complex_function_ulps instead of value within
37585         allowed range.
37587 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37589         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37590         formatting.
37591         (get_handles_fopen): Likewise.
37592         (do_write_test): Likewise.
37594         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37596         * libio/fileops.c (do_ftell): Use cached offset when
37597         available.
37598         * libio/iofwide.c (do_ftell_wide): Likewise.
37599         * libio/iofdopen.c (_IO_new_fdopen): Don't use
37600         _IO_file_attach.
37601         * libio/wfileops.c (_IO_fwide): Don't cache offset.
37603         [BZ #16532]
37604         * libio/libioP.h (get_file_offset): New function.
37605         * libio/fileops.c (get_file_offset): Likewise.
37606         (do_ftell): Likewise.
37607         (_IO_new_file_seekoff): Split out ftell logic.
37608         * libio/wfileops.c (do_ftell_wide): Likewise.
37609         (_IO_wfile_seekoff): Split out ftell logic.
37610         * libio/tst-ftell-active-handler.c: New test case.
37611         * libio/Makefile (tests): Add it.
37613 2014-03-03  Roland McGrath  <roland@hack.frob.com>
37615         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37616         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37618 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         [BZ #16639]
37621         * nscd/connections.c (nscd_init): Call do_exit.
37622         (start_threads): Call do_exit and notify_parent.
37623         (begin_drop_privileges): Call do_exit.
37624         (finish_drop_privileges): Likewise.
37625         * nscd/selinux.c (preserve_capabilities): Likewise.
37626         (install_real_capabilities): Likewise.
37627         (nscd_selinux_enabled): Likewise.
37628         (avc_create_thread): Likewise.
37629         (avc_alloc_lock): Likewise.
37630         (nscd_avc_init): Likewise.
37631         * nscd/nscd.c (parent_fd): New static variable.
37632         (main): Create a pipe between parent and child processes.
37633         Skip closing parent_fd.
37634         (monitor_child): New function.
37635         (do_exit): Likewise.
37636         (notify_parent): Likewise.
37637         * nscd/nscd.h (notify_parent): Likewise.
37638         (do_exit): Likewise.
37640 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
37642         * malloc/malloc.c (__libc_calloc): Revert last change.
37644 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37648 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37650         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37652         implementation.
37653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37654         (__libc_ifunc_impl_list): Likewise.
37655         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37656         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37657         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37658         * string/strrchr.c: Define STRRCHR.
37660 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
37662         * benchtest/bench-strtok.c (simple_strtok): Delete.
37663         (strtok_string): Use as benchmark.
37664         * string/strtok (STRTOK): New macro.
37666 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
37668         * manual/threads.texi: Add header and standard comments to all
37669         functions.
37671         * elf/dl-lookup.c (check_match): New function.
37672         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37673         (do_lookup_x): Remove nested function check_match. Use non-nested
37674         function check_match.
37676 2014-02-28  Roland McGrath  <roland@hack.frob.com>
37678         * csu/Makefile (generated, before-compile): Use += rather than =.
37679         * catgets/Makefile (generated, generated-dirs): Likewise.
37680         * debug/Makefile (generated): Likewise.
37681         * dlfcn/Makefile (generated): Likewise.
37682         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37683         * iconvdata/Makefile (before-compile, generated): Likewise.
37684         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37685         * libio/Makefile (generated): Likewise.
37686         * malloc/Makefile (generated): Likewise.
37687         * manual/Makefile (generated, generated-dirs): Likewise.
37688         * misc/Makefile (generated): Likewise.
37689         * posix/Makefile (generated): Likewise.
37690         * resolv/Makefile (generated): Likewise.
37691         * sunrpc/Makefile (generated, generated-dirs): Likewise.
37692         * timezone/Makefile (generated, generated-dirs): Likewise.
37694         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37696 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37699         power8 implementation.
37700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37701         file: POWER8 llround ifunc implementation.
37702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37703         (__lllround): Add POWER8 implementation.
37704         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37705         POWER8 llround implementation.
37707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37708         power8 implementation.
37709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37710         file: POWER8 llrint ifunc implementation.
37711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37712         Add POWER8 implementation.
37713         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37714         POWER8 llrint implementation.
37716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37717         power8 implementation.
37718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37719         file: POWER8 finite ifunc implementation.
37720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37721         Add POWER8 implementation.
37722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37723         Likewise.
37724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37725         POWER8 finite implementation.
37726         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37729         power8 implementation.
37730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37731         file: POWER8 isinf ifunc implementation.
37732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37733         POWER8 implementation.
37734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37735         Likewise.
37736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37737         isinf implementation.
37738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37740         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37741         (INIT_ARCH): Add hwcap2 initialization.
37742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37743         power8 implementation.
37744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37745         file: POWER8 isnan ifunc implementation.
37746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37747         POWER8 implementation.
37748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37749         Likewise.
37750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37751         isnan implementation.
37752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37754 2014-02-27  Joey Ye  <joey.ye@arm.com>
37756         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37757         (_FP_NANFRAC_Q): Set to zero.
37759 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37761         [BZ #16623]
37762         * math/auto-libm-test-in: New test inputs.
37763         * math/auto-libm-test-out: Regenerate.
37764         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37765         and DA.
37766         (__cos): Likewise.
37767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37769 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
37771         * scripts/evaluate-test.sh: Take new argument indicating whether
37772         failure is expected.
37773         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37774         indicating whether failure is expected.
37775         * conform/Makefile (test-xfail-run-conformtest): New variable.
37776         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37777         level.
37778         * posix/Makefile (test-xfail-annexc): New variable.
37779         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37781 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
37783         * argp/Makefile: Include Makeconfig immediately after defining
37784         subdir.
37785         * assert/Makefile: Likewise.
37786         * benchtests/Makefile: Likewise.
37787         * catgets/Makefile: Likewise.
37788         * conform/Makefile: Likewise.
37789         * crypt/Makefile: Likewise.
37790         * csu/Makefile: Likewise.
37791         (all): Remove target.
37792         * ctype/Makefile: Include Makeconfig immediately after defining
37793         subdir.
37794         * debug/Makefile: Likewise.
37795         * dirent/Makefile: Likewise.
37796         * dlfcn/Makefile: Likewise.
37797         * gmon/Makefile: Likewise.
37798         * gnulib/Makefile: Likewise.
37799         * grp/Makefile: Likewise.
37800         * gshadow/Makefile: Likewise.
37801         * hesiod/Makefile: Likewise.
37802         * hurd/Makefile: Likewise.
37803         (all): Remove target.
37804         * iconvdata/Makefile: Include Makeconfig immediately after
37805         defining subdir.
37806         * inet/Makefile: Likewise.
37807         * intl/Makefile: Likewise.
37808         * io/Makefile: Likewise.
37809         * libio/Makefile: Likewise.
37810         (all): Remove target.
37811         * locale/Makefile: Include Makeconfig immediately after defining
37812         subdir.
37813         * login/Makefile: Likewise.
37814         * mach/Makefile: Likewise.
37815         (all): Remove target.
37816         * malloc/Makefile: Include Makeconfig immediately after defining
37817         subdir.
37818         (all): Remove target.
37819         * manual/Makefile: Include Makeconfig immediately after defining
37820         subdir.
37821         * math/Makefile: Likewise.
37822         * misc/Makefile: Likewise.
37823         * nis/Makefile: Likewise.
37824         * nss/Makefile: Likewise.
37825         * po/Makefile: Likewise.
37826         (all): Remove target.
37827         * posix/Makefile: Include Makeconfig immediately after defining
37828         subdir.
37829         * pwd/Makefile: Likewise.
37830         * resolv/Makefile: Likewise.
37831         * resource/Makefile: Likewise.
37832         * rt/Makefile: Likewise.
37833         * setjmp/Makefile: Likewise.
37834         * shadow/Makefile: Likewise.
37835         * signal/Makefile: Likewise.
37836         * socket/Makefile: Likewise.
37837         * soft-fp/Makefile: Likewise.
37838         * stdio-common/Makefile: Likewise.
37839         * stdlib/Makefile: Likewise.
37840         * streams/Makefile: Likewise.
37841         * string/Makefile: Likewise.
37842         * sunrpc/Makefile: Likewise.
37843         (all): Remove target.
37844         * sysvipc/Makefile: Include Makeconfig immediately after defining
37845         subdir.
37846         * termios/Makefile: Likewise.
37847         * time/Makefile: Likewise.
37848         * timezone/Makefile: Likewise.
37849         (all): Remove target.
37850         * wcsmbs/Makefile: Include Makeconfig immediately after defining
37851         subdir.
37852         * wctype/Makefile: Likewise.
37854 2014-02-26  Steve Ellcey  <sellcey@mips.com>
37856         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
37857         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
37858         (libc_feholdexcept_setround_mips): Ditto.
37859         (libc_feholdsetround): New.
37860         (libc_feholdsetroundf): New.
37861         (libc_feholdsetroundl): New.
37862         (libc_feupdateenv_test_mips): New.
37863         (libc_feupdateenv_test): New.
37864         (libc_feupdateenv_testf): New.
37865         (libc_feupdateenv_testl): New.
37866         (libc_feresetround): New.
37867         (libc_feresetroundf): New.
37868         (libc_feresetroundl): New.
37869         (libc_fetestexcept_mips): New.
37870         (libc_fetestexcept): New.
37871         (libc_fetestexceptf): New.
37872         (libc_fetestexceptl): New.
37873         (HAVE_RM_CTX): New.
37874         (libc_feholdexcept_setround_mips_ctx): New.
37875         (libc_feholdexcept_setround_ctx): New.
37876         (libc_feholdexcept_setroundf_ctx): New.
37877         (libc_feholdexcept_setroundl_ctx): New.
37878         (libc_fesetenv_mips_ctx): New.
37879         (libc_fesetenv_ctx): New.
37880         (libc_fesetenv_ctxf): New.
37881         (libc_fesetenv_ctxl): New.
37882         (libc_feupdateenv_mips_ctx): New.
37883         (libc_feupdateenv_ctx): New.
37884         (libc_feupdateenvf_ctx): New.
37885         (libc_feupdateenvl_ctx): New.
37886         (libc_feholdsetround_mips_ctx): New.
37887         (libc_feholdsetround_ctx): New.
37888         (libc_feholdsetroundf_ctx): New.
37889         (libc_feholdsetroundl_ctx): New.
37890         (libc_feresetround_mips_ctx): New.
37891         (libc_feresetround_ctx): New.
37892         (libc_feresetroundf_ctx): New.
37893         (libc_feresetroundl_ctx): New.
37895 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
37897         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
37899         * manual/ipc.texi: New file.
37900         * manual/Makefile (chapters): Add ipc.
37901         * manual/job.texi: Add "Inter-Process Communication" to next.
37902         * manual/process.texi: Add "Inter-Process Communication" to prev.
37904 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37908 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
37910         * malloc/malloc.c (__libc_calloc): Simplify implementation.
37912         * manual/arith.texi: Fix spaces after sentences.
37913         * manual/charset.texi: Likewise.
37914         * manual/errno.texi: Likewise.
37915         * manual/install.texi: Likewise.
37916         * manual/llio.texi: Likewise.
37917         * manual/locale.texi: Likewise.
37918         * manual/maint.texi: Likewise.
37919         * manual/math.texi: Likewise.
37920         * manual/memory.texi: Likewise.
37921         * manual/message.texi: Likewise.
37922         * manual/probes.texi: Likewise.
37923         * manual/resource.texi: Likewise.
37924         * manual/signal.texi: Likewise.
37925         * manual/socket.texi: Likewise.
37926         * manual/stdio.texi: Likewise.
37927         * manual/string.texi: Likewise.
37928         * manual/time.texi: Likewise.
37929         * manual/users.texi: Likewise.
37931 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
37933         [BZ #16632]
37934         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
37935         _DEFAULT_SOURCE is defined.
37937 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
37938             Carlos O'Donell  <carlos@redhat.com>
37940         [BZ #16613]
37941         * elf/dl-tls.c (_dl_count_modids): New function.
37942         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
37943         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
37944         audit library and increment generation counter.
37945         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
37946         * elf/tst-audit9.c: New file.
37947         * elf/tst-auditmod9a.c: New file.
37948         * elf/tst-auditmod9b.c: New file.
37949         * elf/Makefile: Add rules to build and run tst-audit9.
37951 2014-02-25  Florian Weimer  <fweimer@redhat.com>
37953         [BZ #15347]
37954         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
37956 2014-02-25  Will Newton  <will.newton@linaro.org>
37958         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
37959         (__longjmp): Restore sp and lr before restoring callee
37960         saved registers.  Add longjmp and longjmp_target
37961         SystemTap probe point.
37962         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
37963         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
37964         Define to zero to match jmpbuf layout.
37965         * sysdeps/arm/setjmp.S: Include stap-probe.h.
37966         (__sigsetjmp): Save sp and lr before saving callee
37967         saved registers.  Add setjmp SystemTap probe point.
37969 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37971         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37973 2014-02-24  Andreas Schwab  <schwab@suse.de>
37975         [BZ #15804]
37976         * elf/pldd.c (wait_for_ptrace_stop): New function.
37977         (main): Call it after attaching.
37979 2014-02-22  Roland McGrath  <roland@hack.frob.com>
37981         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
37982         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
37983         Versions files is now verboten.
37984         * hurd/Versions (libc: GLIBC_2.0):
37985         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
37986         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
37987         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
37988         * mach/Versions: Likewise.
37990         * csu/Versions: Remove unused %include.
37991         * resolv/Versions: Likewise.
37993 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
37995         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
37996         ($(objpfx)check-local-headers.out): Likewise.
37997         ($(objpfx)begin-end-check.out): Likewise.
37998         * Makerules (check-abi-%.out): Likewise.
37999         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38000         ($(objpfx)test2.cat): Likewise.
38001         ($(objpfx)de/libc.cat): Likewise.
38002         ($(objpfx)test-gencat.out): Likewise.
38003         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38004         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38005         ($(objpfx)noload-mem): Likewise.
38006         ($(objpfx)tst-pathopt.out): Likewise.
38007         ($(objpfx)tst-rtld-load-self.out): Likewise.
38008         ($(objpfx)tst-array1-cmp.out): Likewise.
38009         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38010         ($(objpfx)tst-array2-cmp.out): Likewise.
38011         ($(objpfx)tst-array3-cmp.out): Likewise.
38012         ($(objpfx)tst-array4-cmp.out): Likewise.
38013         ($(objpfx)tst-array5-cmp.out): Likewise.
38014         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38015         ($(objpfx)check-textrel.out): Likewise.
38016         ($(objpfx)check-execstack.out): Likewise.
38017         ($(objpfx)check-localplt.out): Likewise.
38018         ($(objpfx)order2-cmp.out): Likewise.
38019         ($(objpfx)tst-leaks1-mem): Likewise.
38020         ($(objpfx)tst-leaks1-static-mem): Likewise.
38021         ($(objpfx)tst-initorder-cmp.out): Likewise.
38022         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38023         ($(objpfx)tst-unused-dep.out): Likewise.
38024         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38026         * iconv/Makefile (test-iconvconfig): Likewise.
38027         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38028         ($(objpfx)iconv-test.out): Likewise.
38029         ($(objpfx)tst-tables.out): Likewise.
38030         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38031         ($(objpfx)tst-gettext.out): Likewise.
38032         ($(objpfx)tst-translit.out): Likewise.
38033         ($(objpfx)tst-gettext2.out): Likewise.
38034         ($(objpfx)tst-gettext4.out): Likewise.
38035         ($(objpfx)tst-gettext6.out): Likewise.
38036         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38037         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38038         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38039         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38040         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38041         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38042         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38043         ($(objpfx)wordexp-tst.out): Likewise.
38044         ($(objpfx)annexc.out): Likewise.
38045         ($(objpfx)tst-fnmatch-mem): Likewise.
38046         ($(objpfx)bug-regex2-mem): Likewise.
38047         ($(objpfx)bug-regex14-mem): Likewise.
38048         ($(objpfx)bug-regex21-mem): Likewise.
38049         ($(objpfx)bug-regex31-mem): Likewise.
38050         ($(objpfx)tst-vfork3-mem): Likewise.
38051         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38052         ($(objpfx)tst-pcre-mem): Likewise.
38053         ($(objpfx)tst-boost-mem): Likewise.
38054         ($(objpfx)tst-getconf.out): Likewise.
38055         ($(objpfx)bug-ga2-mem): Likewise.
38056         ($(objpfx)bug-glob2-mem): Likewise.
38057         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38058         ($(objpfx)mtrace-tst-leaks2): Likewise.
38059         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38060         ($(objpfx)tst-printf.out): Likewise.
38061         ($(objpfx)tst-setvbuf1.out): Likewise.
38062         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38063         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38064         ($(objpfx)tst-fmtmsg.out): Likewise.
38065         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38066         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38068         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38069         * bits/sigaction.h [__USE_MISC]: Likewise.
38070         * bits/waitstatus.h: Update #endif comments.
38071         * ctype/ctype.h: Likewise.
38072         * dirent/dirent.h: Likewise.
38073         [__USE_MISC]: Remove redundant conditionals.
38074         * grp/grp.h: Update #endif comments.
38075         [__USE_GNU]: Remove redundant conditionals.
38076         [__USE_MISC]: Likewise.
38077         * inet/netinet/in.h [__USE_GNU]: Likewise.
38078         * io/sys/stat.h [__USE_MISC]: Likewise.
38079         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38080         * libio/bits/stdio.h: Update #endif comments.
38081         [__USE_MISC]: Remove redundant conditionals.
38082         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38083         * libio/stdio.h: Update #endif comments.
38084         [__USE_MISC]: Remove redundant conditionals.
38085         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38086         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38087         * math/math.h: Update #else and #endif comments.
38088         [__USE_MISC]: Remove redundant conditionals.
38089         * misc/sys/uio.h: Update #endif comments.
38090         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38091         * posix/glob.h [__USE_MISC]: Likewise.
38092         * posix/sys/types.h: Update #endif comments.
38093         [__USE_MISC]: Remove redundant conditionals.
38094         * posix/sys/wait.h: Update #endif comments.
38095         [__USE_MISC]: Remove redundant conditionals.
38096         * posix/unistd.h: Update #endif comments.
38097         [__USE_MISC]: Remove redundant conditionals.
38098         * pwd/pwd.h [__USE_GNU]: Likewise.
38099         [__USE_MISC]: Likewise.
38100         * resolv/netdb.h [__USE_GNU]: Likewise.
38101         * signal/signal.h: Update #endif comments.
38102         [__USE_MISC]: Remove redundant conditionals.
38103         * stdlib/stdlib.h: Update #else and #endif comments.
38104         [__USE_MISC]: Remove redundant conditionals.
38105         [__USE_GNU]: Likewise.
38106         * string/bits/string2.h [__USE_MISC]: Likewise.
38107         * string/string.h: Update #endif comments.
38108         [__USE_MISC]: Remove redundant conditionals.
38109         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38110         Likewise.
38111         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38112         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38113         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38114         Likewise.
38115         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38116         Likewise.
38117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38118         comments.
38119         [__USE_MISC]: Remove redundant conditionals.
38120         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38121         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38122         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38123         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38124         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38125         Likewise.
38126         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38127         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38128         Likewise.
38129         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38130         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38131         Likewise.
38132         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38133         Likewise.
38134         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38135         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38136         Likewise.
38137         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38138         Likewise.
38139         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38140         * sysdeps/x86/bits/string.h: Update #endif comments.
38141         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38142         conditionals.
38143         * time/sys/time.h: Update #endif comments.
38144         * time/time.h: Likewise.
38145         [__USE_MISC]: Remove redundant conditionals.
38147 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38149         [BZ #16600]
38150         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38152 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38154         * Versions.def (librt): Add GLIBC_2.17.
38156 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38158         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38159         synonym for _SYS_AUXV_H to allow direct inclusion.
38160         * sysdeps/sparc/bits/hwcap.h: Likewise.
38161         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38162         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38163         * sysdeps/sparc/sysdep.h: Likewise.
38165 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38167         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38169 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38171         * benchtests/bench-strrchr.c: Print length instead of position.
38173 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38175         [BZ #16611]
38176         * sysdeps/unix/sysv/linux/kernel-features.h
38177         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38178         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38179         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38180         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38181         Likewise.
38182         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38183         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38184         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38185         (__ASSUME_SENDMMSG): Define instead of using previous
38186         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38188         (__ASSUME_SENDMMSG_SYSCALL): Define.
38189         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38190         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38191         Likewise.
38192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38193         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38194         Likewise.
38195         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38196         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38197         Likewise.
38198         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38199         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38200         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38201         [__ASSUME_SENDMMSG]: Change conditionals to
38202         [__ASSUME_SENDMMSG_SOCKETCALL].
38203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38204         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38205         Define.
38206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38207         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38208         Likewise.
38209         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38210         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38211         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38212         [!__ASSUME_SENDMMSG]: Change conditional to
38213         [!__ASSUME_SENDMMSG_SOCKETCALL].
38214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38215         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38216         Define.
38218         [BZ #16610]
38219         * sysdeps/unix/sysv/linux/kernel-features.h
38220         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38221         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38222         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38223         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38224         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38225         [__i386__ || __sparc__]
38226         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38227         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38228         (__ASSUME_RECVMMSG): Define instead of using previous
38229         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38231         (__ASSUME_RECVMMSG_SYSCALL): Define.
38232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38233         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38234         Likewise.
38235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38237         Likewise.
38238         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38240         Likewise.
38241         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38242         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38243         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38244         [__ASSUME_RECVMMSG]: Change condition to
38245         [__ASSUME_RECVMMSG_SOCKETCALL].
38246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38248         Define.
38249         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38250         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38252         Likewise.
38253         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38254         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38255         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38256         [!__ASSUME_RECVMMSG]: Change condition to
38257         [!__ASSUME_RECVMMSG_SOCKETCALL].
38258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38259         (__ASSUME_RECVMMSG_SYSCALL): Define.
38261         [BZ #16609]
38262         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38263         __powerpc__ || __s390__ || __sh__ || __sparc__]
38264         (__ASSUME_SOCKETCALL): Define.
38265         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38266         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38267         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38268         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38269         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38270         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38271         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38272         (__ASSUME_ACCEPT4): Define instead of using previous
38273         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38274         __powerpc__ || __sparc__ || __s390__)] condition.
38275         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38276         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38277         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38278         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38279         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38280         [!__ASSUME_ACCEPT4]: Change condition to
38281         [!__ASSUME_ACCEPT4_SOCKETCALL].
38282         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38283         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38284         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38285         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38286         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38287         __ASSUME_ACCEPT4_SYSCALL.
38288         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38289         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38290         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38291         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38292         __ASSUME_ACCEPT4_SYSCALL.
38293         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38294         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38295         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38296         [__ASSUME_ACCEPT4]: Change condition to
38297         [__ASSUME_ACCEPT4_SOCKETCALL].
38298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38299         (__ASSUME_SOCKETCALL): Define.
38300         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38302         (__ASSUME_SOCKETCALL): Define.
38303         (__ASSUME_ACCEPT4): Remove.
38304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38305         Define.
38306         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38307         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38308         Likewise.
38309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38310         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38312         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38313         macro.
38314         (HWCAP_ARM_LPAE): Likewise.
38315         (HWCAP_ARM_EVTSTRM): Likewise.
38316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38317         Add vpfd32, lpae and evtstrm.
38318         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38319         Increase to 22.
38321 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
38323         * math/auto-libm-test-in: Add tests of clog10.
38324         * math/auto-libm-test-out: Regenerated.
38325         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38326         * sysdeps/i386/fpu/libm-test-ulps: Update.
38327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38329 2014-02-18  Andreas Schwab  <schwab@suse.de>
38331         [BZ #16574]
38332         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38333         Store non-zero if the second buffer was newly allocated.
38334         (send_dg): Likewise.
38335         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38336         to send_vc and send_dg.
38337         (res_nsend): Pass NULL for ansp2_malloced.
38338         * resolv/res_query.c (__libc_res_nquery): Add parameter
38339         answerp2_malloced and pass it down to __libc_res_nsend.
38340         (res_nquery): Pass additional NULL to __libc_res_nquery.
38341         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38342         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
38343         second answer buffer if answerp2_malloced was set.
38344         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38345         (__libc_res_nquerydomain): Add parameter
38346         answerp2_malloced and pass it down to __libc_res_nquery.
38347         (res_nquerydomain): Pass additional NULL to
38348         __libc_res_nquerydomain.
38349         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38350         additional NULL to __libc_res_nsend and __libc_res_nquery.
38351         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38352         additional NULL to __libc_res_nsearch.
38353         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
38354         parameter of __libc_res_nsearch to check for separately allocated
38355         second buffer.
38356         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38357         __libc_res_nquery.
38358         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38359         additional NULL to __libc_res_nquery.
38360         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38361         __libc_res_nsearch.
38362         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38363         * include/resolv.h: Update prototypes of __libc_res_nquery,
38364         __libc_res_nsearch, __libc_res_nsend.
38366 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
38368         * math/auto-libm-test-in: Add tests of fma.
38369         * math/auto-libm-test-out: Regenerated.
38370         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38371         (fma_towardzero_test_data): Likewise.
38372         (fma_downward_test_data): Likewise.
38373         (fma_upward_test_data): Likewise.
38374         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38375         mpc_mode.
38376         (rounding_modes): Add values for new field.
38377         (func_calc_method): Add value mpfr_fff_f.
38378         (func_calc_desc): Add mpfr_fff_f union field.
38379         (test_function): Add field exact_args.
38380         (FUNC): Add macro argument EXACT_ARGS.
38381         (FUNC_mpfr_f_f): Update call to FUNC.
38382         (FUNC_mpfr_f_f): Likewise.
38383         (FUNC_mpfr_ff_f): Likewise.
38384         (FUNC_mpfr_if_f): Likewise.
38385         (FUNC_mpc_c_f): Likewise.
38386         (FUNC_mpc_c_c): Likewise.
38387         (test_functions): Add fma.  Update calls to FUNC.
38388         (handle_input_arg): Add argument exact_args.
38389         (add_test): Update call to handle_input_arg.
38390         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
38391         (output_for_one_input_case): Update call to calc_generic_results.
38392         Recalculate exact zero results in each rounding mode.
38394         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38395         non-negative before setting low bit.
38396         * math/auto-libm-test-in: Mark one asin test possibly having
38397         spurious underflow.
38398         * math/auto-libm-test-out: Regenerated.
38399         * sysdeps/i386/fpu/libm-test-ulps: Update.
38400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38402 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
38404         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38405         * sysdeps/unix/sysv/linux/microblaze: Move directory from
38406         ports/sysdeps/unix/sysv/linux/microblaze.
38407         * README: Add missing listing for microblaze*-*-linux-gnu.
38409 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
38411         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38412         duplicate code
38414 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
38416         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38417         * sysdeps/unix/sysv/linux/ia64: Move directory from
38418         ports/sysdeps/unix/sysv/linux/ia64.
38419         * README: Update listing for ia64-*-linux-gnu.
38421 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
38422             Joseph Myers  <joseph@codesourcery.com>
38424         * Makeconfig (test-name): New variable.
38425         (evaluate-test): Likewise.
38426         * Makerules (do-test-clean): Remove .test-result files.
38427         (common-mostlyclean): Likewise.
38428         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38429         * scripts/evaluate-test.sh: New file.
38431 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
38433         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38434         separate $(objpfx)tst-fopenloc-cmp.out and
38435         $(objpfx)tst-fopenloc-mem.out targets.
38436         (tests): Update dependencies.
38437         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38438         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38439         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38440         (tst-rxspencer-no-utf8-ARGS): New variable.
38441         (tst-rxspencer-no-utf8-ENV): Likewise.
38442         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38443         instead of $(objpfx)tst-rxspencer-mem.
38444         ($(objpfx)tst-rxspencer-mem): Change target to
38445         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
38446         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38447         * posix/tst-rxspencer-no-utf8.c: New file.
38449         * elf/Makefile ($(objpfx)order.out): Remove rule.
38450         [$(run-built-tests) = yes] (tests): Depend on
38451         $(objpfx)order-cmp.out.
38452         ($(objpfx)order-cmp.out): New rule.
38453         [$(run-built-tests) = yes] (tests): Depend on
38454         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38455         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38456         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38457         $(objpfx)tst-array5-static-cmp.out.
38458         ($(objpfx)tst-array1.out): Remove rule.
38459         ($(objpfx)tst-array1-cmp.out): New rule.
38460         ($(objpfx)tst-array1-static.out): Remove rule.
38461         ($(objpfx)tst-array1-static-cmp.out): New rule.
38462         ($(objpfx)tst-array2.out): Remove rule.
38463         ($(objpfx)tst-array2-cmp.out): New rule.
38464         ($(objpfx)tst-array3.out): Remove rule.
38465         ($(objpfx)tst-array3-cmp.out): New rule.
38466         ($(objpfx)tst-array4.out): Remove rule.
38467         ($(objpfx)tst-array4-cmp.out): New rule.
38468         ($(objpfx)tst-array5.out): Remove rule.
38469         ($(objpfx)tst-array5-cmp.out): New rule.
38470         ($(objpfx)tst-array5-static.out): Remove rule.
38471         ($(objpfx)tst-array5-static-cmp.out): New rule.
38472         [$(run-built-tests) = yes] (tests): Depend on
38473         $(objpfx)order2-cmp.out.
38474         ($(objpfx)order2.out): Remove rule.
38475         ($(objpfx)order2-cmp.out): New rule.
38476         ($(objpfx)tst-initorder.out): Remove rule.
38477         [$(run-built-tests) = yes] (tests): Depend on
38478         $(objpfx)tst-initorder-cmp.out.
38479         ($(objpfx)tst-initorder-cmp.out): New rule.
38480         ($(objpfx)tst-initorder2.out): Remove rule.
38481         [$(run-built-tests) = yes] (tests): Depend on
38482         $(objpfx)tst-initorder2-cmp.out.
38483         ($(objpfx)tst-initorder2-cmp.out): New rule.
38484         [$(run-built-tests) = yes] (tests): Depend on
38485         $(objpfx)tst-unused-dep-cmp.out.
38486         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38487         ($(objpfx)tst-unused-dep-cmp.out): New rule.
38488         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38489         on $(objpfx)tst-setvbuf1-cmp.out.
38490         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38491         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38492         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38493         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38494         ($(objpfx)tst-svc.out): Remove rule.
38495         ($(objpfx)tst-svc-cmp.out): New rule.
38497 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
38499         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38500         * ctype/ctype.h [__USE_MISC]: Likewise.
38501         * dirent/dirent.h [__USE_MISC]: Likewise.
38502         * grp/grp.h [__USE_MISC]: Likewise.
38503         * io/fcntl.h [__USE_MISC]: Likewise.
38504         * io/sys/stat.h [__USE_MISC]: Likewise.
38505         * libio/stdio.h [__USE_MISC]: Likewise.
38506         * posix/unistd.h [__USE_MISC]: Likewise.
38507         * pwd/pwd.h [__USE_MISC]: Likewise.
38508         * stdlib.h [__USE_MISC]: Likewise.
38509         * string/bits/string2.h [__USE_MISC]: Likewise.
38510         * string/string.h [__USE_MISC]: Likewise.
38511         * time/time.h [__USE_MISC]: Likewise.
38513 2014-02-13  Andreas Schwab  <schwab@suse.de>
38515         [BZ #16574]
38516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38517         second answer buffer if it was separately allocated.
38519 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
38521         * sysdeps/mips/math-tests.h: Include <features.h>.
38522         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38523         (ROUNDING_TESTS_long_double): Do not define.
38524         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38525         (EXCEPTION_TESTS_long_double): Likewise.
38526         * sysdeps/mips/mips64/libm-test-ulps: Update.
38528         * include/features.h (__USE_BSD): Remove macro definitions.
38529         (__USE_SVID): Likewise.
38530         (_BSD_SOURCE): Likewise.
38531         (_SVID_SOURCE): Likewise.
38532         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38533         from definition of _DEFAULT_SOURCE.
38534         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38535         [_DEFAULT_SOURCE].
38536         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38537         * bits/mman.h [__USE_BSD]: Likewise.
38538         * bits/termios.h [__USE_BSD]: Likewise.
38539         * bits/waitstatus.h [__USE_BSD]: Likewise.
38540         * ctype/ctype.h [__USE_SVID]: Likewise.
38541         * dirent/dirent.h [__USE_BSD]: Likewise.
38542         * grp/grp.h [__USE_SVID]: Likewise.
38543         [__USE_BSD]: Likewise.
38544         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38545         * io/fcntl.h [__USE_BSD]: Likewise.
38546         * io/ftw.h [__USE_BSD]: Likewise.
38547         * io/sys/stat.h [__USE_BSD]: Likewise.
38548         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38549         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38550         * libio/stdio.h [__USE_SVID]: Likewise.
38551         [__USE_BSD]: Likewise.
38552         * math/math.h [__USE_SVID]: Likewise.
38553         [__USE_BSD]: Likewise.
38554         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38555         * misc/bits/syslog.h [__USE_BSD]: Likewise.
38556         * misc/search.h [__USE_SVID]: Likewise.
38557         * misc/sys/mman.h [__USE_BSD]: Likewise.
38558         * misc/sys/syslog.h [__USE_BSD]: Likewise.
38559         * misc/sys/uio.h [__USE_BSD]: Likewise.
38560         * posix/bits/unistd.h [__USE_BSD]: Likewise.
38561         * posix/glob.h [__USE_BSD]: Likewise.
38562         * posix/regex.h [__USE_BSD]: Likewise.
38563         * posix/sys/types.h [__USE_BSD]: Likewise.
38564         [__USE_SVID]: Likewise.
38565         * posix/sys/utsname.h [__USE_SVID]: Likewise.
38566         * posix/sys/wait.h [__USE_BSD]: Likewise.
38567         [__USE_SVID]: Likewise.
38568         * posix/unistd.h [__USE_BSD]: Likewise.
38569         [__USE_SVID]: Likewise.
38570         * pwd/pwd.h [__USE_SVID]: Likewise.
38571         * resolv/netdb.h [__USE_BSD]: Likewise.
38572         * setjmp/setjmp.h [__USE_BSD]: Likewise.
38573         * signal/signal.h [__USE_BSD]: Likewise.
38574         [__USE_SVID]: Likewise.
38575         * socket/sys/socket.h [__USE_BSD]: Likewise.
38576         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38577         * stdlib/stdlib.h [__USE_BSD]: Likewise.
38578         [__USE_SVID]: Likewise.
38579         * string/bits/string2.h [__USE_BSD]: Likewise.
38580         [__USE_SVID]: Likewise.
38581         * string/bits/string3.h [__USE_BSD]: Likewise.
38582         * string/endian.h [__USE_BSD]: Likewise.
38583         * string/string.h [__USE_SVID]: Likewise.
38584         [__USE_BSD]: Likewise.
38585         * string/strings.h [__USE_BSD]: Likewise.
38586         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38587         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38588         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38589         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38590         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38591         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38592         Likewise.
38593         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38594         Likewise.
38595         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38596         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38597         Likewise.
38598         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38599         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38600         Likewise.
38601         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38602         Likewise.
38603         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38604         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38605         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38606         Likewise.
38607         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38608         Likewise.
38609         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38610         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38611         * termios/termios.h [__USE_BSD]: Likewise.
38612         * time/sys/time.h [__USE_BSD]: Likewise.
38613         * time/time.h [__USE_BSD]: Likewise.
38614         [__USE_SVID]: Likewise.
38616         * Makefile (subdir_targets): Remove subdir_lint.out.
38618         * stdio-common/Makefile (do-tst-unbputc): Remove target.
38619         (do-tst-printf): Likewise.
38620         (tests): Depend directly on $(objpfx)tst-unbputc.out and
38621         $(objpfx)tst-printf.out.
38623         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38625         * Makerules (check-abi-%): Change target to
38626         $(objpfx)check-abi-%.out.
38627         (check-abi target): Update dependencies.
38628         (check-abi-pattern variable): Redirect output of diff to $@.
38629         (check-abi variable): Likewise.
38630         * elf/Makefile (check-abi): Update dependencies.
38632         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38633         unused.
38634         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38635         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38636         subnormal range.
38637         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38638         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38639         value has largest subnormal exponent.
38640         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38641         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38642         * sysdeps/aarch64/soft-fp/sfp-machine.h
38643         (_FP_TININESS_AFTER_ROUNDING): New macro.
38644         * sysdeps/alpha/soft-fp/sfp-machine.h
38645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38646         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38647         Likewise.
38648         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38649         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38650         * sysdeps/mips/soft-fp/sfp-machine.h
38651         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38652         * sysdeps/powerpc/soft-fp/sfp-machine.h
38653         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38654         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38655         Likewise.
38656         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38658         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38659         (_FP_TININESS_AFTER_ROUNDING): Likewise.
38660         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38661         Likewise.
38663 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
38665         [BZ #16545]
38666         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38667         model 1.
38669 2014-02-12  Richard Henderson  <rth@redhat.com>
38671         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38672         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38673         * sysdeps/unix/sysv/linux/alpha: Move directory from
38674         ports/sysdeps/unix/sysv/linux/alpha.
38675         * README: Update listing for alpha-*-linux-gnu.
38677 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
38679         * include/features.h: Update comment documenting feature test
38680         macros.
38681         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
38682         _DEFAULT_SOURCE.
38683         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38684         (_SVID_SOURCE): Likewise.
38685         (_DEFAULT_SOURCE): Update description of default features.
38686         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38687         with _GNU_SOURCE.
38688         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38689         (S_ISVTX): Likewise.
38690         * manual/math.texi (Mathematical Constants): Likewise.
38691         * manual/signal.texi (Interrupted Primitives): Likewise.
38692         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38693         * math/test-matherr.c (_SVID_SOURCE): Do not define.
38694         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38695         Don't refer to _SVID_SOURCE in warning text.
38697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38699         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38700         already defined.
38701         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38702         * sysdeps/mips/dl-lookup.c: Remove.
38703         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38705 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38707         [BZ #16447]
38708         * math/auto-libm-test-in: Add testcase for expl.
38709         * math/auto-libm-test-out: Regenerate.
38710         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38711         calculation of unsafe.
38712         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38714 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38716         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38717         * sysdeps/unix/sysv/linux/aarch64: Move directory from
38718         ports/sysdeps/unix/sysv/linux/aarch64.
38719         * README: Update listing for aarch64*-*-linux-gnu.
38721 2014-02-11  Will Newton  <will.newton@linaro.org>
38723         * manual/probes.texi (Mathematical Function Probes): Use
38724         "triggered" instead of "hit".
38726         * manual/probes.texi (Internal Probes): Add documentation
38727         of setjmp, longjmp and longjmp_target probes.
38729         * include/stap-probe.h: Add comment about probe argument
38730         format.
38732         * malloc/mtrace.c (attribute_hidden): Remove unused macro
38733         definition.  (tr_where, tr_freehook, tr_mallochook,
38734         tr_reallochook, tr_memalignhook): Use ANSI protoype.
38736 2014-02-11  David S. Miller  <davem@davemloft.net>
38738         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38739         processing int_tests.
38741 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
38743         * sysdeps/mips: Move directory from ports/sysdeps/mips.
38744         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38745         * sysdeps/unix/sysv/linux/mips: Move directory from
38746         ports/sysdeps/unix/sysv/linux/mips.
38747         * README: Update listing for mips-*-linux-gnu and
38748         mips64-*-linux-gnu.
38750 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
38752         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38753         * sysdeps/unix/sysv/linux/m68k: Move directory from
38754         ports/sysdeps/unix/sysv/linux/m68k.
38755         * README: Update listing for m68k-*-linux-gnu.
38757 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
38759         * sysdeps/tile: Move directory from ports/sysdeps/tile.
38760         * sysdeps/unix/sysv/linux/generic: Move directory from
38761         ports/sysdeps/unix/sysv/linux/generic.
38762         * sysdeps/unix/sysv/linux/tile: Move directory from
38763         ports/sysdeps/unix/sysv/linux/tile.
38764         * README: Update listing for tile*-*-linux-gnu.
38766 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
38768         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38769         __builtin_expect.
38770         * benchtests/bench-memmem.c (simple_memmem): Likewise.
38771         * catgets/open_catalog.c (__open_catalog): Likewise.
38772         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38773         * debug/confstr_chk.c: Likewise.
38774         * debug/fread_chk.c (__fread_chk): Likewise.
38775         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38776         * debug/getgroups_chk.c: Likewise.
38777         * debug/mbsnrtowcs_chk.c: Likewise.
38778         * debug/mbsrtowcs_chk.c: Likewise.
38779         * debug/mbstowcs_chk.c: Likewise.
38780         * debug/memcpy_chk.c: Likewise.
38781         * debug/memmove_chk.c: Likewise.
38782         * debug/mempcpy_chk.c: Likewise.
38783         * debug/memset_chk.c: Likewise.
38784         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38785         * debug/strcat_chk.c (__strcat_chk): Likewise.
38786         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38787         * debug/strncat_chk.c (__strncat_chk): Likewise.
38788         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38789         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38790         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38791         * debug/wcpncpy_chk.c: Likewise.
38792         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38793         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38794         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38795         * debug/wcsncpy_chk.c: Likewise.
38796         * debug/wcsnrtombs_chk.c: Likewise.
38797         * debug/wcsrtombs_chk.c: Likewise.
38798         * debug/wcstombs_chk.c: Likewise.
38799         * debug/wmemcpy_chk.c: Likewise.
38800         * debug/wmemmove_chk.c: Likewise.
38801         * debug/wmempcpy_chk.c: Likewise.
38802         * debug/wmemset_chk.c: Likewise.
38803         * dirent/scandirat.c (SCANDIRAT): Likewise.
38804         * dlfcn/dladdr1.c (dladdr1): Likewise.
38805         * dlfcn/dladdr.c (dladdr): Likewise.
38806         * dlfcn/dlclose.c (dlclose_doit): Likewise.
38807         * dlfcn/dlerror.c (__dlerror): Likewise.
38808         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38809         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38810         * dlfcn/dlopen.c (dlopen_doit): Likewise.
38811         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38812         * dlfcn/dlsym.c (dlsym_doit): Likewise.
38813         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38814         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38815         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38816         Likewise.
38817         * elf/dl-conflict.c: Likewise.
38818         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38819         * elf/dl-dst.h: Likewise.
38820         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38821         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38822         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38823         * elf/dl-init.c (call_init, _dl_init): Likewise.
38824         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38825         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38826         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38827         Likewise.
38828         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38829         Likewise.
38830         * elf/dl-minimal.c (__libc_memalign): Likewise.
38831         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38832         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38833         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38834         * elf/dl-sym.c (do_sym): Likewise.
38835         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38836         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38837         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38838         * elf/dl-writev.h (_dl_writev): Likewise.
38839         * elf/ldconfig.c (search_dir): Likewise.
38840         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38841         (dl_main): Likewise.
38842         * elf/setup-vdso.h (setup_vdso): Likewise.
38843         * grp/compat-initgroups.c (compat_call): Likewise.
38844         * grp/fgetgrent.c (fgetgrent): Likewise.
38845         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
38846         * grp/putgrent.c (putgrent): Likewise.
38847         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38848         Likewise.
38849         * hurd/hurdinit.c: Likewise.
38850         * iconvdata/8bit-gap.c (struct): Likewise.
38851         * iconvdata/ansi_x3.110.c : Likewise.
38852         * iconvdata/big5.c : Likewise.
38853         * iconvdata/big5hkscs.c : Likewise.
38854         * iconvdata/cp1255.c: Likewise.
38855         * iconvdata/cp1258.c : Likewise.
38856         * iconvdata/cp932.c : Likewise.
38857         * iconvdata/euc-cn.c: Likewise.
38858         * iconvdata/euc-jisx0213.c : Likewise.
38859         * iconvdata/euc-jp.c: Likewise.
38860         * iconvdata/euc-jp-ms.c : Likewise.
38861         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
38862         * iconvdata/gb18030.c : Likewise.
38863         * iconvdata/gbbig5.c (const): Likewise.
38864         * iconvdata/gbgbk.c: Likewise.
38865         * iconvdata/gbk.c : Likewise.
38866         * iconvdata/ibm1364.c : Likewise.
38867         * iconvdata/ibm930.c : Likewise.
38868         * iconvdata/ibm932.c: Likewise.
38869         * iconvdata/ibm933.c : Likewise.
38870         * iconvdata/ibm935.c : Likewise.
38871         * iconvdata/ibm937.c : Likewise.
38872         * iconvdata/ibm939.c : Likewise.
38873         * iconvdata/ibm943.c: Likewise.
38874         * iconvdata/iso_11548-1.c: Likewise.
38875         * iconvdata/iso-2022-cn.c : Likewise.
38876         * iconvdata/iso-2022-cn-ext.c : Likewise.
38877         * iconvdata/iso-2022-jp-3.c: Likewise.
38878         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
38879         * iconvdata/iso-2022-kr.c : Likewise.
38880         * iconvdata/iso646.c (gconv_end): Likewise.
38881         * iconvdata/iso_6937-2.c : Likewise.
38882         * iconvdata/iso_6937.c : Likewise.
38883         * iconvdata/iso8859-1.c: Likewise.
38884         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
38885         * iconvdata/shift_jisx0213.c : Likewise.
38886         * iconvdata/sjis.c : Likewise.
38887         * iconvdata/t.61.c : Likewise.
38888         * iconvdata/tcvn5712-1.c : Likewise.
38889         * iconvdata/tscii.c: Likewise.
38890         * iconvdata/uhc.c : Likewise.
38891         * iconvdata/unicode.c (gconv_end): Likewise.
38892         * iconvdata/utf-16.c (gconv_end): Likewise.
38893         * iconvdata/utf-32.c (gconv_end): Likewise.
38894         * iconvdata/utf-7.c (base64): Likewise.
38895         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
38896         * iconv/gconv_close.c (__gconv_close): Likewise.
38897         * iconv/gconv_open.c (__gconv_open): Likewise.
38898         * iconv/gconv_simple.c (internal_ucs4_loop_single)
38899         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
38900         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
38901         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
38902         (ucs4le_internal_loop_single): Likewise.
38903         * iconv/iconv.c (iconv): Likewise.
38904         * iconv/iconv_close.c: Likewise.
38905         * iconv/loop.c (SINGLE): Likewise.
38906         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
38907         * include/atomic.h: Likewise.
38908         * inet/inet6_option.c (option_alloc): Likewise.
38909         * intl/bindtextdom.c (set_binding_values): Likewise.
38910         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
38911         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
38912         * intl/localealias.c (read_alias_file): Likewise.
38913         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
38914         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
38915         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
38916         * libio/fmemopen.c (fmemopen): Likewise.
38917         * libio/iofgets.c (_IO_fgets): Likewise.
38918         * libio/iofgets_u.c (fgets_unlocked): Likewise.
38919         * libio/iofgetws.c (fgetws): Likewise.
38920         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
38921         * libio/iogetdelim.c (_IO_getdelim): Likewise.
38922         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
38923         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
38924         * locale/findlocale.c (_nl_find_locale): Likewise.
38925         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
38926         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
38927         Likewise.
38928         * locale/setlocale.c (setlocale): Likewise.
38929         * login/programs/pt_chown.c (main): Likewise.
38930         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
38931         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
38932         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
38933         (mmap, mmap64, mremap, munmap): Likewise.
38934         * math/e_exp2l.c: Likewise.
38935         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
38936         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
38937         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
38938         * math/s_catan.c (__catan): Likewise.
38939         * math/s_catanf.c (__catanf): Likewise.
38940         * math/s_catanh.c (__catanh): Likewise.
38941         * math/s_catanhf.c (__catanhf): Likewise.
38942         * math/s_catanhl.c (__catanhl): Likewise.
38943         * math/s_catanl.c (__catanl): Likewise.
38944         * math/s_ccosh.c (__ccosh): Likewise.
38945         * math/s_ccoshf.c (__ccoshf): Likewise.
38946         * math/s_ccoshl.c (__ccoshl): Likewise.
38947         * math/s_cexp.c (__cexp): Likewise.
38948         * math/s_cexpf.c (__cexpf): Likewise.
38949         * math/s_cexpl.c (__cexpl): Likewise.
38950         * math/s_clog10.c (__clog10): Likewise.
38951         * math/s_clog10f.c (__clog10f): Likewise.
38952         * math/s_clog10l.c (__clog10l): Likewise.
38953         * math/s_clog.c (__clog): Likewise.
38954         * math/s_clogf.c (__clogf): Likewise.
38955         * math/s_clogl.c (__clogl): Likewise.
38956         * math/s_csin.c (__csin): Likewise.
38957         * math/s_csinf.c (__csinf): Likewise.
38958         * math/s_csinh.c (__csinh): Likewise.
38959         * math/s_csinhf.c (__csinhf): Likewise.
38960         * math/s_csinhl.c (__csinhl): Likewise.
38961         * math/s_csinl.c (__csinl): Likewise.
38962         * math/s_csqrt.c (__csqrt): Likewise.
38963         * math/s_csqrtf.c (__csqrtf): Likewise.
38964         * math/s_csqrtl.c (__csqrtl): Likewise.
38965         * math/s_ctan.c (__ctan): Likewise.
38966         * math/s_ctanf.c (__ctanf): Likewise.
38967         * math/s_ctanh.c (__ctanh): Likewise.
38968         * math/s_ctanhf.c (__ctanhf): Likewise.
38969         * math/s_ctanhl.c (__ctanhl): Likewise.
38970         * math/s_ctanl.c (__ctanl): Likewise.
38971         * math/w_pow.c: Likewise.
38972         * math/w_powf.c: Likewise.
38973         * math/w_powl.c: Likewise.
38974         * math/w_scalb.c (sysv_scalb): Likewise.
38975         * math/w_scalbf.c (sysv_scalbf): Likewise.
38976         * math/w_scalbl.c (sysv_scalbl): Likewise.
38977         * misc/error.c (error_tail): Likewise.
38978         * misc/pselect.c (__pselect): Likewise.
38979         * nis/nis_callback.c (__nis_create_callback): Likewise.
38980         * nis/nis_call.c (__nisfind_server): Likewise.
38981         * nis/nis_creategroup.c (nis_creategroup): Likewise.
38982         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
38983         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
38984         * nis/nis_getservlist.c (nis_getservlist): Likewise.
38985         * nis/nis_lookup.c (nis_lookup): Likewise.
38986         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
38987         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
38988         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
38989         * nis/nis_xdr.c (xdr_endpoint): Likewise.
38990         * nis/nss_compat/compat-grp.c (getgrent_next_file)
38991         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
38992         * nis/nss_compat/compat-initgroups.c (add_group)
38993         (internal_getgrent_r): Likewise.
38994         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
38995         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
38996         * nis/nss_compat/compat-spwd.c (getspent_next_file)
38997         (internal_getspnam_r): Likewise.
38998         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
38999         (_nss_nis_getaliasbyname_r): Likewise.
39000         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39001         (_nss_nis_getntohost_r): Likewise.
39002         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39003         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39004         (_nss_nis_getgrgid_r): Likewise.
39005         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39006         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39007         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39008         (_nss_nis_gethostbyname4_r): Likewise.
39009         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39010         (initgroups_netid): Likewise.
39011         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39012         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39013         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39014         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39015         (_nss_nis_getprotobynumber_r): Likewise.
39016         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39017         (_nss_nis_getsecretkey): Likewise.
39018         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39019         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39020         (_nss_nis_getpwuid_r): Likewise.
39021         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39022         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39023         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39024         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39025         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39026         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39027         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39028         Likewise.
39029         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39030         (_nss_nisplus_getntohost_r): Likewise.
39031         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39032         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39033         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39034         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39035         Likewise.
39036         * nis/nss_nisplus/nisplus-initgroups.c
39037         (_nss_nisplus_initgroups_dyn): Likewise.
39038         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39039         (_nss_nisplus_getnetbyaddr_r): Likewise.
39040         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39041         (_nss_nisplus_getprotobynumber_r): Likewise.
39042         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39043         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39044         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39045         Likewise.
39046         * nis/nss_nisplus/nisplus-service.c
39047         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39048         (_nss_nisplus_getservbyport_r): Likewise.
39049         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39050         (_nss_nisplus_getspnam_r): Likewise.
39051         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39052         Likewise.
39053         * nscd/aicache.c (addhstaiX): Likewise.
39054         * nscd/cache.c (cache_search, prune_cache): Likewise.
39055         * nscd/connections.c (register_traced_file, send_ro_fd)
39056         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39057         (main_loop_epoll): Likewise.
39058         * nscd/grpcache.c (addgrbyX): Likewise.
39059         * nscd/hstcache.c (addhstbyX): Likewise.
39060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39061         * nscd/mem.c (gc, mempool_alloc): Likewise.
39062         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39063         (addinnetgrX): Likewise.
39064         * nscd/nscd-client.h (__nscd_acquire_maplock)
39065         (__nscd_drop_map_ref): Likewise.
39066         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39067         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39068         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39069         Likewise.
39070         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39071         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39072         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39073         (__nscd_get_map_ref): Likewise.
39074         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39075         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39076         Likewise.
39077         * nscd/pwdcache.c (addpwbyX): Likewise.
39078         * nscd/selinux.c (preserve_capabilities): Likewise.
39079         * nscd/servicescache.c (addservbyX): Likewise.
39080         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39081         * posix/fnmatch.c (fnmatch): Likewise.
39082         * posix/getopt.c (_getopt_internal_r): Likewise.
39083         * posix/glob.c (glob, glob_in_dir): Likewise.
39084         * posix/wordexp.c (exec_comm_child): Likewise.
39085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39086         (getanswer_r, gaih_getanswer_slice): Likewise.
39087         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39088         * resolv/res_init.c: Likewise.
39089         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39090         * resolv/res_query.c (__libc_res_nquery): Likewise.
39091         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39092         Likewise.
39093         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39094         * stdio-common/perror.c (perror): Likewise.
39095         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39096         * stdio-common/tmpnam.c (tmpnam): Likewise.
39097         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39098         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39099         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39100         Likewise.
39101         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39102         * stdlib/putenv.c (putenv): Likewise.
39103         * stdlib/setenv.c (__add_to_environ): Likewise.
39104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39105         * stdlib/strtol_l.c (INTERNAL): Likewise.
39106         * string/memmem.c (memmem): Likewise.
39107         * string/strerror.c (strerror): Likewise.
39108         * string/strnlen.c (__strnlen): Likewise.
39109         * string/test-memmem.c (simple_memmem): Likewise.
39110         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39111         * sunrpc/pm_getport.c (__get_socket): Likewise.
39112         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39113         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39114         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39115         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39116         Likewise.
39117         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39119         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39120         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39121         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39122         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39123         Likewise.
39124         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39125         Likewise.
39126         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39127         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39129         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39130         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39132         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39133         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39134         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39135         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39136         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39138         Likewise.
39139         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39140         Likewise.
39141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39142         Likewise.
39143         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39146         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39147         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39148         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39149         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39150         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39152         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39153         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39154         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39155         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39156         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39158         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39159         Likewise.
39160         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39161         Likewise.
39162         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39163         Likewise.
39164         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39165         Likewise.
39166         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39167         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39168         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39169         Likewise.
39170         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39171         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39172         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39173         * sysdeps/posix/sleep.c: Likewise.
39174         * sysdeps/posix/tempname.c: Likewise.
39175         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39176         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39177         Likewise.
39178         * sysdeps/powerpc/powerpc32/dl-machine.h
39179         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39180         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39182         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39183         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39184         Likewise.
39185         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39186         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39187         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39189         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39190         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39191         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39192         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39193         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39194         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39195         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39196         (elf_machine_lazy_rel): Likewise.
39197         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39198         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39199         (elf_machine_lazy_rel): Likewise.
39200         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39201         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39202         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39203         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39204         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39205         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39206         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39208         Likewise.
39209         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39210         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39211         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39212         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39213         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39214         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39215         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39216         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39217         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39218         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39219         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39220         Likewise.
39221         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39222         (__posix_fallocate64_l64): Likewise.
39223         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39224         (posix_fallocate): Likewise.
39225         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39226         Likewise.
39227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39228         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39229         (getifaddrs_internal): Likewise.
39230         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39231         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39232         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39233         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39234         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39235         (__posix_fallocate64_l64): Likewise.
39236         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39237         Likewise.
39238         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39240         (__get_clockfreq): Likewise.
39241         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39242         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39243         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39246         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39247         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39248         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39249         Likewise.
39250         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39251         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39252         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39253         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39254         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39255         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39256         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39257         Likewise.
39258         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39259         (posix_fallocate): Likewise.
39260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39261         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39262         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39263         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39264         (elf_machine_rela, elf_machine_rela_relative)
39265         (elf_machine_lazy_rel): Likewise.
39266         * time/asctime.c (asctime_internal): Likewise.
39267         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39268         * time/tzset.c (__tzset_parse_tz): Likewise.
39269         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39270         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39271         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39272         * wcsmbs/wcsmbsload.h: Likewise.
39274         [BZ #15894]
39275         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39277         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39278         (arena_get2): Remove THREAD_STATS conditionals.
39279         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39280         (__malloc_stats, int): Likewise.
39282 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39284         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39285         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39287         * manual/setjmp.texi: Fix typos/grammar errors.
39289         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39290         Only return early when n is <= 0.  Delete unused return statement.
39292         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39293         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39294         * debug/tst-longjmp_chk3.c: New file.
39296         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39297         (test_main): Replace code with set_fortify_handler call.
39298         * debug/test-strcpy_chk.c: Likewise.
39299         * debug/tst-chk1.c: Likewise.
39300         * debug/tst-longjmp_chk.c: Likewise.
39301         * test-skeleton.c: Include fcntl.h & paths.h
39302         (set_fortify_handler): Define.
39304         * debug/tst-longjmp_chk.c: Add header comment and include
39305         ../test-skeleton.c.
39306         (do_test): Mark static.
39307         (TEST_FUNCTION): Define.
39309         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39310         (IP_PMTUDISC_INTERFACE): Likewise.
39311         (IP_MULTICAST_IF): Likewise.
39312         (IP_MULTICAST_TTL): Likewise.
39313         (IP_MULTICAST_LOOP): Likewise.
39314         (IP_ADD_MEMBERSHIP): Likewise.
39315         (IP_DROP_MEMBERSHIP): Likewise.
39316         (IP_UNBLOCK_SOURCE): Likewise.
39317         (IP_BLOCK_SOURCE): Likewise.
39318         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39319         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39320         (IP_MSFILTER): Likewise.
39321         (MCAST_JOIN_GROUP): Likewise.
39322         (MCAST_BLOCK_SOURCE): Likewise.
39323         (MCAST_UNBLOCK_SOURCE): Likewise.
39324         (MCAST_LEAVE_GROUP): Likewise.
39325         (MCAST_JOIN_SOURCE_GROUP): Likewise.
39326         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39327         (MCAST_MSFILTER): Likewise.
39328         (IP_MULTICAST_ALL): Likewise.
39329         (IP_UNICAST_IF): Likewise.
39331         * timezone/Makefile: Delete $(have-ksh) check.
39332         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39333         * timezone/tzselect.ksh: Add +x mode bits.
39335         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39336         (ANON_INODE_FS_MAGIC): Likewise.
39337         (BDEVFS_MAGIC): Likewise.
39338         (BINFMTFS_MAGIC): Likewise.
39339         (BTRFS_TEST_MAGIC): Likewise.
39340         (CRAMFS_MAGIC_WEND): Likewise.
39341         (DEBUGFS_MAGIC): Likewise.
39342         (ECRYPTFS_SUPER_MAGIC): Likewise.
39343         (EXT3_SUPER_MAGIC): Likewise.
39344         (EXT4_SUPER_MAGIC): Likewise.
39345         (FUTEXFS_SUPER_MAGIC): Likewise.
39346         (HOSTFS_SUPER_MAGIC): Likewise.
39347         (HUGETLBFS_MAGIC): Likewise.
39348         (MINIX3_SUPER_MAGIC): Likewise.
39349         (MTD_INODE_FS_MAGIC): Likewise.
39350         (NILFS_SUPER_MAGIC): Likewise.
39351         (OPENPROM_SUPER_MAGIC): Likewise.
39352         (PIPEFS_MAGIC): Likewise.
39353         (PSTOREFS_MAGIC): Likewise.
39354         (QNX6_SUPER_MAGIC): Likewise.
39355         (RAMFS_MAGIC): Likewise.
39356         (REISERFS_SUPER_MAGIC_STRING): Likewise.
39357         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39358         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39359         (SECURITYFS_MAGIC): Likewise.
39360         (SELINUX_MAGIC): Likewise.
39361         (SMACK_MAGIC): Likewise.
39362         (SOCKFS_MAGIC): Likewise.
39363         (SQUASHFS_MAGIC): Likewise.
39364         (STACK_END_MAGIC): Likewise.
39365         (TMPFS_MAGIC): Likewise.
39366         (USBDEVICE_SUPER_MAGIC): Likewise.
39367         (V9FS_MAGIC): Likewise.
39368         (XENFS_SUPER_MAGIC): Likewise.
39369         (CRAMFS_MAGIC): Fix typo in comment.
39370         (EXT2_SUPER_MAGIC): Update comment.
39371         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39373 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
39375         * sysdeps/arm: Move directory from ports/sysdeps/arm.
39376         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39377         * sysdeps/unix/sysv/linux/arm: Move directory from
39378         ports/sysdeps/unix/sysv/linux/arm.
39379         * README: Update listing for arm-*-linux-gnueabi.
39381         * README: Remove mention of am33.
39383 2014-02-07  Roland McGrath  <roland@hack.frob.com>
39385         * bits/sigset.h (__sigemptyset): Use a statement expression rather
39386         than the comma operator, to avoid "rhs of comma has no effect"
39387         compiler warnings.
39388         (__sigfillset, __sigandset, __sigorset): Likewise.
39389         * include/signal.h (__sigemptyset): Likewise.
39390         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39392 2014-02-07  Allan McRae  <allan@archlinux.org>
39394         * version.h (RELEASE): Set to "development".
39395         (VERSION): Set to "2.19.90"
39396         * NEWS: Add 2.20 section.
39398 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
39400         [BZ #16529]
39401         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39403 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39405         * manual/contrib.texi: Update entry for Carlos O'Donell,
39406         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39408 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
39410         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39412         * sysdeps/unix/sysv/linux/kernel-features.h
39413         [__LINUX_KERNEL_VERSION >= 0x020621]
39414         (__ASSUME_PROC_PID_TASK_COMM): Define.
39416 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39418         [BZ #16398]
39419         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39420         conversion when destination buffer does not have enough space.
39421         * libio/tst-ftell-partial-wide.c: New test case.
39422         * libio/Makefile (tests): Add tst-ftell-partial-wide.
39424         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39425         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
39426         Leonard and Allan McRae.
39428 2014-02-04  David S. Miller  <davem@davemloft.net>
39430         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39431         32-bit.
39433 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39436         New file
39437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39438         New file
39439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39440         New file.
39441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39442         New file.
39443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39444         New file.
39445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39446         New file.
39447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39448         New file.
39449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39450         New file.
39451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39452         New file.
39453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39454         New file.
39455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39456         New file.
39457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39458         New file.
39459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39460         New file.
39462 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39464         * nptl/shlib-versions: Change powerpc*le start to 2.17.
39465         * shlib-versions: Likewise.
39467 2014-02-04  Roland McGrath  <roland@hack.frob.com>
39468             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39470         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39471         (abilist-pattern): New variable, set to %-le.abilist.
39473         * Makerules (abilist-pattern): New variable.
39474         (vpath): Use $(abilist-pattern) in place of %.abilist.
39475         (check-abi-% pattern rule): Likewise.
39476         (check-abi, update-abi): Likewise.
39478 2014-02-04  Eric Wong  <normalperson@yhbt.net>
39480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39482 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
39484         * manual/startup.texi: Add next, previous, and top entries for
39485         the `Program Arguments' and `Environment Variables' nodes.
39487 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
39489         * manual/macros.texi: Add comments before MTASC-safety macros.
39491         * manual/users.texi: Document MTASC-safety properties.
39493         * manual/threads.texi (pthread_key_create, pthread_key_delete)
39494         (pthread_getspecific, pthread_setspecific): Format with
39495         @deftypefun, and add @safety note.
39496         * manual/signal.texi: Move comments that analyze the above
39497         functions to their home place.
39499 2014-02-03  Allan McRae  <allan@archlinux.org>
39501         * po/sl.po: Update Slovenian translation from translation project.
39503 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
39505         * manual/time.texi (timegm): Add missing blank after @c.
39506         Reported by Joseph Myers <joseph@codesourcery.com>.
39508 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
39510         * manual/check-safety.sh: New.
39511         * manual/Makefile ($(objpfx)stamp-summary): Run it.
39513         * manual/terminal.texi: Document MTASC-safety properties.
39515         * manual/filesys.texi: Document MTASC-safety properties.
39517         * manual/errno.texi: Document MTASC-safety properties.
39519         * manual/intro.texi: Document safety identifiers and
39520         conditionals.
39522         * manual/string.texi (wcstok): Fix prototype.
39523         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39525         * manual/time.texi: Document MTASC-safety properties.
39527         * manual/string.texi: Document MTASC-safety properties.
39529         * manual/threads.texi: Document MTASC-safety properties.
39531         * manual/stdio.texi: Document MTASC-safety properties.
39533         * manual/syslog.texi: Document MTASC-safety properties.
39535         * manual/sysinfo.texi: Document MTASC-safety properties.
39537         * manual/startup.texi: Document MTASC-safety properties.
39539         * manual/socket.texi: Document MTASC-safety properties.
39541         * manual/signal.texi: Document MTASC-safety properties.
39543 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
39545         * manual/setjmp.texi: Document MTASC-safety properties.
39547         * manual/search.texi: Document MTASC-safety properties.
39549         * manual/resource.texi: Document MTASC-safety properties.
39551         * manual/process.texi: Document MTASC-safety properties.
39553         * manual/platform.texi: Document MTASC-safety properties.
39555         * manual/pipe.texi: Document MTASC-safety properties.
39557         * manual/pattern.texi: Document MTASC-safety properties.
39559         * manual/message.texi: Document MTASC-safety properties.
39561         [BZ #12751]
39562         * manual/memory.texi: Document MTASC-safety properties.
39564         * manual/math.texi: Document MTASC-safety properties.
39566         * manual/locale.texi: Document MTASC-safety properties.
39568         * manual/llio.texi: Document MTASC-safety properties.
39570         * manual/libdl.texi: New.
39572         * manual/lang.texi: Document MTASC-safety properties.
39574         * manual/job.texi: Document MTASC-safety properties.
39576         * manual/getopt.texi: Document MTASC-safety properties.
39578         * manual/ctype.texi: Document MTASC-safety properties.
39580 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
39582         [BZ #16046]
39583         * csu/libc-tls.c (static_map): Remove variable.
39584         (__libc_setup_tls): Use main executable's link map for TLS data.
39585         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39586         casing for LM_ID_BASE and GL(dl_nns).
39587         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39588         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
39589         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39590         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39591         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39592         member.
39593         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39594         l_phnum members.
39596 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
39598         * manual/debug.texi: Document MTASC-safety properties.
39600 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
39602         [BZ #16510]
39603         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39604         of __x86_64__ when disabling x87 inline functions.
39606 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
39608         * manual/charset.texi: Document MTASC-safety properties.
39610         * manual/crypt.texi: Document MTASC-safety properties.
39612         * manual/conf.texi: Document MTASC-safety properties.
39614         * manual/arith.texi: Document MTASC-safety properties.
39616         * manual/argp.texi: Document MTASC-safety properties.
39618         * manual/macros.texi: Introduce macros to document multi
39619         thread, asynchronous signal and asynchronous cancellation
39620         safety properties.
39621         * manual/intro.texi: Introduce the properties themselves.
39623 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39625         * sysdeps/sh/sh4/Makefile: New file.
39627 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
39629         * math/gen-libm-test.pl ($srcdir): New variable.
39630         ($auto_input): Use it.
39632 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39634         [BZ #16506]
39635         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39636         access beyond array bounds when parsing netgroups file.
39638         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39639         the old buffer before realloc.
39641 2014-01-27  Allan McRae  <allan@archlinux.org>
39643         * po/fr.po: Update French translation from translation project.
39645 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39647         * sysdeps/sh/libm-test-ulps: Regenerate.
39649 2014-01-24  David S. Miller  <davem@davemloft.net>
39651         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39653 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39656         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39658 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39660         [BZ #16474]
39661         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39662         string pointers after reallocation.
39664 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39666         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39667         __SH4A__ instead of __SH_FPU_ANY__.
39669 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39671         * sysdeps/sh/fpu_control.h: New file.
39672         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39673         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39674         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39675         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39676         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39677         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39678         * sysdeps/sh/sys/ucontext.h: Remove.
39679         * sysdeps/sh/sys: Remove directory.
39681 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39683         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39684         s390/sys/ucontext.h.
39685         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39686         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39688 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
39690         [BZ #15605]
39691         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39693 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39695         [BZ#16431]
39696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39697         Adjust the vDSO correctly for internal calls.
39698         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39700 2014-01-20  Allan McRae  <allan@archlinux.org>
39702         * po/ca.po: Update Catalan translation from translation project.
39704 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
39706         * sysdeps/s390/sotruss-lib.c: New file.
39708 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39710         [BZ#16430]
39711         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39712         (__GI___gettimeofday): Alias for a different internal symbol to avoid
39713         local calls issues by not having a PLT stub required for IFUNC calls.
39714         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39716 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
39718         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39719         * math/test-fpucw-static.c: Likewise.
39721 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39723         [BZ #16453]
39724         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39726 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39728         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39729         implementation for powerpc.
39731 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
39733         [BZ #14782]
39734         * sysdeps/posix/system.c (__libc_system): Do not enable
39735         asynchronous cancellation.
39737 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39739         [BZ #16427]
39740         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39741         handling only for numbers special also in the IEEE case.
39743 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39745         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39747 2014-01-11  Allan McRae  <allan@archlinux.org>
39749         * po/bg.po: Update Bulgarian translation from translation project.
39751         * po/de.po: Update German translation from translation project.
39753 2014-01-10  Roland McGrath  <roland@hack.frob.com>
39755         * sysdeps/generic/gcc-compat.h: New file.
39757 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39759         * benchtests/asin-inputs: Correct slow inputs.
39760         * benchtests/acos-inputs: Likewise.
39762 2014-01-10  Allan McRae  <allan@archlinux.org>
39764         * po:sv.po: Update Swedish translation from translation project.
39766         * po/vi.po: Update Vietnamese translation from translation project.
39768         * po/eo.po: Update Esperanto translation from translation project.
39770         * po/cs.po: Update Czech translation from translation project.
39772         * po/nl.po: Update Dutch translation from translation project.
39774         * po/pl.po: Update Polish translation from translation project.
39776         * po/ru.po: Update Russian translation from translation project.
39778         * po/uk.po: Update Ukrainian translation from translation project.
39780 2014-01-08  Brooks Moses  <bmoses@google.com>
39782         * elf/dl-load.c: Fix comment typo.
39784 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
39786         * po/header.pot: Rename to...
39787         * po/pot.header: ... this.
39788         * po/Makefile: Use pot.header.
39790 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
39791             Maxim Kuvyrkov  <maxim@kugelworks.com>
39793         [BZ #16394]
39794         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39795         SRC and DEST against LEN.
39797 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39799         [BZ #16414]
39800         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39801         implementation.
39802         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39804 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39808 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
39810         [BZ #16408]
39811         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39812         for large positive arguments.
39814 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
39816         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39818         * math/auto-libm-test-in: Mark various tests with
39819         xfail-rounding:ldbl-128ibm.
39820         * math/auto-libm-test-out: Regenerated.
39822         [BZ #16407]
39823         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39824         Increase overflow threshold.
39826 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
39828         [BZ #14286]
39829         * stdio-common/vfprintf.c: Check for integer overflow.
39831 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39833         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39834         the first argument and return value of __tls_get_addr_internal.
39836 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39838         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39839         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39841 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39843         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
39844         * sysdeps/s390/rtld-global-offsets.sym: New file.
39845         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
39846         GLIBC_2.19 symbol.
39847         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
39848         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
39849         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39850         ... this.
39851         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
39852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39853         ... this.
39854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39855         Regenerate.
39856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39857         Regenerate.
39858         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
39859         halfs of GPRs for high_gprs contexts.
39860         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
39861         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
39862         field.
39863         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
39864         uc_flags field.
39865         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
39866         64 bit versions:
39867         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
39868         for high GPRs (uc_high_gprs) and for future extensions
39869         (__reserved).
39870         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
39871         for future extensions (__reserved).
39872         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
39873         64 bit versions:
39874         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
39875         SC_HIGHGPRS offset definition.
39876         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
39877         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
39879         * Versions.def: Add GLIBC_2.19 for libpthread.
39880         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
39881         siglongjmp for libpthread with GLIBC_2.19 symver.
39882         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
39883         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
39884         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
39885         * sysdeps/s390/__longjmp.c: New file.
39886         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
39887         * sysdeps/s390/longjmp.c: New file.
39888         * sysdeps/s390/setjmp.S: New file.
39889         * sysdeps/s390/sigjmp.S: New file.
39890         * sysdeps/s390/v1-longjmp.c: New file.
39891         * sysdeps/s390/v1-setjmp.h: New file.
39892         * sysdeps/s390/v1-sigjmp.c: New file.
39893         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
39894         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
39895         GLIBC_2.19 version.
39896         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
39897         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
39898         versioned symbols for ____longjmp_chk.
39899         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39900         Likewise.
39901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39902         Regenerate.
39903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39904         Regenerate.
39905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39906         Regenerate.
39907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39908         Regenerate.
39909         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
39910         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
39911         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
39912         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
39913         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
39914         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
39915         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
39916         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
39917         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
39918         * sysdeps/s390/rtld-__longjmp.c: New file.
39919         * sysdeps/s390/rtld-setjmp.S: New file.
39921 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
39923         [BZ #16400]
39924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
39925         Return -__logl (x) for small positive arguments without evaluating
39926         a polynomial.
39928 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
39930         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
39931         Rename to ...
39932         (__ptrace_peeksiginfo_args): ... this.
39933         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39937 2014-01-06  Allan McRae  <allan@archlinux.org>
39939         * inet/netinet/in.h: Fix typo in comment.
39941 2014-01-05  Andreas Jaeger  <aj@suse.de>
39943         * sysdeps/i386/fpu/libm-test-ulps: Update.
39945 2014-01-05  Allan McRae  <allan@archlinux.org>
39947         * po/libc.pot: Regenerated.
39949         * malloc/memusagestat.c: Fix gettext call formatting.
39951 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
39953         * nscd/nscd.c: Improve usage() output.
39955 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
39957         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
39958         * sysdeps/unix/sysv/linux/configure: Regenerated.
39959         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
39960         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
39962 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39964         [BZ #16390]
39965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39966         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
39968 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
39971         extra tokens at end of #undef directive.
39972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
39973         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
39974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
39976 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
39978         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39980         * math/auto-libm-test-in: Mark various tests with
39981         xfail-rounding:ldbl-128ibm.
39982         * math/auto-libm-test-out: Regenerated.
39984 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
39986         [BZ #16386]
39987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
39988         numbers with subnormal high part when calculating exponent.
39990         [BZ #16385]
39991         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
39992         fabs.
39994         [BZ #16384]
39995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
39996         M_LN2l.
39997         (__ieee754_acoshl): Use __log1pl not __log1p.
39999 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40001         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40002         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40003         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40004         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40005         (reused_arena, arena_get2): Convert to GNU style.
40006         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40007         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40008         (memalign_check, __malloc_set_state): Likewise.
40009         * malloc/mallocbug.c (main): Likewise.
40010         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40011         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40012         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40013         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40014         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40015         (__posix_memalign, malloc_info): Likewise.
40016         * malloc/malloc.h: Likewise.
40017         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40018         (mallochook, memalignhook, reallochook, mabort): Likewise.
40019         * malloc/mcheck.h: Likewise.
40020         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40021         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40022         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40023         * malloc/morecore.c (__default_morecore): Likewise.
40024         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40025         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40026         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40027         (print_and_abort): Likewise.
40028         * malloc/obstack.h: Likewise.
40029         * malloc/set-freeres.c (__libc_freeres): Likewise.
40030         * malloc/tst-mallocstate.c (main): Likewise.
40031         * malloc/tst-mtrace.c (main): Likewise.
40032         * malloc/tst-realloc.c (do_test): Likewise.
40034 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40036         [BZ #16366]
40037         * nscd/netgroupcache.c (do_notfound): New function.
40038         (addgetnetgrentX): Use it.
40040         [BZ # 16365]
40041         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40042         NSS_STATUS_NOTFOUND.
40044 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40046         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40049 2014-01-01  Allan McRae  <allan@archlinux.org>
40051         * scripts/update-copyrights: Update configure input file suffix.
40053         * NEWS: Update copyright year.
40054         * catgets/gencat.c: Likewise.
40055         * csu/version.c: Likewise.
40056         * debug/catchsegv.sh: Likewise.
40057         * debug/pcprofiledump.c: Likewise.
40058         * debug/xtrace.sh: Likewise.
40059         * elf/ldconfig.c: Likewise.
40060         * elf/ldd.bash.in: Likewise.
40061         * elf/pldd.c: Likewise.
40062         * elf/sotruss.ksh: Likewise.
40063         * elf/sprof.c: Likewise.
40064         * iconv/iconv_prog.c: Likewise.
40065         * iconv/iconvconfig.c: Likewise.
40066         * locale/programs/locale.c: Likewise.
40067         * locale/programs/localedef.c: Likewise.
40068         * login/programs/pt_chown.c: Likewise.
40069         * malloc/memusage.sh: Likewise.
40070         * malloc/memusagestat.c: Likewise.
40071         * malloc/mtrace.pl: Likewise.
40072         * manual/libc.texinfo: Likewise.
40073         * nscd/nscd.c: Likewise.
40074         * nss/getent.c: Likewise.
40075         * nss/makedb.c: Likewise.
40076         * posix/getconf.c: Likewise.
40077         * scripts/test-installation.pl: Likewise.
40079         * All files with FSF copyright notices: Update copyright dates
40080         using scripts/update-copyrights.
40081         * intl/plural.c: Regenerated.
40082         * locale/programs/charmap-kw.h: Likewise.
40083         * locale/programs/locfile-kw.h: Likewise.
40085 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40087         * sysdeps/unix/sysv/linux/configure: Regenerated.
40088         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40089         the linux/fanotify.h header.
40090         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40091         HAVE_LINUX_FANOTIFY_H is defined.
40093 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40095         * benchtests/cos-inputs: New inputs.
40096         * benchtests/sin-inputs: Likewise.
40098         * benchtests/atan-inputs: New inputs. Fix name of multiple
40099         precision fallback inputs.
40101         * benchtests/atanh-inputs: New inputs.
40102         * benchtests/tanh-inputs: Likewise.
40104         * benchtests/acosh-inputs: New inputs.
40105         * benchtests/asinh-inputs: Likewise.
40107         * benchtests/cosh-inputs: New inputs.
40108         * benchtests/sinh-inputs: Likewise.
40110         * benchtests/acos-inputs: Add more inputs.
40111         * benchtests/asin-inputs: Likewise.
40113 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40115         [BZ #16375]
40116         * manual/arith.texi: Fix spelling.
40117         * manual/charset.texi: Likewise.
40118         * manual/errno.texi: Likewise.
40119         * manual/filesys.texi: Likewise.
40120         * manual/lang.texi: Likewise.
40121         * manual/llio.texi: Likewise.
40122         * manual/locale.texi: Likewise.
40123         * manual/message.texi: Likewise.
40124         * manual/resource.texi: Likewise.
40125         * manual/search.texi: Likewise.
40126         * manual/setjmp.texi: Likewise.
40127         * manual/stdio.texi: Likewise.
40128         * manual/string.texi: Likewise.
40129         * manual/sysinfo.texi: Likewise.
40130         * manual/time.texi: Likewise.
40132 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40134         * po/sl.po: New file.
40136 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40138         * .gitignore: Add core/.gdbinit/.gdb_history.
40140 2013-12-27  Allan McRae  <allan@archlinux.org>
40142         [BZ #16369]
40143         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40144         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40146 2013-12-24  Brooks Moses  <bmoses@google.com>
40148         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40149         all compilers that claim C++98 compliance, not just GCC.
40150         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40151         Likewise.
40153 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40155         * NEWS: Restore accidentally deleted bug-fix entries.
40157 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40158             Ondřej Bílka  <neleai@seznam.cz>
40160         [BZ #15073]
40161         * malloc/malloc.c (_int_free): Perform sanity check only if we
40162         have_lock.
40164 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40166         [BZ #12986]
40167         * manual/stdio.texi (String Input Conversions): Clarify that character
40168         classes are not supported.
40170 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40174 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40176         [BZ #16337]
40177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40178         Calculate results for small negative arguments directly rather
40179         than using reflection formula with special underflow handling.
40181         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40182         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40183         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40184         (fchflags): Likewise.
40185         (revoke): Likewise.
40186         (setlogin): Likewise.
40187         (sigaltstack): Likewise.
40188         (wait4): Likewise.
40189         (sigblock): Remove.
40190         (sigsetmask): Likewise.
40191         (wait3): Likewise.
40192         (waitpid): Likewise.
40193         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40194         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40195         file.
40196         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40197         * sysdeps/unix/bsd/Makefile: ... here.
40198         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40199         * sysdeps/unix/bsd/Versions: ... here.
40200         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40201         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40202         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40203         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40204         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40205         * sysdeps/unix/bsd/sigblock.c: ... here.
40206         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40207         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40208         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40209         * sysdeps/unix/bsd/sigvec.c: ... here.
40210         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40211         * sysdeps/unix/bsd/tcdrain.c: ... here.
40212         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40213         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40214         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40215         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40216         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40217         * sysdeps/unix/bsd/wait.c: ... here.
40218         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40219         * sysdeps/unix/bsd/wait3.c: ... here.
40220         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40221         * sysdeps/unix/bsd/waitpid.c: ... here.
40223 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40225         [BZ #16356]
40226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40227         round-to-nearest for [!USE_AS_EXPM1L].
40228         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40229         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40230         more tests of exp and exp10.  Expect some exp10 tests to miss
40231         exceptions or fail in directed rounding modes.
40232         * math/auto-libm-test-out: Regenerated.
40233         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40234         (exp10_test_tonearest): New function.
40235         (exp10_towardzero_test_data): New array.
40236         (exp10_test_towardzero): New function.
40237         (exp10_downward_test_data): New array.
40238         (exp10_test_downward): New function.
40239         (exp10_upward_test_data): New array.
40240         (exp10_test_upward): New function.
40241         (main): Call the new functions.
40242         * sysdeps/i386/fpu/libm-test-ulps: Update.
40243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40245 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40247         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40248         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40249         * math/auto-libm-test-out: Regenerated.
40250         * math/libm-test.inc (acosh_test_data): Add more tests.
40251         (atanh_test_data): Likewise.
40252         (ceil_test_data): Likewise.
40253         (copysign_test_data): Likewise.
40254         * sysdeps/i386/fpu/libm-test-ulps: Update.
40255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40257         * timezone/checktab.awk: Update from tzcode 2013i.
40258         * timezone/private.h: Likewise.
40259         * timezone/scheck.c: Likewise.
40260         * timezone/tzfile.h: Likewise.
40261         * timezone/tzselect.ksh: Likewise.
40262         * timezone/zdump.c: Likewise.
40263         * timezone/zic.c: Likewise.
40265         * math/auto-libm-test-in: Add tests of cpow.
40266         * math/auto-libm-test-out: Regenerated.
40267         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40268         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40269         mpc_cc_c.
40270         (func_calc_desc): Add mpc_cc_c union field.
40271         (test_functions): Add cpow.
40272         (special_fill_2pi): New function.
40273         (special_real_inputs): Add 2pi.
40274         (calc_generic_results): Handle mpc_cc_c.
40275         * sysdeps/i386/fpu/libm-test-ulps: Update.
40276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40278         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40279         csqrt, ctan and ctanh.
40280         * math/auto-libm-test-out: Regenerated.
40281         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40282         (TEST_COND_x86): Likewise.
40283         (ccos_test_data): Use AUTO_TESTS_c_c.
40284         (ccosh_test_data): Likewise.
40285         (cexp_test_data): Likewise.
40286         (clog_test_data): Likewise.
40287         (csqrt_test_data): Likewise.
40288         (ctan_test_data): Likewise.
40289         (ctan_tonearest_test_data): Likewise.
40290         (ctan_towardzero_test_data): Likewise.
40291         (ctan_downward_test_data): Likewise.
40292         (ctan_upward_test_data): Likewise.
40293         (ctanh_test_data): Likewise.
40294         (ctanh_tonearest_test_data): Likewise.
40295         (ctanh_towardzero_test_data): Likewise.
40296         (ctanh_downward_test_data): Likewise.
40297         (ctanh_upward_test_data): Likewise.
40298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40299         mpc_c_c.
40300         (func_calc_desc): Add mpc_c_c union field.
40301         (FUNC_mpc_c_c): New macro.
40302         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40303         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40304         ctanh.
40305         (special_fill_min_subnorm_p120): New function.
40306         (special_real_inputs): Add min_subnorm_p120.
40307         (calc_generic_results): Handle mpc_c_c.
40308         * sysdeps/i386/fpu/libm-test-ulps: Update.
40309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40311 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40313         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40314         (do_sin_slow): New functions.
40315         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40316         (cslow2, csloww1, csloww2): Use the new functions.
40318         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40319         Use M to change sign of result instead of X.  Assume X is
40320         positive.
40321         (csloww1): Likewise.
40322         (__sin): Adjust.
40323         (__cos): Adjust.
40325         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40326         arguments A and DA.
40327         (__sin): Adjust.
40328         (__cos): Likewise.
40330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40331         (__cos): Likewise.
40332         (sloww1): Don't adjust sign of DX.
40333         (csloww1): Likewise.
40334         (sloww2): Use X directly and don't adjust sign of DX.
40335         (csloww2): Likewise.
40337 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40339         * math/auto-libm-test-in: Add tests of cabs and carg.
40340         * math/auto-libm-test-out: Regenerated.
40341         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40342         (carg_test_data): Likewise.
40343         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40344         mpc_c_f.
40345         (func_calc_desc): Add mpc_c_f union field.
40346         (test_functions): Add cabs and carg.
40347         (calc_generic_results): Handle mpc_c_f.
40349         * sysdeps/powerpc/powerpc32/libgcc-compat.S
40350         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40351         as a macro and a compat symbol.
40352         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40353         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40354         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40355         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40356         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40357         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40358         not use .hidden.
40359         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40360         Likewise.
40361         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40362         Likewise.
40363         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40364         Likewise.
40365         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40366         Likewise.
40367         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40368         Likewise.
40369         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40370         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40371         from GLIBC_2.3.2.
40373 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40377 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40379         * manual/texinfo.tex: Update to version 2013-11-26.10 with
40380         trailing whitespace removed.
40381         * scripts/config.guess: Update to version 2013-11-29.
40382         * scripts/config.sub: Update to version 2013-10-01.
40384         * math/auto-libm-test-in: Add tests of sincos.
40385         * math/auto-libm-test-out: Regenerated.
40386         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40387         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40388         mpfr_f_11.
40389         (func_calc_desc): Add mpfr_f_11 union field.
40390         (test_functions): Add sincos.
40391         (calc_generic_results): Handle mpfr_f_11.
40392         * sysdeps/i386/fpu/libm-test-ulps: Update.
40393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40395 2013-12-19  Andreas Schwab  <schwab@suse.de>
40397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40398         CALL_MCOUNT.
40399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40400         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40401         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40403 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
40405         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40406         * sysdeps/i386/fpu/libm-test-ulps: Update.
40407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40409         [BZ #16293]
40410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40411         round-to-nearest mode when using frndint.
40412         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40413         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40414         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40415         Likewise.
40416         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
40417         sinh test to fail.
40418         * math/auto-libm-test-out: Regenerated.
40419         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40420         (TEST_COND_x86): Likewise.
40421         (expm1_tonearest_test_data): New array.
40422         (expm1_test_tonearest): New function.
40423         (expm1_towardzero_test_data): New array.
40424         (expm1_test_towardzero): New function.
40425         (expm1_downward_test_data): New array.
40426         (expm1_test_downward): New function.
40427         (expm1_upward_test_data): New array.
40428         (expm1_test_upward): New function.
40429         (main): Run the new test functions.
40430         * sysdeps/i386/fpu/libm-test-ulps: Update.
40431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40433         * include/features.h: Update comment documenting feature test
40434         macros.  Mention _DEFAULT_SOURCE in comment.
40435         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40436         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40437         _BSD_SOURCE and _SVID_SOURCE.
40438         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40439         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40440         !_SVID_SOURCE]: Likewise.
40441         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40442         (__USE_POSIX_IMPLICITLY): Define.
40443         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40444         (_POSIX_SOURCE): Undefine and redefine.
40445         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40446         (_POSIX_C_SOURCE): Likewise.
40447         * manual/creature.texi (_DEFAULT_SOURCE): Document.
40448         (Feature Test Macros): Update documentation of default features.
40450 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40452         * benchtests/Makefile: Add bench-strtok.
40453         * benchtests/bench-strtok.c: New file: strtok benchtest.
40455 2013-12-19  Allan McRae  <allan@archlinux.org>
40457         * manual/install.texi: Suppress menu for plain text output.
40458         * INSTALL: Regenerated.
40460 2013-12-18  Brooks Moses  <bmoses@google.com>
40462         [BZ #15846]
40463         * misc/getauxval.c: Include errno.h.
40464         (__getauxval): Set errno to ENOENT if the requested type is not
40465         found.
40466         * misc/sys/auxv.h (getauxval): Document that it may set errno;
40467         don't declare with __attribute_const__.
40468         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40469         * manual/startup.texi: Document that getauxval sets errno.
40471 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40473         * math/auto-libm-test-in: Add tests of jn and yn.
40474         * math/auto-libm-test-out: Regenerated.
40475         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40476         (yn_test_data): Likewise.
40477         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40478         mpfr_if_f.
40479         (func_calc_desc): Add mpfr_if_f union field.
40480         (FUNC_mpfr_if_f): New macro.
40481         (test_functions): Add jn and yn.
40482         (calc_generic_results): Assert type of second input for
40483         mpfr_ff_f.  Handle mpfr_if_f.
40484         (output_for_one_input_case): Disable all checking for arguments
40485         fitting floating-point types in case of an integer argument.
40486         * sysdeps/i386/fpu/libm-test-ulps: Update.
40487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40490         Don't expect fegetround reference in libm.so.
40492 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40494         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40495         $(config-cflags-nofma).
40497 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
40499         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40500         * math/auto-libm-test-out: Regenerated.
40502         [BZ #16338]
40503         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40504         to determine exponent and adjust argument to have exponent of -1.
40505         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40506         log2.
40507         * math/auto-libm-test-out: Regenerated.
40508         * sysdeps/i386/fpu/libm-test-ulps: Update.
40509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40511 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
40513         * manual/probes.texi: Remove cases when per-thread arenas are
40514         disabled.
40516 2013-12-18  Andreas Schwab  <schwab@suse.de>
40518         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40519         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40520         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40521         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40522         * sysdeps/i386/i686/multiarch/Makefile: Update.
40523         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40525 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40527         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40528         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40530 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
40532         [BZ #15968]
40533         Support TZ transition times < 00:00:00.
40534         This is needed for version-3 tz-format files; it supports time
40535         stamps past 2037 for America/Godthab (the only entry in the tz
40536         database for which this change is relevant).
40537         * manual/time.texi (TZ Variable): Document transition times
40538         from -167:59:59 through -00:00:01.
40539         * time/tzset.c (tz_rule): Time of day is now signed.
40540         (__tzset_parse_tz): Parse negative time of day.
40542         Document TZ transition times >= 25:00:00.
40543         * manual/time.texi (TZ Variable): Document transition times from
40544         25:00:00 through 167:59:59.  These are already supported, and this
40545         support will help with version-3 tz-format files.
40547         * manual/time.texi (TZ Variable): Modernize North America example
40548         to reflect current (i.e., 2007-and-later) daylight saving rules.
40550         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40552 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40554         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40555         * sysdeps/unix/bsd/bits/stat.h: Likewise.
40556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40558         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40559         * sysdeps/unix/bsd/bsdstat.h: Likewise.
40560         * sysdeps/unix/bsd/clock.c: Likewise.
40561         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40562         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40563         * sysdeps/unix/bsd/init-posix.c: Likewise.
40564         * sysdeps/unix/bsd/poll.c: Likewise.
40565         * sysdeps/unix/bsd/ptsname.c: Likewise.
40566         * sysdeps/unix/bsd/seekdir.c: Likewise.
40567         * sysdeps/unix/bsd/setegid.c: Likewise.
40568         * sysdeps/unix/bsd/seteuid.c: Likewise.
40569         * sysdeps/unix/bsd/setgid.c: Likewise.
40570         * sysdeps/unix/bsd/setrgid.c: Likewise.
40571         * sysdeps/unix/bsd/setruid.c: Likewise.
40572         * sysdeps/unix/bsd/setsid.c: Likewise.
40573         * sysdeps/unix/bsd/setuid.c: Likewise.
40574         * sysdeps/unix/bsd/sigaction.c: Likewise.
40575         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40576         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40577         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40578         * sysdeps/unix/bsd/telldir.c: Likewise.
40579         * sysdeps/unix/bsd/times.c: Likewise.
40580         * sysdeps/unix/bsd/usleep.c: Likewise.
40582         * misc/Makefile (install-lib): Remove libbsd-compat.a.
40583         ($(objpfx)libbsd-compat.a): Remove rule.
40585         * include/features.h (__FAVOR_BSD): Do not define.
40586         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40587         features conflicting with POSIX.
40588         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40589         (_BSD_SOURCE): Remove description of not being a subset of other
40590         feature test macros.
40591         * manual/job.texi (getpgrp): Do not document BSD version.
40592         (getpgid): Do not document by reference to BSD getpgrp.
40593         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40594         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40595         * signal/signal.h [__FAVOR_BSD]: Likewise.
40596         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40597         instead of making contents conditional on [__FAVOR_BSD].
40598         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40600 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40604 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
40606         [BZ #16314]
40607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40608         values below 2**-450, not 2**-500.
40609         * math/auto-libm-test-in: Don't allow spurious underflow from
40610         hypot.
40611         * math/auto-libm-test-out: Regenerated.
40613         [BZ #16316]
40614         [BZ #16330]
40615         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40616         values of ha and hb and sort them after adjusting subnormal
40617         arguments.
40618         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40619         Likewise.
40620         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40621         values of ea and eb and sort them after adjusting subnormal
40622         arguments.
40623         * math/auto-libm-test-in: Do not expect some hypot tests of
40624         subnormals to fail.  Add more hypot tests.
40625         * math/auto-libm-test-out: Regenerated.
40627 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40629         [BZ #13304]
40630         * sysdeps/sh/s_fma.c: New file.
40631         * sysdeps/sh/s_fmaf.c: New file.
40632         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
40633         version.
40634         * sysdeps/sh/Implies: Add sh/soft-fp.
40636 2013-12-16  Roland McGrath  <roland@hack.frob.com>
40638         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
40639         level of indirection to members `objname', `errstring', `malloced'.
40640         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40641         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
40642         it as the __longjmp argument (just pass 1 instead).
40643         (_dl_catch_error): Initialize C with argument pointers and address of
40644         volatile local ERRCODE rather than copying values out of C at return.
40646 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
40648         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40649         * math/auto-libm-test-out: Regenerated.
40650         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40651         (hypot_test_data): Likewise.
40652         (pow_test_data): Likewise.
40653         (pow_tonearest_test_data): Likewise.
40654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40655         mpfr_ff_f.
40656         (func_calc_desc): Add mpfr_ff_f union field.
40657         (FUNC_mpfr_ff_f): New macro.
40658         (test_functions): Add atan2, hypot and pow.
40659         (special_fill_min): New function.
40660         (special_fill_minus_min): Likewise.
40661         (special_fill_min_subnorm): Likewise.
40662         (special_fill_minus_min_subnorm): Likewise.
40663         (special_real_inputs): Add min, -min, min_subnorm and
40664         -min_subnorm.
40665         (calc_generic_results): Handle mpfr_ff_f.
40666         * sysdeps/i386/fpu/libm-test-ulps: Update.
40667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40669 2013-12-16  Will Newton  <will.newton@linaro.org>
40671         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40672         (Aligned Memory Blocks): Add documentation for aligned_alloc
40673         and suggest it as an alternative to posix_memalign.
40674         (Hooks for Malloc): Document __memalign_hook is also called
40675         for aligned_alloc.  (Summary of Malloc): Add summary for
40676         aligned alloc.  Document __memalign_hook is also called
40677         for aligned_alloc.
40679 2013-12-16  Will Newton  <will.newton@linaro.org>
40681         * manual/memory.texi (Malloc Examples): Clarify default
40682         alignment documentation.  Suggest posix_memalign rather
40683         than memalign or valloc.
40684         (Aligned Memory Blocks): Remove suggestion to use memalign
40685         or valloc.  Remove obsolete comment about BSD.
40686         Document memalign errno values and mark the function obsolete.
40687         Document posix_memalign returned error codes.  Mark valloc
40688         as obsolete.  (Hooks for Malloc): __memalign_hook is also
40689         called for posix_memalign and valloc.
40690         (Summary of Malloc): Add posix_memalign to function summary.
40691         __memalign_hook is also called for posix_memalign and valloc.
40693 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40695         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40696         TAYLOR_SIN.
40697         (__sin): Adjust.
40698         (__cos): Likewise.
40699         (sloww): Use mynumber union.  Expand ternary operator into
40700         if-else statements.
40701         (cslow): use mynumber union.
40703 2013-12-16  Allan McRae  <allan@archlinux.org>
40705         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40706         * configure: Regenerated.
40708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40710         [BZ #14120]
40711         * configure.ac: Added --enable-maintainer-mode. Check for
40712         autoconf when enabled.
40713         * configure: Regenerated.
40715         * nscd/nscd.service: New file.
40716         * nscd/nscd.tmpfiles: New file.
40718 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
40720         [BZ #12100]
40721         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40722         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40723         * sysdeps/x86_64/multiarch/strstr.c: ... here.
40724         (strstr): Add __strstr_sse2_unaligned ifunc.
40725         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40726         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40727         (strcasestr): Remove __strcasestr_sse42 ifunc.
40728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40732 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40734         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40735         * sysdeps/sh/bits/fenv.h: ... here.
40736         * sysdeps/sh/sh4/fpu/bits: Remove directory.
40738 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40740         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40743         hypotf multiarch implementations.
40744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40747         multiarch hypot for PPC64.
40748         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40751         multiarch hypotf for PPC64.
40753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40754         modff multiarch implementations.
40755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40758         multiarch modf for PPC64.
40759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40762         multiarch modff for PPC64.
40764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40765         and logl multiarch implementations.
40766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40769         multiarch logb for PPC64.
40770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40773         multiarch logb for PPC64.
40774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40777         multiarch logb for PPC64.
40779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40780         isinff multiarch implementation.
40781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40782         file.
40783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40785         multiarch isinf for PPC64.
40786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40787         file.
40788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40789         multiarch isinff for PPC64.
40791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40792         finitef multiarch implementation.
40793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40794         file.
40795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40797         multiarch finite for PPC64.
40798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40799         file.
40800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40801         multiarch finitef for PPC64.
40803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40804         lrint multiarch implementation.
40805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40806         file.
40807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40809         multiarch llrint for PPC64.
40810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40811         multiarch lrint for PPC64.
40813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40814         copysignf multiarch implementation.
40815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40816         file.
40817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40818         file.
40819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40820         multiarch copysign for PPC64.
40821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40822         multiarch copysignf for PPC64.
40824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40825         multiarch implementation.
40826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40827         file.
40828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40829         file.
40830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40831         file.
40832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40833         file.
40834         multiarch llround for PPC64.
40835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40836         multiarch trunc for PPC64.
40837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40838         multiarch truncf for PPC64.
40840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40841         multiarch implementation.
40842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40843         file.
40844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
40845         file.
40846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
40847         file.
40848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
40849         file.
40850         multiarch llround for PPC64.
40851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
40852         multiarch round for PPC64.
40853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
40854         multiarch roundf for PPC64.
40856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
40857         multiarch implementation.
40858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
40859         file.
40860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
40861         file.
40862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
40863         file.
40864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
40865         file.
40866         multiarch llround for PPC64.
40867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
40868         multiarch floor for PPC64.
40869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
40870         multiarch floorf for PPC64.
40872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
40873         multiarch implementation.
40874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
40875         file.
40876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
40877         file.
40878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
40879         file.
40880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
40881         file.
40882         multiarch llround for PPC64.
40883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
40884         multiarch ceil for PPC64.
40885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
40886         multiarch ceilf for PPC64.
40888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40889         multiarch implementation.
40890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
40891         file.
40892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
40893         file.
40894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
40895         file.
40896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
40897         multiarch llround for PPC64.
40898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
40899         multiarch lround for PPC64.
40901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40902         multiarch implementation.
40903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
40904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
40905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
40906         file.
40907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
40908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
40909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
40910         multiarch isnan for PPC64.
40911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
40912         multiarch isnanf for PPC64.
40914         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
40915         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
40916         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
40917         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
40918         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
40921         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
40922         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
40927         multiarch implementations.
40928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40929         (__libc_ifunc_impl_list): Likewise.
40930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
40931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
40932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
40933         multiarch stpcpy for PPC64.
40935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
40936         multiarch implementations.
40937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40938         (__libc_ifunc_impl_list): Likewise.
40939         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
40940         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
40941         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
40942         multiarch strcpy for PPC64.
40944         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
40945         redefine function name.
40946         (_wordcopy_fwd_dest_aligned): Likewise.
40947         (_wordcopy_bwd_aligned): Likewise.
40948         (_wordcopy_bwd_dest_aligned): Likewise.
40949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
40950         multiarch implementations.
40951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40952         (__libc_ifunc_impl_list): Likewise.
40953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
40954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
40955         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
40956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
40957         multiarch wcscpy for PPC64.
40959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
40960         multiarch implementations.
40961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40962         (__libc_ifunc_impl_list): Likewise.
40963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
40964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
40965         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
40966         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
40967         multiarch wcscpy for PPC64.
40969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
40970         multiarch implementations.
40971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40972         (__libc_ifunc_impl_list): Likewise.
40973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
40974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
40975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
40976         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
40977         multiarch wcsrchr for PPC64.
40979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
40980         multiarch implementations.
40981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40982         (__libc_ifunc_impl_list): Likewise.
40983         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
40984         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
40985         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
40986         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
40987         multiarch wcschr for PPC64.
40989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
40990         multiarch implementations.
40991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40992         (__libc_ifunc_impl_list): Likewise.
40993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
40994         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
40995         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
40996         multiarch strchrnul for PPC64.
40998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
40999         implementations.
41000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41001         (__libc_ifunc_impl_list): Likewise.
41002         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41003         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41004         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41005         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41006         strchr for PPC64.
41008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41009         implementations.
41010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41011         (__libc_ifunc_impl_list): Likewise.
41012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41014         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41015         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41016         strncmp for PPC64.
41018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41019         multiarch implementations.
41020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41021         (__libc_ifunc_impl_list): Likewise.
41022         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41023         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41024         strncasecmp for PPC64.
41025         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41026         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41027         multiarch strncasecmp_l for PPC64.
41029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41030         multiarch implementations.
41031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41032         (__libc_ifunc_impl_list): Likewise.
41033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41035         multiarch strcasecmp for PPC64.
41036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41037         file.
41038         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41039         multiarch strcasecmp_l for PPC64.
41041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41042         implementations.
41043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41044         (__libc_ifunc_impl_list): Likewise.
41045         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41046         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41047         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41048         strnlen for PPC64.
41050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41051         implementations.
41052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41053         (__libc_ifunc_impl_list): Likewise.
41054         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41055         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41056         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41057         strlen for PPC64.
41059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41060         implementations.
41061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41062         (__libc_ifunc_impl_list): Likewise.
41063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41064         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41065         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41066         rawmemrchr for PPC64.
41068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41069         implementation.
41070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41071         (__libc_ifunc_impl_list): Likewise.
41072         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41073         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41074         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41075         memrchr for PPC64.
41077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41078         implementation.
41079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41080         (__libc_ifunc_impl_list): Likewise.
41081         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41082         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41083         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41084         memchr for PPC64.
41086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41087         implementation.
41088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41089         (__libc_ifunc_impl_list): Likewise.
41090         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41092         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41093         mempcpy for PPC64.
41095         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41096         avoid cretion of __bzero symbol.
41097         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41098         Likewise.
41099         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41100         Likewise.
41101         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41102         Likewise.
41103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41104         multiarch implementations.
41105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41106         (__libc_ifunc_impl_list): Likewise.
41107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41109         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41110         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41111         bzero for PPC32.
41112         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41113         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41114         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41115         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41116         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41117         memset for PPC64.
41118         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41120         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41122         implementations.
41123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41124         (__libc_ifunc_impl_list): Likewise.
41125         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41126         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41127         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41128         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41129         memcmp for PPC64.
41131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41132         multiarch for POWER/PPC64.
41133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41134         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41135         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41138         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41139         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41140         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41141         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41142         memcpy for PPC64.
41144         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41145         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41146         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41147         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41148         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41149         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41150         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41151         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41152         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41153         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41154         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41155         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41156         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41157         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41158         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41167 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41169         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41171 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41173         * benchtests/Makefile (bench): Add exp2 and log2.
41174         (LDLIBS-bench-exp2): Add -lm.
41175         (LDLIBS-bench-log2): Likewise.
41176         * benchtests/exp2-inputs: New inputs file.
41177         * benchtests/log2-inputs: New inputs file.
41178         * benchtests/log-inputs: Add new inputs.
41179         * benchtests/tan-inputs: Likewise.
41181 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41183         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41184         definition...
41185         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41186         (csloww2): ... from here.
41188         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41189         instead of structures.
41190         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41191         (POLYNOMIAL): Likewise.
41192         (TAYLOR_SLOW): Likewise.
41193         (__sin): Likewise.
41194         (__cos): Likewise.
41195         (slow1): Likewise.
41196         (slow2): Likewise.
41197         (sloww): Likewise.
41198         (sloww1); Likewise.
41199         (sloww2): Likewise.
41200         (bsloww1): Likewise.
41201         (bsloww2): Likewise.
41202         (cslow2): Likewise.
41203         (csloww): Likewise.
41204         (csloww1): Likewise.
41205         (csloww2): Likewise.
41207 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41209         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41210         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41211         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41212         * malloc/hooks.c (realloc_check): Likewise.
41214         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41215         * malloc/arena.c: Remove PER_THREAD conditional.
41216         [!PER_THREAD]: Remove code.
41217         (ptmalloc_unlock_all2): Likewise.
41218         (ptmalloc_init): Likewise.
41219         (_int_new_arena): Likewise.
41220         (arena_get2): Likewise.
41221         * malloc/hooks.c (__malloc_get_state): Likewise.
41222         (__malloc_set_state): Likewise.
41223         * malloc/malloc.c: Likewise.
41224         (struct malloc_state): Likewise.
41225         (struct malloc_par): Likewise.
41226         (__libc_realloc): Likewise.
41227         (__libc_mallopt): Likewise.
41229 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41231         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41233 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41235         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41236         macro to a function.  Check for zero perturb_byte.
41237         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41239         * malloc/malloc.c: (force_reg): Remove.
41240         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41241         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41242         force_reg by atomic_forced_read.
41243         * malloc/arena.c (ptmalloc_init): Likewise.
41244         * malloc/hooks.c (top_check): Likewise.
41246 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41250 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41254 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41256         * math/auto-libm-test-in: Add tests of lgamma.
41257         * math/auto-libm-test-out: Regenerated.
41258         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41259         (M_LOG_2_SQRT_PIl): Likewise.
41260         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41262         mpfr_f_f1.
41263         (func_calc_desc): Add mpfr_f_f1 union field.
41264         (ARGS1): New macro.
41265         (ARGS2): Likewise.
41266         (ARGS3): Likewise.
41267         (ARGS4): Likewise.
41268         (RET1): Likewise.
41269         (RET2): Likewise.
41270         (CALC): Likewise.
41271         (FUNC): Likewise.
41272         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41273         (test_functions): Add lgamma.
41274         (calc_generic_results): Handle mpfr_f_f1.
41275         * sysdeps/i386/fpu/libm-test-ulps: Update.
41276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41278 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41280         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41281         __mpn_add_n for PowerPC64/POWER7.
41282         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41283         __mpn_sub_n for PowerPC64/POWER7.
41285         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41286         __mpn_addmul_1 for PowerPC64.
41287         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41288         __mpn_submul_1 for PowerPC64.
41289         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41290         for PowerPC64.
41291         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41292         for PowerPC64.
41294 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
41296         [BZ #15089]
41297         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41299 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41301         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41303         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41304         add multiarch folders.
41305         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41306         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41307         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41308         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41309         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41310         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41311         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41312         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41313         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41314         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41315         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41324         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41326         New file.
41327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41328         New file.
41329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41330         multiarch __ieee754_hypot for PowerPC32.
41331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41332         New file.
41333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41334         New file.
41335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41336         multiarch __ieee754_hypotf for PowerPC32.
41338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41339         long_double_symbol only if __logbl is defined.
41340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41341         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41343         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41344         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41345         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41347         path for implementation.
41348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41351         logb, and logbl multiarch implementations for PowerPC32.
41352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41353         file.
41354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41355         file.
41356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41357         multiarch logb for PowerPC32.
41358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41359         file.
41360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41361         file.
41362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41363         multiarch logbf for PowerPC32.
41364         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41366         file.
41367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41368         multiarch logbl implementation for PowerPC32.
41370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41371         and modff multiarch implementations.
41372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41373         New file.
41374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41375         New file.
41376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41377         multiarch modf for PowerPC32.
41378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41379         New file.
41380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41381         New file.
41382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41383         multiarch modff for PowerPC32.
41385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41386         and lrintf multiarch implementations.
41387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41388         New file.
41389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41390         New file.
41391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41392         multiarch lrint for PowerPC32.
41393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41394         file: multiarch lrintf for PowerPC32.
41396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41397         and lroundf multiarch implementations.
41398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41399         New file.
41400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41401         New file.
41402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41403         New file.
41404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41405         multiarch lround for PowerPC32.
41406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41407         file: multiarch lroundf for PowerPC32.
41409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41410         copysign and copysignf multiarch implementations.
41411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41412         New file.
41413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41414         New file.
41415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41416         file: multiarch copysign for PowerPC32.
41417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41418         file: multiarch copysignf for PowerPC32.
41420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41421         and truncf multiarch implementations.
41422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41423         New file.
41424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41425         file.
41426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41427         multiarch trunc for PowerPC32.
41428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41429         New file.
41430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41431         New file.
41432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41433         multiarch truncf for PowerPC32.
41435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41436         and roundf multiarch implementations.
41437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41438         New file.
41439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41440         file.
41441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41442         multiarch round for PowerPC32.
41443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41444         New file.
41445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41446         New file.
41447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41448         multiarch roundf for PowerPC32.
41450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41451         and floorf multiarch implementations.
41452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41453         New file.
41454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41455         file.
41456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41457         multiarch floor for PowerPC32.
41458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41459         New file.
41460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41461         New file.
41462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41463         multiarch floorf for PowerPC32.
41465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41466         and ceilf multiarch implementations.
41467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41468         New file.
41469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41470         file.
41471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41472         multiarch ceil for PowerPC32.
41473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41474         New file.
41475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41476         file.
41477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41478         multiarch ceilf for PowerPC32.
41480         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41481         is defined.
41482         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41483         FINITEF is defined.
41484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41485         and finitef multiarch implementations.
41486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41487         New file.
41488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41489         file.
41490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41491         multiarch finite for PowerPC32.
41492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41493         New file.
41494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41495         file: multiarch finitef for PowerPC32.
41497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41498         and isinff multiarch implementations.
41499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41500         file.
41501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41502         file.
41503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41504         multiarch isinf for PowerPC32.
41505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41506         New file.
41507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41508         multiarch isinff for PowerPC32.
41510         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41511         alias when __isnan is defined.
41512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41513         and isnanf multiarch implementations.
41514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41515         file.
41516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41517         file.
41518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41519         file.
41520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41521         file.
41522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41523         multiarch isnan for PowerPC32.
41524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41525         New file.
41526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41527         New file.
41528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41529         multiarch isnanf for PowerPC32.
41531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41532         and sqrtf multiarch implementations.
41533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41534         file.
41535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41536         file.
41537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41538         multiarch sqrt for PowerPC32.
41539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41540         file.
41541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41542         file.
41543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41544         multiarch sqrtf for PowerPC32.
41546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41547         and llroundf multiarch implementations.
41548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41549         New file.
41550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41551         New file.
41552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41553         New file.
41554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41555         file: multiarch llround for PowerPC32.
41556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41557         file: multiarch llroundf for PowerPC32.
41559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41560         multiarch PowerPC32 fpu implementations.
41561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41562         New file.
41563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41564         New file.
41565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41566         multiarch llrint for PowerPC32.
41567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41568         New file.
41569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41570         New file.
41571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41572         file.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41576         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41577         file.
41578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41579         file.
41580         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41581         file.
41582         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41583         multiarch wordcopy for PPC32.
41584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41585         wordcopy objects.
41586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41587         (__libc_ifunc_impl_list): Likewise.
41588         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41589         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41590         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41591         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41592         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41593         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41595         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41597         file.
41598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41599         file.
41600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41601         file.
41602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41603         multiarch wcscpy for PPC32.
41604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41605         multiarch objects.
41606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41607         (__libc_ifunc_impl_list): Likewise.
41608         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41609         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41610         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41611         sysdeps/powerpc/power6/wcscpy.c.
41613         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41615         file.
41616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41617         file.
41618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41619         file.
41620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41621         multiarch wcsrchr for PPC32.
41622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41623         multiarch objects.
41624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41625         (__libc_ifunc_impl_list): Likewise.
41626         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41627         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41628         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41629         sysdeps/powerpc/power6/wcsrchr.c.
41631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41632         file.
41633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41634         file.
41635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41637         multiarch wcschr for PPc32.
41638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41639         multiarch objects.
41640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41641         (__libc_ifunc_impl_list): Likewise.
41642         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41643         * sysdeps/powerpc/power6/wcschr.c: ... to here.
41644         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41645         sysdeps/powerpc/power6/wcschr.c.
41647         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41649         file.
41650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41651         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41652         file: multiarch strchr for PPC32.
41653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41654         multiarch objects.
41655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41656         (__libc_ifunc_impl_list): Likewise.
41658         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41659         name.
41660         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41661         file.
41662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41663         file.
41664         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41665         multiarch strchrnul for PPC32.
41666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41667         multiarch objects.
41668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41669         (__libc_ifunc_impl_list): Likewise.
41671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41672         file.
41673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41674         multiarch strncasecmp for PPC32.
41675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41676         file.
41677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41678         multiarch strncasecmp_l for PPC32.
41679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41680         strncasecmp multiarch objects.
41681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41682         (__libc_ifunc_impl_list): Likewise.
41684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41685         file.
41686         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41687         multiarch strncasecmp for PPC32.
41688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41689         New file.
41690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41691         multiarch strcasecmp_l for PPC32.
41692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41693         multiarch objects.
41694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41695         (__libc_ifunc_impl_list): Likewise.
41697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41698         file.
41699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41700         file.
41701         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41702         multiarch strncmp for PPC32.
41703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41704         multiarch objects.
41705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41706         (__libc_ifunc_impl_list): Likewise.
41708         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41709         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41710         file.
41711         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41712         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41714         multiarch objects.
41715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41716         (__libc_ifunc_impl_list): Likewise.
41718         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41719         file.
41720         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41721         file.
41722         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41724         multiarch objects.
41725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41726         (__libc_ifunc_impl_list): Likewise.
41728         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41729         file.
41730         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41731         file.
41732         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41733         multiarch rawmemchr for PPC32.
41734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41735         multiarch objects.
41736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41737         (__libc_ifunc_impl_list): Likewise.
41739         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41740         file.
41741         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41742         file.
41743         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41744         file: memrchr multiarch for PPC32.
41745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41746         multiarch objects.
41747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41748         (__libc_ifunc_impl_list): Likewise.
41750         * string/memchr.c (__memchr): Using macro to redefine symbol name.
41751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41752         file.
41753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41755         multiarch memchr for PPC32.
41756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41757         multiarch objects.
41758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41759         (__libc_ifunc_impl_list): Likewise.
41761         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41762         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41763         file.
41764         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41765         file.
41766         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41767         file: multiarch mempcpy for PPC32.
41768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41769         multiarch objects.
41770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41771         (__libc_ifunc_impl_list): Likewise.
41773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41776         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41777         multiarch bzero for PPC32.
41778         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41779         file.
41780         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41781         file.
41782         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41783         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41784         file: multiarch memset for PPC32.
41785         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41787         memset multiarch objects.
41788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41789         (__libc_ifunc_impl_list): Likewise.
41791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41792         file.
41793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41795         memcmp for PPC32.
41796         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41798         multiarch objects.
41799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41800         (__libc_ifunc_impl_list): Likewise.
41802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41805         file.
41806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41807         file.
41808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41809         file.
41810         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41811         multiarch memcpy for PPC32.
41812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41813         multiarch objects.
41814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41815         (__libc_ifunc_impl_list): Likewise.
41817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41818         support multiarch for POWER/PPC32.
41819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41820         Likewise.
41821         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41823         Implies file to make multiarch folder appers before the fpu and
41824         default folder for power4 configuration.
41826 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41828         * scripts/bench.pl: Append volatile keyword to type.
41830 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41832         * sysdeps/sh/sotruss-lib.c: New file.
41833         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41835 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41839 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
41841         [BZ #6810]
41842         * math/w_tgamma.c: Include <errno.h>.
41843         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
41844         * math/w_tgammaf.c: Include <errno.h>.
41845         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
41846         * math/w_tgammal.c: Include <errno.h>.
41847         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
41848         * math/auto-libm-test-in: Do not allow missing errno on tgamma
41849         underflow.  Add more tgamma tests.
41850         * math/auto-libm-test-out: Regenerated.
41851         * sysdeps/i386/fpu/libm-test-ulps: Update.
41852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41854         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
41855         sin, sinh, tan, tanh, tgamma, y0 and y1.
41856         * math/auto-libm-test-out: Regenerated.
41857         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41858         (TEST_COND_x86): Likewise.
41859         (M_E2l): Remove macro.
41860         (M_E3l): Likewise.
41861         (M_2_SQRT_PIl): Likewise.
41862         (M_SQRT_PIl): Likewise.
41863         (M_1_DIV_El): Likewise.
41864         (log_test_data): Use AUTO_TESTS_f_f.
41865         (log10_test_data): Likewise.
41866         (log1p_test_data): Likewise.
41867         (log2_test_data): Likewise.
41868         (sin_test_data): Likewise.
41869         (sin_tonearest_test_data): Likewise.
41870         (sin_towardzero_test_data): Likewise.
41871         (sin_downward_test_data): Likewise.
41872         (sin_upward_test_data): Likewise.
41873         (sinh_test_data): Likewise.
41874         (sinh_tonearest_test_data): Likewise.
41875         (sinh_towardzero_test_data): Likewise.
41876         (sinh_downward_test_data): Likewise.
41877         (sinh_upward_test_data): Likewise.
41878         (tan_test_data): Likewise.
41879         (tan_tonearest_test_data): Likewise.
41880         (tan_towardzero_test_data): Likewise.
41881         (tan_downward_test_data): Likewise.
41882         (tan_upward_test_data): Likewise.
41883         (tanh_test_data): Likewise.
41884         (tgamma_test_data): Likewise.
41885         (y0_test_data): Likewise.
41886         (y1_test_data): Likewise.
41887         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
41888         (special_real_inputs): Add pi/4.
41889         * sysdeps/i386/fpu/libm-test-ulps: Update.
41890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41892 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41894         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
41895         "longjmp_target" static probes.
41896         (__longjmp): Rename to __longjmp_symbol.
41897         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41898         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
41899         on which longjmp to generate.
41900         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41901         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
41902         probe.
41903         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41904         (__sigjmp_save): Rename to __sigjmp_save_symbol.
41905         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41906         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
41907         and __sigjmp_save_symbol based on which sigsetjmp to generated.
41908         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
41910         __longjmp_symbol based on which __longjmp to generate.
41911         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
41912         probe.
41913         (setjmp): Rename to setjmp_symbol.
41914         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41915         (_setjmp): Rename to _setjmp_symbol.
41916         (__sigsetjmp): Rename to __sigsetjmp_symbol.
41917         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
41918         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
41919         which setjmp to generate.
41920         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
41921         "longjmp_target" static probes.
41923 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41925         * benchtests/README: Add note about output arguments.
41926         * benchtests/bench-sincos.c: Remove file.
41927         * benchtests/sincos-inputs: New file.
41928         * scripts/bench.pl: Identify output arguments and define
41929         static variables for them.
41931         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
41933         [BZ #15941]
41934         * Makefile (INSTALL): Add install-plain.texi as the primary
41935         dependency.
41936         * manual/install-plain.texi: New file.
41937         * manual/install.texi: Include node directive only for
41938         non-plaintext output.
41940 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
41942         * stdlib/longlong.h: Update from GCC.
41944         [BZ #6807]
41945         [BZ #15901]
41946         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
41947         * math/w_j0f.c (y0f): Likewise.
41948         * math/w_j0l.c (__y0l): Likewise.
41949         * math/w_j1.c (y1): Likewise.
41950         * math/w_j1f.c (y1f): Likewise.
41951         * math/w_j1l.c (__y1l): Likewise.
41952         * math/w_jn.c (yn): Likewise.
41953         * math/w_jnf.c (ynf): Likewise.
41954         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
41955         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
41956         value for Bessel function domain errors outside _SVID_ mode.
41957         Adjust sign of return value for yn (negative integer, 0).
41958         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
41959         by zero in return for negative x and set sign appropriately for
41960         negative n.
41961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
41962         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41963         * math/libm-test.inc (y0_test_data): Add more tests and adjust
41964         expectations in error cases.
41965         (y1_test_data): Likewise.
41966         (yn_test_data): Likewise.
41967         * sysdeps/i386/fpu/libm-test-ulps: Update.
41968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41970 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41972         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
41973         "64" to "64-v1".  Add "64-v2".
41974         (abi-64-options): Rename to ...
41975         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
41976         (abi-64-condition): Rename to ...
41977         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
41978         (abi-64-ld-soname): Rename to ...
41979         (abi-64-v1-ld-soname): ... this.
41980         (abi-64-v2-options): Define.
41981         (abi-64-v2-condition): Likewise.
41982         (abi-64-v2-ld-soname): Likewise.
41983         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
41984         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
41985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
41986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
41987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
41989 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
41990             Alan Modra  <amodra@gmail.com>
41992         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
41993         New versions for use with the ELFv2 ABI.
41994         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
41995         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
41996         declaration.
41997         (struct La_ppc64v2_retval): Likewise.
41998         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
41999         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42000         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42001         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42002         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42003         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42004         Do not save or restore CR.
42005         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42006         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42007         return values for ELFv2 ABI.  Fix location of FPR return registers.
42008         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42009         updated values for _CALL_ELF == 2.
42010         (La_regs, La_retval, int_retval): Likewise.
42012 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42014         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42015         (FRAME_MIN_SIZE_PARM): Likewise.
42016         (FRAME_BACKCHAIN): Likewise.
42017         (FRAME_CR_SAVE): Likewise.
42018         (FRAME_LR_SAVE): Likewise.
42019         (FRAME_TOC_SAVE): Likewise.
42020         (FRAME_PARM_SAVE): Likewise.
42021         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42022         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42023         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42024         (call_mcount_parm_offset): New macro.
42025         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42026         (PROF): Use symbolic stack frame offsets.
42027         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42028         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42029         Redefine in terms of FRAME_MIN_SIZE.
42030         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42031         (_dl_profile_resolve): Likewise.  Update comment.
42032         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42033         symbols stack frame offsets.
42034         (__sigsetjmp): Likewise.
42035         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42036         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42037         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42038         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42041         (FRAME_BACKCHAIN): Remove.
42042         (FRAME_CR_SAVE): Likewise.
42043         (FRAME_LR_SAVE): Likewise.
42044         (FRAME_COMPILER_DW): Likewise.
42045         (FRAME_LINKER_DW): Likewise.
42046         (FRAME_TOC_SAVE): Likewise.
42047         (FRAME_PARM_SAVE): Likewise.
42048         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42049         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42050         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42052         (CHECK_SP): Use symbolic stack frame offsets.
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42054         zone" instead of caller's parameter save area for temp storage.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42056         Likewise.  Also, use symbolic stack frame offsets.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42058         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42059         our own stack frame instead of the caller's.
42060         (__socket): Use symbolic stack frame offsets.
42062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42063             Alan Modra  <amodra@gmail.com>
42065         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42066         Define.
42067         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42068         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42069         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42070         New function.
42071         (elf_machine_fixup_plt): Call it.
42072         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42073         reloc arguments.
42074         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42076         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42077         r2 before calling target.
42079 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42080             Alan Modra  <amodra@gmail.com>
42082         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42083         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42084         versions of macros to support ELFv2 ABI.
42085         (LOCALENTRY): New macro.
42086         (ENTRY, EALIGN): Use it.
42087         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42088         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42089         fall through into ENTRY entry point.
42090         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42091         Only define if _CALL_ELF != 2.
42093         (elf_machine_matches_host): Verify ABI version matches.
42094         (RTLD_START): Use LOCALENTRY.
42095         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42096         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42097         (PLT_ENTRY_WORDS): New macro.
42098         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42099         (elf_machine_runtime_setup): Support ELFv2 ABI.
42100         (elf_machine_fixup_plt): Likewise.
42101         (elf_machine_plt_conflict): Likewise.
42102         (resolve_ifunc): Likewise.
42103         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42104         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42105         Likewise.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42107         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42109         (makecontext): Support ELFv2 ABI.
42110         * elf/elf.h (EF_PPC64_ABI): Define.
42112 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42114         * sysdeps/powerpc/powerpc64/sysdep.h
42115         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42116         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42117         (ENTRY) [ASSEMBLER]: ... but instead here ...
42118         (EALIGN) [ASSEMBLER]: ... and here.
42119         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42120         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42121         (ENTRY_2) [!ASSEMBLER]: Use it.
42122         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42123         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42124         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42125         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42126         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42128         Use PPC64_LOAD_FUNCPTR.
42130         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42132 2013-12-04  Alan Modra  <amodra@gmail.com>
42134         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42135         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42136         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42137         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42140         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42141         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42142         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42143         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42144         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42146 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42149         (__makecontext): Fix incorrect CFI when backtracing out of
42150         context created via makecontext.
42151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42152         (__setcontext): Fix incorrect CFI during switch to new context.
42153         (__novec_setcontext): Likewise.
42155 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42157         [BZ #4772]
42158         * time/strptime_l.c (__strptime_internal): Allow modifiers
42159         in strptime.
42160         * time/tst-strptime.c (day_tests): Add testcase.
42162 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42164         * scripts/bench.pl: Skip over blank lines.
42166 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42168         [BZ #926]
42169         * manual/time.texi (Calendar Time): Clarify what timezone functions
42170         use.
42172 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42176 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42178         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42179         implementation.
42180         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42181         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42182         * debug/memset_chk.c (__memset_chk): Likewise.
42183         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42184         * debug/strncpy_chk.c: Likewise.
42186 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42188         [BZ #15268]
42189         [BZ #15425]
42190         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42191         (__ieee754_exp): For possibly underflowing results, check size of
42192         result and force underflow exception if required.
42193         * math/auto-libm-test-in: Add more tests of exp.
42194         * math/auto-libm-test-out: Regenerated.
42195         * sysdeps/i386/fpu/libm-test-ulps: Update.
42196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42198         [BZ #16283]
42199         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42200         * math/w_exp2f.c (__exp2f): Likewise.
42201         * math/w_exp2l.c (__exp2l): Likewise.
42202         * math/auto-libm-test-in: Do not allow missing errno on exp2
42203         underflow.
42204         * math/auto-libm-test-out: Regenerated.
42206 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42208         [BZ #16274]
42209         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42210         handle filename validation.
42211         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42212         (do_open): Delete.
42214 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42216         [BZ #6786]
42217         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42218         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42219         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42220         <float.h>.
42221         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42222         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42223         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42225         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42226         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42227         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42228         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42229         Add more erfc tests.
42230         * math/auto-libm-test-out: Regenerated.
42231         * sysdeps/i386/fpu/libm-test-ulps: Update.
42232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42234         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42235         exp2, expm1, j0 and j1.
42236         * math/auto-libm-test-out: Regenerated.
42237         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42238         (erfc_test_data): Likewise.
42239         (exp_test_data): Likewise.
42240         (exp_tonearest_test_data): Likewise.
42241         (exp_towardzero_test_data): Likewise.
42242         (exp_downward_test_data): Likewise.
42243         (exp_upward_test_data): Likewise.
42244         (exp10_test_data): Likewise.
42245         (exp2_test_data): Likewise.
42246         (expm1_test_data): Likewise.
42247         (j0_test_data): Likewise.
42248         (j1_test_data): Likewise.
42249         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42250         (input_flag_type): Add flag_xfail_rounding.
42251         (input_flags): Add xfail-rounding.
42252         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42253         (output_for_one_input_case): Handle flag_xfail_rounding.
42254         * sysdeps/i386/fpu/libm-test-ulps: Update.
42255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42257 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42259         [BZ #16289]
42260         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42261         division by 0.
42263 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42265         [BZ #16195]
42266         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42267         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42268         (STAP_PROBE0): New macro.
42269         (STAP_PROBE1): Likewise.
42270         (STAP_PROBE2): Likewise.
42271         (STAP_PROBE3): Likewise.
42272         (STAP_PROBE4): Likewise.
42274 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42276         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42278 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42280         * benchtests/Makefile (bench): Add sqrt.
42281         (LDLIBS-bench-sqrt): New.
42282         * benchtests/sqrt-input: New.
42284 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42286         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42287         (GAIH_EAI): Likewise.
42288         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42289         (gaih_inet): Likewise.
42290         (getaddrinfo): Don't use GAIH_EAI.
42292         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42293         (struct gaih): Remove definition.
42295 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42297         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42298         Use HERRNOP directly.
42300 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42304 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
42306         * math/gen-auto-libm-tests.c (test_functions): Add more
42307         single-argument functions.
42308         (special_fill_pi_2): New function.
42309         (special_fill_minus_pi_2): Likewise.
42310         (special_fill_pi_6): Likewise.
42311         (special_fill_minus_pi_6): Likewise.
42312         (special_fill_pi_3): Likewise.
42313         (special_fill_2pi_3): Likewise.
42314         (special_fill_e): Likewise.
42315         (special_fill_1_e): Likewise.
42316         (special_fill_e_minus_1): Likewise.
42317         (special_real_inputs): Add more special inputs.
42318         (output_for_one_input_case): Do not require ERANGE on underflow to
42319         zero if round-to-nearest result does not underflow to zero, unless
42320         exact results required.
42321         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42322         atan, atanh, cbrt, cos and cosh.
42323         * math/auto-libm-test-out: Regenerated.
42324         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42325         (acos_tonearest_test_data): Likewise.
42326         (acos_towardzero_test_data): Likewise.
42327         (acos_downward_test_data): Likewise.
42328         (acos_upward_test_data): Likewise.
42329         (acosh_test_data): Likewise.
42330         (asin_test_data): Likewise.
42331         (asin_tonearest_test_data): Likewise.
42332         (asin_towardzero_test_data): Likewise.
42333         (asin_upward_test_data): Likewise.
42334         (asinh_test_data): Likewise.
42335         (atan_test_data): Likewise.
42336         (atanh_test_data): Likewise.
42337         (cbrt_test_data): Likewise.
42338         (cos_test_data): Likewise.
42339         (cos_tonearest_test_data): Likewise.
42340         (cos_towardzero_test_data): Likewise.
42341         (cos_downward_test_data): Likewise.
42342         (cos_upward_test_data): Likewise.
42343         (cosh_test_data): Likewise.
42344         (cosh_tonearest_test_data): Likewise.
42345         (cosh_towardzero_test_data): Likewise.
42346         (cosh_downward_test_data): Likewise.
42347         (cosh_upward_test_data): Likewise.
42348         * sysdeps/i386/fpu/libm-test-ulps: Update.
42349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42351 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
42353         [BZ #6787]
42354         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42355         * math/w_exp10f.c (__exp10f): Likewise.
42356         * math/w_exp10l.c (__exp10l): Likewise.
42357         * math/libm-test.inc (exp10_test_data): Add more tests and expect
42358         errno settings in existing tests.
42360         [BZ #14032]
42361         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42362         precision control set to double precision.
42363         * sysdeps/i386/fpu/w_sqrt.c: New file.
42364         * math/auto-libm-test-in: Add more tests.
42365         * math/auto-libm-test-out: Update.
42367         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42368         (sqrt_test_tonearest): New function.
42369         (sqrt_towardzero_test_data): New variable.
42370         (sqrt_test_towardzero): New function.
42371         (sqrt_downward_test_data): New variable.
42372         (sqrt_test_downward): New function.
42373         (sqrt_upward_test_data): New variable.
42374         (sqrt_test_upward): New function.
42375         (main): Call the new functions.
42377         * math/gen-auto-libm-tests.c: New file.
42378         * math/auto-libm-test-in: Likewise.
42379         * math/auto-libm-test-out: New generated file.
42380         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42381         variables.
42382         (%beautify): Add generated representations of zero.
42383         (top level): Set $auto_input and call parse_auto_input.
42384         (beautify): Remove trailing "f" from hex float constants.
42385         (parse_args): Handle XFAIL_TEST.
42386         (convert_condition): New function.
42387         (or_value): Likewise.
42388         (or_cond_value): Likewise.
42389         (generate_testfile): Handle AUTO_TESTS_* lines.
42390         (parse_auto_input): New function.
42391         * math/libm-test.inc (XFAIL_TEST): New macro.
42392         (ERRNO_UNCHANGED): Update value.
42393         (ERRNO_EDOM): Likewise.
42394         (ERRNO_ERANGE): Likewise.
42395         (IGNORE_RESULT): Likewise.
42396         (TEST_COND_flt_32): New macro.
42397         (TEST_COND_dbl_64): Likewise.
42398         (TEST_COND_ldbl_96_intel): Likewise.
42399         (TEST_COND_ldbl_96_m68k): Likewise.
42400         (TEST_COND_ldbl_128): Likewise.
42401         (TEST_COND_ldbl_128ibm): Likewise.
42402         (TEST_COND_long32): Likewise.
42403         (TEST_COND_long64): Likewise.
42404         (TEST_COND_before_rounding): Likewise.
42405         (TEST_COND_after_rounding): Likewise.
42406         (enable_test): Handle XFAIL_TEST flag.
42407         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42408         with finite results.
42409         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42410         auto-libm-test-out.
42412 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42413             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42415         [BZ #16214]
42416         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42417         __tls_get_addr_internal instead of __tls_get_offset in order to
42418         avoid GOT pointer dependency.  Make rtld export
42419         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42420         __tls_get_addr since we are a __tls_get_offset platform.
42421         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42422         GOT pointer being set up before.
42423         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42425 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
42427         * manual/math.texi (Errors in Math Functions): Document accuracy
42428         goals.
42430         [BZ #15004]
42431         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42432         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42435         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42437         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42441         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42443         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42444         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42445         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42448         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42449         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42450         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42451         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42452         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42453         Likewise.
42454         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42455         Likewise.
42456         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42457         Likewise.
42458         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42459         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42460         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42461         atomic-feupdateenv and flt-rounds.
42462         * sysdeps/powerpc/nofpu/Versions (libc): Add
42463         __atomic_feholdexcept, __atomic_feclearexcept,
42464         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42465         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42466         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42467         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42468         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42469         here.
42470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42471         Update.
42473         * manual/arith.texi (FP Exceptions): Document that exceptions may
42474         not be raised when matherr is used.
42475         (Math Error Reporting): Document overflow in directed rounding
42476         modes.  Document that errno may not be set when finite values are
42477         returned on overflow.  Document intent to set errno on underflow
42478         only for underflow to zero.
42480         [BZ #16271]
42481         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42482         round-to-nearest then adjust result for other rounding modes.
42483         * include/fenv.h (fegetround): Use libm_hidden_proto.
42484         * math/fegetround.c (fegetround): Use libm_hidden_def.
42485         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42486         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42487         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42488         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42489         Likewise.
42490         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42491         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42492         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42493         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42495 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42497         [BZ #16077]
42498         * nss/Versions (libnss_files): Add
42499         _nss_files_gethostbyname3_r.
42500         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42501         New function.
42502         (HOST_DB_LOOKUP): Remove macro.
42503         (_nss_files_gethostbyname_r): Implement function without the
42504         HOST_DB_LOOKUP macro.
42505         (_nss_files_gethostbyname2_r): Likewise.
42507 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
42509         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42511 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
42513         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42514         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42515         warning.
42517 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42519         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42520         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42521         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42522         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42523         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42524         __fe_nomask_env_priv and attribute_hidden.
42525         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42526         (libc_feupdateenv_test_ppc): Likewise.
42527         (libc_feresetround_ppc): Likewise.
42528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42529         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42530         compat_symbol macro.
42531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42532         (__fe_nomask_env): Likewise.
42533         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42535 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42537         * string/Makefile: Remove ifunc tests.
42538         * string/test-string.h: Define TEST_IFUNC.
42539         * string/test-bcopy-ifunc.c: Remove.
42540         * string/test-bzero-ifunc.c: Likewise.
42541         * string/test-memccpy-ifunc.c: Likewise.
42542         * string/test-memchr-ifunc.c: Likewise.
42543         * string/test-memcmp-ifunc.c: Likewise.
42544         * string/test-memcpy-ifunc.c: Likewise.
42545         * string/test-memmem-ifunc.c: Likewise.
42546         * string/test-memmove-ifunc.c: Likewise.
42547         * string/test-mempcpy-ifunc.c: Likewise.
42548         * string/test-memrchr-ifunc.c: Likewise.
42549         * string/test-memset-ifunc.c: Likewise.
42550         * string/test-rawmemchr-ifunc.c: Likewise.
42551         * string/test-stpcpy-ifunc.c: Likewise.
42552         * string/test-stpncpy-ifunc.c: Likewise.
42553         * string/test-strcasecmp-ifunc.c: Likewise.
42554         * string/test-strcasestr-ifunc.c: Likewise.
42555         * string/test-strcat-ifunc.c: Likewise.
42556         * string/test-strchr-ifunc.c: Likewise.
42557         * string/test-strchrnul-ifunc.c: Likewise.
42558         * string/test-strcmp-ifunc.c: Likewise.
42559         * string/test-strcpy-ifunc.c: Likewise.
42560         * string/test-strcspn-ifunc.c: Likewise.
42561         * string/test-strlen-ifunc.c: Likewise.
42562         * string/test-strncasecmp-ifunc.c: Likewise.
42563         * string/test-strncat-ifunc.c: Likewise.
42564         * string/test-strncmp-ifunc.c: Likewise.
42565         * string/test-strncpy-ifunc.c: Likewise.
42566         * string/test-strnlen-ifunc.c: Likewise.
42567         * string/test-strpbrk-ifunc.c: Likewise.
42568         * string/test-strrchr-ifunc.c: Likewise.
42569         * string/test-strspn-ifunc.c: Likewise.
42570         * string/test-strstr-ifunc.c: Likewise.
42572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42574         * benchtests/Makefile: Remove ifunc tests.
42575         * benchtests/bench-string.h: Define TEST_IFUNC.
42576         * benchtests/bench-bcopy-ifunc.c: Remove.
42577         * benchtests/bench-bzero-ifunc.c: Likewise.
42578         * benchtests/bench-memccpy-ifunc.c: Likewise.
42579         * benchtests/bench-memchr-ifunc.c: Likewise.
42580         * benchtests/bench-memcmp-ifunc.c: Likewise.
42581         * benchtests/bench-memcpy-ifunc.c: Likewise.
42582         * benchtests/bench-memmem-ifunc.c: Likewise.
42583         * benchtests/bench-memmove-ifunc.c: Likewise.
42584         * benchtests/bench-mempcpy-ifunc.c: Likewise.
42585         * benchtests/bench-memrchr-ifunc.c: Likewise.
42586         * benchtests/bench-memset-ifunc.c: Likewise.
42587         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42588         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42589         * benchtests/bench-stpcpy-ifunc.c: Likewise.
42590         * benchtests/bench-stpncpy-ifunc.c: Likewise.
42591         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42592         * benchtests/bench-strcasestr-ifunc.c: Likewise.
42593         * benchtests/bench-strcat-ifunc.c: Likewise.
42594         * benchtests/bench-strchr-ifunc.c: Likewise.
42595         * benchtests/bench-strchrnul-ifunc.c: Likewise.
42596         * benchtests/bench-strcmp-ifunc.c: Likewise.
42597         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42598         * benchtests/bench-strcpy-ifunc.c: Likewise.
42599         * benchtests/bench-strcspn-ifunc.c: Likewise.
42600         * benchtests/bench-strlen-ifunc.c: Likewise.
42601         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42602         * benchtests/bench-strncat-ifunc.c: Likewise.
42603         * benchtests/bench-strncmp-ifunc.c: Likewise.
42604         * benchtests/bench-strncpy-ifunc.c: Likewise.
42605         * benchtests/bench-strnlen-ifunc.c: Likewise.
42606         * benchtests/bench-strpbrk-ifunc.c: Likewise.
42607         * benchtests/bench-strrchr-ifunc.c: Likewise.
42608         * benchtests/bench-strsep-ifunc.c: Likewise.
42609         * benchtests/bench-strspn-ifunc.c: Likewise.
42610         * benchtests/bench-strstr-ifunc.c: Likewise.
42612 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42614         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42616 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
42618         * resolv/netdb.h: Use __glibc_reserved instead __unused.
42619         * rt/aio.h: Likewise.
42620         * sysdeps/gnu/bits/utmp.h: Likewise.
42621         * sysdeps/gnu/bits/utmpx.h: Likewise.
42622         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42623         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42624         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42625         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42626         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42627         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42628         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42629         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42630         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42632         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42633         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42634         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42636         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42637         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42638         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42639         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42640         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42641         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42642         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42643         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42644         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42645         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42646         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42648         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42649         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42650         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42651         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42652         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42653         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42654         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42655         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42656         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42657         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42658         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42659         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42660         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42661         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42662         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42663         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42665 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
42667         [BZ #16245]
42668         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42669         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42671 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
42673         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42674         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42675         Likewise.
42677 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42680         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42681         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42682         (__fesetround): Remove define.
42683         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42684         rounding and exceptions handling.
42685         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42686         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42687         (__fe_nomask_env): Likewise.
42688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42689         __fegetround instead of fegetround.
42690         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42691         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42693 2013-11-21  Roland McGrath  <roland@hack.frob.com>
42695         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42696         it's there.
42698         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42700 2013-11-21  Meador Inge  <meadori@codesourcery.com>
42702         [BZ #11157]
42703         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42704         (encrypt_r): Likewise.
42705         * malloc/obstack.h (obstack_free): Likewise.
42706         * posix/unistd.h (encrypt): Likewise.
42708 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
42710         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42711         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42712         DL_CALL_DT_FINI() that call the functions directly.
42713         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42714         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42715         * elf/dl-fini.c: Likewise.
42717 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
42719         * malloc/hooks.c (memalign_check): Add alignment rounding.
42720         * malloc/malloc.c (_mid_memalign): New function.
42721         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42722         Implement by calling _mid_memalign.
42723         * manual/probes.texi (Memory Allocation Probes): Remove
42724         memory_valloc_retry and memory_pvalloc_retry.
42726 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42728         * locale/programs/locarchive.c (open_archive): Add const
42729         qualifier to ARCHIVEFNAME and copy default fname to
42730         DEFAULT_FNAME.
42732         [BZ #15601]
42733         * libio/tst-widetext.input: Rename Oriya to Odia.
42734         * locale/iso-639.def: Likewise.
42736         * manual/probes.texi (Mathematical Function Probes): Add
42737         documentation for sin, cos, asin and acos probes.
42738         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42739         (__sin32): Add slowasin probe.
42740         (__cos32): Add slowacos probe.
42741         (__mpsin): Add slowsin probe.
42742         (__mpcos): Add slowcos probe.
42744 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
42746         [BZ #15483]
42747         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42748         thread-local __sim_exceptions_thread and global
42749         __sim_exceptions_global.
42750         (__sim_disabled_exceptions): Change to thread-local
42751         __sim_disabled_exceptions_thread and global
42752         __sim_disabled_exceptions_global.
42753         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42754         and global __sim_round_mode_global.
42755         (__simulate_exceptions): Use thread-local floating-point state and
42756         set global state from it as needed.
42757         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42758         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42759         __sim_round_mode_thread.
42760         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42761         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42762         and global __sim_exceptions_global.
42763         (__sim_disabled_exceptions): Change to thread-local
42764         __sim_disabled_exceptions_thread and global
42765         __sim_disabled_exceptions_global.
42766         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42767         and global __sim_round_mode_global.
42768         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42769         (SIM_SET_GLOBAL): Likewise.
42770         * sysdeps/powerpc/soft-fp/sfp-machine.h
42771         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42772         __sim_round_mode_thread.
42773         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42774         __sim_disabled_exceptions_thread.
42775         (__sim_exceptions): Change to __sim_exceptions_thread.
42776         (__sim_disabled_exceptions): Change to
42777         __sim_disabled_exceptions_thread.
42778         (__sim_round_mode): Change to __sim_round_mode_thread.
42779         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42780         thread-local floating-point state and set global state from it as
42781         needed.
42782         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42783         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42784         (__sim_disabled_exceptions): Remove extern declaration.
42785         (feenableexcept): Use thread-local floating-point state and set
42786         global state from it as needed.
42787         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42788         extern declaration.
42789         (__sim_disabled_exceptions): Likewise.
42790         (__sim_round_mode): Likewise.
42791         (__fegetenv): Use thread-local floating-point state.
42792         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42793         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42794         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42795         floating-point state and set global state from it as needed.
42796         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42797         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42798         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42799         Likewise.
42800         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42801         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42802         Likewise.
42803         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42804         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42805         Use __sim_round_mode_thread.
42806         * math/test-fenv-tls.c: New file.
42807         * math/Makefile (tests): Add test-fenv-tls.
42808         ($(objpfx)test-fenv-tls): Depend on
42809         $(common-objpfx)nptl/libpthread.so.
42811 2013-11-19  Andreas Schwab  <schwab@suse.de>
42813         * locale/programs/locale.c (show_info): Decode wordarray elements.
42814         * locale/categories.def (LC_MONETARY): Add element for
42815         _NL_MONETARY_CRNCYSTR.
42816         * locale/C-monetary.c (conversion_rate): New variable.
42817         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42818         element.
42820 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
42822         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42823         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42825 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42827         * elf/Makefile (tst-auxv): New test.
42828         * elf/tst-auxv.c: New
42829         * elf/rtld.c (dl_main): Adjust AT_EXECFN
42831 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
42833         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42834         (hidden_proto): Caller changed.
42835         (hidden_tls_proto): New macro.
42836         (libc_hidden_tls_proto): Likewise.
42837         (rtld_hidden_tls_proto): Likewise.
42838         (libm_hidden_tls_proto): Likewise.
42839         (libresolv_hidden_tls_proto): Likewise.
42840         (librt_hidden_tls_proto): Likewise.
42841         (libdl_hidden_tls_proto): Likewise.
42842         (libnss_files_hidden_tls_proto): Likewise.
42843         (libnsl_hidden_tls_proto): Likewise.
42844         (libnss_nisplus_hidden_tls_proto): Likewise.
42845         (libutil_hidden_tls_proto): Likewise.
42847 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
42849         [BZ #10253]
42850         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
42851         (decompose_rpath): Defer expansion to fillin_rpath.
42852         (_dl_init_paths): Pass linkmap to fillin_rpath.
42854 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42856         * benchtests/Makefile: Add strsep.
42857         * benchtests/bench-strsep.c: New file: strsep benchtest.
42858         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
42860 2013-11-18  Andreas Schwab  <schwab@suse.de>
42862         * locale/programs/locale.c (show_info) [case byte]: Check for
42863         '\377' instead of '\177'.
42864         * locale/C-monetary.c (not_available): Always use "\377".
42865         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
42866         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
42867         detect unavailable sign_posn locale elements.
42868         * locale/localeconv.c (__localeconv): For grouping and
42869         mon_grouping handle "\177" and "\377" like no grouping.
42870         (INT_ELEM): New macro.  Use it to set all numeric members.
42871         * locale/programs/ld-monetary.c (monetary_read)
42872         <tok_mon_grouping>: Normalize single -1 to the empty string.
42873         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
42874         Likewise.
42876 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
42878         [BZ #16055]
42879         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
42880         when we match (nil).
42881         * stdio-common/tst-sscanf.c (struct test): Add testcase.
42883 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
42885         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
42886         (NO_TEST_INLINE): Update value.
42887         (ERRNO_UNCHANGED): Likewise.
42888         (ERRNO_EDOM): Likewise.
42889         (ERRNO_ERANGE): Likewise.
42890         (IGNORE_RESULT): Likewise.
42891         (check_float_internal): Check signs of NaN results if
42892         TEST_NAN_SIGN used.
42893         (check_complex): Pass TEST_NAN_SIGN flag through to second
42894         check_float_internal call.
42895         (copysign_test_data): Add tests with quiet NaNs as second
42896         argument.  Use TEST_NAN_SIGN.
42897         (fabs_test_data): Add test of negative quiet NaN argument.  Use
42898         TEST_NAN_SIGN.
42899         (signbit_test_data): Add tests of quiet NaN argument.
42900         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42902         * math/gen-libm-test.pl (show_exceptions): Take extra argument
42903         $ignore_result.
42904         (parse_args): Handle function results specified as IGNORE.
42905         * math/libm-test.inc (IGNORE_RESULT): New macro.
42906         (check_float_internal): Do not check numerical result if flag
42907         IGNORE_RESULT set.
42908         (check_complex): Pass through IGNORE_RESULT to second
42909         check_float_internal call.
42910         (check_int): Do not check numerical result if flag IGNORE_RESULT
42911         set.
42912         (check_long): Likewise.
42913         (check_bool): Likewise.
42914         (check_longlong): Likewise.
42915         (lrint_test_data): Add tests of infinite and NaN arguments.
42916         (lrint_tonearest_test_data): Likewise.
42917         (lrint_towardzero_test_data): Likewise.
42918         (lrint_downward_test_data): Likewise.
42919         (lrint_upward_test_data): Likewise.
42920         (llrint_test_data): Likewise.
42921         (llrint_tonearest_test_data): Likewise.
42922         (llrint_towardzero_test_data): Likewise.
42923         (llrint_downward_test_data): Likewise.
42924         (llrint_upward_test_data): Likewise.
42925         (lround_test_data): Likewise.
42926         (llround_test_data): Likewise.
42928         * math/libm-test.inc (NO_TEST_INLINE): New macro.
42929         (ERRNO_UNCHANGED): Update value.
42930         (ERRNO_EDOM): Likewise.
42931         (ERRNO_ERANGE): Likewise.
42932         (NO_TEST_INLINE_FLOAT): New macro.
42933         (NO_TEST_INLINE_DOUBLE): Likewise.
42934         (enable_test): New function.
42935         (RUN_TEST_f_f): Check enable_test before running test.
42936         (RUN_TEST_2_f): Likewise.
42937         (RUN_TEST_fff_f): Likewise.
42938         (RUN_TEST_c_f): Likewise.
42939         (RUN_TEST_f_f1): Likewise.
42940         (RUN_TEST_fF_f1): Likewise.
42941         (RUN_TEST_fI_f1): Likewise.
42942         (RUN_TEST_ffI_f1): Likewise.
42943         (RUN_TEST_c_c): Likewise.
42944         (RUN_TEST_cc_c): Likewise.
42945         (RUN_TEST_f_i): Likewise.
42946         (RUN_TEST_f_i_tg): Likewise.
42947         (RUN_TEST_ff_i_tg): Likewise.
42948         (RUN_TEST_f_b): Likewise.
42949         (RUN_TEST_f_b_tg): Likewise.
42950         (RUN_TEST_f_l): Likewise.
42951         (RUN_TEST_f_L): Likewise.
42952         (RUN_TEST_fFF_11): Likewise.
42953         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
42954         conditionals.
42955         (cosh_test_data): Likewise.
42956         (exp_test_data): Likewise.
42957         (expm1_test_data): Likewise.
42958         (hypot_test_data): Likewise.
42959         (pow_test_data): Likewise.
42960         (sinh_test_data): Likewise.
42961         (tanh_test_data): Likewise.
42962         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
42963         flags argument.
42965         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
42966         tests with quiet NaN input and output.
42967         (acosh_test_data): Likewise.
42968         (asin_test_data): Likewise.
42969         (asinh_test_data): Likewise.
42970         (atan_test_data): Likewise.
42971         (atanh_test_data): Likewise.
42972         (atan2_test_data): Likewise.
42973         (cbrt_test_data): Likewise.
42974         (cos_test_data): Likewise.
42975         (cosh_test_data): Likewise.
42976         (erf_test_data): Likewise.
42977         (erfc_test_data): Likewise.
42978         (exp_test_data): Likewise.
42979         (exp10_test_data): Likewise.
42980         (exp2_test_data): Likewise.
42981         (expm1_test_data): Likewise.
42982         (hypot_test_data): Likewise.
42983         (j0_test_data): Likewise.
42984         (j1_test_data): Likewise.
42985         (jn_test_data): Likewise.
42986         (lgamma_test_data): Likewise.
42987         (log_test_data): Likewise.
42988         (log10_test_data): Likewise.
42989         (log1p_test_data): Likewise.
42990         (log2_test_data): Likewise.
42991         (pow_test_data): Likewise.
42992         (scalb_test_data): Likewise.
42993         (sin_test_data): Likewise.
42994         (sincos_test_data): Likewise.
42995         (sinh_test_data): Likewise.
42996         (tan_test_data): Likewise.
42997         (tanh_test_data): Likewise.
42998         (tgamma_test_data): Likewise.
42999         (y0_test_data): Likewise.
43000         (y1_test_data): Likewise.
43001         (yn_test_data): Likewise.
43003         [BZ #16167]
43004         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43005         argument being NaN and avoid computations with second argument in
43006         that case.
43007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43008         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43009         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43011 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43013         * locale/iso-639.def: Add Chitwani Tharu (the).
43015 2013-11-14  Andreas Schwab  <schwab@suse.de>
43017         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43018         word instead of empty string.
43020 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43023         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43025         (__fe_nomask_env): Likewise.
43027 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43029         * benchtests/bench-timing.h: Include time.h.
43031 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43033         [BZ #15997]
43034         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43035         to 3.4.0 for x32.
43036         * sysdeps/unix/sysv/linux/configure: Regenerated.
43038 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43040         [BZ #16151]
43041         * stdlib/strtod_l.c (round_and_return): Do not consider
43042         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43043         exponent one less than half the least subnormal exponent.
43044         * stdlib/test-strtod-round-data: Add more tests.
43045         * stdlib/tst-strtod-round.c (tests): Regenerated.
43047 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43049         [BZ #14143]
43050         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43051         (__fe_mask_env): Likewise.
43052         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43053         libm_hidden_proto and add function prototype.
43054         (__fe_mask_env): Add function prototype.
43055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43056         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43058         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43060         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43062 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43064         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43065         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43067 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43069         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43070         of htab_find_slot().
43072 2013-11-11  David S. Miller  <davem@davemloft.net>
43074         [BZ #16150]
43075         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43076         symbol in the non-vis3 case in static builds.
43077         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43078         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43079         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43080         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43082 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43084         [BZ #387]
43085         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43086         it is empty.
43088 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43090         * benchtests/Makefile: Add bench-strtod.
43091         * benchtests/bench-strtod.c: New file: strtod benchtest
43093 2013-11-11  Andreas Schwab  <schwab@suse.de>
43095         [BZ #16153]
43096         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43097         terminating NUL in key length.
43099 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43101         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43102         Add artificial ODP entry for vDSO symbol for PPC64.
43103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43104         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43106 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43108         [BZ #15374]
43109         * nss/getent.c (services_keys): Recognize services starting with digit.
43111 2013-11-06  David S. Miller  <davem@davemloft.net>
43113         [BZ #15985]
43114         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43115         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43117 2013-11-06  Will Newton  <will.newton@linaro.org>
43119         * manual/memory.texi (Malloc Examples): Remove register
43120         keyword from examples.
43122 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43124         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43126 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43128         [BZ #6981]
43129         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43130         depending on [__GCC_IEC_559 > 0].
43131         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43132         depending on [__GCC_IEC_559_COMPLEX > 0].
43134 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43136         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43137         to iso-639.def.
43139 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43141         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43143 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43145         [BZ #16112]
43146         * malloc/malloc (malloc_info): Do not handle first bin as
43147         special case.
43149 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43151         * locale/iso-639.def: Add Central Nahuatl (nhn).
43153 2013-11-01  Bruno Haible  <bruno@clisp.org>
43155         [BZ #7003]
43156         * manual/math.texi (BSD Random): Specify range upper bound as
43157         in POSIX.
43159 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43161         * locale/iso-639.def: Add Meadow Mari (mhr).
43163 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43165         [BZ #14752], [BZ #15763]
43166         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43167         Validate name.
43168         * rt/tst_shm.c: Add test for escaping directory.
43170 2013-10-31  Andreas Schwab  <schwab@suse.de>
43172         [BZ #15917]
43173         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43174         followed by 'x' as part of digit sequence.
43175         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43177 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43179         [BZ #16037]
43180         * configure.ac: allow GNU Make 4.0 and greater.
43181         * configure: Regenerated.
43183 2013-10-30  Will Newton  <will.newton@linaro.org>
43185         [BZ #16038]
43186         * malloc/hooks.c (memalign_check): Limit alignment to the
43187         maximum representable power of two.
43188         * malloc/malloc.c (__libc_memalign): Likewise.
43189         * malloc/tst-memalign.c (do_test): Add test for very
43190         large alignment values.
43191         * malloc/tst-posix_memalign.c (do_test): Likewise.
43193 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43195         [BZ #11087]
43196         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43197         (munmap_chunk): Likewise.
43198         (mremap_chunk): Likewise.
43200 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43202         [BZ #15799]
43203         * stdlib/div.c (div): Remove obsolete code.
43204         * stdlib/ldiv.c (ldiv): Likewise.
43205         * stdlib/lldiv.c (lldiv): Likewise.
43207 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43209         [BZ #16071]
43210         * nss/nss_files/files-XXX.c (get_contents_ret): New
43211         enumerator.
43212         (get_contents): New function.
43213         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43215 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43217         * configure.in: Moved to ...
43218         * configure.ac: ... here. Change reference to configure.in
43219         to configure.ac.
43220         * sysdeps/arm/preconfigure.ac: ... here.
43221         configure.in to configure.ac.
43222         * sysdeps/gnu/configure.in: Moved to ...
43223         * sysdeps/gnu/configure.ac: ... here.
43224         * sysdeps/i386/configure.in: Moved to ...
43225         * sysdeps/i386/configure.ac: ... here.
43226         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43227         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43228         * sysdeps/mach/configure.in: Moved to ...
43229         * sysdeps/mach/configure.ac: ... here.
43230         * sysdeps/mach/hurd/configure.in: Moved to ...
43231         * sysdeps/mach/hurd/configure.ac: ... here.
43232         * sysdeps/powerpc/configure.in: Moved to ...
43233         * sysdeps/powerpc/configure.ac: ... here.
43234         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43235         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43236         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43237         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43238         * sysdeps/s390/s390-32/configure.in: Moved to ...
43239         * sysdeps/s390/s390-32/configure.ac: ... here.
43240         * sysdeps/s390/s390-64/configure.in: Moved to ...
43241         * sysdeps/s390/s390-64/configure.ac: ... here.
43242         * sysdeps/sh/configure.in: Moved to ...
43243         * sysdeps/sh/configure.ac: ... here.
43244         * sysdeps/sparc/configure.in: Moved to ...
43245         * sysdeps/sparc/configure.ac: ... here.
43246         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43247         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43248         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43249         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43250         * sysdeps/x86_64/configure.in: Moved to ...
43251         * sysdeps/x86_64/configure.ac: ... here.
43252         * sysdeps/x86_64/preconfigure.in: Moved to ...
43253         * sysdeps/x86_64/preconfigure.ac: ... here.
43254         * aclocal.m4: Change reference to configure.in to configure.ac.
43255         * config.h.in: Likewise.
43256         * manual/install.texi: Likewise.
43257         * manual/maint.texi: Likewise.
43258         * Makefile: Likewise.
43259         * malloc/Makefile: Likewise.
43260         * nscd/Makefile: Likewise.
43261         * Makeconfig: Change reference to configure.in and
43262         preconfigure.in to configure.ac and preconfigure.ac
43263         respectively.
43264         * INSTALL: Regenerated.
43265         * configure: Likewise.
43266         * sysdeps/gnu/configure: Likewise.
43267         * sysdeps/i386/configure: Likewise.
43268         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43269         * sysdeps/mach/configure: Likewise.
43270         * sysdeps/mach/hurd/configure: Likewise.
43271         * sysdeps/powerpc/configure: Likewise.
43272         * sysdeps/powerpc/powerpc32/configure: Likewise.
43273         * sysdeps/powerpc/powerpc64/configure: Likewise.
43274         * sysdeps/s390/s390-32/configure: Likewise.
43275         * sysdeps/s390/s390-64/configure: Likewise.
43276         * sysdeps/sh/configure: Likewise.
43277         * sysdeps/sparc/configure: Likewise.
43278         * sysdeps/unix/sysv/linux/configure: Likewise.
43279         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43280         * sysdeps/x86_64/configure: Likewise.
43281         * sysdeps/x86_64/preconfigure: Likewise.
43283 2013-10-29  Andreas Schwab  <schwab@suse.de>
43285         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43287 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43289         * benchtests/pow-inputs: Add new inputs.
43291         * benchtests/exp-inputs: Add new inputs.
43293         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43294         conditional check for return value.
43295         (__cos32): Likewise.
43297 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43299         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43300         to provide a boost for large inputs with word alignment.
43301         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43302         implementation based on optimized PPC64 strcpy.
43303         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43304         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43305         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43306         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43308 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43310         [BZ #2801]
43311         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43313 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43315         [BZ #14876]
43316         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43317         * time/tst-strptime.c (day_tests): Add testcase.
43319 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
43321         [BZ #14029]
43322         * manual/pattern.texi: Acknowledge that fnmatch can fail.
43324 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
43326         [BZ #16074]
43327         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43328         MAP_FAILED on error.
43330 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43332         [BZ #16072]
43333         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43334         heap for large requests.
43336 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
43338         [BZ #9954]
43339         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43340         result if the result has no associated interface.
43341         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43342         interface for all 127.X.Y.Z addresses.
43344 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
43346         * locale/iso-639.def: Add Ligurian (lij)
43348 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
43350         [BZ #15825]
43351         * sunrpc/rpc_main.c: Document rpcgen -5.
43353 2013-10-19  Michael Stahl  <mstahl@redhat.com>
43355         * elf/rtld.c (do_preload): Print the reason why preloading failed.
43357 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43359         [BZ #10278]
43360         * posix/glob.c: Match only directories when trailing slash is present.
43361         * posix/tst-gnuglob.c (my_opendir): Do not open files.
43362         (main): Add testcase.
43364 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
43366         [BZ #15670]
43367         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43369 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
43371         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43372         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43373         AUTH_DES and cindex for FIPS 140-2.
43374         (DES Encryption): Add cindex FIPS 46-3.
43376         * locale/locarchive.h (struct locarhandle): Add fname.
43377         * locale/programs/localedef.c (main): Pass ARGV[remaining]
43378         if an optional argument was specified to --list-archive,
43379         otherwise NULL.
43380         * locale/programs/locarchive.c (show_archive_content): Take new
43381         argument fname and pass it via ah.fname to open_archive.
43382         * locale/programs/localedef.h: Update decl.
43383         (open_archive): If AH->fname is non-null, open that file
43384         rather than the default file name, and don't ignore ENOENT.
43385         (create_archive): Set AH.fname to NULL.
43386         (delete_locales_from_archive): Likewise.
43387         (add_locales_to_archive): Likewise.
43388         * locale/programs/locfile.c (write_all_categories): Likewise.
43390 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
43391             Aldy Hernandez  <aldyh@redhat.com>
43393         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43394         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43395         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43396         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43397         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43398         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43400         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43401         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43402         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43404         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43405         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43406         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43407         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43408         Likewise.
43409         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43410         Likewise.
43411         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43412         Likewise.
43413         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43414         Likewise.
43415         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43416         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43417         Likewise.
43418         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43419         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43420         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43421         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43422         Likewise.
43423         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43424         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43425         * sysdeps/powerpc/preconfigure: Likewise.
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43427         Likewise.
43428         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43429         Replace contents of file by #include of <fenv_libc.h>.
43430         * sysdeps/powerpc/soft-fp/sfp-machine.h
43431         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43432         and <sys/prctl.h>.
43433         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43438         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43446         Allow copysignl PLT reference to be missing.
43448 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
43449             Joseph Myers  <joseph@codesourcery.com
43451         [BZ #15948]
43452         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43453         single character.
43454         (add_to_tablewc): Assert sequence of wide characters is nonempty.
43456 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43458         * elf/tst-tls-dlinfo.c: Don't include tls.h.
43459         * elf/tst-tls1.c: Likewise.
43460         * elf/tst-tls10.h: Likewise.
43461         * elf/tst-tls14.c: Likewise.
43462         * elf/tst-tls2.c: Likewise.
43463         * elf/tst-tls3.c: Likewise.
43464         * elf/tst-tls4.c: Likewise.
43465         * elf/tst-tls5.c: Likewise.
43466         * elf/tst-tls6.c: Likewise.
43467         * elf/tst-tls7.c: Likewise.
43468         * elf/tst-tls8.c: Likewise.
43469         * elf/tst-tls9.c: Likewise.
43470         * elf/tst-tlsmod1.c: Likewise.
43471         * elf/tst-tlsmod13.c: Likewise.
43472         * elf/tst-tlsmod13a.c: Likewise.
43473         * elf/tst-tlsmod14a.c: Likewise.
43474         * elf/tst-tlsmod16a.c: Likewise.
43475         * elf/tst-tlsmod16b.c: Likewise.
43476         * elf/tst-tlsmod2.c: Likewise.
43477         * elf/tst-tlsmod3.c: Likewise.
43478         * elf/tst-tlsmod4.c: Likewise.
43479         * elf/tst-tlsmod5.c: Likewise.
43480         * elf/tst-tlsmod6.c: Likewise.
43482 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
43484         [BZ #12486]
43485         * malloc/malloc.c: remove checks for statistics.
43487 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43489         [BZ #15277]
43490         * inet/inet_net.c (inet_network): Detect additional invalid strings.
43491         * inet/tst-network.c: Add testcase.
43493 2013-10-17  Andreas Schwab  <schwab@suse.de>
43495         [BZ #15218]
43496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43497         to determine canonical name.
43499 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
43501         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43502         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43504         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43506         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43507         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43508         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43509         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43510         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43511         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43512         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43513         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43514         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43515         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43516         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43518         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43519         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43520         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43524         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43525         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43526         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43527         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43531         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43534         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43536         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43537         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43538         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43539         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43541         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43542         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43543         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43544         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43545         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43546         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43548         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43549         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43550         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43551         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43552         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43553         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43554         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43560 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
43562         [BZ #16041]
43563         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43564         make result into a quiet NaN.
43566 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
43568         * soft-fp/adddf3.c: Fix horizontal whitespace.
43569         * soft-fp/addsf3.c: Likewise.
43570         * soft-fp/addtf3.c: Likewise.
43571         * soft-fp/divdf3.c: Likewise.
43572         * soft-fp/divsf3.c: Likewise.
43573         * soft-fp/divtf3.c: Likewise.
43574         * soft-fp/double.h: Likewise.
43575         * soft-fp/eqdf2.c: Likewise.
43576         * soft-fp/eqsf2.c: Likewise.
43577         * soft-fp/eqtf2.c: Likewise.
43578         * soft-fp/extenddftf2.c: Likewise.
43579         * soft-fp/extended.h: Likewise.
43580         * soft-fp/extendsfdf2.c: Likewise.
43581         * soft-fp/extendsftf2.c: Likewise.
43582         * soft-fp/extendxftf2.c: Likewise.
43583         * soft-fp/fixdfdi.c: Likewise.
43584         * soft-fp/fixdfsi.c: Likewise.
43585         * soft-fp/fixdfti.c: Likewise.
43586         * soft-fp/fixsfdi.c: Likewise.
43587         * soft-fp/fixsfsi.c: Likewise.
43588         * soft-fp/fixsfti.c: Likewise.
43589         * soft-fp/fixtfdi.c: Likewise.
43590         * soft-fp/fixtfsi.c: Likewise.
43591         * soft-fp/fixtfti.c: Likewise.
43592         * soft-fp/fixunsdfdi.c: Likewise.
43593         * soft-fp/fixunsdfsi.c: Likewise.
43594         * soft-fp/fixunsdfti.c: Likewise.
43595         * soft-fp/fixunssfdi.c: Likewise.
43596         * soft-fp/fixunssfsi.c: Likewise.
43597         * soft-fp/fixunssfti.c: Likewise.
43598         * soft-fp/fixunstfdi.c: Likewise.
43599         * soft-fp/fixunstfsi.c: Likewise.
43600         * soft-fp/fixunstfti.c: Likewise.
43601         * soft-fp/floatdidf.c: Likewise.
43602         * soft-fp/floatdisf.c: Likewise.
43603         * soft-fp/floatditf.c: Likewise.
43604         * soft-fp/floatsidf.c: Likewise.
43605         * soft-fp/floatsisf.c: Likewise.
43606         * soft-fp/floatsitf.c: Likewise.
43607         * soft-fp/floattidf.c: Likewise.
43608         * soft-fp/floattisf.c: Likewise.
43609         * soft-fp/floattitf.c: Likewise.
43610         * soft-fp/floatundidf.c: Likewise.
43611         * soft-fp/floatundisf.c: Likewise.
43612         * soft-fp/floatunditf.c: Likewise.
43613         * soft-fp/floatunsidf.c: Likewise.
43614         * soft-fp/floatunsisf.c: Likewise.
43615         * soft-fp/floatunsitf.c: Likewise.
43616         * soft-fp/floatuntidf.c: Likewise.
43617         * soft-fp/floatuntisf.c: Likewise.
43618         * soft-fp/floatuntitf.c: Likewise.
43619         * soft-fp/fmadf4.c: Likewise.
43620         * soft-fp/fmasf4.c: Likewise.
43621         * soft-fp/fmatf4.c: Likewise.
43622         * soft-fp/gedf2.c: Likewise.
43623         * soft-fp/gesf2.c: Likewise.
43624         * soft-fp/getf2.c: Likewise.
43625         * soft-fp/ledf2.c: Likewise.
43626         * soft-fp/lesf2.c: Likewise.
43627         * soft-fp/letf2.c: Likewise.
43628         * soft-fp/muldf3.c: Likewise.
43629         * soft-fp/mulsf3.c: Likewise.
43630         * soft-fp/multf3.c: Likewise.
43631         * soft-fp/negdf2.c: Likewise.
43632         * soft-fp/negsf2.c: Likewise.
43633         * soft-fp/negtf2.c: Likewise.
43634         * soft-fp/op-1.h: Likewise.
43635         * soft-fp/op-2.h: Likewise.
43636         * soft-fp/op-4.h: Likewise.
43637         * soft-fp/op-8.h: Likewise.
43638         * soft-fp/op-common.h: Likewise.
43639         * soft-fp/quad.h: Likewise.
43640         * soft-fp/single.h: Likewise.
43641         * soft-fp/soft-fp.h: Likewise.
43642         * soft-fp/sqrtdf2.c: Likewise.
43643         * soft-fp/sqrtsf2.c: Likewise.
43644         * soft-fp/sqrttf2.c: Likewise.
43645         * soft-fp/subdf3.c: Likewise.
43646         * soft-fp/subsf3.c: Likewise.
43647         * soft-fp/subtf3.c: Likewise.
43648         * soft-fp/truncdfsf2.c: Likewise.
43649         * soft-fp/trunctfdf2.c: Likewise.
43650         * soft-fp/trunctfsf2.c: Likewise.
43651         * soft-fp/trunctfxf2.c: Likewise.
43652         * soft-fp/unorddf2.c: Likewise.
43653         * soft-fp/unordsf2.c: Likewise.
43654         * soft-fp/unordtf2.c: Likewise.
43656 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
43658         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43659         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43661 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
43663         * elf/dl-libc.c: Clear initfini list after freeing.
43665 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
43667         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43668         * soft-fp/addsf3.c: Likewise.
43669         * soft-fp/addtf3.c: Likewise.
43670         * soft-fp/divdf3.c: Likewise.
43671         * soft-fp/divsf3.c: Likewise.
43672         * soft-fp/divtf3.c: Likewise.
43673         * soft-fp/double.h: Likewise.
43674         * soft-fp/eqdf2.c: Likewise.
43675         * soft-fp/eqsf2.c: Likewise.
43676         * soft-fp/eqtf2.c: Likewise.
43677         * soft-fp/extenddftf2.c: Likewise.
43678         * soft-fp/extended.h: Likewise.
43679         * soft-fp/extendsfdf2.c: Likewise.
43680         * soft-fp/extendsftf2.c: Likewise.
43681         * soft-fp/extendxftf2.c: Likewise.
43682         * soft-fp/fixdfdi.c: Likewise.
43683         * soft-fp/fixdfsi.c: Likewise.
43684         * soft-fp/fixdfti.c: Likewise.
43685         * soft-fp/fixsfdi.c: Likewise.
43686         * soft-fp/fixsfsi.c: Likewise.
43687         * soft-fp/fixsfti.c: Likewise.
43688         * soft-fp/fixtfdi.c: Likewise.
43689         * soft-fp/fixtfsi.c: Likewise.
43690         * soft-fp/fixtfti.c: Likewise.
43691         * soft-fp/fixunsdfdi.c: Likewise.
43692         * soft-fp/fixunsdfsi.c: Likewise.
43693         * soft-fp/fixunsdfti.c: Likewise.
43694         * soft-fp/fixunssfdi.c: Likewise.
43695         * soft-fp/fixunssfsi.c: Likewise.
43696         * soft-fp/fixunssfti.c: Likewise.
43697         * soft-fp/fixunstfdi.c: Likewise.
43698         * soft-fp/fixunstfsi.c: Likewise.
43699         * soft-fp/fixunstfti.c: Likewise.
43700         * soft-fp/floatdidf.c: Likewise.
43701         * soft-fp/floatdisf.c: Likewise.
43702         * soft-fp/floatditf.c: Likewise.
43703         * soft-fp/floatsidf.c: Likewise.
43704         * soft-fp/floatsisf.c: Likewise.
43705         * soft-fp/floatsitf.c: Likewise.
43706         * soft-fp/floattidf.c: Likewise.
43707         * soft-fp/floattisf.c: Likewise.
43708         * soft-fp/floattitf.c: Likewise.
43709         * soft-fp/floatundidf.c: Likewise.
43710         * soft-fp/floatundisf.c: Likewise.
43711         * soft-fp/floatunsidf.c: Likewise.
43712         * soft-fp/floatunsisf.c: Likewise.
43713         * soft-fp/floatuntidf.c: Likewise.
43714         * soft-fp/floatuntisf.c: Likewise.
43715         * soft-fp/floatuntitf.c: Likewise.
43716         * soft-fp/fmadf4.c: Likewise.
43717         * soft-fp/fmasf4.c: Likewise.
43718         * soft-fp/fmatf4.c: Likewise.
43719         * soft-fp/gedf2.c: Likewise.
43720         * soft-fp/gesf2.c: Likewise.
43721         * soft-fp/getf2.c: Likewise.
43722         * soft-fp/ledf2.c: Likewise.
43723         * soft-fp/lesf2.c: Likewise.
43724         * soft-fp/letf2.c: Likewise.
43725         * soft-fp/muldf3.c: Likewise.
43726         * soft-fp/mulsf3.c: Likewise.
43727         * soft-fp/multf3.c: Likewise.
43728         * soft-fp/negdf2.c: Likewise.
43729         * soft-fp/negsf2.c: Likewise.
43730         * soft-fp/negtf2.c: Likewise.
43731         * soft-fp/op-1.h: Likewise.
43732         * soft-fp/op-2.h: Likewise.
43733         * soft-fp/op-4.h: Likewise.
43734         * soft-fp/op-8.h: Likewise.
43735         * soft-fp/op-common.h: Likewise.
43736         * soft-fp/quad.h: Likewise.
43737         * soft-fp/single.h: Likewise.
43738         * soft-fp/soft-fp.h: Likewise.
43739         * soft-fp/sqrtdf2.c: Likewise.
43740         * soft-fp/sqrtsf2.c: Likewise.
43741         * soft-fp/sqrttf2.c: Likewise.
43742         * soft-fp/subdf3.c: Likewise.
43743         * soft-fp/subsf3.c: Likewise.
43744         * soft-fp/subtf3.c: Likewise.
43745         * soft-fp/truncdfsf2.c: Likewise.
43746         * soft-fp/trunctfdf2.c: Likewise.
43747         * soft-fp/trunctfsf2.c: Likewise.
43748         * soft-fp/trunctfxf2.c: Likewise.
43749         * soft-fp/unorddf2.c: Likewise.
43750         * soft-fp/unordsf2.c: Likewise.
43751         * soft-fp/unordtf2.c: Likewise.
43753 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
43755         [BZ #15672]
43756         * misc/error.c (error_tail): Fix possible buffer overflow.
43758 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
43760         [BZ #13028]
43761         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43762         address.
43764 2013-10-14  P. J. McDermott  <pj@pehjota.net>
43766         [BZ #832]
43767         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
43768         testing pipefail option.
43770 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43772         * soft-fp/double.h: Indent preprocessor directives inside #if.
43773         * soft-fp/extended.h: Likewise.
43774         * soft-fp/op-2.h: Likewise.
43775         * soft-fp/op-4.h: Likewise.
43776         * soft-fp/op-common.h: Likewise.
43777         * soft-fp/quad.h: Likewise.
43778         * soft-fp/single.h: Likewise.
43779         * soft-fp/soft-fp.h: Likewise.
43781 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
43783         * iconv/iconv_prog.c: Fix typos.
43784         * stdio-common/psiginfo-data.h: Likewise.
43786 2013-10-12   Reuben Thomas <rrt@sc3d.org>
43788         [BZ #15764]
43789         * locale/setlocale.c: Fix typo.
43791 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
43793         [BZ #16036]
43794         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43795         signaling NaN arguments.
43796         * soft-fp/unordsf2.c (__unordsf2): Likewise.
43797         * soft-fp/unordtf2.c (__unordtf2): Likewise.
43799         [BZ #14910]
43800         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43801         unordered operands.
43802         * soft-fp/gesf2.c (__gesf2): Likewise.
43803         * soft-fp/getf2.c (__getf2): Likewise.
43804         * soft-fp/ledf2.c (__ledf2): Likewise.
43805         * soft-fp/lesf2.c (__lesf2): Likewise.
43806         * soft-fp/letf2.c (__letf2): Likewise.
43808         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43809         * soft-fp/eqsf2.c (__eqsf2): Likewise.
43810         * soft-fp/eqtf2.c (__eqtf2): Likewise.
43811         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43812         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43813         * soft-fp/fixdfti.c (__fixdfti): Likewise.
43814         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43815         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43816         * soft-fp/fixsfti.c (__fixsfti): Likewise.
43817         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43818         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43819         * soft-fp/fixtfti.c (__fixtfti): Likewise.
43820         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43821         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43822         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43823         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43824         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43825         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43826         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43827         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43828         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43829         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43830         * soft-fp/floatdisf.c (__floatdisf): Likewise.
43831         * soft-fp/floatsisf.c (__floatsisf): Likewise.
43832         * soft-fp/floattidf.c (__floattidf): Likewise.
43833         * soft-fp/floattisf.c (__floattisf): Likewise.
43834         * soft-fp/floattitf.c (__floattitf): Likewise.
43835         * soft-fp/floatundidf.c (__floatundidf): Likewise.
43836         * soft-fp/floatundisf.c (__floatundisf): Likewise.
43837         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43838         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43839         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43840         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43841         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43842         * soft-fp/gesf2.c (__gesf2): Likewise.
43843         * soft-fp/getf2.c (__getf2): Likewise.
43844         * soft-fp/ledf2.c (__ledf2): Likewise.
43845         * soft-fp/lesf2.c (__lesf2): Likewise.
43846         * soft-fp/letf2.c (__letf2): Likewise.
43848         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
43849         Undefine and redefine.
43850         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
43851         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
43852         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
43853         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
43854         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43855         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
43856         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43857         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
43858         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43859         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
43860         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43861         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
43862         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43863         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
43864         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
43866         [BZ #16032]
43867         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
43868         without decrementing exponent if mantissa >= that for the
43869         denominator, not >.
43870         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
43871         denominator, not >.  Decrement exponent in < case instead of
43872         incrementing in >= case.
43873         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
43874         without decrementing exponent if mantissa >= that for the
43875         denominator, not >.
43877         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
43878         computing saturated result for unsigned overflow.
43880 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43881             Jeff Law  <law@redhat.com>
43883         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
43884         (atan2Mp): Add systemtap probe marker.
43885         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
43886         (__ieee754_log): Add systemtap probe marker.
43887         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
43888         (atanMp): Add systemtap probe marker.
43889         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
43890         (tanMp): Add systemtap probe marker.
43891         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
43892         (__slowexp): Add systemtap probe marker.
43893         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
43894         (__slowpow): Add systemtap probe marker.
43895         * manual/probes.texi: Document probes.
43897 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
43899         [BZ #15362]
43900         * libio/fileops.c (_IO_new_file_write): Return count of bytes
43901         written.
43902         (_IO_new_file_xsputn): Don't return EOF if nothing has been
43903         written.
43904         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
43905         written to buffer but not flushed.
43906         * libio/iofwrite_u.c:  Likewise.
43907         * libio/iopadn.c:  Return bytes returned even if EOF was
43908         encountered.
43909         * libio/iowpadn.c:  Likewise.
43910         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
43911         if _IO_padn does not write the whole buffer.
43912         [!COMPILE_WPRINTF] (PAD): Likewise.
43914 2013-10-10  David S. Miller  <davem@davemloft.net>
43916         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
43917         directory block.
43919 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43921         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
43922         instead of FSF address.
43923         * soft-fp/fixdfti.c: Likewise.
43924         * soft-fp/fixsfti.c: Likewise.
43925         * soft-fp/fixtfti.c: Likewise.
43926         * soft-fp/fixunsdfti.c: Likewise.
43927         * soft-fp/fixunssfti.c: Likewise.
43928         * soft-fp/fixunstfti.c: Likewise.
43929         * soft-fp/floattidf.c: Likewise.
43930         * soft-fp/floattisf.c: Likewise.
43931         * soft-fp/floattitf.c: Likewise.
43932         * soft-fp/floatuntidf.c: Likewise.
43933         * soft-fp/floatuntisf.c: Likewise.
43934         * soft-fp/floatuntitf.c: Likewise.
43935         * soft-fp/trunctfxf2.c: Likewise.
43937         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
43938         * soft-fp/fixdfti.c: Likewise.
43939         * soft-fp/fixsfti.c: Likewise.
43940         * soft-fp/fixtfti.c: Likewise.
43941         * soft-fp/fixunsdfti.c: Likewise.
43942         * soft-fp/fixunssfti.c: Likewise.
43943         * soft-fp/fixunstfti.c: Likewise.
43944         * soft-fp/floattidf.c: Likewise.
43945         * soft-fp/floattisf.c: Likewise.
43946         * soft-fp/floattitf.c: Likewise.
43947         * soft-fp/floatuntidf.c: Likewise.
43948         * soft-fp/floatuntisf.c: Likewise.
43949         * soft-fp/floatuntitf.c: Likewise.
43950         * soft-fp/trunctfxf2.c: Likewise.
43952 2013-10-10  David S. Miller  <davem@davemloft.net>
43954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43956 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
43958         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43959         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
43960         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
43961         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
43962         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
43963         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
43964         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
43966         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
43967         for NaNs before doing comparisons on argument.
43968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
43969         Likewise.
43971 2013-10-10  Will Newton  <will.newton@linaro.org>
43973         * malloc/hooks.c (memalign_check): Ensure the value of bytes
43974         passed to _int_memalign does not overflow.
43976 2013-10-10  Torvald Riegel  <triegel@redhat.com>
43978         * scripts/bench.pl: Add include-sources directive.
43979         * benchtests/README: Update documentation.
43981 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
43983         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
43984         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
43985         instead of FP_INIT_ROUNDMODE.
43986         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
43987         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
43989         [BZ #16034]
43990         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
43991         copy class of input value.
43992         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
43993         not handle exceptions.
43994         * soft-fp/negsf2.c (__negsf2): Likewise.
43995         * soft-fp/negtf2.c (__negtf2): Likewise.
43996         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
43998 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44000         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44001         semicolon.  From Linux kernel.
44003 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44005         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44007 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44009         [BZ #156]
44010         * manual/socket.texi: Added statement about buffer
44011         for gethostbyname2_r.
44013 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44015         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44016         Use .p2align directive instead, throughout.
44017         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44018         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44019         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44020         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44022         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44023         * sysdeps/x86_64/strchr.S: Likewise.
44024         * sysdeps/x86_64/strrchr.S: Likewise.
44026 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44028         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44030         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44032         * sysdeps/generic/math_private.h (__mpsin1): Remove
44033         declaration.
44034         (__mpcos1): Likewise.
44035         (__mpsin): New argument __range_reduce.
44036         (__mpcos): Likewise.
44037         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44038         (slow): Use __mpsin and __mpcos.
44039         (slow1): Likewise.
44040         (slow2): Likewise.
44041         (sloww): Likewise.
44042         (sloww1): Likewise.
44043         (sloww2): Likewise.
44044         (bsloww): Likewise.
44045         (bsloww1): Likewise.
44046         (bsloww2): Likewise.
44047         (cslow2): Likewise.
44048         (csloww): Likewise.
44049         (csloww1): Likewise.
44050         (csloww2): Likewise.
44051         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44052         range_reduce.  Merge in __mpsin1.
44053         (__mpcos): Likewise.
44054         (__mpsin1): Remove.
44055         (__mpcos1): Likewise.
44057 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44059         * locale/loadlocale.c (_nl_intern_locale_data): Use
44060         LOCFILE_ALIGNED_P.
44061         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44062         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44063         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44064         obstack data is appropriately aligned.
44065         (obstack_int32_grow_fast): Likewise.
44066         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44067         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44068         (add_locale_uint32_array): Likewise.
44070 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44072         * benchtests/Makefile: Remove ARGLIST and RET variables.
44073         ($(objpfx)bench-%.c): Pass only function name to the script.
44074         * benchtests/README: Update documentation.
44075         * benchtests/acos-inputs: Add new directives.
44076         * benchtests/acosh-inputs: Likewise.
44077         * benchtests/asin-inputs: Likewise.
44078         * benchtests/asinh-inputs: Likewise.
44079         * benchtests/atan-inputs: Likewise.
44080         * benchtests/atanh-inputs: Likewise.
44081         * benchtests/cos-inputs: Likewise.
44082         * benchtests/cosh-inputs: Likewise.
44083         * benchtests/exp-inputs: Likewise.
44084         * benchtests/log-inputs: Likewise.
44085         * benchtests/pow-inputs: Likewise.
44086         * benchtests/rint-inputs: Likewise.
44087         * benchtests/sin-inputs: Likewise.
44088         * benchtests/sinh-inputs: Likewise.
44089         * benchtests/tan-inputs: Likewise.
44090         * benchtests/tanh-inputs: Likewise.
44091         * scripts/bench.pl: Add support for new directives.
44093 2013-10-07  Alan Modra  <amodra@gmail.com>
44095         * README: Fix careless merge.
44097 2013-10-05  Alan Modra  <amodra@gmail.com>
44099         * NEWS: Mention powerpc64le support and bugs fixed.
44100         * README: Both big-endian and little-endian powerpc64 supported.
44102 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44104         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44105         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44106         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44107         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44109 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44111         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44112         match prototype.
44114 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44116         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44117         Move -mhard-float appending from
44118         ports/sysdeps/powerpc/powerpc32/Makefile.
44119         [$(with-fp) = yes] (ASFLAGS): Likewise.
44120         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44121         * sysdeps/powerpc/nofpu: Move directory from
44122         ports/sysdeps/powerpc/nofpu.
44123         * sysdeps/powerpc/soft-fp: Move directory from
44124         ports/sysdeps/powerpc/soft-fp.
44125         * sysdeps/powerpc/powerpc32/405: Move directory from
44126         ports/sysdeps/powerpc/powerpc32/405.
44127         * sysdeps/powerpc/powerpc32/440: Move directory from
44128         ports/sysdeps/powerpc/powerpc32/440.
44129         * sysdeps/powerpc/powerpc32/464: Move directory from
44130         ports/sysdeps/powerpc/powerpc32/464.
44131         * sysdeps/powerpc/powerpc32/476: Move directory from
44132         ports/sysdeps/powerpc/powerpc32/476.
44133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44134         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44136         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44138         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44140         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44142         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44143         * README: Update for powerpc-*-linux-gnu software floating point
44144         support in libc.
44146         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44147         case to powerpc/powerpc32*.
44148         * sysdeps/unix/sysv/linux/configure: Regenerated.
44150         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44151         (_FPU_MASK_OM): Define as 0x04.
44152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44154         0x00c10080.
44155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44156         0x0000003c.
44157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44160         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44161         getcontext_e500.
44162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44163         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44164         setcontext_e500.
44165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44166         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44167         and setcontext_e500.
44169 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44171         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44173 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44175         * manual/threads.texi (Default Thread Attributes): Fix typo.
44177 2013-10-04  Will Newton  <will.newton@linaro.org>
44179         * malloc/Makefile: Add tst-memalign.
44180         * malloc/tst-memalign.c: New file.
44182         * malloc/tst-posix_memalign.c: Add comments.
44183         (do_test): Add comments and call free on all potentially
44184         allocated pointers. Add space after cast.
44186         * malloc/tst-pvalloc.c: Add comments.
44187         (do_test): Add comments and call free on all potentially
44188         allocated pointers. Remove duplicate check for NULL pointer.
44189         Add space after cast.
44191         * malloc/tst-valloc.c: Add comments.
44192         (do_test): Add comments and call free on all potentially
44193         allocated pointers. Remove duplicate check for NULL pointer.
44194         Add space after cast.
44196 2013-10-04  Alan Modra  <amodra@gmail.com>
44198         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44199         Use stdint types in rather than __attribute__((mode())).
44200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44202 2013-10-04  Alan Modra  <amodra@gmail.com>
44204         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44205         Correct handling of unaligned relocs for little-endian.
44206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44208 2013-10-04  Alan Modra  <amodra@gmail.com>
44210         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44211         * configure: Regenerate.
44212         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44213         * shlib-versions: Likewise.
44215 2013-10-04  Alan Modra  <amodra@gmail.com>
44217         * string/tester.c (test_memrchr): Increment reported test cycle.
44219 2013-10-04  Alan Modra  <amodra@gmail.com>
44221         * string/test-memcpy.c (do_one_test): When reporting errors, print
44222         string address and don't overrun end of string.
44224 2013-10-04  Alan Modra  <amodra@gmail.com>
44226         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44227         insrdi.  Make better use of reg selection to speed exit slightly.
44228         Schedule entry path a little better.  Remove useless "are we done"
44229         checks on entry to main loop.  Handle wrapping around zero address.
44230         Correct main loop count.  Handle single left-over word from main
44231         loop inline rather than by using loop_small.  Remove extra word
44232         case in loop_small caused by wrong loop count.  Add little-endian
44233         support.
44234         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44236         cache hint.
44237         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44238         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44239         support.  Avoid rlwimi.
44240         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44242 2013-10-04  Alan Modra  <amodra@gmail.com>
44244         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44245         insrdi.  Formatting.
44246         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44247         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44248         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44249         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44250         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44251         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44253 2013-10-04  Alan Modra  <amodra@gmail.com>
44255         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44258         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44259         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44260         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44261         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44263         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44264         use of regs.  Use power7 mtocrf.  Tidy function tails.
44266 2013-10-04  Alan Modra  <amodra@gmail.com>
44268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44269         Formatting.  Consistently use rXXX register defines or rN defines.
44270         Use early exit labels that avoid restoring unused non-volatile regs.
44271         Make cr field use more consistent with rWORDn compares.  Rename
44272         regs used as shift registers for unaligned loop, using rN defines
44273         for short lifetime/multiple use regs.
44274         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44275         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44276         addi 1,1,64 to pop stack frame.  Simplify return value code.
44277         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44279 2013-10-04  Alan Modra  <amodra@gmail.com>
44281         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44282         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44283         rather than rlwimi.
44284         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44286         little-endian support.  Correct typos.
44287         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
44288         rather than rlwimi.
44289         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
44290         in loop and entry code to keep "and." results.
44291         (strchr): Add little-endian support.  Comment.  Move cntlzd
44292         earlier in tail.
44293         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44295 2013-10-04  Alan Modra  <amodra@gmail.com>
44297         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44298         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44299         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44300         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44302 2013-10-04  Alan Modra  <amodra@gmail.com>
44304         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44305         (rTMP): Define as r11.
44306         (strcmp): Add little-endian support.  Optimise tail.
44307         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44308         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44309         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44315 2013-10-04  Alan Modra  <amodra@gmail.com>
44317         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44318         little-endian support.  Remove unnecessary "are we done" tests.
44319         Handle "s" wrapping around zero and extremely large "size".
44320         Correct main loop count.  Handle single left-over word from main
44321         loop inline rather than by using small_loop.  Correct comments.
44322         Delete "zero" tail, use "end_max" instead.
44323         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44325 2013-10-04  Alan Modra  <amodra@gmail.com>
44327         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44328         support.  Don't branch over align.
44329         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44330         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44331         support.  Rearrange tmp reg use to suit.  Comment.
44332         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44334 2013-10-04  Alan Modra  <amodra@gmail.com>
44336         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44338 2013-10-04  Alan Modra  <amodra@gmail.com>
44340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44341         conditional form of branch and link when obtaining pc.
44342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44344 2013-10-04  Alan Modra  <amodra@gmail.com>
44346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44347         HIWORD/LOWORD.
44348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44351 2013-10-04  Alan Modra  <amodra@gmail.com>
44353         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44354         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44355         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44356         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44357         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44359         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44360         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44361         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44362         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44364 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44365             Alistair Popple <alistair@ozlabs.au.ibm.com>
44366             Alan Modra <amodra@gmail.com>
44368         [BZ #15723]
44369         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44370         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44371         _dl_hwcap access for little-endian.
44372         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
44373         destroy vmx regs when saving unaligned.
44374         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44375         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
44376         destroy vmx regs when saving unaligned.
44378 2013-10-04  Alan Modra  <amodra@gmail.com>
44380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44381         Don't use a union to pack hi/low value.
44383 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44385         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44386         for little-endian.
44387         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44388         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44389         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44390         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44391         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44393 2013-10-04  Alan Modra  <amodra@gmail.com>
44395         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44396         constants to usual value for .cst8 section, and remove redundant
44397         high address load.
44398         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44399         constant for 0x1p52.  Load little-endian words of double from
44400         correct stack offsets.
44402 2013-10-04  Alan Modra  <amodra@gmail.com>
44404         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44405         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44406         words of double from correct stack offsets.
44407         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44408         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44409         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44411         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44412         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44413         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44414         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44415         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44419         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44420         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44421         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44422         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44423         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44425 2013-10-04  Alan Modra  <amodra@gmail.com>
44427         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44428         64-bit int/double union.
44429         (_FPU_SETCW): Likewise.
44430         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44431         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44433 2013-10-04  Alan Modra  <amodra@gmail.com>
44435         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44436         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44438 2013-10-04  Alan Modra  <amodra@gmail.com>
44440         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44441         use vector int constants.
44442         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44444 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44446         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44447         array with long long.
44448         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44449         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44450         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44451         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44452         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44453         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44454         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44455         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44456         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44457         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44458         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44459         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44460         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44462 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
44464         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44465         (__signbit): Likewise.  Correct for little-endian.
44466         (__signbitl): Call __signbit.
44467         (lrint): Correct for little-endian.
44468         (lrintf): Call lrint.
44470 2013-10-04  Alan Modra  <amodra@gmail.com>
44472         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44473         union 32-bit int array member with 64-bit int array.
44474         (t515, tm256): Double rather than long double.
44475         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44477 2013-10-04  Alan Modra  <amodra@gmail.com>
44479         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44480         Delete.
44481         (IEEE854_LONG_DOUBLE_BIAS): Delete.
44482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44483         version of math_ldbl.h.
44485 2013-10-04  Alan Modra  <amodra@gmail.com>
44487         [BZ #15734], [BZ #15735]
44488         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44489         all uses of ieee875 long double macros and unions.  Simplify test
44490         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
44491         ldbl_extract_mantissa value for ix,iy exponents.  Properly
44492         normalize after ldbl_extract_mantissa, and don't add hidden bit
44493         already handled.  Don't treat low word of ieee854 mantissa like
44494         low word of IBM long double and mask off bit when testing for
44495         zero.
44496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44497         all uses of ieee875 long double macros and unions.  Simplify tests
44498         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
44499         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
44500         two1022, instead use their values.  Recognise that tests for large
44501         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
44502         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44503         Rewrite all uses of ieee875 long double macros and unions.  Simplify
44504         test for 0.0L and nan.  Correct negation.
44505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44506         ieee875 long double macros and unions.  Correct output for large
44507         magnitude x.  Correct absolute value calculation.
44508         (__erfcl): Likewise.
44509         * math/libm-test.inc: Add tests for errors discovered in IBM long
44510         double versions of fmodl, remainderl, erfl and erfcl.
44512 2013-10-04  Alan Modra  <amodra@gmail.com>
44514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44515         all uses of ieee854 long double macros and unions.  Simplify tests
44516         for long doubles that are fully specified by the high double.
44517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44518         Likewise.
44519         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44520         Remove dead code too.
44521         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44522         (__ieee754_ynl): Likewise.
44523         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44524         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44526         Remove dead code too.
44527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44528         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44529         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44530         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44531         Simplify.
44532         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44533         Simplify.
44534         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44535         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44537         Comment on variable precision.
44538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44539         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44540         Likewise.
44541         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44544         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44545         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44547 2013-10-04  Alan Modra  <amodra@gmail.com>
44549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44550         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44551         all uses of ieee854 long double macros and unions.
44552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44553         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44554         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44556         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44557         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44558         Likewise.
44559         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44560         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44561         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44562         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44563         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44564         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44565         Simplify sign and nan test too.
44566         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44567         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44568         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44570         Likewise.
44571         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44572         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44573         Likewise.
44574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44575         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44576         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44577         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44578         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44581 2013-10-04  Alan Modra  <amodra@gmail.com>
44583         * stdio-common/printf_size.c (__printf_size): Don't use
44584         union ieee854_long_double in fpnum union.
44585         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
44586         signbit macro to retrieve sign from long double.
44587         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44588         retrieve sign from long double.
44589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44590         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44591         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44592         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44593         * math/test-misc.c (main): Don't use union ieee854_long_double.
44595 2013-10-04  Alan Modra  <amodra@gmail.com>
44597         [BZ #15680]
44598         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44599         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44600         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44601         calculation.  Remove unnecessary test for denormal exponent.
44602         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44603         Correct handling of denormals.  Avoid undefined shift behaviour.
44604         Correct normalisation of low mantissa when low double is denormal.
44605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44606         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
44607         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44608         Correct normalisation of low mantissa.  Test for overflow of high
44609         mantissa and normalise.
44610         (ldbl_nearbyint): Use more readable constant for two52.
44611         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44612         (__mpn_construct_long_double): Fix test for overflow of high
44613         mantissa and correct normalisation.  Avoid undefined shift.
44615 2013-10-04  Alan Modra  <amodra@gmail.com>
44617         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44618         (union ibm_extended_long_double): Define as an array of ieee754_double.
44619         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44620         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44621         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44622         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44624         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44626         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44628         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44629         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44631 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
44633         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44634         page size instead of calling getpagesize.
44636         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44637         (LOCFILE_ALIGN_MASK): Likewise.
44638         (LOCFILE_ALIGN_UP): Likewise.
44639         (LOCFILE_ALIGNED_P): Likewise.
44640         * locale/programs/ld-collate.c (collate_output): Use the new
44641         macros instead of __alignof__ (int32_t).
44642         * locale/weight.h (findidx): Likewise.
44644 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
44646         [BZ #431]
44647         * manual/string.texi: Fix strncat and wcsncat.
44649 2013-10-03  Brooks Moses  <bmoses@google.com>
44651         [BZ #15915]
44652         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44653         * Makerules: ...here, and adjust associated comments.
44655 2013-10-02  Will Newton  <will.newton@linaro.org>
44657         * malloc/Makefile: Add tst-pvalloc.
44658         * malloc/tst-pvalloc.c: New file.
44660 2013-10-02  Will Newton  <will.newton@linaro.org>
44662         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44663         improve test coverage.
44665 2013-10-02  Will Newton  <will.newton@linaro.org>
44667         * malloc/Makefile: Add tst-posix_memalign.
44668         * malloc/tst-posix_memalign.c: New file.
44670 2013-10-01  Eric Blake  <eblake@redhat.com>
44672         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44673         Use __THROWNL rather than __THROW on static functions.
44675 2013-09-30  Petr Machata  <pmachata@redhat.com>
44677         * elf/elf.h (R_AARCH64_ABS16): New macro.
44678         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44679         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44680         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44681         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44682         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44683         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44684         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44685         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44686         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44687         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44688         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44689         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44690         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44691         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44692         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44693         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44694         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44695         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44696         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44697         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44698         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44699         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44700         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44701         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44702         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44703         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44704         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44705         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44706         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44707         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44708         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44709         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44710         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44711         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44712         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44713         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44714         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44715         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44716         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44717         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44718         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44719         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44720         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44721         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44722         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44723         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44724         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44725         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44726         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44727         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44728         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44729         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44730         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44731         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44732         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44733         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44734         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44735         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44736         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44737         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44738         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44739         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44740         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44741         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44742         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44743         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44744         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44745         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44746         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44747         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44748         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44749         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44750         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44751         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44752         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44753         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44754         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44755         (R_AARCH64_TLSDESC_LDR): Likewise.
44756         (R_AARCH64_TLSDESC_ADD): Likewise.
44757         (R_AARCH64_TLSDESC_CALL): Likewise.
44759 2013-09-30  Andreas Schwab  <schwab@suse.de>
44761         [BZ #15048]
44762         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44763         the nss database lookup.
44764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44767 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
44769         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44771 2013-09-28  P. J. McDermott  <pj@pehjota.net>
44773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44774         ${Bash-specific parameter/pattern/string} parameter expansion.
44775         * sysdeps/unix/make-syscalls.sh: Likewise.
44777 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44779         * sysdeps/sh/stackguard-macros.h: New file.
44781 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
44783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44785         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44786         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44788         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44790 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44792         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44793         Fix thread ID register.
44795 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
44797         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44798         [POSIX || UNIX98]: Require rather than permitting all symbols from
44799         <time.h>.
44800         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44801         element of struct sched_param.
44802         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44803         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44804         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44805         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44806         constant.
44808 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
44810         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44811         argument calculation.
44813 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44815         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44816         Expect macro.
44817         [POSIX] (pthread_attr_t): Do not require type.
44818         [POSIX] (pthread_cond_t): Likewise.
44819         [POSIX] (pthread_condattr_t): Likewise.
44820         [POSIX] (pthread_key_t): Likewise.
44821         [POSIX] (pthread_mutex_t): Likewise.
44822         [POSIX] (pthread_mutexattr_t): Likewise.
44823         [POSIX] (pthread_once_t): Likewise.
44824         [POSIX] (pthread_t): Likewise.
44825         [POSIX-based standards] (pthread_atfork): Expect function.
44827 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
44828             Richard Sandiford  <richard@codesourcery.com>
44830         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44831         (swap_endianness_p): New extern variable.
44832         (set_big_endian): New inline function.
44833         (maybe_swap_uint32): Likewise.
44834         (maybe_swap_uint32_array): Likewise.
44835         (maybe_swap_uint32_obstack): Likewise.
44836         * locale/programs/locfile.c: Include <stdbool.h>.
44837         (swap_endianness_p): New variable.
44838         (add_locale_uint32): Call maybe_swap_uint32.
44839         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44840         (write_locale_data): Call maybe_swap_uint32_array.
44841         * locale/programs/ld-collate.c (obstack_int32_grow): Call
44842         maybe_swap_uint32.
44843         (obstack_int32_grow_fast): Likewise.
44844         (output_weightwc): Call maybe_swap_uint32_obstack.
44845         (collate_output): Likewise.
44846         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
44847         (OPT_LITTLE_ENDIAN): Likewise.
44848         (options): Add --little-endian and --big-endian options.
44849         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
44850         * locale/programs/locarchive.c: Include "locfile.h".
44851         (GET): New macro.
44852         (SET): Likewise.
44853         (INC): Likewise.
44854         (create_archive): Use the new macros to access fields of
44855         structures directly mapped from or written to locale archives.
44856         (oldlocrecentcmp): Likewise.
44857         (enlarge_archive): Likewise.
44858         (insert_name): Likewise.
44859         (add_alias): Likewise.
44860         (add_locale): Likewise.
44861         (delete_locales_from_archive): Likewise.
44862         (show_archive_content): Likewise.
44863         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
44864         locale data.
44866 2013-09-24  Roland McGrath  <roland@hack.frob.com>
44868         * manual/freemanuals.texi: Updated from (newly) canonical copy at
44869         http://www.gnu.org/doc/freemanuals.texi.
44870         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
44872 2013-09-24  Will Newton  <will.newton@linaro.org>
44874         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
44875         macro.
44877 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
44879         * locale/hashval.h (compute_hashval): Interpret bytes of key as
44880         unsigned char.
44882 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
44884         * manual/threads.texi (POSIX Threads): Fix a typo.
44886 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
44888         [BZ #14547]
44889         * string/tst-strcoll-overflow.c: New test case.
44890         * string/Makefile (xtests): Add tst-strcoll-overflow.
44891         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
44892         cache if string sizes may cause integer overflow.
44894         [BZ #14547]
44895         * string/strcoll_l.c (coll_seq): New members rule, idx,
44896         save_idx and back_us.
44897         (get_next_seq_nocache): New function.
44898         (do_compare_nocache): New function.
44899         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
44900         when malloc fails.
44902 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
44904         [BZ #15754]
44905         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
44906         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
44907         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
44909         [BZ #15754]
44910         * elf/Makefile (tests): Add tst-ptrguard1.
44911         (tests-static): Add tst-ptrguard1-static.
44912         (tst-ptrguard1-ARGS): Define.
44913         (tst-ptrguard1-static-ARGS): Define.
44914         * elf/tst-ptrguard1.c: New file.
44915         * elf/tst-ptrguard1-static.c: New file.
44916         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
44917         * sysdeps/i386/stackguard-macros.h: Likewise.
44918         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44919         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44920         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44921         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44922         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44923         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44925 2013-09-23  Hector Marco  <hecmargi@upv.es>
44926             Ismael Ripoll  <iripoll@disca.upv.es>
44927             Carlos O'Donell  <carlos@redhat.com>
44929         [BZ #15754]
44930         * sysdeps/generic/stackguard-macros.h: Define
44931         __pointer_chk_guard_local and POINTER_CHK_GUARD.
44932         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
44933         Define __pointer_chk_guard_local.
44934         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
44935         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
44937 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
44939         [BZ #15859]
44940         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
44942 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
44944         * include/string.h (__ffs): Declare as hidden.
44945         * string/ffs.c (__ffs): Define as hidden.
44946         * sysdeps/i386/ffs.c (__ffs): Likewise.
44947         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
44948         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
44949         * sysdeps/s390/ffs.c (__ffs): Likewise.
44950         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
44952 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
44954         * NEWS: Mention malloc probes.
44956         * malloc/arena.c (new_heap): New memory_heap_new probe.
44957         (grow_heap): New memory_heap_more probe.
44958         (shrink_heap): New memory_heap_less probe.
44959         (heap_trim): New memory_heap_free probe.
44960         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
44961         (systrim): New memory_sbrk_less probe.
44962         * manual/probes.texi: Document them.
44964         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
44965         * manual/probes.texi: Document it.
44967         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
44968         (__libc_realloc): Add memory_realloc_retry probe.
44969         (__libc_memalign): Add memory_memalign_retry probe.
44970         (__libc_valloc): Add memory_valloc_retry probe.
44971         (__libc_pvalloc): Add memory_pvalloc_retry probe.
44972         (__libc_calloc): Add memory_calloc_retry probe.
44973         * manual/probes.texi: Document them.
44975         * malloc/arena.c (get_free_list): Add probe
44976         memory_arena_reuse_free_list.
44977         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
44978         and memory_arena_reuse.
44979         (arena_get2) [!PER_THREAD]: Likewise.
44980         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
44981         memory_arena_reuse_realloc.
44982         * manual/probes.texi: Document them.
44984         * malloc/malloc.c (__libc_free): Add
44985         memory_mallopt_free_dyn_thresholds probe.
44986         (__libc_mallopt): Add multiple memory_mallopt probes.
44987         * manual/probes.texi: Document them.
44989         * malloc/malloc.c: Include stap-probe.h.
44990         (__libc_mallopt): Add memory_mallopt probe.
44991         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
44992         * manual/probes.texi: New.
44993         * manual/Makefile (chapters): Add probes.
44994         * manual/threads.texi: Set next node.
44996 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
44998         [BZ #15963, #13985]
44999         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45000         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45001         Add `Chinese' to `nan' entry name.
45003 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45005         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45006         (POLYNOMIAL): Likewise.
45007         (TAYLOR_SINCOS): Likewise.
45008         (TAYLOR_SLOW): Likewise.
45009         (__sin): Use TAYLOR_SINCOS.
45010         (__cos): Likewise.
45011         (slow): Use TAYLOR_SLOW.
45012         (sloww): Likewise.
45013         (bsloww): Likewise.
45014         (csloww): Likewise.
45016 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45018         * stdlib/strtod_l.c: Fix buffer overrun.
45020 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45022         * benchtests/Makefile (bench): Add sincos.
45023         * benchtests/bench-sincos.c: New file.
45025         * math/libm-test.inc (cos_test_data): New test inputs.
45026         (sin_test_data): Likewise.
45028         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45029         macro.
45030         (__sin): Use it.
45031         (__cos): Likewise.
45032         (slow1): Likewise.
45033         (slow2): Likewise.
45034         (sloww1): Likewise.
45035         (sloww2): Likewise.
45036         (bsloww1): Likewise.
45037         (bsloww2): Likewise.
45038         (cslow2): Likewise.
45039         (csloww1): Likewise.
45040         (csloww2): Likewise.
45042         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45043         function.
45044         (__sin): Use it.
45045         (__cos): Likewise.
45047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45048         gotos.
45049         (__cos): Likewise.
45051 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45053         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45054         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45055         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45056         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45057         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45058         * elf/cache.c (print_entry): Handle the new cache flags.
45060 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45061             Aldy Hernandez  <aldyh@redhat.com>
45063         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45064         Change condition to [_SOFT_FLOAT].
45065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45077         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45080         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45081         declaration.
45083 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45085         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45086         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45087         (__longjmp): Use LOAD_GP to load saved GPRs.
45088         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45089         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45090         (__sigsetjmp): Use SAVE_GP to save GPRs.
45092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45093         Do not append -msoft-float.
45094         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45096 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45098         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45100 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45102         [BZ #15966]
45103         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45104         (_FPU_GETCW): Use initial "__" on variable and field names but not
45105         on macro parameter name.
45106         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45107         parentheses around reference to macro parameter.
45109 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45111         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45112         prototype.
45113         (ctype_startup): Use uint32_t in cast and sizeof for
45114         ctype->charnames.
45116 2013-09-11  Jia Liu  <proljc@gmail.com>
45118         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45119         __daddr_t_defined.
45120         [__FreeBSD__]: Likewise.
45122 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45125         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45126         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45127         (strchr): Remove __strchr_sse42 ifunc selection.
45128         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45129         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45131 2013-09-11  Will Newton  <will.newton@linaro.org>
45133         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45134         parameter to RES. Remove hardcoded 1000 value.
45135         * benchtests/bench-skeleton.c (main): Pass RES parameter
45136         to TIMING_INIT and multiply result by 1000.
45138 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45142 2013-09-11  Andreas Schwab  <schwab@suse.de>
45144         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45145         if not defined.
45146         (O_TMPFILE) [__USE_GNU]: Define.
45147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45148         Define.
45150 2013-09-11  Will Newton  <will.newton@linaro.org>
45152         [BZ #15857]
45153         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45154         does not overflow.
45156 2013-09-11  Will Newton  <will.newton@linaro.org>
45158         [BZ #15856]
45159         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45160         does not overflow.
45162 2013-09-11  Will Newton  <will.newton@linaro.org>
45164         [BZ #15855]
45165         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45166         does not overflow.
45168 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45170         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45171         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45172         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45173         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45174         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45176 2013-09-10  Allan McRae  <allan@archlinux.org>
45178         [BZ #15748]
45179         * manual/arith.texi (Parsing of Floats): Clarify
45180         cross-reference.
45182         [BZ #15849]
45183         * manual/install.texi (Running make install): Mention
45184         --enable-pt-chown.
45185         * INSTALL: Regenerated.
45187 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45189         * csu/init-first.c (_init): Remove the !SHARED condition around
45190         FPU control word initialization.
45191         * elf/dl-support.c (_dl_fpu_control): New variable.
45192         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45193         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45194         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45195         * math/test-fpucw-static.c: New file.
45196         * math/test-fpucw-ieee.c: New file.
45197         * math/test-fpucw-ieee-static.c: New file.
45198         * math/Makefile (tests): Add `test-fpucw-ieee' and
45199         `$(tests-static)'.
45200         (tests-static): New variable.
45201         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45202         dependency to...
45203         [($(build-shared),yes)]
45204         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45205         ... this.
45206         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45207         New dependency.
45209 2013-09-09  Allan McRae  <allan@archlinux.org>
45211         [BZ #15939]
45212         * manual/string.texi (Collation Functions): Fix typo in
45213         strcoll example.
45214         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45216         [BZ #15893]
45217         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45219         [BZ #15892]
45220         * libio/memstream.c (open_memstream): Fix memory leak.
45221         * libio/wmemstream.c (open_wmemstream): Likewise.
45223         [BZ #15895]
45224         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45226 2013-09-09  Will Newton  <will.newton@linaro.org>
45228         * malloc/Makefile: Add tst-realloc to tests.
45229         * malloc/tst-realloc.c: New file.
45231 2013-09-09  Allan McRae  <allan@archlinux.org>
45233         [BZ #15844]
45234         * COPYING: Update from GNU website to fix FSF address.
45235         * COPYING.LIB: Likewise.
45237 2013-09-06  David S. Miller  <davem@davemloft.net>
45239         * po/zh_TW.po: Update Chinese (traditional) translation from
45240         translation project.
45242 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45243             Joseph Myers  <joseph@codesourcery.com>
45245         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45246         "localeinfo.h".
45247         (obstack_chunk_alloc): New macro.
45248         (obstack_chunk_free): Likewise.
45249         (record_offset): New function.
45250         (init_locale_data): Likewise.
45251         (align_locale_data): Likewise.
45252         (add_locale_empty): Likewise.
45253         (add_locale_raw_data): Likewise.
45254         (add_locale_raw_obstack): Likewise.
45255         (add_locale_string): Likewise.
45256         (add_locale_wstring): Likewise.
45257         (add_locale_uint32): Likewise.
45258         (add_locale_uint32_array): Likewise.
45259         (add_locale_char): Likewise.
45260         (start_locale_structure): Likewise.
45261         (end_locale_structure): Likewise.
45262         (start_locale_prelude): Likewise.
45263         (end_locale_prelude): Likewise.
45264         (write_locale_data): Take locale_file structure rather than an
45265         iovec.
45266         * locale/programs/locfile.h: Include "obstack.h".
45267         (struct locale_file): Change to store locale file contents instead
45268         of header.
45269         (init_locale_data): New prototype.
45270         (align_locale_data): Likewise.
45271         (add_locale_empty): Likewise.
45272         (add_locale_raw_data): Likewise.
45273         (add_locale_raw_obstack): Likewise.
45274         (add_locale_string): Likewise.
45275         (add_locale_wstring): Likewise.
45276         (add_locale_uint32): Likewise.
45277         (add_locale_uint32_array): Likewise.
45278         (add_locale_char): Likewise.
45279         (start_locale_structure): Likewise.
45280         (end_locale_structure): Likewise.
45281         (start_locale_prelude): Likewise.
45282         (end_locale_prelude): Likewise.
45283         (write_locale_data): Update prototype.
45284         * locale/programs/3level.h (struct TABLE): Remove result field.
45285         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45286         Use new locale_file interface.
45287         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45288         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45289         * locale/programs/ld-address.c (address_output): Use new
45290         locale_file interface.
45291         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45292         NO_ADD_LOCALE.
45293         (collate_finish): Don't call collseq_table_finalize.
45294         (collate_output): Use new locale_file interface.
45295         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45296         in file.
45297         (NO_FINALIZE): Change to NO_ADD_LOCALE.
45298         (TABLE): Move defines earlier in file.
45299         (ELEMENT): Likewise.
45300         (DEFAULT): Likewise.
45301         (wctrans_table_add): Move macro and inline function earlier in
45302         file.
45303         (struct wctype_table): Move type earlier in file.
45304         (add_locale_wctype_table): New static prototype.
45305         (struct locale_ctype_t): Use logical types instead of struct iovec
45306         pointers for members.
45307         (ctype_output): Use new locale_file interface.
45308         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
45309         new locale_file interface.
45310         (allocate_arrays): Update for use of new locale_file interface.
45311         * locale/programs/ld-identification.c (identification_output): Use
45312         new locale_file interface.
45313         * locale/programs/ld-measurement.c (measurement_output): Likewise.
45314         * locale/programs/ld-messages.c (messages_output): Likewise.
45315         * locale/programs/ld-monetary.c (monetary_output): Likewise.
45316         * locale/programs/ld-name.c (name_output): Likewise.
45317         * locale/programs/ld-numeric.c (numeric_output): Likewise.
45318         * locale/programs/ld-paper.c (paper_output): Likewise.
45319         * locale/programs/ld-telephone.c (telephone_output): Likewise.
45320         * locale/programs/ld-time.c (time_output): Likewise.
45322 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45324         * benchtests/Makefile: Add memrchr benchmark.
45325         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45326         benchmark as memrchr.
45327         * benchtests/bench-memrchr-ifunc.c: New file.
45328         * benchtests/bench-memrchr.c: New file.
45330 2013-09-06   Will Newton  <will.newton@linaro.org>
45332         * benchtests/Makefile (string-bench): Add memcpy.
45334 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
45335             Cong Wang  <amwang@redhat.com>
45337         [BZ #15850]
45338         * sysdeps/unix/sysv/linux/bits/in.h
45339         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45340         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45341         before __USE_KERNEL_IPV6_DEFS uses.
45342         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45343         IPPROTO_BEETPH.
45344         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45345         sockaddr_in6, or ipv6_mreq.
45347 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45349         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45350         memory access for final bytes in some large inputs.
45351         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45353 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45355         * string/test-memrchr.c: New file.
45356         * string/test-memrchr-ifunc.c: New file.
45357         * string/Makefile: Add new memrchr testcase.
45359 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
45361         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45362         fanotify_init returns EPERM.
45364 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45366         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45367         errors.
45368         (top level): Treat second token from macro or constant entries for
45369         allowed headers as allowed.
45370         * include/complex.h: Condition internal declarations on
45371         [!_ISOMAC].
45372         * include/fenv.h: Condition include of <stdbool.h> and internal
45373         declarations on [!_ISOMAC].
45375 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
45377         [BZ #15923]
45378         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45380 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
45382         * configure.in (--enable-versioning): Remove configure option.
45383         (libc_cv_asm_symver_directive): Remove configure test.
45384         (libc_cv_ld_version_script_option): Likewise.
45385         (VERSIONING): Remove variable and AC_SUBST.
45386         (DO_VERSIONING): Remove AC_DEFINE.
45387         * configure: Regenerated.
45388         * config.h.in (DO_VERSIONING): Remove macro.
45389         * Makerules [$(versioning) = yes]: Change conditionals to
45390         [$(build-shared) = yes].
45391         * config.make.in (versioning): Remove variable.
45392         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45393         [$(build-shared) = yes].
45394         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45395         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45396         * elf/Makefile [$(versioning) = yes]: Change conditionals to
45397         [$(build-shared) = yes].
45398         * extra-lib.mk [$(versioning) = yes]: Likewise.
45399         * hurd/Makefile [$(versioning) = yes]: Likewise.
45400         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45401         [SHARED].
45402         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45403         [SHARED].
45404         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45405         [SHARED && !NO_HIDDEN].
45406         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45407         [SHARED].
45408         [SHARED && DO_VERSIONING]: Likewise..
45409         * libio/Makefile [$(versioning) = yes]: Change conditionals to
45410         [$(build-shared) = yes].
45411         * manual/install.texi (--disable-versioning): Remove
45412         documentation.
45413         * INSTALL: Regenerated.
45414         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45415         to [SHARED].
45416         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45417         [$(build-shared) = yes].
45418         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45419         * sysdeps/i386/i686/multiarch/strstr-c.c
45420         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45421         [SHARED && !NO_HIDDEN].
45422         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45423         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45424         * sysdeps/powerpc/powerpc32/dl-machine.c
45425         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45426         * sysdeps/powerpc/powerpc32/sysdep.h
45427         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45428         to [SHARED && PIC && !NO_HIDDEN].
45429         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45430         conditional to [SHARED].
45432 2013-09-04   Will Newton  <will.newton@linaro.org>
45434         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45435         * benchtests/bench-string.h: Include bench-timing.h instead
45436         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45437         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45438         call to HP_TIMING_DIFF_INIT.
45439         * benchtests/bench-memccpy.c: Use bench-timing.h macros
45440         instead of hp-timing.h macros.
45441         * benchtests/bench-memchr.c: Likewise.
45442         * benchtests/bench-memcmp.c: Likewise.
45443         * benchtests/bench-memcpy.c: Likewise.
45444         * benchtests/bench-memmem.c: Likewise.
45445         * benchtests/bench-memmove.c: Likewise.
45446         * benchtests/bench-memset.c: Likewise.
45447         * benchtests/bench-rawmemchr.c: Likewise.
45448         * benchtests/bench-strcasecmp.c: Likewise.
45449         * benchtests/bench-strcasestr.c: Likewise.
45450         * benchtests/bench-strcat.c: Likewise.
45451         * benchtests/bench-strchr.c: Likewise.
45452         * benchtests/bench-strcmp.c: Likewise.
45453         * benchtests/bench-strcpy.c: Likewise.
45454         * benchtests/bench-strcpy_chk.c: Likewise.
45455         * benchtests/bench-strlen.c: Likewise.
45456         * benchtests/bench-strncasecmp.c: Likewise.
45457         * benchtests/bench-strncat.c: Likewise.
45458         * benchtests/bench-strncmp.c: Likewise.
45459         * benchtests/bench-strncpy.c: Likewise.
45460         * benchtests/bench-strnlen.c: Likewise.
45461         * benchtests/bench-strpbrk.c: Likewise.
45462         * benchtests/bench-strrchr.c: Likewise.
45463         * benchtests/bench-strspn.c: Likewise.
45464         * benchtests/bench-strstr.c: Likewise.
45466 2013-09-04  Will Newton  <will.newton@linaro.org>
45468         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45470 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
45472         [BZ #15427]
45473         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45474         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45475         * math/libm-test.inc (lgamma_test_data): Add more tests.
45476         * sysdeps/i386/fpu/libm-test-ulps: Update.
45477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45479 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
45481         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45483         Add ifunc.
45484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45485         Add strcmp-sse2-unaligned
45486         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45488 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45490         * Versions.def (libc): Add GLIBC_2.19.
45492 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
45494         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45495         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45497 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
45499         [BZ #14155]
45500         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45501         intermediate calculations in recurrence.
45502         (__ieee754_ynf): Likewise.
45503         * math/libm-test.inc (jn_test_data): Do not allow spurious
45504         underflow exception.  Add more tests.
45505         (yn_test_data): Add more tests.
45506         * sysdeps/i386/fpu/libm-test-ulps: Update.
45507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45509 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
45511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45513 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45515         * csu/init-first.c: Fix then/than typos.
45516         * locale/programs/ld-collate.c: Likewise.
45517         * locale/programs/linereader.h: Likewise.
45518         * manual/charset.texi: Likewise.
45519         * manual/filesys.texi: Likewise.
45520         * manual/stdio.texi: Likewise.
45521         * manual/string.texi: Likewise.
45522         * stdlib/fmtmsg.c: Likewise.
45523         * sysdeps/i386/stpncpy.S: Likewise.
45524         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45525         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45526         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45527         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45529 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
45531         * elf/dl-open.c: Fix typos.
45532         * iconvdata/gbbig5.c: Likewise.
45533         * iconvdata/iso-2022-jp.c: Likewise.
45534         * iconv/gconv_int.h: Likewise.
45535         * iconv/loop.c: Likewise.
45536         * nis/rpcsvc/nis.h: Likewise.
45537         * resolv/ns_name.c: Likewise.
45538         * stdio-common/vfscanf.c: Likewise.
45539         * streams/stropts.h: Likewise.
45540         * sunrpc/rpc_thread.c: Likewise.
45541         * sysdeps/i386/strpbrk.S: Likewise.
45542         * sysdeps/ieee754/k_standard.c: Likewise.
45543         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45544         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45545         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45546         * sysdeps/mach/hurd/profil.c: Likewise.
45547         * sysdeps/s390/dl-procinfo.h: Likewise.
45548         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45549         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45550         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45551         * sysdeps/x86_64/dl-trampoline.S: Likewise.
45552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45554 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
45556         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45559 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
45561         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45562         aix specific files.
45563         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45564         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45565         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45566         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45567         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45568         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45569         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45570         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45572 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45573             Roland McGrath  <roland@hack.frob.com>
45575         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45576         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45578 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45580         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45581         __executable_start symbol instead of _start.
45583 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
45585         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45586         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45587         Move macros to...
45588         * sysdeps/gnu/ldsodefs.h: ... this new file.
45590         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45591         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45592         instead of ELFOSABI_LINUX.
45594         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45595         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45596         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45597         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45598         Likewise.
45599         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45600         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45601         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45602         Likewise.
45603         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45604         (ibm_extended_long_double): Add ieee_nan member.
45605         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45606         (do_test): New function.
45608         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45609         TEST_TRUNC.
45610         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45611         functions, renamed from truncdfsf_test, trunctfsf_test,
45612         trunctfdf_test.
45613         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45614         functions.
45615         (do_test): Run all these.
45617 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
45619         * argp/argp-help.c: Fix typos.
45620         * argp/argp-parse.c: Likewise.
45621         * debug/backtracesyms.c: Likewise.
45622         * elf/elf.h: Likewise.
45623         * malloc/malloc.c: Likewise.
45624         * nis/nis_print.c: Likewise.
45625         * resolv/res_comp.c: Likewise.
45626         * stdlib/stdlib.h: Likewise.
45627         * sunrpc/clnt_tcp.c: Likewise.
45628         * sunrpc/clnt_udp.c: Likewise.
45629         * sunrpc/clnt_unix.c: Likewise.
45630         * sysdeps/unix/bsd/ptsname.c: Likewise.
45631         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45634         Likewise.
45635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45636         Likewise.
45637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45638         Likewise.
45639         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45641 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45643         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45646 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
45648         [BZ #15897]
45649         * dlfcn/Makefile (tests): Add bug-dl-leaf.
45650         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45651         ($(objpfx)bug-dl-leaf): New rule.
45652         ($(objpfx)bug-dl-leaf.so): Likewise.
45653         ($(objpfx)bug-dl-leaf.out): Likewise.
45654         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45655         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45656         * dlfcn/bug-dl-leaf.c: New test.
45657         * dlfcn/bug-dl-leaf-lib.c: Likewise.
45658         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45659         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45660         (dlclose): Likewise.
45661         (dlmopen): Likewise.
45663 2013-08-27  Roland McGrath  <roland@hack.frob.com>
45665         * include/netdb.h [!_ISOMAC]:
45666         Don't include <tls.h>.
45667         (h_errno, __libc_h_errno): Move declaration and macros out of
45668         [_LIBC_REENTRANT].
45670         * include/resolv.h [_RESOLV_H_]:
45671         Don't include <tls.h>.
45672         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45673         * resolv/res_libc.c: Don't include <tls.h>.
45674         (_res): Use __attribute__ ((nocommon)) in place of
45675         __attribute__ ((section (".bss"))).
45677         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45678         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45680         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45682         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45683         only under [SIOCGIFCONF && SIOCGIFNETMASK].
45685         * resolv/res_mkquery.c: Include <sys/time.h>.
45687         * inet/ifreq.c: Moved to ...
45688         * sysdeps/unix/ifreq.c: ... here.
45689         * inet/ifreq.c: New file, true stub version.
45691         * socket/sa_len.c: New file.
45692         * socket/Makefile (aux): Add it.
45693         * sysdeps/unix/sysv/linux/Makefile
45694         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45695         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45696         and #include <socket/sa_len.c>.
45697         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45698         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45700         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45701         * bits/socket.h: ... here.
45703         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45704         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45705         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45707 2013-08-27  Andreas Schwab  <schwab@suse.de>
45709         [BZ #15736]
45710         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45711         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45712         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45713         * string/test-strcasecmp.c (test_main): Run tests in several
45714         locales.
45715         * string/test-strncasecmp.c (test_main): Likewise.
45717         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45718         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45719         to __strcasecmp_nonascii and __strncasecmp_nonascii.
45720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45721         (__strncasecmp_ssse3) [PIC]: Likewise.
45723 2013-08-26  Roland McGrath  <roland@hack.frob.com>
45725         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45727         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45728         instead of explicitly declaring xdecrypt.
45729         * nis/nss_nis/nis-publickey.c: Likewise.
45731 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45733         [BZ #15890]
45734         * nscd/aicache.c: Include res_hconf.h.
45735         (addhstaiX): Initialize res_hconf.
45737 2013-08-26  Andreas Schwab  <schwab@suse.de>
45739         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45740         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45742 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45744         * nscd/aicache.c (addhstaiX): Fix indentation.
45746 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
45748         * configure.ac: Quote $build_pt_chown test.
45749         * configure: Regenerated.
45751 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
45753         [BZ #15532]
45754         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45755         * math/s_cexpf.c (__cexpf): Likewise.
45756         * math/s_cexpl.c (__cexpl): Likewise.
45757         * math/libm-test.inc (cexp_test_data): Correct expected return
45758         value for NaN + i0.  Add another test.
45760 2013-08-22  David S. Miller  <davem@davemloft.net>
45762         * po/ca.po: Update Catalan translation from translation project.
45763         * po/uk.po: Add Ukrainian translations from translation project.
45765 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
45767         [BZ #15797]
45768         * math/s_fdim.c (__fdim): Check for infinite arguments if result
45769         is infinite, not alongside NaN test.
45770         * math/s_fdimf.c (__fdimf): Likewise.
45771         * math/s_fdiml.c (__fdiml): Likewise.
45772         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
45773         errno is unchanged.
45775 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
45777         * argp/argp-help.c: Fix typos.
45778         * crypt/speeds.c: Likewise.
45779         * csu/check_fds.c: Likewise.
45780         * elf/dl-load.c: Likewise.
45781         * elf/dl-open.c: Likewise.
45782         * elf/reldep3.c: Likewise.
45783         * elf/reldep.c: Likewise.
45784         * elf/sprof.c: Likewise.
45785         * iconv/iconv_charmap.c: Likewise.
45786         * iconv/skeleton.c: Likewise.
45787         * iconv/strtab.c: Likewise.
45788         * io/lockf64.c: Likewise.
45789         * libio/libioP.h: Likewise.
45790         * resolv/gai_notify.c: Likewise.
45791         * resolv/ns_name.c: Likewise.
45792         * resolv/ns_samedomain.c: Likewise.
45793         * resolv/res_send.c: Likewise.
45794         * stdlib/random.c: Likewise.
45795         * sunrpc/rpc/xdr.h: Likewise.
45796         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45797         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45798         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45799         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45800         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45801         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45803         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45804         * sysdeps/mach/hurd/check_fds.c: Likewise.
45805         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45806         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45807         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45808         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45809         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45810         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45811         * sysdeps/pthread/aio_notify.c: Likewise.
45812         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45813         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45814         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45816         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45818 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45820         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45821         version if bit_Slow_SSE4_2 is set.
45822         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45825 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45827         [BZ #15867]
45828         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45829         trampoline stack frame information.
45830         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45832         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45833         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45834         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45835         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45836         (_libc_vdso_platform_setup): Initialize the signal trampolines.
45837         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45838         sa_flags value.
45839         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45840         interrupting a syscall and set with option SA_SIGINFO.
45842 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45844         [BZ #15531]
45845         * math/s_cproj.c (__cproj): Only return an infinity if one part of
45846         argument is infinite.
45847         * math/s_cprojf.c (__cprojf): Likewise.
45848         * math/s_cprojl.c (__cprojl): Likewise.
45849         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
45850         * math/libm-test.inc (cproj_test_data): Add more tests.
45852         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
45854         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
45855         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
45856         size.  Use __ffs to determine corresponding shift.
45858 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
45859             Roland McGrath  <roland@hack.frob.com>
45861         * Makefile (INSTALL): Remove trailing blank lines from output of
45862         makeinfo.
45864 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45866         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
45867         Align 32 bit compat elf_greg to 8 bytes.
45869 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
45871         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
45873 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45875         * string/strcoll_l.c (coll_seq): New structure.
45876         (get_next_seq_cached): New function.
45877         (get_next_seq): New function.
45878         (do_compare): New function.
45879         (STRCOLL): Use GNU style definition.  Simplify implementation
45880         by using get_next_seq, get_next_seq_cached and do_compare.
45882 2013-08-16  Florian Weimer  <fweimer@redhat.com>
45884         [BZ #14699]
45885         CVE-2013-4237
45886         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
45887         member.
45888         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
45889         member.
45890         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
45891         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
45892         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
45893         conditional.
45894         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
45895         GETDENTS_64BIT_ALIGNED.
45896         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45897         * manual/filesys.texi (Reading/Closing Directory): Document
45898         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
45899         strongly.
45900         * manual/conf.texi (Limits for Files): Add portability note to
45901         NAME_MAX, PATH_MAX.
45902         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
45904 2013-08-13  Andreas Schwab  <schwab@suse.de>
45906         [BZ #15749]
45907         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
45908         of fabs.
45909         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
45910         LDBL_MAX_EXP >= 16384]: Add tests for it.
45912 2013-08-12  David S. Miller  <davem@davemloft.net>
45914         * version.h (RELEASE): Set to "development".
45915         (VERSION): Set to "2.18.90".
45916         * NEWS: Add 2.19 section.
45918 2013-08-03  David S. Miller  <davem@davemloft.net>
45920         * po/ko.po: Update Korean translation from translation project.
45922 2013-08-01  David S. Miller  <davem@davemloft.net>
45924         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
45925         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
45926         Bilka.
45928 2013-07-30  David S. Miller  <davem@davemloft.net>
45930         * po/fr.po: Update French translation from translation project.
45932 2013-07-28  David S. Miller  <davem@davemloft.net>
45934         * po/cs.po: Update Czech translation from translation project.
45936         * po/sv.po: Update Swedish translation from translation project.
45938 2013-07-27  David S. Miller  <davem@davemloft.net>
45940         * po/eo.po: Update Esperanto translation from translation project.
45942         * po/vi.po: Update Vietnamese translation from translation project.
45944         * po/de.po: Update German translation from translation project.
45946 2013-07-26  David S. Miller  <davem@davemloft.net>
45948         * po/bg.po: Update Bulgarian translation from translation project.
45950         * po/nl.po: Update Dutch translation from translation project.
45951         * po/pl.po: Update Polish translation from translation project.
45952         * po/ru.po: Update Russian translation from translation project.
45954 2013-07-24  David S. Miller  <davem@davemloft.net>
45956         * po/libc.pot: Update.
45958 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45960         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
45961         variable page size.
45962         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
45963         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
45964         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
45966 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45968         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
45970 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45971             Andreas Schwab  <schwab@suse.de>
45972             Roland McGrath  <roland@hack.frob.com>
45973             Joseph Myers  <joseph@codesourcery.com>
45974             Carlos O'Donell  <carlos@redhat.com>
45976         [BZ #15755]
45977         * config.h.in: Define HAVE_PT_CHOWN.
45978         * config.make.in (build-pt-chown): New variable.
45979         * configure.in (--enable-pt_chown): New configure option.
45980         * configure: Regenerate.
45981         * login/Makefile: Include Makeconfig.  Build pt_chown only if
45982         build-pt-chown is enabled.
45983         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
45984         pt_chown to fix pty ownership.
45985         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
45986         CLOSE_ALL_FDS.
45987         * manual/install.texi (Configuring and compiling): Mention
45988         --enable-pt_chown. Add @findex for grantpt.
45989         * INSTALL: Regenerate.
45991 2013-07-20  David S. Miller  <davem@davemloft.net>
45993         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
45994         difference between 32-bit and 64-bit.
45996 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
45998         [BZ #15711]
45999         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46000         Avoid system header dependency with -ffreestanding.
46001         ($(objpfx)bits/syscall%d): Likewise.
46003 2013-07-13  David S. Miller  <davem@davemloft.net>
46005         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46006         underflows from atanl/atan2l due to bug 15319.
46007         (casinh_test_data): Likewise.
46009 2013-07-07  David S. Miller  <davem@davemloft.net>
46011         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46013 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46015         * sysdeps/i386/fpu/libm-test-ulps: Update.
46016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46018 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46020         * configure.in (--enable-lock-elision): Fix message text.
46021         * INSTALL: Regenerate.
46022         * configure: Regenerate.
46024 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46028 2013-07-03  Andreas Jaeger  <aj@suse.de>
46030         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46031         define.
46032         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46033         (ptrace_peeksiginfo_args): Add.
46034         (__ptrace_peeksiginfo_flags): Add.
46035         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46036         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46039 2013-07-03  Allan McRae  <allan@archlinux.org>
46041         * sysdeps/i386/fpu/libm-test-ulps: Update.
46043 2013-07-02  David S. Miller  <davem@davemloft.net>
46045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46047 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46051 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46053         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46056 2013-07-02  Andi Kleen <ak@linux.intel.com>
46058         * config.h.in (ENABLE_LOCK_ELISION): Add.
46059         * configure.in (--enable-lock-elision): Add option.
46060         * manual/install.texi: Document --enable lock elision.
46061         * configure: Regenerate
46062         * INSTALL: Regenerate.
46064 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46066         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46067         SSE4.2 strcasecmp for libc.a.
46068         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46070 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46072         [BZ #13304]
46073         * soft-fp/op-common.h (_FP_FMA): New macro.
46074         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46075         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46076         (_FP_MUL_MEAT_1_imm): ... here.
46077         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46078         (_FP_MUL_MEAT_1_wide): ... here.
46079         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46080         (_FP_MUL_MEAT_1_hard): ... here.
46081         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46082         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46083         (_FP_MUL_MEAT_2_wide): ... here.
46084         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46085         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46086         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46087         (_FP_MUL_MEAT_2_gmp): ... here.
46088         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46089         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46090         (_FP_MUL_MEAT_4_wide): ... here.
46091         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46092         (_FP_MUL_MEAT_4_gmp): ... here.
46093         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46094         (_FP_WFRACBITS_DW_S): Likewise.
46095         (_FP_WFRACXBITS_DW_S): Likewise.
46096         (_FP_HIGHBIT_DW_S): Likewise.
46097         (FP_FMA_S): Likewise.
46098         (_FP_FRAC_HIGH_DW_S): Likewise.
46099         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46100         (_FP_WFRACBITS_DW_D): Likewise.
46101         (_FP_WFRACXBITS_DW_D): Likewise.
46102         (_FP_HIGHBIT_DW_D): Likewise.
46103         (FP_FMA_D): Likewise.
46104         (_FP_FRAC_HIGH_DW_D): Likewise.
46105         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46106         (_FP_WFRACBITS_DW_E): Likewise.
46107         (_FP_WFRACXBITS_DW_E): Likewise.
46108         (_FP_HIGHBIT_DW_E): Likewise.
46109         (FP_FMA_E): Likewise.
46110         (_FP_FRAC_HIGH_DW_E): Likewise.
46111         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46112         (_FP_WFRACBITS_DW_Q): Likewise.
46113         (_FP_WFRACXBITS_DW_Q): Likewise.
46114         (_FP_HIGHBIT_DW_Q): Likewise.
46115         (FP_FMA_Q): Likewise.
46116         (_FP_FRAC_HIGH_DW_Q): Likewise.
46117         * soft-fp/fmasf4.c: New file.
46118         * soft-fp/fmadf4.c: Likewise.
46119         * soft-fp/fmatf4.c: Likewise.
46121 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46124         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46125         Silvermont.
46126         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46127         macro.
46128         (index_Slow_SSE4_2): Likewise.
46129         (index_Prefer_PMINUB_for_stringop): Likewise.
46130         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46131         bit_Slow_SSE4_2 is set.
46132         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46133         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46135 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46137         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46138         rtld_global._dl_hwcap2.
46139         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46140         POWER8.
46141         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46142         POWER8 feature descriptions defined in _dl_hwcap2.
46143         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46144         string handling for POWER8 feature bits.
46145         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46146         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46147         _dl_powerpc_cap_flags.
46148         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46149         * sysdeps/powerpc/rtld-global-offsets.sym
46150         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46151         _dl_hwcap2 in the rtld_global_ro structure.
46153 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46155         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46156         hardware capabilities in support of AT_HWCAP2.
46157         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46158         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46159         GLRO(dl_hwcap2).
46160         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46161         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46162         explicitly the unknown a_type display mechanism is used.
46163         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46164         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46165         struct member.
46166         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46167         to macro prototype for AT_HWCAP2 support.
46168         * sysdeps/i386/dl-procinfo.h: Likewise.
46169         * sysdeps/s390/dl-procinfo.h: Likewise.
46170         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46171         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46172         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46173         return -1 for unknown a_type display fallback.
46174         * sysdeps/sparc/dl-procinfo.h: Likewise.
46175         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46176         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46178 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46181         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46183 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46185         [BZ #12492]
46186         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46187         mprotect making __stack_prot writable.
46189 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46190             Joseph Myers  <joseph@codesourcery.com>
46192         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46193         as being properly aligned.
46195 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46197         * dlfcn/modstatic5.c: New file.
46198         * dlfcn/tststatic5.c: New file.
46199         * dlfcn/Makefile (tests): Add tststatic5.
46200         (tests-static): Likewise.
46201         (modules-names): Add modstatic5.
46202         (tststatic5-ENV): New variable.
46203         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46205         [BZ #15022]
46206         * elf/dl-support.c (_dl_main_map): New variable.
46207         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46208         (_dl_nns, _dl_load_adds): Set to 1.
46209         (_dl_initial_searchlist): Refer to _dl_main_map.
46210         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46211         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46212         call to _dl_get_origin.
46213         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46214         around call_map.
46215         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46216         * dlfcn/modstatic3.c: New file.
46217         * dlfcn/tststatic3.c: New file.
46218         * dlfcn/tststatic4.c: New file.
46219         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46220         (tests-static): Likewise.
46221         (modules-names): Add modstatic3.
46222         (tststatic3-ENV, tststatic4-ENV): New variables.
46223         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46224         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46226 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46228         * configure.in (CC): Require GCC version 4.4 or later.
46229         * configure: Regenerated.
46230         * manual/install.texi (Tools for Compilation): Update GCC version
46231         requirement.
46232         * INSTALL: Regenerated.
46234 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46236         [BZ #15674]
46237         * string/test-memcmp.c (check2): New.
46238         (main): Call check2.
46240         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46242 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46244         [BZ #15022]
46245         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46246         over to...
46247         (dl_open_worker) [!SHARED]: ... here.
46249 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46251         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46253 2013-06-25  Richard Henderson  <rth@redhat.com>
46255         * locale/programs/locarchive.c: Include <libc-internal.h>
46257 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46259         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46260         trailing whitespace removed.
46262 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46264         [BZ #10283]
46265         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46266         * locale/programs/locarchive.c: Include libc-mmap.h.
46267         (prepare_address_space): Take two new outputs (the mmap base and len).
46268         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46269         values.
46270         (create_archive): Declare new mmap base and len values for
46271         prepare_address_space, and store the result in ah.
46272         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46273         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46274         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46275         Declare new mmap base and len values for
46276         prepare_address_space, and store the result in new_ah.
46277         (open_archive): Declare new mmap base and len values for
46278         prepare_address_space, and store the result in ah.
46279         (close_archive): If ah->mmap_base is not NULL, use that and
46280         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46281         * sysdeps/generic/libc-mmap.h: New file.
46283 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46285         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46286         (ALIGN_UP): Likewise.
46287         (PTR_ALIGN_DOWN): Likewise.
46288         (PTR_ALIGN_UP): Likewise.
46290 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46292         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46293         entry mapped to PPC_PLATFORM_POWER8.
46294         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46295         POWER8.
46296         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46297         (_dl_string_platform): Add case for exporting platform position for
46298         POWER8.
46299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46300         search path to sysdeps/powerpc/powerpc32/power8 directory.
46301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46302         search path to sysdeps/powerpc/powerpc64/power8 directory.
46303         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46304         power7 directories.
46305         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46306         power7 directories.
46308 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46310         * INSTALL: Regenerate.
46312         * nscd/connections.c (nscd_init): Fix comment.
46314 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
46316         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46318         [BZ #15667]
46319         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46320         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46322 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46324         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46325         DL_DST_REQ_STATIC.
46326         (DL_DST_REQ_STATIC): Remove macro.
46328 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
46330         [BZ #7006]
46331         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46332         with a shift of 0 bits.
46334 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
46336         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46337         $(tststatic-ENV).
46339 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46341         [BZ #15655]
46342         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46344 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46346         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46347         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46348         accepts -fno-tree-loop-distribute-patterns.
46349         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46350         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46351         recursive call.
46352         * string/memset.c (memset): Likewise.
46353         * string/test-memmove.c (simple_memmove): Disable loop transformation
46354         to library calls.
46355         * string/test-memset.c (simple_memset): Likewise.
46356         * benchtests/bench-memmove.c (simple_memmove): Likewise.
46357         * benchtests/bench-memset.c (simple_memset): Likewise.
46358         * configure: Regenerated.
46360 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
46362         * math/test-misc.c (main): Ignore fesetround failure when failures
46363         of subsequent rounding tests would be ignored.
46365         [BZ #15654]
46366         * math/fedisblxcpt.c (fedisableexcept): Return 0.
46367         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46368         * math/fegetenv.c (__fegetenv): Return 0.
46369         * math/fegetexcept.c (fegetexcept): Return 0.
46370         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46371         FE_TONEAREST.
46372         * math/feholdexcpt.c (feholdexcept): Return 0.
46373         * math/fesetenv.c (__fesetenv): Return 0.
46374         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46375         argument FE_TONEAREST.
46376         * math/feupdateenv.c (__feupdateenv): Return 0.
46377         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46379 2013-06-18  Roland McGrath  <roland@hack.frob.com>
46381         * elf/rtld-Rules (rtld-compile-command.S): New variable.
46382         (rtld-compile-command.s, rtld-compile-command.c): New variables.
46383         ($(objpfx)rtld-%.os rules): Use them.
46385 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46387         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46388         fields.
46390 2013-06-17  Roland McGrath  <roland@hack.frob.com>
46392         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46393         length of target pattern, then descending length of dependency pattern.
46394         * configure.in (AWK): Require gawk 3.1.2 or newer.
46395         * manual/install.texi (Tools for Compilation): Say that we do.
46396         * configure: Regenerated.
46398         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46399         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46400         * scripts/sysd-rules.awk: ... this new script.
46401         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46402         than a glob-style pattern.
46404 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
46406         * math/test-misc.c (main): Do not treat incorrectly rounded
46407         conversions as failure unless ROUNDING_TESTS passes.
46409 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
46411         [BZ #15631]
46412         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46413         restore exception state around main square root computation, then
46414         check for inexactness explicitly.
46416         * math/libm-test.inc (fma_test_data): Add another test.
46418 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46420         * manual/threads.texi (Non-POSIX Extensions): New document
46421         node.  Document pthread_getattr_default_np and
46422         pthread_setattr_default_np.
46424         * Versions.def (libpthread): Add GLIBC_2.18.
46425         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46427         Likewise.
46428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46429         Likewise.
46430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46431         Likewise.
46432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46433         Likewise.
46434         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46435         Likewise.
46436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46437         Likewise.
46438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46439         Likewise.
46440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46441         Likewise.
46442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46443         Likewise.
46445 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46448         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46450 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46451             H.J. Lu  <hjl.tools@gmail.com>
46453         [BZ #15627]
46454         * sysdeps/x86_64/rtld-memset.c: Remove file.
46455         * sysdeps/x86_64/rtld-memset.S: New file.
46457 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
46459         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46460         (test_in_one_mode): Take arguments for whether the rounding mode
46461         is supported for each floating-point type.
46462         (do_test): Pass new arguments to test_in_one_mode using
46463         ROUNDING_TESTS.
46465 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46467         * posix/tst-waitid.c (do_test): Distinguish different instances of
46468         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
46469         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46470         before entering the kernel for waitpid.
46472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46474         * NEWS: Fix note on clock function precision.  Text by Roland
46475         McGrath.
46477 2013-06-13  Roland McGrath  <roland@hack.frob.com>
46479         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46480         it into place only when and if the sanity check passes.
46482 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
46484         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46485         output for whether conversion result is exact.  Take argument
46486         indicating whether type is IBM long double.
46487         (round_for_all): Change need_exact field to ibm_ld.
46488         * stdlib/tst-strtod-round.c (struct exactness): New type.
46489         (struct test): Change bool ld_ok field to struct exactness exact.
46490         (TEST): Update all definitions for change to field.
46491         (tests): Regenerate array contents.
46492         (test_in_one_mode): Take pointer to new field instead of old ld_ok
46493         field value.  Check for IBM long double here.
46494         (do_test): Update calls to test_in_one_mode.
46496 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46498         [BZ #12515]
46499         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46500         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46502 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46504         [BZ #15605]
46505         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46506         generated by the compiler on loop optimizations.
46507         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46508         general definitions.
46510 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
46512         * math/bug-nextafter.c: Include <math-tests.h>.
46513         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46514         the relevant type.
46515         * math/bug-nexttoward.c: Include <math-tests.h>.
46516         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46517         the relevant type.
46518         * math/test-misc.c: Include <math-tests.h>.
46519         (main): Only test for exceptions if EXCEPTION_TESTS is true for
46520         the relevant type.
46522 2013-06-12  Andreas Jaeger  <aj@suse.de>
46524         * po/ia.po: Update Interlingua translation from translation
46525         project.
46527 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46529         * include/fenv.h: Include stdbool.h.
46530         (struct rm_ctx): New structure.
46531         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46532         Define macro.
46533         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46534         (SET_RESTORE_ROUNDF): Likewise.
46535         (SET_RESTORE_ROUNDL): Likewise.
46536         (SET_RESTORE_ROUND_NOEX): Likewise.
46537         (SET_RESTORE_ROUND_NOEXF): Likewise.
46538         (SET_RESTORE_ROUND_NOEXL): Likewise.
46539         (SET_RESTORE_ROUND_53BIT): Likewise.
46540         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46541         (libc_feresetround_noexf_ctx): Likewise.
46542         (libc_feresetround_noexl_ctx): Likewise.
46543         (libc_feholdsetround_53bit_ctx): Likewise.
46544         (libc_feresetround_53bit_ctx): Likewise.
46545         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46546         (libc_feholdexcept_setround_sse_ctx): New function.
46547         (libc_fesetenv_sse_ctx): Likewise.
46548         (libc_feupdateenv_sse_ctx): Likewise.
46549         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46550         (libc_feholdexcept_setround_387_ctx): Likewise.
46551         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46552         (libc_feholdsetround_387_prec_ctx): Likewise.
46553         (libc_feholdsetround_387_ctx): Likewise.
46554         (libc_feholdsetround_387_53bit_ctx): Likewise.
46555         (libc_feholdsetround_sse_ctx): Likewise.
46556         (libc_feresetround_sse_ctx): Likewise.
46557         (libc_feresetround_387_ctx): Likewise.
46558         (libc_feupdateenv_387_ctx): Likewise.
46559         (libc_feholdexcept_setroundf_ctx): Define macro.
46560         (libc_fesetenvf_ctx): Likewise.
46561         (libc_feupdateenvf_ctx): Likewise.
46562         (libc_feholdsetroundf_ctx): Likewise.
46563         (libc_feresetroundf_ctx): Likewise.
46564         (libc_feholdexcept_setround_ctx): Likewise.
46565         (libc_fesetenv_ctx): Likewise.
46566         (libc_feupdateenv_ctx): Likewise.
46567         (libc_feholdsetround_ctx): Likewise.
46568         (libc_feresetround_ctx): Likewise.
46569         (libc_feholdexcept_setroundl_ctx): Likewise.
46570         (libc_feupdateenvl_ctx): Likewise.
46571         (libc_feholdsetroundl_ctx): Likewise.
46572         (libc_feresetroundl_ctx): Likewise.
46573         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46574         (libc_feresetround_53bit_ctx): Likewise.
46576 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46578         * locale/iso-639.def: Convert to UTF-8.
46580 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
46582         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46583         (EXCEPTION_TESTS_double): Likewise.
46584         (EXCEPTION_TESTS_long_double): Likewise.
46585         (EXCEPTION_TESTS): Likewise.
46586         * math/libm-test.inc (test_exceptions): Only test exceptions if
46587         EXCEPTION_TESTS (FLOAT).
46589 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46591         * benchtests/Makefile (string-bench): Add strcpy_chk and
46592         stpcpy_chk.
46593         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46594         * benchtests/bench-stpcpy_chk.c: New file.
46595         * benchtests/bench-strcpy_chk-ifunc.c: New file.
46596         * benchtests/bench-strcpy_chk.c: New file.
46597         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46598         code.
46599         (do_test): Likewise.
46601 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46603         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46604         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46605         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46606         with tabs where appropriate.
46607         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46608         dl-procinfo.h.
46609         [PPC_PLATFORM_PPC440]: Likewise.
46610         [PPC_PLATFORM_PPC464]: Likewise.
46611         [PPC_PLATFORM_PPC476]: Likewise.
46612         (_dl_string_platform): Add support for detecting ppc405, ppc440,
46613         ppc464, and ppc476 platform strings merging from ports/
46614         dl-procinfo.h.
46616 2013-06-11  Andreas Schwab  <schwab@suse.de>
46618         [BZ #14991]
46619         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46620         (from_ucs4_idx): Regenerate.
46621         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46622         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46623         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46624         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46625         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46626         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46627         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46628         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46629         from FROM_LOOP and TO_LOOP specific macros.
46630         (BODY): Handle combining characters.
46631         * iconvdata/BIG5HKSCS.irreversible: Update.
46632         * iconvdata/BIG5HKSCS.precomposed: New file.
46633         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46634         characters.
46635         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46637 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46639         * include/sys/time.h: Fix indentation and add copyright header.
46641         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46642         (do_test): Likewise.
46643         * string/test-memchr.c (do_one_test): Likewise.
46644         (do_test): Likewise.
46645         * string/test-memcmp.c (do_one_test): Likewise.
46646         (do_test): Likewise.
46647         * string/test-memcpy.c (do_one_test): Likewise.
46648         (do_test): Likewise.
46649         * string/test-memmem.c (do_one_test): Likewise.
46650         (do_test): Likewise.
46651         (do_random_tests): Likewise.
46652         * string/test-memmove.c (do_one_test): Likewise.
46653         (do_test): Likewise.
46654         * string/test-memset.c (do_one_test): Likewise.
46655         (do_test): Likewise.
46656         * string/test-rawmemchr.c (do_one_test): Likewise.
46657         (do_test): Likewise.
46658         * string/test-strcasecmp.c (do_one_test): Likewise.
46659         (do_test): Likewise.
46660         * string/test-strcasestr.c (do_one_test): Likewise.
46661         (do_test): Likewise.
46662         * string/test-strcat.c (do_one_test): Likewise.
46663         (do_test): Likewise.
46664         * string/test-strchr.c (do_one_test): Likewise.
46665         (do_test): Likewise.
46666         * string/test-strcmp.c (do_one_test): Likewise.
46667         (do_test): Likewise.
46668         * string/test-strcpy.c (do_one_test): Likewise.
46669         (do_test): Likewise.
46670         * string/test-string.h: Likewise.
46671         (test_init): Likewise.
46672         * string/test-strlen.c (do_one_test): Likewise.
46673         (do_test): Likewise.
46674         * string/test-strncasecmp.c (do_one_test): Likewise.
46675         (do_test): Likewise.
46676         * string/test-strncat.c (do_one_test): Likewise.
46677         (do_test): Likewise.
46678         * string/test-strncmp.c (do_one_test): Likewise.
46679         (do_test_limit): Likewise.
46680         (do_test): Likewise.
46681         * string/test-strncpy.c (do_one_test): Likewise.
46682         (do_test): Likewise.
46683         * string/test-strnlen.c (do_one_test): Likewise.
46684         (do_test): Likewise.
46685         * string/test-strpbrk.c (do_one_test): Likewise.
46686         (do_test): Likewise.
46687         * string/test-strrchr.c (do_one_test): Likewise.
46688         (do_test): Likewise.
46689         * string/test-strspn.c (do_one_test): Likewise.
46690         (do_test): Likewise.
46691         * string/test-strstr.c (do_one_test): Likewise.
46692         (do_test): Likewise.
46694         * benchtests/Makefile (string-bench): Add string benchmarks.
46695         * benchtests/bench-bcopy-ifunc.c: New file.
46696         * benchtests/bench-bcopy.c: New file.
46697         * benchtests/bench-bzero-ifunc.c: New file.
46698         * benchtests/bench-bzero.c: New file.
46699         * benchtests/bench-memccpy-ifunc.c: New file.
46700         * benchtests/bench-memccpy.c: New file.
46701         * benchtests/bench-memchr-ifunc.c: New file.
46702         * benchtests/bench-memchr.c: New file.
46703         * benchtests/bench-memcmp-ifunc.c: New file.
46704         * benchtests/bench-memcmp.c: New file.
46705         * benchtests/bench-memmem-ifunc.c: New file.
46706         * benchtests/bench-memmem.c: New file.
46707         * benchtests/bench-memmove-ifunc.c: New file.
46708         * benchtests/bench-memmove.c: New file.
46709         * benchtests/bench-mempcpy-ifunc.c: New file.
46710         * benchtests/bench-mempcpy.c: New file.
46711         * benchtests/bench-memset-ifunc.c: New file.
46712         * benchtests/bench-memset.c: New file.
46713         * benchtests/bench-rawmemchr-ifunc.c: New file.
46714         * benchtests/bench-rawmemchr.c: New file.
46715         * benchtests/bench-stpcpy-ifunc.c: New file.
46716         * benchtests/bench-stpcpy.c: New file.
46717         * benchtests/bench-stpncpy-ifunc.c: New file.
46718         * benchtests/bench-stpncpy.c: New file.
46719         * benchtests/bench-strcasecmp-ifunc.c: New file.
46720         * benchtests/bench-strcasecmp.c: New file.
46721         * benchtests/bench-strcasestr-ifunc.c: New file.
46722         * benchtests/bench-strcasestr.c: New file.
46723         * benchtests/bench-strcat-ifunc.c: New file.
46724         * benchtests/bench-strcat.c: New file.
46725         * benchtests/bench-strchr-ifunc.c: New file.
46726         * benchtests/bench-strchr.c: New file.
46727         * benchtests/bench-strchrnul-ifunc.c: New file.
46728         * benchtests/bench-strchrnul.c: New file.
46729         * benchtests/bench-strcmp-ifunc.c: New file.
46730         * benchtests/bench-strcmp.c: New file.
46731         * benchtests/bench-strcpy-ifunc.c: New file.
46732         * benchtests/bench-strcpy.c: New file.
46733         * benchtests/bench-strcspn-ifunc.c: New file.
46734         * benchtests/bench-strcspn.c: New file.
46735         * benchtests/bench-strlen-ifunc.c: New file.
46736         * benchtests/bench-strlen.c: New file.
46737         * benchtests/bench-strncasecmp-ifunc.c: New file.
46738         * benchtests/bench-strncasecmp.c: New file.
46739         * benchtests/bench-strncat-ifunc.c: New file.
46740         * benchtests/bench-strncat.c: New file.
46741         * benchtests/bench-strncmp-ifunc.c: New file.
46742         * benchtests/bench-strncmp.c: New file.
46743         * benchtests/bench-strncpy-ifunc.c: New file.
46744         * benchtests/bench-strncpy.c: New file.
46745         * benchtests/bench-strnlen-ifunc.c: New file.
46746         * benchtests/bench-strnlen.c: New file.
46747         * benchtests/bench-strpbrk-ifunc.c: New file.
46748         * benchtests/bench-strpbrk.c: New file.
46749         * benchtests/bench-strrchr-ifunc.c: New file.
46750         * benchtests/bench-strrchr.c: New file.
46751         * benchtests/bench-strspn-ifunc.c: New file.
46752         * benchtests/bench-strspn.c: New file.
46753         * benchtests/bench-strstr-ifunc.c: New file.
46754         * benchtests/bench-strstr.c: New file.
46756         * benchtests/Makefile: Disable parallel execution of targets.
46757         (string-bench): Add memcpy.
46758         (benchset): New variable to store a list of benchmark sets.
46759         (bench-func): Renamed from bench.
46760         (bench-set): New target.
46761         (bench): Depend on bench-func and bench-set.
46762         * benchtests/README: Add section on benchmark sets.
46763         * benchtests/bench-memcpy-ifunc.c: New file.
46764         * benchtests/bench-memcpy.c: New file.
46765         * benchtests/bench-string.h: New file.
46767 2013-06-11  Andreas Schwab  <schwab@suse.de>
46769         [BZ #15577]
46770         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46771         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46772         values in the triple.
46773         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46774         terminator in the group key.
46776 2013-06-11  Andreas Jaeger  <aj@suse.de>
46778         * po/zh_TW.po: Update Chinese (traditional) translation from
46779         translation project.
46781 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46783         * include/time.h (__clock_gettime): Add libc_hidden_proto.
46784         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46785         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
46786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46787         (clock_getcpuclockid): Likewise.
46788         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46789         Add weak_alias and libc_hidden_def.
46790         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46791         * rt/clock_gettime.c (clock_gettime): Rename to
46792         __clock_gettime.  Add weak_alias and libc_hidden_def.
46793         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46794         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46795         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
46796         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46797         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46798         Likewise.
46799         * rt/clock_settime.c (clock_settime): Rename to
46800         __clock_settime.  Add weak_alias and libc_hidden_def.
46801         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46803 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
46805         * mach/err_boot.sub: Remove trailing whitespace.
46806         * mach/err_ipc.sub: Likewise.
46807         * mach/err_mach.sub: Likewise.
46809         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46810         (ROUNDING_TESTS_double): Likewise.
46811         (ROUNDING_TESTS_long_double): Likewise.
46812         (ROUNDING_TESTS): Likewise.
46813         * math/libm-test.inc: Include <math-tests.h>.
46814         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46815         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46816         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46817         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46819 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46821         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46822         of assigning.
46824 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
46826         * sysdeps/gnu/errlist.awk: Do not generate space at end of
46827         otherwise empty TRANS lines.
46828         * sysdeps/gnu/errlist.c: Regenerated.
46830         * catgets/gencat.c (error_print): Use (void) in function
46831         definition.
46832         * crypt/crypt_util.c (__init_des): Likewise.
46833         * crypt/speeds.c (Stop): Likewise.
46834         (main): Likewise.
46835         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46836         * inet/ruserpass.c (token): Likewise.
46837         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46838         * intl/localealias.c (extend_alias_table): Likewise.
46839         * intl/plural-exp.c (init_germanic_plural): Likewise.
46840         * libio/fcloseall.c (__fcloseall): Likewise.
46841         * libio/genops.c (_IO_flush_all): Likewise.
46842         (_IO_flush_all_linebuffered): Likewise.
46843         (_IO_cleanup): Likewise.
46844         (_IO_iter_begin): Likewise.
46845         (_IO_iter_end): Likewise.
46846         (_IO_list_lock): Likewise.
46847         (_IO_list_unlock): Likewise.
46848         (_IO_list_resetlock): Likewise.
46849         * libio/getchar.c (getchar): Likewise.
46850         * libio/getchar_u.c (getchar_unlocked): Likewise.
46851         * libio/getwchar.c (getwchar): Likewise.
46852         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
46853         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
46854         * login/getpt.c (__getpt): Likewise.
46855         * login/tst-utmp.c (main): Likewise.
46856         * malloc/hooks.c (__malloc_check_init): Likewise.
46857         * malloc/malloc.c (__malloc_stats): Likewise.
46858         * malloc/mtrace.c (tr_break): Likewise.
46859         (mtrace): Likewise.
46860         (muntrace): Likewise.
46861         * misc/fstab.c (endfsent): Likewise.
46862         * misc/getclktck.c (__getclktck): Likewise.
46863         * misc/getdtsz.c (__getdtablesize): Likewise.
46864         * misc/gethostid.c (gethostid): Likewise.
46865         * misc/getpagesize.c (__getpagesize): Likewise.
46866         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
46867         (__get_nprocs): Likewise.
46868         (__get_phys_pages): Likewise.
46869         (__get_avphys_pages): Likewise.
46870         * misc/getttyent.c (getttyent): Likewise.
46871         (setttyent): Likewise.
46872         (endttyent): Likewise.
46873         * misc/getusershell.c (getusershell): Likewise.
46874         (endusershell): Likewise.
46875         (setusershell): Likewise.
46876         (initshells): Likewise.
46877         * misc/hsearch.c (__hdestroy): Likewise.
46878         * misc/sync.c (sync): Likewise.
46879         * misc/syslog.c (closelog_internal): Likewise.
46880         (closelog): Likewise.
46881         * misc/ttyslot.c (ttyslot): Likewise.
46882         * misc/vhangup.c (vhangup): Likewise.
46883         * posix/fork.c (__fork): Likewise.
46884         * posix/getegid.c (__getegid): Likewise.
46885         * posix/geteuid.c (__geteuid): Likewise.
46886         * posix/getgid.c (__getgid): Likewise.
46887         * posix/getpid.c (__getpid): Likewise.
46888         * posix/getppid.c (__getppid): Likewise.
46889         * posix/getuid.c (__getuid): Likewise.
46890         * posix/pause.c (pause): Likewise.
46891         * posix/setpgrp.c (setpgrp): Likewise.
46892         * posix/setsid.c (__setsid): Likewise.
46893         * posix/test-vfork.c (noop): Likewise.
46894         * resolv/gethnamaddr.c (_endhtent): Likewise.
46895         (_gethtent): Likewise.
46896         (ht_endhostent): Likewise.
46897         (gethostent): Likewise.
46898         (dns_service): Likewise.
46899         * stdlib/drand48.c (drand48): Likewise.
46900         * stdlib/lrand48.c (lrand48): Likewise.
46901         * stdlib/mrand48.c (mrand48): Likewise.
46902         * stdlib/rand.c (rand): Likewise.
46903         * stdlib/random.c (__random): Likewise.
46904         * stdlib/setenv.c (clearenv): Likewise.
46905         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
46906         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
46907         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
46908         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
46909         (__get_nprocs): Likewise.
46910         (__get_phys_pages): Likewise.
46911         (__get_avphys_pages): Likewise.
46912         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
46913         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
46914         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
46915         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
46916         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
46917         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
46918         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
46919         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
46920         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
46921         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
46922         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
46923         * sysdeps/mach/hurd/sync.c (sync): Likewise.
46924         * sysdeps/posix/clock.c (clock): Likewise.
46925         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
46926         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
46927         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
46928         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
46929         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
46930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
46931         (__get_nprocs_conf): Likewise.
46932         (__get_phys_pages): Likewise.
46933         (__get_avphys_pages): Likewise.
46934         * time/clock.c (clock): Likewise.
46935         * time/tzset.c (__tzname_max): Likewise.
46937 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
46939         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
46940         (__bswap_32): Do not use "register".
46941         * crypt/crypt.c (_ufc_doit_r): Likewise.
46942         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46943         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46944         * gmon/gmon.c (__monstartup): Likewise.
46945         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
46946         * hurd/hurdmalloc.c (more_memory): Likewise.
46947         (malloc): Likewise.
46948         (free): Likewise.
46949         (realloc): Likewise.
46950         (malloc_fork_prepare): Likewise.
46951         (malloc_fork_parent): Likewise.
46952         (malloc_fork_child): Likewise.
46953         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
46954         (_svcauth_des): Likewise.
46955         * inet/inet_lnaof.c (inet_lnaof): Likewise.
46956         * inet/inet_net.c (inet_network): Likewise.
46957         * inet/inet_netof.c (inet_netof): Likewise.
46958         * inet/rcmd.c (__validuser2_sa): Likewise.
46959         * io/fts.c (fts_open): Likewise.
46960         (fts_load): Likewise.
46961         (fts_close): Likewise.
46962         (fts_read): Likewise.
46963         (fts_children): Likewise.
46964         (fts_build): Likewise.
46965         (fts_stat): Likewise.
46966         (fts_sort): Likewise.
46967         (fts_alloc): Likewise.
46968         (fts_lfree): Likewise.
46969         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
46970         (_IO_file_xsgetn): Likewise.
46971         (_IO_file_xsgetn_mmap): Likewise.
46972         * libio/iofopncook.c (_IO_cookie_read): Likewise.
46973         (_IO_cookie_write): Likewise.
46974         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
46975         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
46976         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
46977         * malloc/obstack.c (_obstack_begin): Likewise.
46978         (_obstack_begin_1): Likewise.
46979         (_obstack_newchunk): Likewise.
46980         (_obstack_allocated_p): Likewise.
46981         (obstack_free): Likewise.
46982         (_obstack_memory_used): Likewise.
46983         * misc/getttyent.c (getttynam): Likewise.
46984         (getttyent): Likewise.
46985         (skip): Likewise.
46986         (value): Likewise.
46987         * misc/getusershell.c (initshells): Likewise.
46988         * misc/syslog.c (__vsyslog_chk): Likewise.
46989         * misc/ttyslot.c (ttyslot): Likewise.
46990         * nis/nis_hash.c (__nis_hash): Likewise.
46991         * posix/fnmatch_loop.c (FCT): Likewise.
46992         * posix/getconf.c (print_all): Likewise.
46993         (main): Likewise.
46994         * posix/getopt.c (exchange): Likewise.
46995         * posix/glob.c (globfree): Likewise.
46996         (prefix_array): Likewise.
46997         (__glob_pattern_type): Likewise.
46998         * resolv/arpa/nameser.h (NS_GET16): Likewise.
46999         (NS_GET32): Likewise.
47000         (NS_PUT16): Likewise.
47001         (NS_PUT32): Likewise.
47002         * resolv/gethnamaddr.c (getanswer): Likewise.
47003         (gethostbyname2): Likewise.
47004         (gethostbyaddr): Likewise.
47005         (_gethtent): Likewise.
47006         (_gethtbyname2): Likewise.
47007         (_gethtbyaddr): Likewise.
47008         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47009         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47010         * resolv/res_init.c (__res_vinit): Likewise.
47011         (net_mask): Likewise.
47012         * resolv/res_mkquery.c (outchar): Likewise.
47013         (PRINT): Likewise.
47014         * stdio-common/printf_fp.c (outchar): Likewise.
47015         (PRINT): Likewise.
47016         * stdio-common/printf_fphex.c (outchar): Likewise.
47017         (PRINT): Likewise.
47018         * stdio-common/printf_size.c (outchar): Likewise.
47019         (PRINT): Likewise.
47020         * stdio-common/test_rdwr.c (main): Likewise.
47021         * stdio-common/tfformat.c (matches): Likewise.
47022         * stdio-common/vfprintf.c (outchar): Likewise.
47023         (printf_unknown): Likewise.
47024         (buffered_vfprintf): Likewise.
47025         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47026         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47027         (ReadFile): Likewise.
47028         * stdlib/qsort.c (SWAP): Likewise.
47029         (_quicksort): Likewise.
47030         * stdlib/setenv.c (__add_to_environ): Likewise.
47031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47032         * stdlib/strtol_l.c (__strtol_l): Likewise.
47033         * stdlib/tst-strtod.c (main): Likewise.
47034         * stdlib/tst-strtol.c (main): Likewise.
47035         * stdlib/tst-strtoll.c (main): Likewise.
47036         * string/bits/string2.h (__strcmp_cc): Likewise.
47037         (__strcmp_cg): Likewise.
47038         (__strcspn_c1): Likewise.
47039         (__strcspn_c2): Likewise.
47040         (__strcspn_c3): Likewise.
47041         (__strspn_c1): Likewise.
47042         (__strspn_c2): Likewise.
47043         (__strspn_c3): Likewise.
47044         (__strsep_1c): Likewise.
47045         (__strsep_2c): Likewise.
47046         (__strsep_3c): Likewise.
47047         * string/memccpy.c (__memccpy): Likewise.
47048         * string/stpcpy.c (__stpcpy): Likewise.
47049         * string/strcmp.c (strcmp): Likewise.
47050         * string/strrchr.c (strrchr): Likewise.
47051         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47052         Likewise.
47053         * sysdeps/mach/hurd/getcwd.c
47054         (_hurd_canonicalize_directory_name_internal): Likewise.
47055         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47056         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47057         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47058         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47059         Likewise, in both definitions.
47060         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47061         definitions.
47062         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47063         64] (__bswap_64): Likewise.
47064         * time/test_time.c (main): Likewise.
47065         * time/tzfile.c (__tzfile_read): Likewise.
47066         (__tzfile_compute): Likewise.
47067         * time/tzset.c (__tzset_parse_tz): Likewise.
47068         (tzset_internal): Likewise.
47069         (compute_change): Likewise.
47070         * wcsmbs/wcscat.c (__wcscat): Likewise.
47071         * wcsmbs/wcschr.c (wcschr): Likewise.
47072         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47073         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47074         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47075         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47076         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47077         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47078         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47079         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47080         * wcsmbs/wmemset.c (wmemset): Likewise.
47082 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47084         * scripts/config.guess: Update to version 2013-05-16.
47085         * scripts/config.sub: Update to version 2013-04-24.
47086         * scripts/install-sh: Update to version 2011-11-20.07.
47087         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47088         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47090 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47092         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47093         * elf/sln.c: Likewise.
47094         * hurd/hurd/ioctl.h: Likewise.
47095         * hurd/hurdmalloc.c: Likewise.
47096         * hurd/xattr.c: Likewise.
47097         * include/shlib-compat.h: Likewise.
47098         * inet/ruserpass.c: Likewise.
47099         * libio/iofgets_u.c: Likewise.
47100         * libio/iofgetws_u.c: Likewise.
47101         * locale/programs/ld-identification.c: Likewise.
47102         * locale/programs/ld-time.c: Likewise.
47103         * mach/msg-destroy.c: Likewise.
47104         * nss/nss_files/files-netgrp.c: Likewise.
47105         * resolv/res_data.c: Likewise.
47106         * soft-fp/op-1.h: Likewise.
47107         * soft-fp/op-2.h: Likewise.
47108         * soft-fp/op-4.h: Likewise.
47109         * soft-fp/op-common.h: Likewise.
47110         * stdio-common/printf_fphex.c: Likewise.
47111         * stdlib/strtod_l.c: Likewise.
47112         * sunrpc/rpc/clnt.h: Likewise.
47113         * sysdeps/generic/framestate.c: Likewise.
47114         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47115         * sysdeps/i386/bsd-setjmp.S: Likewise.
47116         * sysdeps/i386/__longjmp.S: Likewise.
47117         * sysdeps/i386/setjmp.S: Likewise.
47118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47119         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47120         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47121         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47123         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47125         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47127         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47128         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47129         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47130         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47135         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47136         * sysdeps/ieee754/support.c: Likewise.
47137         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47138         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47139         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47140         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47141         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47142         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47143         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47144         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47145         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47146         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47147         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47148         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47149         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47150         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47151         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47152         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47156 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47158         * posix/transbug.c: Remove executable mode.
47160 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47162         * crypt/speeds.c: Remove trailing whitespace.
47163         * dlfcn/default.c: Likewise.
47164         * elf/ifuncdep2.c: Likewise.
47165         * elf/ifuncmain1.c: Likewise.
47166         * elf/ifuncmain1vis.c: Likewise.
47167         * elf/testobj.h: Likewise.
47168         * elf/tst-stackguard1.c: Likewise.
47169         * gmon/sys/gmon.h: Likewise.
47170         * hurd/hurdmsg.c: Likewise.
47171         * hurd/new-fd.c: Likewise.
47172         * hurd/ports-get.c: Likewise.
47173         * iconvdata/ibm1008_420.c: Likewise.
47174         * inet/tst-getni1.c: Likewise.
47175         * inet/tst-getni2.c: Likewise.
47176         * libio/ioungetc.c: Likewise.
47177         * libio/wfiledoalloc.c: Likewise.
47178         * manual/libm-err-tab.pl: Likewise.
47179         * math/w_dremf.c: Likewise.
47180         * misc/ftruncate.c: Likewise.
47181         * posix/bug-glob2.c: Likewise.
47182         * posix/tst-pcre.c: Likewise.
47183         * posix/wait4.c: Likewise.
47184         * resolv/README: Likewise.
47185         * resolv/res_debug.h: Likewise.
47186         * resolv/tst-inet_ntop.c: Likewise.
47187         * setjmp/bug269-setjmp.c: Likewise.
47188         * soft-fp/extended.h: Likewise.
47189         * soft-fp/op-1.h: Likewise.
47190         * soft-fp/op-2.h: Likewise.
47191         * soft-fp/op-4.h: Likewise.
47192         * soft-fp/op-8.h: Likewise.
47193         * soft-fp/testit.c: Likewise.
47194         * stdio-common/bug16.c: Likewise.
47195         * stdlib/random.c: Likewise.
47196         * sunrpc/rpcsvc/rquota.x: Likewise.
47197         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47198         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47199         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47200         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47201         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47202         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47203         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47204         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47205         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47206         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47207         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47226         * sysdeps/ieee754/s_lib_version.c: Likewise.
47227         * sysdeps/mach/hurd/check_fds.c: Likewise.
47228         * sysdeps/mach/hurd/getsockname.c: Likewise.
47229         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47230         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47231         * sysdeps/powerpc/bits/link.h: Likewise.
47232         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47233         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47234         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47235         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47236         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47237         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47238         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47239         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47240         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47241         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47242         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47243         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47244         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47245         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47246         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47247         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47250         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47251         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47252         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47253         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47254         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47255         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47256         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47257         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47258         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47260         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47263         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47264         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47266         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47267         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47268         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47269         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47270         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47271         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47272         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47273         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47274         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47275         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47276         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47277         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47278         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47279         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47280         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47281         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47286         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47287         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47288         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47289         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47291         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47292         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47293         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47294         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47295         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47296         * sysdeps/powerpc/sysdep.h: Likewise.
47297         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47298         * sysdeps/s390/s390-64/sub_n.S: Likewise.
47299         * sysdeps/sh/dl-trampoline.S: Likewise.
47300         * sysdeps/sh/memset.S: Likewise.
47301         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47302         * sysdeps/sh/strlen.S: Likewise.
47303         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47304         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47305         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47306         * sysdeps/sparc/sparc32/rem.S: Likewise.
47307         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47308         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47309         * sysdeps/sparc/sparc32/strchr.S: Likewise.
47310         * sysdeps/sparc/sparc32/udiv.S: Likewise.
47311         * sysdeps/sparc/sparc32/urem.S: Likewise.
47312         * sysdeps/sparc/sparc64/add_n.S: Likewise.
47313         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47314         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47315         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47316         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47317         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47318         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47319         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47320         * sysdeps/unix/bsd/times.c: Likewise.
47321         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47322         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47326         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47327         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47328         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47329         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47330         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47331         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47333         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47334         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47335         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47336         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47337         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47338         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47339         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47340         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47341         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47342         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47343         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47344         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47345         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47346         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47347         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47348         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47349         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47350         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47351         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47352         * sysdeps/x86_64/strcspn.S: Likewise.
47354 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47356         * locale/C-translit.h: Revert #include <stdint.h> because this is a
47357         generated file.  Regenerate properly from gen-translit.pl.
47358         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
47359         locale/C-translit.h.
47361 2013-06-05  Andreas Schwab  <schwab@suse.de>
47363         [BZ #15100]
47364         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47365         week as 6 instead of -1.
47366         * time/tst-strptime.c (day_tests): Add test case.
47368 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47370         * sysdeps/generic/math_private.h
47371         (libc_feholdexcept_setround_53bit): Replace with
47372         libc_feholdsetround_53bit.
47373         (libc_feupdateenv_53bit): Replace with
47374         libc_feresetround_53bit.
47375         (SET_RESTORE_ROUND_53BIT): Adjust.
47377 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47379         * string/test-strchrnul.c: Add copyright header.
47381         * posix/tst-getaddrinfo4.c: Increase test timeout.
47383 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
47385         [BZ #15536]
47386         * math/libm-test.inc (MAX_EXP): Remove
47387         (MIN_EXP): Define.
47388         (ulp): Use MIN_EXP - MANT_DIG.
47389         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47391 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
47393         * po/be.po: Revert last change.
47394         * po/zh_CN.po: Likewise.
47395         * po/header.pot: Likewise.
47397 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
47399         * Makefile ($(common-objpfx)linkobj/libc.so): Define
47400         link-libc-deps to empty as target-specific variable.
47401         * Makerules (link-libc-args): New variable.
47402         (libc-for-link): Likewise.
47403         (link-libc-deps): Likewise.
47404         (lib%.so): Depend on $(link-libc-deps).  Link with
47405         $(link-libc-args).
47406         (build-module): Link with $(link-libc-args).
47407         (build-module-asneeded): Likewise.
47408         (build-module-helper-objlist): Filter out $(link-libc-deps) from
47409         list of objects.
47410         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47411         target-specific variable.
47412         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47413         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47414         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47415         libc.
47416         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47417         libc and ld.so.
47418         ($(objpfx)libpcprofile.so): Likewise.
47419         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47420         libc_nonshared.a.
47421         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47422         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47423         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47424         $(link-libc-deps).
47425         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47426         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47427         * login/Makefile ($(objpfx)libutil.so): Likewise.
47428         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47429         * math/Makefile ($(objpfx)libm.so): Likewise.
47430         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47431         $(objpfx)libnsl.so): Define libc-for-link as target-specific
47432         variable instead of depending directly on libc.
47433         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47434         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47435         $(link-libc-deps).
47436         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47437         libc.
47438         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47439         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47440         ($(objpfx)libanl.so): Likewise.
47441         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47442         ld.so.
47443         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47444         $(link-libc-deps).
47445         * sysdeps/i386/fpu/Makefile: Remove file.
47446         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47447         ($(objpfx)libm.so): Remove dependency on ld.so.
47449 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
47451         [BZ # 15553]
47452         * nis/yp_xdr.c (XDRMAXNAME): Define.
47453         (XDRMAXRECORD): Define.
47454         (xdr_domainname): Use XDRMAXNAME.
47455         (xdr_mapname): Likewise.
47456         (xdr_peername): Likewise.
47457         (xdr_keydat): Use XDRMAXRECORD.
47458         (xdr_valdat): Likewise.
47460 2013-05-30  Jeff Law  <law@redhat.com>
47462         [BZ #14256]
47463         * manual/errno.texi (ESTALE): Update to account for more than
47464         just NFS file systems.
47465         * sysdeps/gnu/errlist.c: Regenerated.
47467 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47469         [BZ #15465]
47470         * elf/Makefile (tests): Add tst-null-argv.
47471         (modules-names):  Add tst-null-argv-lib.
47472         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47473         (tst-null-argv-ENV): Set environment for tst-null-argv.
47474         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47475         (RTLD_PROGNAME): New macro.
47476         * elf/tst-null-argv.c: New test case.
47477         * elf/tst-null-argv-lib.c: Library for test case.
47478         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47479         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47480         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47481         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47482         * elf/dl-init.c (call_init): Likewise.
47483         (_dl_init): Likewise.
47484         * elf/dl-load.c (print_search_path): Likewise.
47485         (_dl_map_object): Likewise.
47486         * elf/dl-lookup.c (do_lookup_x): Likewise.
47487         (add_dependency): Likewise.
47488         (_dl_lookup_symbol_x): Likewise.
47489         (_dl_debug_bindings): Likewise.
47490         * elf/dl-open.c (_dl_show_scope): Likewise.
47491         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47492         * elf/dl-version.c (match_symbol): Likewise.
47493         (_dl_check_map_versions): Likewise.
47494         * elf/rtld.c (dl_main): Likewise.
47495         (print_unresolved): Use RTLD_PROGNAME.
47496         (print_missing_version): Likewise.
47497         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47498         (elf_machine_rela): Likewise.
47499         * sysdeps/powerpc/powerpc32/dl-machine.c
47500         (__process_machine_rela): Likewise.
47501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47502         Likewise.
47503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47504         Likewise.
47505         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47506         Likewise.
47507         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47509         Likewise.
47510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47511         Likewise.
47512         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47514 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
47516         * po/be.po: Add descriptive title.
47517         * po/zh_CN.po: Likewise.
47518         * po/header.pot: Likewise.
47520 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
47522         * locale/programs/locarchive.c (create_archive): Inlucde fname in
47523         error message.
47524         (enlarge_archive): Likewise.
47526 2013-05-28  Ben North  <ben@redfrontdoor.org>
47528         * manual/arith.texi (frexp): It is the magnitude of the return
47529         value which lies in [0.5, 1), not the return value itself.
47531 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47535 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
47537         * stdio-common/bug26.c (main): Correct fscanf template.
47539         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47540         declare _dl_skip_args.
47542         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47543         Don't declare.
47545         * manual/platform.texi: Add missing @end deftypefun.
47547 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47549         [BZ #15529]
47550         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47551         bit of mantissa of 2^16382.
47552         * math/libm-test.inc (hypot_test_data): Add more tests.
47554         * math/libm-test.inc: Add drem and pow10 to list of tested
47555         functions.
47556         (pow10_test): New function.
47557         (drem_test): Likewise.
47558         (drem_test_tonearest): Likewise.
47559         (drem_test_towardzero): Likewise.
47560         (drem_test_downward): Likewise.
47561         (drem_test_upward): Likewise.
47562         (main): Call the new functions.
47564         * math/libm-test.inc (finite_test_data): Remove.
47565         (finite_test): Run tests from isfinite_test_data.
47566         (gamma_test_data): Remove.
47567         (gamma_test): Run tests from lgamma_test_data.
47568         * sysdeps/i386/fpu/libm-test-ulps: Update.
47569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47571 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47573         * manual/platform.texi: Add PowerPC PPR function set documentation.
47574         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47575         implementation.
47577 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
47579         * math/libm-test.inc (MAX_EXP): Define.
47580         (ULPDIFF): Define.
47581         (ulp): New function.
47582         (check_float_internal): Use ULPDIFF.
47583         (cpow_test): Disable failing test.
47584         (check_ulp): Test ulp() implemetnation.
47585         (main): Call check_ulp before starting tests.
47587 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
47589         * math/gen-libm-test.pl (generate_testfile): Do not handle
47590         START_DATA and END_DATA.
47591         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47592         END_DATA.
47593         (acos_tonearest_test_data): Likewise.
47594         (acos_towardzero_test_data): Likewise.
47595         (acos_downward_test_data): Likewise.
47596         (acos_upward_test_data): Likewise.
47597         (acosh_test_data): Likewise.
47598         (asin_test_data): Likewise.
47599         (asin_tonearest_test_data): Likewise.
47600         (asin_towardzero_test_data): Likewise.
47601         (asin_downward_test_data): Likewise.
47602         (asin_upward_test_data): Likewise.
47603         (asinh_test_data): Likewise.
47604         (atan_test_data): Likewise.
47605         (atanh_test_data): Likewise.
47606         (atan2_test_data): Likewise.
47607         (cabs_test_data): Likewise.
47608         (cacos_test_data): Likewise.
47609         (cacosh_test_data): Likewise.
47610         (carg_test_data): Likewise.
47611         (casin_test_data): Likewise.
47612         (casinh_test_data): Likewise.
47613         (catan_test_data): Likewise.
47614         (catanh_test_data): Likewise.
47615         (cbrt_test_data): Likewise.
47616         (ccos_test_data): Likewise.
47617         (ccosh_test_data): Likewise.
47618         (ceil_test_data): Likewise.
47619         (cexp_test_data): Likewise.
47620         (cimag_test_data): Likewise.
47621         (clog_test_data): Likewise.
47622         (clog10_test_data): Likewise.
47623         (conj_test_data): Likewise.
47624         (copysign_test_data): Likewise.
47625         (cos_test_data): Likewise.
47626         (cos_tonearest_test_data): Likewise.
47627         (cos_towardzero_test_data): Likewise.
47628         (cos_downward_test_data): Likewise.
47629         (cos_upward_test_data): Likewise.
47630         (cosh_test_data): Likewise.
47631         (cosh_tonearest_test_data): Likewise.
47632         (cosh_towardzero_test_data): Likewise.
47633         (cosh_downward_test_data): Likewise.
47634         (cosh_upward_test_data): Likewise.
47635         (cpow_test_data): Likewise.
47636         (cproj_test_data): Likewise.
47637         (creal_test_data): Likewise.
47638         (csin_test_data): Likewise.
47639         (csinh_test_data): Likewise.
47640         (csqrt_test_data): Likewise.
47641         (ctan_test_data): Likewise.
47642         (ctan_tonearest_test_data): Likewise.
47643         (ctan_towardzero_test_data): Likewise.
47644         (ctan_downward_test_data): Likewise.
47645         (ctan_upward_test_data): Likewise.
47646         (ctanh_test_data): Likewise.
47647         (ctanh_tonearest_test_data): Likewise.
47648         (ctanh_towardzero_test_data): Likewise.
47649         (ctanh_downward_test_data): Likewise.
47650         (ctanh_upward_test_data): Likewise.
47651         (erf_test_data): Likewise.
47652         (erfc_test_data): Likewise.
47653         (exp_test_data): Likewise.
47654         (exp_tonearest_test_data): Likewise.
47655         (exp_towardzero_test_data): Likewise.
47656         (exp_downward_test_data): Likewise.
47657         (exp_upward_test_data): Likewise.
47658         (exp10_test_data): Likewise.
47659         (exp2_test_data): Likewise.
47660         (expm1_test_data): Likewise.
47661         (fabs_test_data): Likewise.
47662         (fdim_test_data): Likewise.
47663         (finite_test_data): Likewise.
47664         (floor_test_data): Likewise.
47665         (fma_test_data): Likewise.
47666         (fma_towardzero_test_data): Likewise.
47667         (fma_downward_test_data): Likewise.
47668         (fma_upward_test_data): Likewise.
47669         (fmax_test_data): Likewise.
47670         (fmin_test_data): Likewise.
47671         (fmod_test_data): Likewise.
47672         (fpclassify_test_data): Likewise.
47673         (frexp_test_data): Likewise.
47674         (gamma_test_data): Likewise.
47675         (hypot_test_data): Likewise.
47676         (ilogb_test_data): Likewise.
47677         (isfinite_test_data): Likewise.
47678         (isgreater_test_data): Likewise.
47679         (isgreaterequal_test_data): Likewise.
47680         (isinf_test_data): Likewise.
47681         (isless_test_data): Likewise.
47682         (islessequal_test_data): Likewise.
47683         (islessgreater_test_data): Likewise.
47684         (isnan_test_data): Likewise.
47685         (isnormal_test_data): Likewise.
47686         (issignaling_test_data): Likewise.
47687         (isunordered_test_data): Likewise.
47688         (j0_test_data): Likewise.
47689         (j1_test_data): Likewise.
47690         (jn_test_data): Likewise.
47691         (ldexp_test_data): Likewise.
47692         (lgamma_test_data): Likewise.
47693         (lrint_test_data): Likewise.
47694         (lrint_tonearest_test_data): Likewise.
47695         (lrint_towardzero_test_data): Likewise.
47696         (lrint_downward_test_data): Likewise.
47697         (lrint_upward_test_data): Likewise.
47698         (llrint_test_data): Likewise.
47699         (llrint_tonearest_test_data): Likewise.
47700         (llrint_towardzero_test_data): Likewise.
47701         (llrint_downward_test_data): Likewise.
47702         (llrint_upward_test_data): Likewise.
47703         (log_test_data): Likewise.
47704         (log10_test_data): Likewise.
47705         (log1p_test_data): Likewise.
47706         (log2_test_data): Likewise.
47707         (logb_test_data): Likewise.
47708         (logb_downward_test_data): Likewise.
47709         (lround_test_data): Likewise.
47710         (llround_test_data): Likewise.
47711         (modf_test_data): Likewise.
47712         (nearbyint_test_data): Likewise.
47713         (nextafter_test_data): Likewise.
47714         (nexttoward_test_data): Likewise.
47715         (pow_test_data): Likewise.
47716         (pow_tonearest_test_data): Likewise.
47717         (pow_towardzero_test_data): Likewise.
47718         (pow_downward_test_data): Likewise.
47719         (pow_upward_test_data): Likewise.
47720         (remainder_test_data): Likewise.
47721         (remainder_tonearest_test_data): Likewise.
47722         (remainder_towardzero_test_data): Likewise.
47723         (remainder_downward_test_data): Likewise.
47724         (remainder_upward_test_data): Likewise.
47725         (remquo_test_data): Likewise.
47726         (rint_test_data): Likewise.
47727         (rint_tonearest_test_data): Likewise.
47728         (rint_towardzero_test_data): Likewise.
47729         (rint_downward_test_data): Likewise.
47730         (rint_upward_test_data): Likewise.
47731         (round_test_data): Likewise.
47732         (scalb_test_data): Likewise.
47733         (scalbn_test_data): Likewise.
47734         (scalbln_test_data): Likewise.
47735         (signbit_test_data): Likewise.
47736         (sin_test_data): Likewise.
47737         (sin_tonearest_test_data): Likewise.
47738         (sin_towardzero_test_data): Likewise.
47739         (sin_downward_test_data): Likewise.
47740         (sin_upward_test_data): Likewise.
47741         (sincos_test_data): Likewise.
47742         (sinh_test_data): Likewise.
47743         (sinh_tonearest_test_data): Likewise.
47744         (sinh_towardzero_test_data): Likewise.
47745         (sinh_downward_test_data): Likewise.
47746         (sinh_upward_test_data): Likewise.
47747         (sqrt_test_data): Likewise.
47748         (tan_test_data): Likewise.
47749         (tan_tonearest_test_data): Likewise.
47750         (tan_towardzero_test_data): Likewise.
47751         (tan_downward_test_data): Likewise.
47752         (tan_upward_test_data): Likewise.
47753         (tanh_test_data): Likewise.
47754         (tgamma_test_data): Likewise.
47755         (trunc_test_data): Likewise.
47756         (y0_test_data): Likewise.
47757         (y1_test_data): Likewise.
47758         (yn_test_data): Likewise.
47759         (significand_test_data): Likewise.
47761         * math/gen-libm-test.pl (@functions): Remove variable.
47762         (generate_testfile): Don't handle START and END lines.
47763         * math/libm-test.inc (START): New macro.
47764         (END): Likewise.
47765         (END_COMPLEX): Likewise.
47766         (acos_test): Use END macro without arguments.
47767         (acos_test_tonearest): Likewise.
47768         (acos_test_towardzero): Likewise.
47769         (acos_test_downward): Likewise.
47770         (acos_test_upward): Likewise.
47771         (acosh_test): Likewise.
47772         (asin_test): Likewise.
47773         (asin_test_tonearest): Likewise.
47774         (asin_test_towardzero): Likewise.
47775         (asin_test_downward): Likewise.
47776         (asin_test_upward): Likewise.
47777         (asinh_test): Likewise.
47778         (atan_test): Likewise.
47779         (atanh_test): Likewise.
47780         (atan2_test): Likewise.
47781         (cabs_test): Likewise.
47782         (cacos_test): Use END_COMPLEX macro without arguments.
47783         (cacosh_test): Likewise.
47784         (carg_test): Use END macro without arguments.
47785         (casin_test): Use END_COMPLEX macro without arguments.
47786         (casinh_test): Likewise.
47787         (catan_test): Likewise.
47788         (catanh_test): Likewise.
47789         (cbrt_test): Use END macro without arguments.
47790         (ccos_test): Use END_COMPLEX macro without arguments.
47791         (ccosh_test): Likewise.
47792         (ceil_test): Use END macro without arguments.
47793         (cexp_test): Use END_COMPLEX macro without arguments.
47794         (cimag_test): Use END macro without arguments.
47795         (clog_test): Use END_COMPLEX macro without arguments.
47796         (clog10_test): Likewise.
47797         (conj_test): Likewise.
47798         (copysign_test): Use END macro without arguments.
47799         (cos_test): Likewise.
47800         (cos_test_tonearest): Likewise.
47801         (cos_test_towardzero): Likewise.
47802         (cos_test_downward): Likewise.
47803         (cos_test_upward): Likewise.
47804         (cosh_test): Likewise.
47805         (cosh_test_tonearest): Likewise.
47806         (cosh_test_towardzero): Likewise.
47807         (cosh_test_downward): Likewise.
47808         (cosh_test_upward): Likewise.
47809         (cpow_test): Use END_COMPLEX macro without arguments.
47810         (cproj_test): Likewise.
47811         (creal_test): Use END macro without arguments.
47812         (csin_test): Use END_COMPLEX macro without arguments.
47813         (csinh_test): Likewise.
47814         (csqrt_test): Likewise.
47815         (ctan_test): Likewise.
47816         (ctan_test_tonearest): Likewise.
47817         (ctan_test_towardzero): Likewise.
47818         (ctan_test_downward): Likewise.
47819         (ctan_test_upward): Likewise.
47820         (ctanh_test): Likewise.
47821         (ctanh_test_tonearest): Likewise.
47822         (ctanh_test_towardzero): Likewise.
47823         (ctanh_test_downward): Likewise.
47824         (ctanh_test_upward): Likewise.
47825         (erf_test): Use END macro without arguments.
47826         (erfc_test): Likewise.
47827         (exp_test): Likewise.
47828         (exp_test_tonearest): Likewise.
47829         (exp_test_towardzero): Likewise.
47830         (exp_test_downward): Likewise.
47831         (exp_test_upward): Likewise.
47832         (exp10_test): Likewise.
47833         (exp2_test): Likewise.
47834         (expm1_test): Likewise.
47835         (fabs_test): Likewise.
47836         (fdim_test): Likewise.
47837         (finite_test): Likewise.
47838         (floor_test): Likewise.
47839         (fma_test): Likewise.
47840         (fma_test_towardzero): Likewise.
47841         (fma_test_downward): Likewise.
47842         (fma_test_upward): Likewise.
47843         (fmax_test): Likewise.
47844         (fmin_test): Likewise.
47845         (fmod_test): Likewise.
47846         (fpclassify_test): Likewise.
47847         (frexp_test): Likewise.
47848         (gamma_test): Likewise.
47849         (hypot_test): Likewise.
47850         (ilogb_test): Likewise.
47851         (isfinite_test): Likewise.
47852         (isgreater_test): Likewise.
47853         (isgreaterequal_test): Likewise.
47854         (isinf_test): Likewise.
47855         (isless_test): Likewise.
47856         (islessequal_test): Likewise.
47857         (islessgreater_test): Likewise.
47858         (isnan_test): Likewise.
47859         (isnormal_test): Likewise.
47860         (issignaling_test): Likewise.
47861         (isunordered_test): Likewise.
47862         (j0_test): Likewise.
47863         (j1_test): Likewise.
47864         (jn_test): Likewise.
47865         (ldexp_test): Likewise.
47866         (lgamma_test): Likewise.
47867         (lrint_test): Likewise.
47868         (lrint_test_tonearest): Likewise.
47869         (lrint_test_towardzero): Likewise.
47870         (lrint_test_downward): Likewise.
47871         (lrint_test_upward): Likewise.
47872         (llrint_test): Likewise.
47873         (llrint_test_tonearest): Likewise.
47874         (llrint_test_towardzero): Likewise.
47875         (llrint_test_downward): Likewise.
47876         (llrint_test_upward): Likewise.
47877         (log_test): Likewise.
47878         (log10_test): Likewise.
47879         (log1p_test): Likewise.
47880         (log2_test): Likewise.
47881         (logb_test): Likewise.
47882         (logb_test_downward): Likewise.
47883         (lround_test): Likewise.
47884         (llround_test): Likewise.
47885         (modf_test): Likewise.
47886         (nearbyint_test): Likewise.
47887         (nextafter_test): Likewise.
47888         (nexttoward_test): Likewise.
47889         (pow_test): Likewise.
47890         (pow_test_tonearest): Likewise.
47891         (pow_test_towardzero): Likewise.
47892         (pow_test_downward): Likewise.
47893         (pow_test_upward): Likewise.
47894         (remainder_test): Likewise.
47895         (remainder_test_tonearest): Likewise.
47896         (remainder_test_towardzero): Likewise.
47897         (remainder_test_downward): Likewise.
47898         (remainder_test_upward): Likewise.
47899         (remquo_test): Likewise.
47900         (rint_test): Likewise.
47901         (rint_test_tonearest): Likewise.
47902         (rint_test_towardzero): Likewise.
47903         (rint_test_downward): Likewise.
47904         (rint_test_upward): Likewise.
47905         (round_test): Likewise.
47906         (scalb_test): Likewise.
47907         (scalbn_test): Likewise.
47908         (scalbln_test): Likewise.
47909         (signbit_test): Likewise.
47910         (sin_test): Likewise.
47911         (sin_test_tonearest): Likewise.
47912         (sin_test_towardzero): Likewise.
47913         (sin_test_downward): Likewise.
47914         (sin_test_upward): Likewise.
47915         (sincos_test): Likewise.
47916         (sinh_test): Likewise.
47917         (sinh_test_tonearest): Likewise.
47918         (sinh_test_towardzero): Likewise.
47919         (sinh_test_downward): Likewise.
47920         (sinh_test_upward): Likewise.
47921         (sqrt_test): Likewise.
47922         (tan_test): Likewise.
47923         (tan_test_tonearest): Likewise.
47924         (tan_test_towardzero): Likewise.
47925         (tan_test_downward): Likewise.
47926         (tan_test_upward): Likewise.
47927         (tanh_test): Likewise.
47928         (tgamma_test): Likewise.
47929         (trunc_test): Likewise.
47930         (y0_test): Likewise.
47931         (y1_test): Likewise.
47932         (yn_test): Likewise.
47933         (significand_test): Likewise.
47935 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
47937         [BZ #15381]
47938         * libio/genops.c (_IO_no_init): Initialize wide struct info.
47940 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
47942         [BZ #14894]
47943         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
47944         __ppc_mdoio and __ppc_mdoom.
47945         * manual/platform.texi: Document new functions __ppc_yield,
47946         __ppc_mdoio and __ppc_mdoom.
47948 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
47950         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
47951         (main): Mention "tls" pseudo-hwcap is legacy.
47952         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
47954 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
47956         * math/gen-libm-test.pl (parse_args): Output only string of
47957         arguments as text for test name, not full call or descriptions of
47958         tests for extra outputs.
47959         (generate_testfile): Do not pass function name to parse_args.
47960         Generate this_func variable from START.
47961         * math/libm-test.inc (struct test_f_f_data): Rename test_name
47962         field to arg_str.
47963         (struct test_ff_f_data): Likewise.
47964         (test_ff_f_data_nexttoward): Likewise.
47965         (struct test_fi_f_data): Likewise.
47966         (struct test_fl_f_data): Likewise.
47967         (struct test_if_f_data): Likewise.
47968         (struct test_fff_f_data): Likewise.
47969         (struct test_c_f_data): Likewise.
47970         (struct test_f_f1_data): Likewise.  Remove field extra_name.
47971         (struct test_fF_f1_data): Likewise.
47972         (struct test_ffI_f1_data): Likewise.
47973         (struct test_c_c_data): Rename test_name field to arg_str.
47974         (struct test_cc_c_data): Likewise.
47975         (struct test_f_i_data): Likewise.
47976         (struct test_ff_i_data): Likewise.
47977         (struct test_f_l_data): Likewise.
47978         (struct test_f_L_data): Likewise.
47979         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
47980         and extra2_name.
47981         (COMMON_TEST_SETUP): New macro.
47982         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
47983         (COMMON_TEST_CLEANUP): Likewise.
47984         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
47985         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
47986         macros.
47987         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
47988         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
47989         macros.
47990         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
47991         (RUN_TEST_fff_f): Take argument string.  Call new setup and
47992         cleanup macros.
47993         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
47994         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
47995         macros.
47996         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
47997         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
47998         macros.
47999         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48000         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48001         cleanup macros.
48002         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48003         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48004         cleanup macros.
48005         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48006         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48007         cleanup macros.
48008         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48009         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48010         macros.
48011         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48012         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48013         macros.
48014         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48015         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48016         macros.
48017         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48018         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48019         cleanup macros.
48020         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48021         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48022         cleanup macros.
48023         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48024         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48025         macros.
48026         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48027         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48028         cleanup macros.
48029         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48030         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48031         macros.
48032         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48033         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48034         macros.
48035         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48036         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48037         cleanup macros.
48038         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48040 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48042         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48043         to _sifields.sigfault.
48044         (si_addr_lsb): Define new macro.
48045         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48046         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48047         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48049 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48051         [BZ #15441]
48052         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48053         returns -1.
48054         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48055         null return -1.
48056         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48057         loading the domain.
48059 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48061         * math/gen-libm-test.pl (parse_args): Do not include expected
48062         result in test name.
48063         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48064         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48065         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48067         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48070 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48072         * benchtests/Makefile: Sort function entries.
48074         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48075         tanh, asinh, acosh, atanh.
48076         * benchtests/acos-inputs: New file.
48077         * benchtests/acosh-inputs: New file.
48078         * benchtests/asin-inputs: New file.
48079         * benchtests/asinh-inputs: New file.
48080         * benchtests/atanh-inputs: New file.
48081         * benchtests/cosh-inputs: New file.
48082         * benchtests/log-inputs: New file.
48083         * benchtests/sinh-inputs: New file.
48084         * benchtests/tanh-inputs: New file.
48086 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48088         [BZ #15339]
48089         * posix/tst-getaddrinfo4.c: New test.
48090         * posix/Makefile (tests): Add it.
48092 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48094         [BZ #15339]
48095         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48096         when no services were used.
48097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48098         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48100 2013-05-21  Andreas Schwab  <schwab@suse.de>
48102         [BZ #15014]
48103         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48104         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48105         successful.
48106         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48107         redundant variable declarations and reallocation of buffer when
48108         parsing as IPv6 address.  Always set NSS status when called from
48109         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48110         buffer too small.  Correct computation of needed size.
48111         * nss/Makefile (tests): Add test-digits-dots.
48112         * nss/test-digits-dots.c: New test.
48114 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48116         * benchtests/Makefile: Remove instructions for adding
48117         benchmark tests.
48118         * benchtests/README: New file to explain how to execute and
48119         enhance the benchmark tests.
48121 2013-05-21  Andreas Schwab  <schwab@suse.de>
48123         [BZ #15493]
48124         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48125         * setjmp/tst-sigsetjmp.c: New test.
48127 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48129         * sysdeps/x86_64/memset.S (memset): New implementation.
48130         (__bzero): Likewise.
48131         (__memset_tail): New function.
48133 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48135         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48136         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48137         __memcpy_sse2_unaligned ifunc selection.
48138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48139         Add memcpy-sse2-unaligned.S.
48140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48141         Add: __memcpy_sse2_unaligned.
48143 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48145         [BZ #15490]
48146         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48147         math_force_eval before restoring floating-point envrionment.
48148         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48149         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48150         Likewise.
48151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48152         <math_private.h>.
48153         (__nearbyintl): Use math_force_eval before restoring
48154         floating-point environment.
48155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48157         * math/gen-libm-test.pl (special_functions): Remove.
48158         (parse_args): Don't handle TEST_extra.  Handle functions with no
48159         return value.
48160         * math/libm-test.inc (struct test_sincos_data): Replace with
48161         struct test_fFF_11_data.
48162         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48163         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48164         (sincos_test_data): Change element type to struct
48165         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48166         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48167         RUN_TEST_LOOP_sincos.
48168         * math/README.libm-test: Don't mention special handling of
48169         individual functions.
48170         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48171         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48172         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48173         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48177         * math/gen-libm-test.pl (get_variable): Remove function.
48178         (parse_args): Don't show pointer parameters to call in test
48179         names.  Use "extra output N" in test names for extra outputs
48180         rather than naming variables.
48182 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48184         [BZ #15488]
48185         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48186         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48187         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48188         double tests.
48189         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48190         disable.
48191         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48192         check_long_double.
48194         * math/gen-libm-test.pl (@tests): Remove variable.
48195         ($count): Likewise.
48196         (new_test): Remove function.
48197         (show_exceptions): New function.
48198         (special_functions): Use show_exceptions instead of new_test.
48199         (parse_args): Likewise.
48200         (generate_testfile): Pass only function name in generated call to
48201         print_max_error or print_complex_max_error.
48202         (get_ulps): Do not handle complex tests specially.
48203         (output_test): Rename to ...
48204         (get_all_ulps_for_test): ... this.  Return a string rather than
48205         printing to a file.  Require ulps to be present.
48206         (output_ulps): Generate arrays rather than #defines.
48207         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48208         (struct ulp_data): New type.
48209         (BUILD_COMPLEX_ULP): Remove macro.
48210         (compare_ulp_data): New function.
48211         (find_ulps): Likewise.
48212         (find_test_ulps): Likewise.
48213         (find_function_ulps): Likewise.
48214         (find_complex_function_ulps): Likewise.
48215         (print_max_error): Determine allowed ulps using
48216         find_function_ulps.
48217         (print_complex_max_error): Determine allowed ulps using
48218         find_complex_function_ulps.
48219         (check_float_internal): Determine max ulps using find_test_ulps.
48220         (check_float): Do not take max_ulp parameter.  Update call to
48221         check_float_internal.
48222         (check_complex): Likewise.
48223         (check_int): Do not take max_ulp parameter.
48224         (check_long): Likewise.
48225         (check_bool): Likewise.
48226         (check_longlong): Likewise.
48227         (struct test_f_f_data): Remove max_ulp field.
48228         (struct test_ff_f_data): Likewise.
48229         (struct test_ff_f_data_nexttoward): Likewise.
48230         (struct test_fi_f_data): Likewise.
48231         (struct test_fl_f_data): Likewise.
48232         (struct test_if_f_data): Likewise.
48233         (struct test_fff_f_data): Likewise.
48234         (struct test_c_f_data): Likewise.
48235         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48236         (struct test_fF_f1_data): Likewise.
48237         (struct test_ffI_f1_data): Likewise.
48238         (struct test_c_c_data): Remove max_ulp field.
48239         (struct test_cc_c_data): Likewise.
48240         (struct test_f_i_data): Likewise.
48241         (struct test_ff_i_data): Likewise.
48242         (struct test_f_l_data): Likewise.
48243         (struct test_f_L_data): Likewise.
48244         (struct test_sincos_data): Likewise.
48245         (RUN_TEST_f_f): Do not handle ulps.
48246         (RUN_TEST_LOOP_f_f): Likewise.
48247         (RUN_TEST_2_f): Likewise.
48248         (RUN_TEST_LOOP_2_f): Likewise.
48249         (RUN_TEST_fff_f): Likewise.
48250         (RUN_TEST_LOOP_fff_f): Likewise.
48251         (RUN_TEST_c_f): Likewise.
48252         (RUN_TEST_LOOP_c_f): Likewise.
48253         (RUN_TEST_f_f1): Likewise.
48254         (RUN_TEST_LOOP_f_f1): Likewise.
48255         (RUN_TEST_fF_f1): Likewise.
48256         (RUN_TEST_LOOP_fF_f1): Likewise.
48257         (RUN_TEST_fI_f1): Likewise.
48258         (RUN_TEST_LOOP_fI_f1): Likewise.
48259         (RUN_TEST_ffI_f1): Likewise.
48260         (RUN_TEST_LOOP_ffI_f1): Likewise.
48261         (RUN_TEST_c_c): Likewise.
48262         (RUN_TEST_LOOP_c_c): Likewise.
48263         (RUN_TEST_cc_c): Likewise.
48264         (RUN_TEST_LOOP_cc_c): Likewise.
48265         (RUN_TEST_f_i): Likewise.
48266         (RUN_TEST_LOOP_f_i): Likewise.
48267         (RUN_TEST_f_i_tg): Likewise.
48268         (RUN_TEST_LOOP_f_i_tg): Likewise.
48269         (RUN_TEST_ff_i_tg): Likewise.
48270         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48271         (RUN_TEST_f_b): Likewise.
48272         (RUN_TEST_LOOP_f_b): Likewise.
48273         (RUN_TEST_f_b_tg): Likewise.
48274         (RUN_TEST_LOOP_f_b_tg): Likewise.
48275         (RUN_TEST_f_l): Likewise.
48276         (RUN_TEST_LOOP_f_l): Likewise.
48277         (RUN_TEST_f_L): Likewise.
48278         (RUN_TEST_LOOP_f_L): Likewise.
48279         (RUN_TEST_sincos): Likewise.
48280         (RUN_TEST_LOOP_sincos): Likewise.
48282 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48284         [BZ #15480]
48285         [BZ #15485]
48286         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48287         main case of finite arguments, set rounding mode to FE_TONEAREST
48288         and discard exceptions.
48289         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48290         exceptions.
48291         (remainder_tonearest_test_data): New variable.
48292         (remainder_test_tonearest): New function.
48293         (remainder_towardzero_test_data): New variable.
48294         (remainder_test_towardzero): New function.
48295         (remainder_downward_test_data): New variable.
48296         (remainder_test_downward): New function.
48297         (remainder_upward_test_data): New variable.
48298         (remainder_test_upward): New function.
48299         (main): Call the new test functions.
48301         * math/libm-test.inc (struct test_f_f1_data): Remove field
48302         extra_init.
48303         (struct test_fF_f1_data): Likewise.
48304         (struct test_ffI_f1_data): Likewise.
48305         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
48306         based on value of EXTRA_EXPECTED.
48307         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48308         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
48309         EXTRA_VAR based on value of EXTRA_EXPECTED.
48310         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48311         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
48312         EXTRA_VAR based on value of EXTRA_EXPECTED.
48313         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48314         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
48315         EXTRA_VAR based on value of EXTRA_EXPECTED.
48316         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48317         * math/gen-libm-test.pl (parse_args): Don't output initializers
48318         for extra output values.
48320         * math/libm-test.inc (check_int): Expect result to be exactly
48321         equal to expected value and do not handle ulps.
48322         (check_long): Likewise.
48323         (check_longlong): Likewise.
48325         * math/libm-test.inc (ceil_test_data): Test for "inexact"
48326         exceptions.
48327         (cimag_test_data): Likewise.
48328         (conj_test_data): Likewise.
48329         (copysign_test_data): Likewise.
48330         (cproj_test_data): Likewise.
48331         (creal_test_data): Likewise.
48332         (fabs_test_data): Likewise.
48333         (fdim_test_data): Likewise.
48334         (finite_test_data): Likewise.
48335         (floor_test_data): Likewise.
48336         (fmax_test_data): Likewise.
48337         (fmin_test_data): Likewise.
48338         (fmod_test_data): Likewise.
48339         (fpclassify_test_data): Likewise.
48340         (frexp_test_data): Likewise.
48341         (ilogb_test_data): Likewise.
48342         (isfinite_test_data): Likewise.
48343         (isgreater_test_data): Likewise.
48344         (isgreaterequal_test_data): Likewise.
48345         (isinf_test_data): Likewise.
48346         (isless_test_data): Likewise.
48347         (islessequal_test_data): Likewise.
48348         (islessgreater_test_data): Likewise.
48349         (isnan_test_data): Likewise.
48350         (isnormal_test_data): Likewise.
48351         (issignaling_test_data): Likewise.
48352         (isunordered_test_data): Likewise.
48353         (ldexp_test_data): Likewise.
48354         (lrint_test_data): Likewise.
48355         (lrint_test_data) [TEST_FLOAT]: Disable one test.
48356         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48357         (lrint_tonearest_test_data): Test for "inexact" exceptions.
48358         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48359         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48360         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48361         test input.
48362         (lrint_towardzero_test_data): Test for "inexact" exceptions.
48363         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48364         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48365         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48366         that test input.
48367         (lrint_downward_test_data): Test for "inexact" exceptions.
48368         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48369         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48370         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48371         test input.
48372         (lrint_upward_test_data): Test for "inexact" exceptions.
48373         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48374         test input.
48375         (llrint_test_data): Test for "inexact" exceptions.
48376         (llrint_test_data) [TEST_FLOAT]: Disable one test.
48377         (llrint_tonearest_test_data): Test for "inexact" exceptions.
48378         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48379         (llrint_towardzero_test_data): Test for "inexact" exceptions.
48380         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48381         (llrint_downward_test_data): Test for "inexact" exceptions.
48382         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48383         (llrint_upward_test_data): Test for "inexact" exceptions.
48384         (logb_test_data): Likewise.
48385         (logb_downward_test_data): Likewise.
48386         (nextafter_test_data): Likewise.
48387         (nexttoward_test_data): Likewise.
48388         (remainder_test_data): Likewise.
48389         (remquo_test_data): Likewise.
48390         (scalbn_test_data): Likewise.
48391         (scalbln_test_data): Likewise.
48392         (signbit_test_data): Likewise.
48393         (sqrt_test_data): Likewise.
48394         (significand_test_data): Likewise.
48396 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48398         [BZ #15424]
48399         * benchtests/bench-modf.c (struct args): Mark arg0 as
48400         volatile.
48401         * scripts/bench.pl: Mark members of struct args as volatile.
48403 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48405         [BZ # 15497]
48406         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48407         negative infinity on POWER6 or lower.
48408         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48410 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48412         [BZ #15442]
48413         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48414         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48415         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48416         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48417         (_FP_SETQNAN): New macro.
48418         (_FP_SETQNAN_SEMIRAW): Likewise.
48419         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48420         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48421         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48422         (FP_EXTEND): Use _FP_FRAC_SNANP.
48423         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48424         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48425         into account.
48426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48427         New macro.
48428         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48429         Likewise.
48431 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48433         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48434         with DIVIDE_BY_ZERO_EXCEPTION.
48435         (gamma_test_data): Likewise.
48436         (lgamma_test_data): Likewise.
48437         (log_test_data): Likewise.
48438         (log10_test_data): Likewise.
48439         (log2_test_data): Likewise.
48440         (tgamma_test_data): Likewise.
48442         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48443         (acos_test_tonearest): Likewise.
48444         (acos_test_towardzero): Likewise.
48445         (acos_test_downward): Likewise.
48446         (acos_test_upward): Likewise.
48447         (acosh_test): Likewise.
48448         (asin_test): Likewise.
48449         (asin_test_tonearest): Likewise.
48450         (asin_test_towardzero): Likewise.
48451         (asin_test_downward): Likewise.
48452         (asin_test_upward): Likewise.
48453         (asinh_test): Likewise.
48454         (atan_test): Likewise.
48455         (atanh_test): Likewise.
48456         (atan2_test): Likewise.
48457         (cabs_test): Likewise.
48458         (cacos_test): Likewise.
48459         (cacosh_test): Likewise.
48460         (casin_test): Likewise.
48461         (casinh_test): Likewise.
48462         (catan_test): Likewise.
48463         (catanh_test): Likewise.
48464         (cbrt_test): Likewise.
48465         (ccos_test): Likewise.
48466         (ccosh_test): Likewise.
48467         (cexp_test): Likewise.
48468         (clog_test): Likewise.
48469         (clog10_test): Likewise.
48470         (cos_test): Likewise.
48471         (cos_test_tonearest): Likewise.
48472         (cos_test_towardzero): Likewise.
48473         (cos_test_downward): Likewise.
48474         (cos_test_upward): Likewise.
48475         (cosh_test): Likewise.
48476         (cosh_test_tonearest): Likewise.
48477         (cosh_test_towardzero): Likewise.
48478         (cosh_test_downward): Likewise.
48479         (cosh_test_upward): Likewise.
48480         (cpow_test): Likewise.
48481         (csin_test): Likewise.
48482         (csinh_test): Likewise.
48483         (csqrt_test): Likewise.
48484         (ctan_test): Likewise.
48485         (ctan_test_tonearest): Likewise.
48486         (ctan_test_towardzero): Likewise.
48487         (ctan_test_downward): Likewise.
48488         (ctan_test_upward): Likewise.
48489         (ctanh_test): Likewise.
48490         (ctanh_test_tonearest): Likewise.
48491         (ctanh_test_towardzero): Likewise.
48492         (ctanh_test_downward): Likewise.
48493         (ctanh_test_upward): Likewise.
48494         (erf_test): Likewise.
48495         (erfc_test): Likewise.
48496         (exp_test): Likewise.
48497         (exp_test_tonearest): Likewise.
48498         (exp_test_towardzero): Likewise.
48499         (exp_test_downward): Likewise.
48500         (exp_test_upward): Likewise.
48501         (exp10_test): Likewise.
48502         (exp2_test): Likewise.
48503         (expm1_test): Likewise.
48504         (fmod_test): Likewise.
48505         (gamma_test): Likewise.
48506         (hypot_test): Likewise.
48507         (j0_test): Likewise.
48508         (j1_test): Likewise.
48509         (jn_test): Likewise.
48510         (lgamma_test): Likewise.
48511         (log_test): Likewise.
48512         (log10_test): Likewise.
48513         (log1p_test): Likewise.
48514         (log2_test): Likewise.
48515         (logb_test_downward): Likewise.
48516         (pow_test): Likewise.
48517         (pow_test_tonearest): Likewise.
48518         (pow_test_towardzero): Likewise.
48519         (pow_test_downward): Likewise.
48520         (pow_test_upward): Likewise.
48521         (remainder_test): Likewise.
48522         (remquo_test): Likewise.
48523         (sin_test): Likewise.
48524         (sin_test_tonearest): Likewise.
48525         (sin_test_towardzero): Likewise.
48526         (sin_test_downward): Likewise.
48527         (sin_test_upward): Likewise.
48528         (sincos_test): Likewise.
48529         (sinh_test): Likewise.
48530         (sinh_test_tonearest): Likewise.
48531         (sinh_test_towardzero): Likewise.
48532         (sinh_test_downward): Likewise.
48533         (sinh_test_upward): Likewise.
48534         (sqrt_test): Likewise.
48535         (tan_test): Likewise.
48536         (tan_test_tonearest): Likewise.
48537         (tan_test_towardzero): Likewise.
48538         (tan_test_downward): Likewise.
48539         (tan_test_upward): Likewise.
48540         (tanh_test): Likewise.
48541         (tgamma_test): Likewise.
48542         (y0_test): Likewise.
48543         (y1_test): Likewise.
48544         (yn_test): Likewise.
48546         * math/gen-libm-test.pl (adjust_arg): Remove function.
48547         (special_function): Remove argument $in_func.  Only handle
48548         generating output for tables of tests, not inside functions.
48549         (parse_args): Likewise.
48550         (generate_testfile): Remove variable $in_func.  Update call to
48551         parse_args.
48552         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48553         (MINUS_ZERO_INIT): Rename macro to minus_zero.
48554         (PLUS_INFTY_INIT): Rename macro to plus_infty.
48555         (MINUS_INFTY_INIT): Rename macro to minus_infty.
48556         (QNAN_VALUE_INIT): Rename macro to qnan_value.
48557         (MAX_VALUE_INIT): Rename macro to max_value.
48558         (MIN_VALUE_INIT): Rename macro to min_value.
48559         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48560         (plus_zero): Remove variable.
48561         (minus_zero): Likewise.
48562         (plus_infty): Likewise.
48563         (minus_infty): Likewise.
48564         (qnan_value): Likewise.
48565         (max_value): Likewise.
48566         (min_value): Likewise.
48567         (min_subnorm_value): Likewise.
48569 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48571         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48572         uint64_t or uint32_t usage.
48573         * crypt/sha256-block.c: Likewise.
48574         * crypt/sha256-crypt.c: Likewise.
48575         * crypt/sha256.c: Likewise.
48576         * crypt/sha512-block.c: Likewise.
48577         * crypt/sha512-crypt.c: Likewise.
48578         * crypt/sha512.c: Likewise.
48579         * debug/backtrace-tst.c: Likewise.
48580         * debug/pcprofiledump.c: Likewise.
48581         * elf/cache.c: Likewise.
48582         * elf/dl-cache.c: Likewise.
48583         * elf/dl-misc.c: Likewise.
48584         * elf/dl-profile.c: Likewise.
48585         * elf/dl-support.c: Likewise.
48586         * elf/ldconfig.c: Likewise.
48587         * elf/sprof.c: Likewise.
48588         * iconv/dummy-repertoire.c: Likewise.
48589         * iconv/iconv_charmap.c: Likewise.
48590         * iconv/skeleton.c: Likewise.
48591         * iconvdata/8bit-generic.c: Likewise.
48592         * iconvdata/cp737.h: Likewise.
48593         * iconvdata/cp775.h: Likewise.
48594         * iconvdata/ibm1008.h: Likewise.
48595         * iconvdata/ibm1025.h: Likewise.
48596         * iconvdata/ibm1046.h: Likewise.
48597         * iconvdata/ibm1097.h: Likewise.
48598         * iconvdata/ibm1112.h: Likewise.
48599         * iconvdata/ibm1122.h: Likewise.
48600         * iconvdata/ibm1123.h: Likewise.
48601         * iconvdata/ibm1124.h: Likewise.
48602         * iconvdata/ibm1129.h: Likewise.
48603         * iconvdata/ibm1130.h: Likewise.
48604         * iconvdata/ibm1132.h: Likewise.
48605         * iconvdata/ibm1133.h: Likewise.
48606         * iconvdata/ibm1137.h: Likewise.
48607         * iconvdata/ibm1140.h: Likewise.
48608         * iconvdata/ibm1141.h: Likewise.
48609         * iconvdata/ibm1142.h: Likewise.
48610         * iconvdata/ibm1143.h: Likewise.
48611         * iconvdata/ibm1144.h: Likewise.
48612         * iconvdata/ibm1145.h: Likewise.
48613         * iconvdata/ibm1146.h: Likewise.
48614         * iconvdata/ibm1147.h: Likewise.
48615         * iconvdata/ibm1148.h: Likewise.
48616         * iconvdata/ibm1149.h: Likewise.
48617         * iconvdata/ibm1153.h: Likewise.
48618         * iconvdata/ibm1154.h: Likewise.
48619         * iconvdata/ibm1155.h: Likewise.
48620         * iconvdata/ibm1156.h: Likewise.
48621         * iconvdata/ibm1157.h: Likewise.
48622         * iconvdata/ibm1158.h: Likewise.
48623         * iconvdata/ibm1160.h: Likewise.
48624         * iconvdata/ibm1161.h: Likewise.
48625         * iconvdata/ibm1162.h: Likewise.
48626         * iconvdata/ibm1163.h: Likewise.
48627         * iconvdata/ibm1164.h: Likewise.
48628         * iconvdata/ibm1166.h: Likewise.
48629         * iconvdata/ibm1167.h: Likewise.
48630         * iconvdata/ibm12712.h: Likewise.
48631         * iconvdata/ibm1390.h: Likewise.
48632         * iconvdata/ibm1399.h: Likewise.
48633         * iconvdata/ibm16804.h: Likewise.
48634         * iconvdata/ibm4517.h: Likewise.
48635         * iconvdata/ibm4899.h: Likewise.
48636         * iconvdata/ibm4909.h: Likewise.
48637         * iconvdata/ibm4971.h: Likewise.
48638         * iconvdata/ibm5347.h: Likewise.
48639         * iconvdata/ibm803.h: Likewise.
48640         * iconvdata/ibm856.h: Likewise.
48641         * iconvdata/ibm901.h: Likewise.
48642         * iconvdata/ibm902.h: Likewise.
48643         * iconvdata/ibm9030.h: Likewise.
48644         * iconvdata/ibm9066.h: Likewise.
48645         * iconvdata/ibm921.h: Likewise.
48646         * iconvdata/ibm922.h: Likewise.
48647         * iconvdata/ibm9448.h: Likewise.
48648         * iconvdata/isiri-3342.h: Likewise.
48649         * iconvdata/jis0201.h: Likewise.
48650         * include/link.h: Likewise.
48651         * include/netdb.h: Likewise.
48652         * inet/check_native.c: Likewise.
48653         * inet/check_pf.c: Likewise.
48654         * inet/getipv4sourcefilter.c: Likewise.
48655         * inet/getnameinfo.c: Likewise.
48656         * inet/getsourcefilter.c: Likewise.
48657         * inet/htonl.c: Likewise.
48658         * inet/setipv4sourcefilter.c: Likewise.
48659         * inet/setsourcefilter.c: Likewise.
48660         * inet/test-inet6_opt.c: Likewise.
48661         * inet/tst-network.c: Likewise.
48662         * locale/C-collate.c: Likewise.
48663         * locale/C-ctype.c: Likewise.
48664         * locale/C-time.c: Likewise.
48665         * locale/C-translit.h: Likewise.
48666         * locale/loadarchive.c: Likewise.
48667         * locale/programs/3level.h: Likewise.
48668         * locale/programs/charmap.c: Likewise.
48669         * locale/programs/charmap.h: Likewise.
48670         * locale/programs/ld-address.c: Likewise.
48671         * locale/programs/ld-collate.c: Likewise.
48672         * locale/programs/ld-ctype.c: Likewise.
48673         * locale/programs/ld-identification.c: Likewise.
48674         * locale/programs/ld-measurement.c: Likewise.
48675         * locale/programs/ld-messages.c: Likewise.
48676         * locale/programs/ld-monetary.c: Likewise.
48677         * locale/programs/ld-name.c: Likewise.
48678         * locale/programs/ld-numeric.c: Likewise.
48679         * locale/programs/ld-paper.c: Likewise.
48680         * locale/programs/ld-telephone.c: Likewise.
48681         * locale/programs/ld-time.c: Likewise.
48682         * locale/programs/linereader.c: Likewise.
48683         * locale/programs/locale.c: Likewise.
48684         * locale/programs/locarchive.c: Likewise.
48685         * locale/programs/locfile.h: Likewise.
48686         * locale/programs/repertoire.c: Likewise.
48687         * locale/programs/simple-hash.c: Likewise.
48688         * locale/programs/simple-hash.h: Likewise.
48689         * malloc/memusage.c: Likewise.
48690         * malloc/memusagestat.c: Likewise.
48691         * nis/nis_defaults.c: Likewise.
48692         * nis/nis_hash.c: Likewise.
48693         * nis/nis_print.c: Likewise.
48694         * nis/nis_xdr.c: Likewise.
48695         * nscd/connections.c: Likewise.
48696         * nscd/hstcache.c: Likewise.
48697         * nscd/nscd_gethst_r.c: Likewise.
48698         * nscd/nscd_getserv_r.c: Likewise.
48699         * nscd/nscd_helper.c: Likewise.
48700         * nscd/servicescache.c: Likewise.
48701         * nss/makedb.c: Likewise.
48702         * nss/nss_db/db-XXX.c: Likewise.
48703         * nss/nss_db/db-initgroups.c: Likewise.
48704         * nss/nss_db/db-netgrp.c: Likewise.
48705         * nss/nss_files/files-network.c: Likewise.
48706         * nss/nss_files/files-parse.c: Likewise.
48707         * posix/bug-regex5.c: Likewise.
48708         * posix/fnmatch_loop.c: Likewise.
48709         * posix/regcomp.c: Likewise.
48710         * posix/regexec.c: Likewise.
48711         * posix/tst-rfc3484-2.c: Likewise.
48712         * posix/tst-rfc3484-3.c: Likewise.
48713         * posix/tst-rfc3484.c: Likewise.
48714         * resolv/nss_dns/dns-canon.c: Likewise.
48715         * resolv/nss_dns/dns-network.c: Likewise.
48716         * resolv/res_init.c: Likewise.
48717         * resolv/res_mkquery.c: Likewise.
48718         * resolv/tst-aton.c: Likewise.
48719         * stdlib/cxa_atexit.c: Likewise.
48720         * stdlib/cxa_finalize.c: Likewise.
48721         * stdlib/gen-fpioconst.c: Likewise.
48722         * stdlib/strtol_l.c: Likewise.
48723         * string/tst-endian.c: Likewise.
48724         * sunrpc/auth_des.c: Likewise.
48725         * sunrpc/clnt_udp.c: Likewise.
48726         * sunrpc/rtime.c: Likewise.
48727         * sunrpc/svcauth_des.c: Likewise.
48728         * sunrpc/xdr.c: Likewise.
48729         * sunrpc/xdr_intXX_t.c: Likewise.
48730         * sunrpc/xdr_rec.c: Likewise.
48731         * sysdeps/generic/ldconfig.h: Likewise.
48732         * sysdeps/generic/ldsodefs.h: Likewise.
48733         * sysdeps/generic/memusage.h: Likewise.
48734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48735         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48736         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48738         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48740         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48741         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48743         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48744         * sysdeps/posix/getaddrinfo.c: Likewise.
48745         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48746         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48747         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48748         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48749         * sysdeps/powerpc/test-gettimebase.c: Likewise.
48750         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48751         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48752         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48753         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48754         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48755         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48757         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48758         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48759         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48760         * sysdeps/x86_64/dl-tls.h: Likewise.
48761         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48762         * time/alt_digit.c: Likewise.
48763         * time/era.c: Likewise.
48764         * wcsmbs/tst-c16c32-1.c: Likewise.
48766 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48768         * math/libm-test.inc (struct test_sincos_data): New type.
48769         (RUN_TEST_LOOP_sincos): New macro.
48770         (sincos_test_data): New variable.
48771         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48773 2013-05-16  Richard Henderson  <rth@redhat.com>
48775         * math/atest-exp2.c (LIMB64): New macro.
48776         (CONSTSZ): New macro.
48777         (mp_exp1, mp_exp_m1, mp_log2): New variables.
48778         (hexdig): Move ...
48779         (print_mpn_fp): ... to function scope.
48780         (read_mpn_hex): Remove.
48781         (get_log2): Remove.
48782         (exp2_mpn): Use mp_log2.
48783         (main): Use mp_exp1.
48785 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
48787         * math/libm-test.inc: Remove comment about not testing "inexact"
48788         exceptions.
48789         (INEXACT_EXCEPTION): New macro.
48790         (NO_INEXACT_EXCEPTION): Likewise.
48791         (INVALID_EXCEPTION_OK): Update value.
48792         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48793         (OVERFLOW_EXCEPTION_OK): Likewise.
48794         (UNDERFLOW_EXCEPTION_OK): Likewise.
48795         (IGNORE_ZERO_INF_SIGN): Likewise.
48796         (ERRNO_UNCHANGED): Likewise.
48797         (ERRNO_EDOM): Likewise.
48798         (ERRNO_ERANGE): Likewise.
48799         (test_exceptions): Handle testing "inexact" exceptions.
48800         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48801         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48802         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48803         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48804         INEXACT_EXCEPTION.
48805         (rint_towardzero_test_data): Likewise.
48806         (rint_downward_test_data): Likewise.
48807         (rint_upward_test_data): Likewise.
48809         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48810         with OVERFLOW_EXCEPTION.
48811         (exp10_test_data): Likewise.
48812         (exp2_test_data): Likewise.
48813         (expm1_test_data): Likewise.
48814         (lgamma_test_data): Likewise.
48815         (pow_test_data): Likewise.
48816         (tgamma_test_data): Likewise.
48817         (yn_test_data): Remove duplicate test of overflow.
48819         * math/libm-test.inc (struct test_cc_c_data): New type.
48820         (RUN_TEST_LOOP_cc_c): New macro.
48821         (cpow_test_data): New variable.
48822         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48824         * math/libm-test.inc (struct test_f_L_data): New type.
48825         (RUN_TEST_LOOP_f_L): New macro.
48826         (llrint_test_data): New variable.
48827         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48828         (llrint_tonearest_test_data): New variable.
48829         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48830         (llrint_towardzero_test_data): New variable.
48831         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48832         (llrint_downward_test_data): New variable.
48833         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48834         (llrint_upward_test_data): New variable.
48835         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48836         (llround_test_data): New variable.
48837         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48839 2013-05-13  Peter Collingbourne  <pcc@google.com>
48841         * math/atest-exp2.c (get_log2): Remove const attribute.
48843 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48845         * math/libm-test.inc (struct test_f_l_data): New type.
48846         (RUN_TEST_LOOP_f_l): New macro.
48847         (lrint_test_data): New variable.
48848         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
48849         (lrint_tonearest_test_data): New variable.
48850         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
48851         (lrint_towardzero_test_data): New variable.
48852         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
48853         (lrint_downward_test_data): New variable.
48854         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
48855         (lrint_upward_test_data): New variable.
48856         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
48857         (lround_test_data): New variable.
48858         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
48860 2013-05-15  Peter Collingbourne  <pcc@google.com>
48862         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
48863         (EXTRACT_WORDS64) Use where appropriate.
48864         (INSERT_WORDS64) Likewise.
48866         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
48867         constraints with x constraints.
48868         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
48870         * malloc/obstack.c (_obstack_compat): Add initializer.
48872 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
48875         si_trapno and add si_addr_lsb to _sifields.sigfault.
48876         (si_trapno): Remove macro.
48877         (si_addr_lsb): Define new macro.
48878         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48880 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
48882         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
48883         instead of TEST_f_l.
48884         (llrint_test_tonearest): Likewise.
48885         (llrint_test_towardzero): Likewise.
48886         (llrint_test_downward): Likewise.
48887         (llrint_test_upward): Likewise.
48888         (llround_test): Likewise.
48890         * math/libm-test.inc (struct test_f_i_data): Add comment.
48891         (RUN_TEST_LOOP_f_b): New macro.
48892         (RUN_TEST_LOOP_f_b_tg): Likewise.
48893         (finite_test_data): New variable.
48894         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
48895         (isfinite_test_data): New variable.
48896         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48897         (isinf_test_data): New variable.
48898         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48899         (isnan_test_data): New variable.
48900         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48901         (isnormal_test_data): New variable.
48902         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48903         (issignaling_test_data): New variable.
48904         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48905         (signbit_test_data): New variable.
48906         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
48908         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
48909         with INVALID_EXCEPTION.
48910         (acosh_test_data): Likewise.
48911         (asin_test_data): Likewise.
48912         (atanh_test_data): Likewise.
48913         (fmod_test_data): Likewise.
48914         (log_test_data): Likewise.
48915         (log10_test_data): Likewise.
48916         (log2_test_data): Likewise.
48917         (pow_test_data): Likewise.
48918         (sqrt_test_data): Likewise.
48919         (y0_test_data): Likewise.
48920         (y1_test_data): Likewise.
48921         (yn_test_data): Likewise.
48923         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
48924         function contents.
48926         * math/libm-test.inc (struct test_ff_i_data): New type.
48927         (RUN_TEST_LOOP_ff_i_tg): New macro.
48928         (isgreater_test_data): New variable.
48929         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48930         (isgreaterequal_test_data): New variable.
48931         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48932         (isless_test_data): New variable.
48933         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48934         (islessequal_test_data): New variable.
48935         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48936         (islessgreater_test_data): New variable.
48937         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48938         (isunordered_test_data): New variable.
48939         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
48941 2013-05-14  David S. Miller  <davem@davemloft.net>
48943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48945 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
48947         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
48949         * math/libm-test.inc (struct test_fF_f1_data): Change type of
48950         extra_test to int.
48951         (struct test_f_i_data): Change type of max_ulp to int.
48953         * math/libm-test.inc (test_ffI_f1_data): New type.
48954         (RUN_TEST_LOOP_ffI_f1): New macro.
48955         (remquo_test_data): New variable.
48956         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
48958         * setjmp/tst-setjmp-fp.c: New file.
48959         * setjmp/Makefile (tests): Add tst-setjmp-fp.
48960         (link-libm): New variable.
48961         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
48963         * math/libm-test.inc (struct test_f_i_data): New type.
48964         (RUN_TEST_LOOP_f_i): New macro.
48965         (RUN_TEST_LOOP_f_i_tg): Likewise.
48966         (fpclassify_test_data): New variable.
48967         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
48968         (ilogb_test_data): New variable.
48969         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48971         * math/libm-test.inc (scalbln_test): Correct function name in END
48972         call.
48974         * math/libm-test.inc (struct test_f_f1_data): Add comment.
48975         (RUN_TEST_LOOP_fI_f1): New macro.
48976         (frexp_test_data): New variable.
48977         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
48979         * math/libm-test.inc (struct test_fF_f1_data): New type.
48980         (RUN_TEST_LOOP_fF_f1): New macro.
48981         (modf_test_data): New variable.
48982         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
48984         * math/libm-test.inc (struct test_f_f1_data): New type.
48985         (RUN_TEST_LOOP_f_f1): New macro.
48986         (gamma_test_data): New variable.
48987         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48988         (lgamma_test_data): New variable.
48989         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
48991 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
48993         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
48994         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
48995         (main): Comment "tls" pseudo-hwcap.
48997 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
48999         * math/libm-test.inc (struct test_fl_f_data): New type.
49000         (RUN_TEST_LOOP_fl_f): New variable.
49001         (scalbln_test_data): New variable.
49002         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49004         * math/libm-test.inc (struct test_fi_f_data): New type.
49005         (RUN_TEST_LOOP_fi_f): New macro.
49006         (ldexp_test_data): New variable.
49007         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49008         (scalbn_test_data): New variable.
49009         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49011         * math/libm-test.inc (struct test_c_f_data): New type.
49012         (RUN_TEST_LOOP_c_f): New macro.
49013         (cabs_test_data): New variable.
49014         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49015         (carg_test_data): New variable.
49016         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49017         (cimag_test_data): New variable.
49018         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49019         (creal_test_data): New variable.
49020         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49022         * math/libm-test.inc (struct test_if_f_data): New type.
49023         (RUN_TEST_LOOP_if_f): New macro.
49024         (jn_test_data): New variable.
49025         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49026         (yn_test_data): New variable.
49027         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49029         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49031 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49033         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49034         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49036 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49038         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49039         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49040         (bench-deps): Add bench-timing.h.
49041         * benchtests-bench-skeleton.c: Include bench-timing.h.
49042         (main): Use TIMING_* macros instead of clock_gettime.
49043         * benchtests/bench-timing.h: New file.
49045         [BZ #14582]
49046         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49047         Renamed from _LIB_VERSION.
49048         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49050 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49052         * math/libm-test.inc (struct test_fff_f_data): New type.
49053         (RUN_TEST_LOOP_fff_f): New macro.
49054         (fma_test_data): New variable.
49055         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49056         (fma_towardzero_test_data): New variable.
49057         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49058         (fma_downward_test_data): New variable.
49059         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49060         (fma_upward_test_data): New variable.
49061         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49063         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49064         (struct test_c_c_data): New type.
49065         (RUN_TEST_LOOP_c_c): New macro.
49066         (cacos_test_data): New variable.
49067         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49068         (cacosh_test_data): New variable.
49069         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49070         (casin_test_data): New variable.
49071         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49072         (casinh_test_data): New variable.
49073         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49074         (catan_test_data): New variable.
49075         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49076         (catanh_test_data): New variable.
49077         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49078         (ccos_test_data): New variable.
49079         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49080         (ccosh_test_data): New variable.
49081         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49082         (cexp_test_data): New variable.
49083         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49084         (clog_test_data): New variable.
49085         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49086         (clog10_test_data): New variable.
49087         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49088         (conj_test_data): New variable.
49089         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49090         (cproj_test_data): New variable.
49091         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49092         (csin_test_data): New variable.
49093         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49094         (csinh_test_data): New variable.
49095         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49096         (csqrt_test_data): New variable.
49097         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49098         (ctan_test_data): New variable.
49099         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49100         (ctan_tonearest_test_data): New variable.
49101         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49102         (ctan_towardzero_test_data): New variable.
49103         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49104         (ctan_downward_test_data): New variable.
49105         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49106         (ctan_upward_test_data): New variable.
49107         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49108         (ctanh_test_data): New variable.
49109         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49110         (ctanh_tonearest_test_data): New variable.
49111         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49112         (ctanh_towardzero_test_data): New variable.
49113         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49114         (ctanh_downward_test_data): New variable.
49115         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49116         (ctanh_upward_test_data): New variable.
49117         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49118         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49119         of BUILD_COMPLEX.
49121         * math/libm-test.inc (struct test_ff_f_data): New type.
49122         (struct test_ff_f_data_nexttoward): Likewise.
49123         (RUN_TEST_LOOP_2_f): New macro.
49124         (RUN_TEST_LOOP_ff_f): Likewise.
49125         (atan2_test_data): New variable.
49126         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49127         (copysign_test_data): New variable.
49128         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49129         (fdim_test_data): New variable.
49130         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49131         (fmax_test_data): New variable.
49132         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49133         (fmin_test_data): New variable.
49134         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49135         (fmod_test_data): New variable.
49136         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49137         (hypot_test_data): New variable.
49138         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49139         (nextafter_test_data): New variable.
49140         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49141         (nexttoward_test_data): New variable.
49142         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49143         (pow_test_data): New variable.
49144         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49145         (pow_tonearest_test_data): New variable.
49146         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49147         (pow_towardzero_test_data): New variable.
49148         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49149         (pow_downward_test_data): New variable.
49150         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49151         (pow_upward_test_data): New variable.
49152         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49153         (remainder_test_data): New variable.
49154         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49155         (scalb_test_data): New variable.
49156         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49157         * sysdeps/i386/fpu/libm-test-ulps: Update.
49159 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49161         * math/libm-test.inc (fma_test): Use max_value instead of local
49162         variable fltmax.
49163         (nextafter_test): Likewise.
49165         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49166         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49167         (acos_downward_test_data): New variable.
49168         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49169         (acos_upward_test_data): New variable.
49170         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49171         (acosh_test_data): New variable.
49172         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49173         (asin_test_data): New variable.
49174         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49175         (asin_tonearest_test_data): New variable.
49176         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49177         (asin_towardzero_test_data): New variable.
49178         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49179         (asin_downward_test_data): New variable.
49180         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49181         (asin_upward_test_data): New variable.
49182         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49183         (asinh_test_data): New variable.
49184         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49185         (atan_test_data): New variable.
49186         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49187         (atanh_test_data): New variable.
49188         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49189         (cbrt_test_data): New variable.
49190         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49191         (ceil_test_data): New variable.
49192         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49193         (cos_test_data): New variable.
49194         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49195         (cos_tonearest_test_data): New variable.
49196         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49197         (cos_towardzero_test_data): New variable.
49198         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49199         (cos_downward_test_data): New variable.
49200         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49201         (cos_upward_test_data): New variable.
49202         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49203         (cosh_test_data): New variable.
49204         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49205         (cosh_tonearest_test_data): New variable.
49206         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49207         (cosh_towardzero_test_data): New variable.
49208         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49209         (cosh_downward_test_data): New variable.
49210         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49211         (cosh_upward_test_data): New variable.
49212         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49213         (erf_test_data): New variable.
49214         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49215         (erfc_test_data): New variable.
49216         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49217         (exp_test_data): New variable.
49218         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49219         (exp_tonearest_test_data): New variable.
49220         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49221         (exp_towardzero_test_data): New variable.
49222         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49223         (exp_downward_test_data): New variable.
49224         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49225         (exp_upward_test_data): New variable.
49226         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49227         (exp10_test_data): New variable.
49228         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49229         (exp2_test_data): New variable.
49230         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49231         (expm1_test_data): New variable.
49232         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49233         (fabs_test_data): New variable.
49234         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49235         (floor_test_data): New variable.
49236         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49237         (j0_test_data): New variable.
49238         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49239         (j1_test_data): New variable.
49240         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49241         (log_test_data): New variable.
49242         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49243         (log10_test_data): New variable.
49244         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49245         (log1p_test_data): New variable.
49246         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49247         (log2_test_data): New variable.
49248         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49249         (logb_test_data): New variable.
49250         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49251         (logb_downward_test_data): New variable.
49252         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49253         (nearbyint_test_data): New variable.
49254         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49255         (rint_test_data): New variable.
49256         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49257         (rint_tonearest_test_data): New variable.
49258         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49259         (rint_towardzero_test_data): New variable.
49260         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49261         (rint_downward_test_data): New variable.
49262         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49263         (rint_upward_test_data): New variable.
49264         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49265         (round_test_data): New variable.
49266         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49267         (sin_test_data): New variable.
49268         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49269         (sin_tonearest_test_data): New variable.
49270         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49271         (sin_towardzero_test_data): New variable.
49272         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49273         (sin_downward_test_data): New variable.
49274         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49275         (sin_upward_test_data): New variable.
49276         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49277         (sinh_test_data): New variable.
49278         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49279         (sinh_tonearest_test_data): New variable.
49280         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49281         (sinh_towardzero_test_data): New variable.
49282         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49283         (sinh_downward_test_data): New variable.
49284         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49285         (sinh_upward_test_data): New variable.
49286         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49287         (sqrt_test_data): New variable.
49288         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49289         (tan_test_data): New variable.
49290         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49291         (tan_tonearest_test_data): New variable.
49292         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49293         (tan_towardzero_test_data): New variable.
49294         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49295         (tan_downward_test_data): New variable.
49296         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49297         (tan_upward_test_data): New variable.
49298         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49299         (tanh_test_data): New variable.
49300         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49301         (tgamma_test_data): New variable.
49302         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49303         (trunc_test_data): New variable.
49304         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49305         (y0_test_data): New variable.
49306         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49307         (y1_test_data): New variable.
49308         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49309         (significand_test_data): New variable.
49310         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49312 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
49314         [BZ #12387]
49315         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49317 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
49319         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49321 2013-05-10  Andreas Jaeger  <aj@suse.de>
49323         [BZ #15448]
49324         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49325         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49327 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49329         * math/gen-libm-test.pl (adjust_arg): New function.
49330         (special_functions): Handle generating output in both functions
49331         and arrays.
49332         (parse_args): Likewise.
49333         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
49334         $in_func argument to parse_args.
49335         * math/libm-test.inc (struct test_f_f_data): New type.
49336         (IF_ROUND_INIT_): New macro.
49337         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49338         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49339         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49340         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49341         (ROUND_RESTORE_): Likewise.
49342         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49343         (ROUND_RESTORE_FE_TONEAREST): Likewise.
49344         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49345         (ROUND_RESTORE_FE_UPWARD): Likewise.
49346         (RUN_TEST_LOOP_f_f): New macro.
49347         (acos_test_data): New variable.
49348         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49349         (acos_tonearest_test_data): New variable.
49350         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49352 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * benchtests/bench-skeleton.c (startup): Fix coding style.
49356 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
49358         [BZ #6809]
49359         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49360         negative infinity argument.
49361         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49362         negative infinity argument.
49363         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49364         negative infinity argument.
49365         * math/libm-test.inc (tgamma_test): Expect errno to be set for
49366         domain errors.
49368 2013-05-10  Florian Weimer  <fweimer@redhat.com>
49370         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49371         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49372         * iconv/iconv_prog.c (main): Likewise.
49373         * locale/programs/charmap-dir.c (charmap_readdir)
49374         (fopen_uncompressed): Likewise.
49375         * locale/programs/locfile.c (siblings_uncached)
49376         (write_locale_data): Use lstat64 instead of lstat.
49377         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49378         stat.
49380 2013-05-10  Andreas Jaeger  <aj@suse.de>
49382         [BZ #15395]
49383         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49384         localization.
49385         Include <locale.h>.
49387 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
49389         * elf/dl-close.c (_dl_close_worker): Add comments.
49391 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
49393         [BZ #15359]
49394         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49395         high part of pi/2.
49396         (__ieee754_rem_pio2l): Update comments.
49398         [BZ #15429]
49399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49400         high part of pi/2.
49401         (__ieee754_rem_pio2l): Update comments.
49403         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49404         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49406         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49407         M_PI_4l.
49409         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49410         (M_PI_34_LOG10El): Likewise.
49411         (M_PI2_LOG10El): Likewise.
49412         (M_PI4_LOG10El): Likewise.
49413         (M_PI_LOG10El): Likewise.
49415 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49419 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
49421         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49422         (MINUS_ZERO_INIT): Likewise.
49423         (PLUS_INFTY_INIT): Likewise.
49424         (MINUS_INFTY_INIT): Likewise.
49425         (QNAN_VALUE_INIT): Likewise.
49426         (MAX_VALUE_INIT): Likewise.
49427         (MIN_VALUE_INIT): Likewise.
49428         (MIN_SUBNORM_VALUE_INIT): Likewise.
49429         (plus_zero): Initialize with PLUS_ZERO_INIT.
49430         (minus_zero): Initialize with MINUS_ZERO_INIT.
49431         (plus_infty): Initialize with PLUS_INFTY_INIT.
49432         (minus_infty): Initialize with MINUS_INFTY_INIT.
49433         (qnan_value): Initialize with QNAN_VALUE_INIT.
49434         (max_value): Initialize with MAX_VALUE_INIT.
49435         (min_value): Initialize with MIN_VALUE_INIT.
49436         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49438         * math/libm-test.inc (RUN_TEST_if_f): New macro.
49439         (jn_test): Use TEST_if_f instead of TEST_ff_f.
49440         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49441         (yn_test): Use TEST_if_f instead of TEST_ff_f.
49443         * math/libm-test.inc (RUN_TEST_f_f): New macro.
49444         (RUN_TEST_2_f): Likewise.
49445         (RUN_TEST_ff_f): Likewise.
49446         (RUN_TEST_fi_f): Likewise.
49447         (RUN_TEST_fl_f): Likewise.
49448         (RUN_TEST_fff_f): Likewise.
49449         (RUN_TEST_c_f): Likewise.
49450         (RUN_TEST_f_f1): Likewise.
49451         (RUN_TEST_fF_f1): Likewise.
49452         (RUN_TEST_fI_f1): Likewise.
49453         (RUN_TEST_ffI_f1): Likewise.
49454         (RUN_TEST_c_c): Likewise.
49455         (RUN_TEST_cc_c): Likewise.
49456         (RUN_TEST_f_i): Likewise.
49457         (RUN_TEST_f_i_tg): Likewise.
49458         (RUN_TEST_ff_i_tg): Likewise.
49459         (RUN_TEST_f_b): Likewise.
49460         (RUN_TEST_f_b_tg): Likewise.
49461         (RUN_TEST_f_l): Likewise.
49462         (RUN_TEST_f_L): Likewise.
49463         (RUN_TEST_sincos): Likewise.
49464         * math/gen-libm-test.pl (new_test): Take new argument to indicate
49465         whether to show exceptions.  Do not include ");\n" in return
49466         value.
49467         (special_functions): Output call to RUN_TEST_sincos instead of
49468         check_float calls.  Update calls to new_test.
49469         (parse_args): Output call to single RUN_TEST_* macro instead of
49470         check_* calls and other assignments.  Update calls to new_test.
49472         [BZ #2546]
49473         [BZ #2560]
49474         [BZ #5159]
49475         [BZ #15426]
49476         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49477         input to result for tgamma overflow.
49478         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49479         (gamma_coeff): New variable.
49480         (NCOEFF): New macro.
49481         (gamma_positive): New function.
49482         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49483         underflow here.  Use gamma_positive instead of exp (lgamma) for
49484         other arguments.
49485         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49486         (gamma_coeff): New variable.
49487         (NCOEFF): New macro.
49488         (gammaf_positive): New function.
49489         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49490         underflow here.  Use gamma_positive instead of exp (lgamma) for
49491         other arguments.
49492         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49493         (gamma_coeff): New variable.
49494         (NCOEFF): New macro.
49495         (gammal_positive): New function.
49496         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49497         underflow here.  Use gamma_positive instead of exp (lgamma) for
49498         other arguments.
49499         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49500         (gamma_coeff): New variable.
49501         (NCOEFF): New macro.
49502         (gammal_positive): New function.
49503         (__ieee754_gammal_r): Handle positive infinity, overflow and
49504         underflow here.  Handle NaN the same as positive infinity.  Remove
49505         check x < 0xffffffff for negative integers.  Use gamma_positive
49506         instead of exp (lgamma) for other arguments.
49507         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49508         (gamma_coeff): New variable.
49509         (NCOEFF): New macro.
49510         (gammal_positive): New function.
49511         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49512         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49513         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49514         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49515         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49516         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49517         * sysdeps/generic/math_private.h (__gamma_productf): New
49518         prototype.
49519         (__gamma_product): Likewise.
49520         (__gamma_productl): Likewise.
49521         * math/Makefile (libm-calls): Add gamma_product.
49522         * math/libm-test.inc (tgamma_test): Add more tests.
49523         * sysdeps/i386/fpu/libm-test-ulps: Update.
49524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49526 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
49528         * benchtests/bench-skeleton.c (main): Preheat CPU.
49530 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
49532         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49534 2013-05-07  Roland McGrath  <roland@hack.frob.com>
49536         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49537         and _dl_skip_args_internal.
49539 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
49541         * manual/message.texi (Message Translation): Talk about users.
49542         Message to key mapping impacts design.
49544 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49546         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49548         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49550         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49551         * sysdeps/wordsize-64/glob64.c: ... here.
49553         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49554         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49555         New macros.
49557         * debug/getlogin_r_chk.c: Moved to ...
49558         * login/getlogin_r_chk.c: ... here.
49559         * debug/Makefile (routines): Move getlogin_r_chk to ...
49560         * login/Makefile (routines): ... here.
49561         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49562         * login/Versions (libc: GLIBC_2.4): ... here.
49564         * io/poll.c (__poll): Renamed from poll.
49565         Add libc_hidden_def.
49566         (poll): Define as weak alias.
49568         * debug/ptsname_r_chk.c: Moved to ...
49569         * login/ptsname_r_chk.c: ... here.
49570         * debug/Makefile (routines): Move ptsname_r_chk to ...
49571         * login/Makefile (routines): ... here.
49572         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49573         * login/Versions (libc: GLIBC_2.4): ... here.
49575         * posix/getlogin.c: Moved to ...
49576         * login/getlogin.c: ... here.
49577         * posix/getlogin_r.c: Moved to ...
49578         * login/getlogin_r.c: ... here.
49579         * posix/getlogin_r.c: Moved to ...
49580         * login/getlogin_r.c: ... here.
49581         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49582         * login/Makefile (routines): ... here.
49583         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49584         * login/Versions (libc: GLIBC_2.0): ... here.
49586         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49587         (setrlimit): Define as weak alias.
49589         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49590         Call __ names for open, ftruncate, and close.
49591         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49592         (truncate): Define as weak alias.
49594 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
49596         * math/gen-libm-test.pl (parse_args): Initialize x before each
49597         test of frexp, modf and remquo.
49599         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49600         test signgam value.
49602 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49604         [BZ #15418]
49605         [BZ #15419]
49606         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49607         internal tests.
49608         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49610 2013-05-06  Roland McGrath  <roland@hack.frob.com>
49612         * elf/dl-writev.h: New file.
49613         * elf/dl-misc.c: Include it.
49614         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49615         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49617 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
49619         * math/libm-test.inc (noXFails): Remove variable.
49620         (noXPasses): Likewise.
49621         (BUILD_COMPLEX_INT): Remove macro.
49622         (print_screen): Remove xfail argument.
49623         (print_screen_max_error): Likewise.
49624         (update_stats): Likewise.
49625         (print_max_error): Likewise.  Update calls to other affected
49626         functions.
49627         (print_complex_max_error): Likewise.
49628         (test_single_exception): Update calls to print_screen.
49629         (test_single_errno): Likewise.
49630         (check_float_internal): Remove xfail argument.  Update calls to
49631         other affected functions.
49632         (check_float): Likewise.
49633         (check_complex): Likewise.
49634         (check_int): Likewise.
49635         (check_long): Likewise.
49636         (check_bool): Likewise.
49637         (check_longlong): Likewise.
49638         (main): Don't print noXFails and noXPasses.
49639         * math/gen-libm-test.pl (top level): Don't mention expected
49640         failure handling in comment.
49641         (new_test): Don't handle expected failures.
49642         (parse_args): Don't mention expected failure handling in comment.
49643         (generate_testfile): Don't handle expected failures.
49644         (parse_ulps): Likewise.
49645         (print_ulps_file): Likewise.
49646         (get_failure): Remove function.
49647         (output_test): Don't handle expected failures.
49648         * make/README.libm-test: Don't mention expected failure handling.
49650         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
49651         (minus_zero): Likewise.
49652         (plus_infty): Likewise.
49653         (minus_infty): Likewise.
49654         (qnan_value): Likewise.
49655         (max_value): Likewise.
49656         (min_value): Likewise.
49657         (min_subnorm_value): Likewise.
49658         (initialize): Do not initialize those variables dynamically.
49660 2013-05-03  Roland McGrath  <roland@hack.frob.com>
49662         * io/open.c (__open_2): Moved to ...
49663         * io/open_2.c: ... this new file.
49664         * io/open64.c (__open64_2): Moved to ...
49665         * io/open64_2.c: ... this new file.
49666         * io/openat.c (__openat_2): Moved to ...
49667         * io/openat_2.c: ... this new file.
49668         * io/openat64.c (__openat64_2): Moved to ...
49669         * io/openat64_2.c: ... this new file.
49670         * io/Makefile (routines): Add them.
49671         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49672         * sysdeps/unix/sysv/linux/open_2.c: File removed.
49673         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49674         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49675         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49676         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49677         (__openat64): Add hidden_ver.
49678         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49679         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49681         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49682         Separately conditionalize setting of GLRO(dl_sysinfo) so
49683         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49684         as well, but the actual setting is only under [NEED_DL_SYSINFO].
49686 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49688         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49689         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49690         definition.
49691         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49692         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49693         (_libc_vdso_platform_setup): Add __vdso_time initialization.
49694         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49695         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49697 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
49699         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49700         test signgam value.
49702         * math/libm-test.inc (hypot_test): Do not use
49703         IGNORE_ZERO_INF_SIGN.
49705 2013-05-03  Andreas Jaeger  <aj@suse.de>
49707         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49708         Linux 3.9.
49709         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49710         (PF_MAX): Adjust for VSOCK change.
49712 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49716 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
49718         [BZ #15264]
49719         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49720         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49721         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49723 2013-05-02  David S. Miller  <davem@davemloft.net>
49725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49727 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
49729         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49731 2013-05-01  Roland McGrath  <roland@hack.frob.com>
49733         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49735 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
49737         [BZ #14952]
49738         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49739         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49740         Use __attribute__ ((__gnu_inline__)).
49741         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49742         Don't use __attribute__ ((__gnu_inline__)).
49744 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
49746         [BZ #15423]
49747         * math/s_catan.c (__catan): Handle small real or imaginary part of
49748         input specially to avoid spurious underflow.
49749         * math/s_catanf.c (__catanf): Likewise.
49750         * math/s_catanh.c (__catanh): Likewise.
49751         * math/s_catanhf.c (__catanhf): Likewise.
49752         * math/s_catanhl.c (__catanhl): Likewise.
49753         * math/s_catanl.c (__catanl): Likewise.
49754         * math/libm-test.inc (catan_test): Add more tests.
49755         (catanh_test): Likewise.
49756         * sysdeps/i386/fpu/libm-test-ulps: Update.
49757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49759 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49763 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
49765         [BZ #15416]
49766         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49767         accurately for denominator in atan2.
49768         * math/s_catanf.c (__catanf): Likewise.
49769         * math/s_catanh.c (__catanh): Likewise.
49770         * math/s_catanhf.c (__catanhf): Likewise.
49771         * math/s_catanhl.c (__catanhl): Likewise.
49772         * math/s_catanl.c (__catanl): Likewise.
49773         * math/libm-test.inc (catan_test): Add more tests.
49774         (catanh_test): Likewise.
49775         * sysdeps/i386/fpu/libm-test-ulps: Update.
49776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49778 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49780         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49782         * benchtests/Makefile (bench): Remove slow benchmarks.
49783         * benchtests/atan-inputs: Add slow benchmark inputs.
49784         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49785         (BENCH_FUNC): Accept variant offset.
49786         (VARIANT): Define.
49787         * benchtests/bench-skeleton.c (main): Run benchmark for each
49788         variant.
49789         * benchtests/cos-inputs: Add slow benchmark inputs.
49790         * benchtests/exp-inputs: Likewise.
49791         * benchtests/pow-inputs: Likewise.
49792         * benchtests/sin-inputs: Likewise.
49793         * benchtests/slowatan-inputs: Remove.
49794         * benchtests/slowatan.c: Remove.
49795         * benchtests/slowcos-inputs: Remove.
49796         * benchtests/slowcos.c: Remove.
49797         * benchtests/slowexp-inputs: Remove.
49798         * benchtests/slowexp.c: Remove.
49799         * benchtests/slowpow-inputs: Remove.
49800         * benchtests/slowpow.c: Remove.
49801         * benchtests/slowsin-inputs: Remove.
49802         * benchtests/slowsin.c: Remove.
49803         * benchtests/slowtan-inputs: Remove.
49804         * benchtests/slowtan.c: Remove.
49805         * benchtests/tan-inputs: Add slow benchmark inputs.
49806         * scripts/bench.pl: Parse comments and directives.
49808         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
49809         in CPPFLAGS.
49810         ($(objpfx)bench-%.c): Remove *-ITER.
49811         * benchtests/bench-modf.c: Remove definition of ITER.
49812         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49813         (main): Loop for DURATION seconds instead of fixed number of
49814         iterations.
49815         * scripts/bench.pl: Don't expect iterations in parameters.
49817 2013-04-29  Roland McGrath  <roland@hack.frob.com>
49819         * io/fchdir.c (__fchdir): Renamed from fchdir.
49820         (fchdir): Define as weak alias.
49822 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49824         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49825         (ERRNO_EDOM): Likewise.
49826         (ERRNO_ERANGE): Likewise.
49827         (noErrnoTests): New variable.
49828         (init_max_error): Set errno to 0.
49829         (test_single_errno): New function.
49830         (test_errno): Likewise.
49831         (check_float_internal): Call test_errno.  Set errno to 0.
49832         (check_complex): Refer to errno tests in comment.
49833         (check_int): Call test_errno.  Set errno to 0.
49834         (check_long): Likewise.
49835         (check_bool): Likewise.
49836         (check_longlong): Likewise.
49837         (cos_test): Use ERRNO_* flags for errno tests instead of
49838         check_int.
49839         (expm1_test): Likewise.
49840         (fmod_test): Likewise.
49841         (ilogb_test): Likewise.
49842         (lgamma_test): Likewise.
49843         (pow_test): Likewise.
49844         (remainder_test): Likewise.
49845         (sin_test): Likewise.
49846         (tan_test): Likewise.
49847         (yn_test): Likewise.
49848         (initialize): Set errno to 0.
49849         (main): Print number of errno tests.
49850         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
49852 2013-04-29  Andreas Jaeger  <aj@suse.de>
49854         [BZ #15084]
49855         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
49856         and RES_USEVC.
49858         [BZ #15085]
49859         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
49860         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
49861         unimplemented.
49863         [BZ #15380]
49864         * stdlib/random.c (__initstate): Return NULL if
49865         __initstate fails.
49867         [BZ #15086]
49868         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
49869         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
49870         RES_SNGLKUPREOP.
49872 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49876 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
49878         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
49879         of individual tests.
49880         (casin_test): Likewise.
49881         (casinh_test): Likewise.
49883 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
49885         [BZ #15409]
49886         * math/s_catan.c (__catan): Handle arguments with large real or
49887         imaginary part separately without squaring.
49888         * math/s_catanf.c (__catanf): Likewise.
49889         * math/s_catanh.c (__catanh): Likewise.
49890         * math/s_catanhf.c (__catanhf): Likewise.
49891         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49892         and redefine.
49893         (__catanhl): Handle arguments with large real or imaginary part
49894         separately without squaring.
49895         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
49896         and redefine.
49897         (__catanl): Handle arguments with large real or imaginary part
49898         separately without squaring.
49899         * math/libm-test.inc (catan_test): Add more tests.
49900         (catanh_test): Likewise.
49901         * sysdeps/i386/fpu/libm-test-ulps: Update.
49902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49904 2013-04-27  Andreas Jaeger  <aj@suse.de>
49906         [BZ #15007]
49907         * stdlib/stdlib.h: Update guards for qecvt.
49908         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
49909         <stdlib.h>.
49911 2013-04-27  Allan McRae  <allan@archlinux.org>
49913         * sysdeps/i386/fpu/libm-test-ulps: Update.
49915 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
49917         [BZ #15406]
49918         * math/s_catan.c: Include <float.h>.
49919         (__catan): Ensure underflow exception occurs for underflowed
49920         result.
49921         * math/s_catanf.c: Include <float.h>.
49922         (__catanf): Ensure underflow exception occurs for underflowed
49923         result.
49924         * math/s_catanh.c: Include <float.h>.
49925         (__catanh): Ensure underflow exception occurs for underflowed
49926         result.
49927         * math/s_catanhf.c: Include <float.h>.
49928         (__catanhf): Ensure underflow exception occurs for underflowed
49929         result.
49930         * math/s_catanhl.c: Include <float.h>.
49931         (__catanhl): Ensure underflow exception occurs for underflowed
49932         result.
49933         * math/s_catanl.c: Include <float.h>.
49934         (__catanl): Ensure underflow exception occurs for underflowed
49935         result.
49936         * math/libm-test.inc (catan_test): Add more tests.
49937         (catanh_test): Likewise.
49939         [BZ #15405]
49940         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
49941         underflowed result.
49942         * math/s_ccoshf.c (__ccoshf): Likewise.
49943         * math/s_ccoshl.c (__ccoshl): Likewise.
49944         * math/s_csin.c (__csin): Likewise.
49945         * math/s_csinf.c (__csinf): Likewise.
49946         * math/s_csinh.c (__csinh): Likewise.
49947         * math/s_csinhf.c (__csinhf): Likewise.
49948         * math/s_csinhl.c (__csinhl): Likewise.
49949         * math/s_csinl.c (__csinl): Likewise.
49950         * math/libm-test.inc (ccos_test): Add more tests.
49951         (ccosh_test): Likewise.
49952         (csin_test): Likewise.
49953         (csinh_test): Likewise.
49955 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49957         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
49958         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
49959         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
49960         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
49961         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
49962         powerpc/power5+/fpu folders.
49963         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
49966 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
49968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49970 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
49972         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
49973         additions to variable.
49974         [$(config-machine) = x86_64] (modules-names): Likewise.
49975         ($(objpfx)tst-audit3): Remove dependency.
49976         ($(objpfx)tst-audit3.out): Likewise.
49977         ($(objpfx)tst-audit4): Likewise.
49978         ($(objpfx)tst-audit4.out): Likewise.
49979         ($(objpfx)tst-audit5): Likewise.
49980         ($(objpfx)tst-audit5.out): Likewise.
49981         ($(objpfx)tst-audit6): Likewise.
49982         ($(objpfx)tst-audit6.out): Likewise.
49983         ($(objpfx)tst-audit7): Likewise.
49984         ($(objpfx)tst-audit7.out): Likewise.
49985         (tst-audit3-ENV): Remove variable.
49986         (tst-audit4-ENV): Likewise.
49987         (tst-audit5-ENV): Likewise.
49988         (tst-audit6-ENV): Likewise.
49989         (tst-audit7-ENV): Likewise.
49990         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
49991         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
49992         addition to variable.
49993         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
49994         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
49995         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
49996         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
49997         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
49998         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
49999         tst-audit3, tst-audit4 and tst-audit5.
50000         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50001         tst-audit6 and tst-audit7.
50002         [$(subdir) = elf] (modules-names): Add audit modules for those
50003         tests.
50004         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50005         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50006         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50007         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50008         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50009         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50010         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50011         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50012         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50013         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50014         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50015         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50016         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50017         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50018         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50019         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50020         Likewise.
50021         [$(subdir) = elf && $(config-cflags-avx) = yes]
50022         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50023         [$(subdir) = elf && $(config-cflags-avx) = yes]
50024         (CFLAGS-tst-auditmod4a.c): Likewise.
50025         [$(subdir) = elf && $(config-cflags-avx) = yes]
50026         (CFLAGS-tst-auditmod4b.c): Likewise.
50027         [$(subdir) = elf && $(config-cflags-avx) = yes]
50028         (CFLAGS-tst-auditmod6b.c): Likewise.
50029         [$(subdir) = elf && $(config-cflags-avx) = yes]
50030         (CFLAGS-tst-auditmod6c.c): Likewise.
50031         [$(subdir) = elf && $(config-cflags-avx) = yes]
50032         (CFLAGS-tst-auditmod7b.c): Likewise.
50033         * elf/tst-audit3.c: Move to ...
50034         * sysdeps/x86_64/tst-audit3.c: ... here.
50035         * elf/tst-audit4.c: Move to ...
50036         * sysdeps/x86_64/tst-audit4.c: ... here.
50037         * elf/tst-audit5.c: Move to ...
50038         * sysdeps/x86_64/tst-audit5.c: ... here.
50039         * elf/tst-audit6.c: Move to ...
50040         * sysdeps/x86_64/tst-audit6.c: ... here.
50041         * elf/tst-audit7.c: Move to ...
50042         * sysdeps/x86_64/tst-audit7.c: ... here.
50043         * elf/tst-auditmod3a.c: Move to ...
50044         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50045         * elf/tst-auditmod3b.c: Move to ...
50046         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50047         * elf/tst-auditmod4a.c: Move to ...
50048         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50049         * elf/tst-auditmod4b.c: Move to ...
50050         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50051         * elf/tst-auditmod5a.c: Move to ...
50052         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50053         * elf/tst-auditmod5b.c: Move to ...
50054         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50055         * elf/tst-auditmod6a.c: Move to ...
50056         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50057         * elf/tst-auditmod6b.c: Move to ...
50058         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50059         * elf/tst-auditmod6c.c: Move to ...
50060         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50061         * elf/tst-auditmod7a.c: Move to ...
50062         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50063         * elf/tst-auditmod7b.c: Move to ...
50064         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50066 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50068         [BZ #15366]
50069         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50070         define unconditionally.
50071         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50072         define unconditionally.
50073         (INT8_C, INT16_C, etc.): Likewise.
50075 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50077         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50078         __ehdr_start with hidden visibility.
50080         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50082 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50084         * math/libm-test.inc (cos_test): Use accurate hex constants.
50085         (sincost_test): Likewise.
50087 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50089         * math/libm-test.inc (catan_test): Add more tests.
50090         (catanh_test): Likewise.
50092         * math/s_catanf.c (__catanf): Use suffixed floating-point
50093         constants.
50094         * math/s_catanhf.c (__catanhf): Likewise.
50095         * math/s_catanhl.c (__catanhl): Likewise.
50096         * math/s_catanl.c (__catanl): Likewise.
50098         [BZ #15394]
50099         * math/s_catan.c (__catan): Calculate imaginary part of result
50100         with log1p not log unless computing log of number close to 0.
50101         * math/s_catanf.c (__catanf): Likewise.
50102         * math/s_catanl.c (__catanl): Likewise.
50103         * math/s_catanh.c (__catanh): Calculate real part of result with
50104         log1p not log unless computing log of number close to 0.
50105         * math/s_catanhf.c (__catanhf): Likewise.
50106         * math/s_catanhl.c (__catanhl): Likewise.
50107         * math/libm-test.inc (catan_test): Add more tests.
50108         (catanh_test): Likewise.
50109         * sysdeps/i386/fpu/libm-test-ulps: Update.
50110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50112 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50114         * benchtests/Makefile: Mention files in which fast and slow
50115         paths of math functions are implemented.
50117 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50119         * sysdeps/posix/timespec_get.c: New file.
50121 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50123         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50124         POWER.
50125         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50126         for POWER.
50127         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50128         powerpc/power5/fpu folders.
50129         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50130         * benchtests/Makefile: Add modf testcase.
50131         * benchtests/bench-modf.c: New file: Benchmark test for mo
50133 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50135         [BZ #14888]
50136         * time/Makefile (tests): Add tst-strptime-whitespace.
50137         * time/strptime_l.c (get_number): Use ISSPACE.
50138         (__strptime_internal): Likewise.
50139         * time/tst-strptime-whitespace.c: New test case.
50141 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50143         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50144         member.
50145         (_nss_files_init): Set it here.
50147 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50149         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50150         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50151         unsigned.
50153 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50155         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50157 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50160         size just once.
50162 2013-04-21  David S. Miller  <davem@davemloft.net>
50164         * po/ru.po: Update Russion translation from translation project.
50166 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50168         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50169         and setfsgid.
50171 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50173         * configure.in: Remove i386 configure warning. Remove i386 case.
50174         * configure: Regenerate.
50175         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50176         Add example to error message.
50177         * sysdeps/i386/configure: Regenerate.
50179 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50181         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50182         slowtan.
50183         * benchtests/cos-inputs: New file.
50184         * benchtests/slowcos-inputs: New file.
50185         * benchtests/slowcos.c: New file.
50186         * benchtests/slowtan-inputs: New file.
50187         * benchtests/slowtan.c: New file.
50188         * benchtests/tan-inputs: New file.
50190 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50192         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50193         considered kosher.
50195 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50197         * benchtests/Makefile: Include cppflags-iterator.mk to add
50198         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50200         * Makefile.in (bench-clean): New target.
50201         * benchtests/Makefile (bench-clean): Likewise.
50203 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50205         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50207 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50209         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50211 2013-04-15  Andreas Schwab  <schwab@suse.de>
50213         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50215         * nscd/pwdcache.c (cache_addpw): Likewise.
50216         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50217         more than recsize.
50219 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50221         * benchtests/Makefile (bench): Write all output to
50222         bench-out.tmp together.
50224 2013-04-15  Andreas Schwab  <schwab@suse.de>
50226         * nscd/nscd.c (main): Don't fork again after closing files.
50228 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50230         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50232         * benchtests/Rules (bench-deps): Collect dependencies into a
50233         single variable.  Add Makefile to dependencies.
50234         ($(objpfx)bench-%.c): Depend on bench-deps.
50236 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50237             Xavier Roche  <roche+kml2@exalead.com>
50239         [BZ #15361]
50240         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50241         just that it's a file descriptor.
50242         * manual/llio.texi (Synchronizing AIO Operations): Update description
50243         for EBADF error from aio_fsync.
50245 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50247         * Rules (bench): Move target definition...
50248         * benchtests/Makefile: ... here.
50250 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50252         * math/libm-test.inc (cos_test): Fix PI/2 test.
50253         (sincos_test): Likewise.
50254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50255         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50257 2013-04-11  Andreas Schwab  <schwab@suse.de>
50259         [BZ #13988]
50260         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50261         accept exponent character only when digits were seen.
50262         * stdio-common/Makefile (tests): Add bug26.
50263         * stdio-common/bug26.c: New file.
50265         [BZ #14293]
50266         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50267         non-freeable.
50269 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50271         * Makeconfig (rtld-prefix): Define built linker prefix.
50272         * Rules (run-bench): Use it.
50273         * math/Makefile (run-regen-ulps): Likewise.
50275         * Rules (bench): Remove eval.
50277 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50278             Roland McGrath  <roland@hack.frob.com>
50279             Ondrej Bilka  <neleai@seznam.cz>
50281         [BZ #15346]
50282         * time/getdate.c: Include ctype.h and alloca.h.
50283         (__getdate_r): Trim leading and trailing spaces of input.
50284         * time/tst-getdate.c (tests): Add tests with leading and
50285         trailing spaces.
50287 2013-04-08  Roland McGrath  <roland@hack.frob.com>
50289         [BZ #14280]
50290         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50291         when computing value.
50293 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50295         * math/README.libm-test (How can I generate "libm-test-ulps"?):
50296         Use testrun.sh to run libm tests.
50298         [BZ #15309]
50299         * elf/dl-open.c (dl_open_worker): memset all of seen array.
50301 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
50303         [BZ #15264]
50304         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50306 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50308         * Makefile.in (regen-ulps): New target.
50309         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50310         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50311         [ifneq (no,$(PERL)] (regen-ulps): New target.
50312         [ifeq (no,$(PERL)] (regen-ulps): New target.
50313         * math/libm-test.inc (ulps_file_name): Define.
50314         (output_dir): New variable.
50315         (options): Add "output-dir" option.
50316         (parse_opt): Handle 'o' case.
50317         (main): If output_dir is non-NULL use it as a prefix
50318         otherwise use "".
50319         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50321 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50323         [BZ #10060, #10062]
50324         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50325         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50326         fail configure if __sync_val_compare_and_swap is not inlined.
50327         * sysdeps/i386/configure: Regenerate.
50328         * configure.in: Build for i686 when configured for i386.
50329         * configure: Regenerate.
50330         * README: Remove i386 reference.
50332 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
50334         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50335         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50337 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50339         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50340         (lmsnanval): New variables.
50341         (F): Add conversion tests.
50342         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50343         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50345         * stdio-common/tstdiomisc.c (F): Properly collect individual
50346         tests' results.
50348         [BZ #14686, #15336]
50349         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50350         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50351         Instead, use input NaN values or generate a qNaN by arithmetic
50352         operation.  Also fix bugs to comply with the standard.
50353         * math/libm-test.inc (remainder_test): Add more tests.
50355         [BZ #15335, #15342]
50356         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50358         input NaN values or generate a qNaN by arithmetic operation.
50360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50361         unreachable code.
50363         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50364         definitions.
50366 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
50368         [BZ #14478]
50369         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50370         underflowed result.
50371         * math/s_cexpf.c (__cexpf): Likewise.
50372         * math/s_cexpl.c (__cexpl): Likewise.
50373         * math/libm-test.inc (cexp_test): Add more tests.
50375 2013-04-03  Andreas Schwab  <schwab@suse.de>
50377         [BZ #15330]
50378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50379         order arrays from heap if bigger than alloca cutoff.
50381 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
50383         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50384         (SNAN_TESTS_double): Refer to GCC PR56831.
50385         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50386         GCC PR56828.
50388 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50390         * Rules (bench): Move bench.out after the run is complete.
50392         * Rules (bench): Echo currently running benchmark.
50394         * benchtests/Makefile (bench): Add atan and slowatan.
50395         * benchtests/atan-inputs: New file.
50396         * benchtests/slowatan-inputs: New file.
50397         * benchtests/slowatan.c: New file.
50399         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50400         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50401         its value.
50403         [BZ #15305]
50404         * sysdeps/unix/sysv/linux/kernel-features.h
50405         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50406         __ASSUME_XFS_RESTRICTED_CHOWN.
50407         * sysdeps/unix/sysv/linux/pathconf.c
50408         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50409         Save and restore errno.
50411 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
50413         [BZ #15327]
50414         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50415         arguments using __kernel_casinh.
50416         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50417         arguments using __kernel_casinhf.
50418         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50419         arguments using __kernel_casinhl.
50420         * math/libm-test.inc (cacosh_test): Add more tests.
50421         * sysdeps/i386/fpu/libm-test-ulps: Update.
50422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50424 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50426         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50429         * bench/Makefile (bench): Add sin and slowsin.
50430         * benchtests/sin-inputs: New file.
50431         * benchtests/slowsin-inputs: New file.
50432         * benchtests/slowsin.c: New file.
50434         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50435         (bench): Add slowexp and slowpow.
50436         (exp-ITER): Increase iterations.
50437         (pow-ITER): Likewise.
50438         * benchtests/exp-inputs: Change input.
50439         * benchtests/pow-inputs: Likewise.
50440         * benchtests/slowexp-inputs: New file.
50441         * benchtests/slowexp.c: New file.
50442         * benchtests/slowpow-inputs: New file.
50443         * benchtests/slowpow.c: New file.
50445 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50447         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50448         instructions.
50449         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50450         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50451         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50452         * benchtests/Makefile: Add rint benchtest.
50453         * benchtests/rint-inputs: Input for rint benchtest.
50455 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50457         * Versions.def (libm): Add GLIBC_2.18.
50458         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50459         hidden libm prototypes.
50460         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50461         * math/Makefile (libm-calls): Add s_issignaling.
50462         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50463         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
50464         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50465         declaration.
50466         * math/math.h [__USE_GNU] (issignaling): New macro.
50467         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50468         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50469         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50470         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50471         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50472         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50473         * manual/arith.texi (issignaling): New section.
50474         * manual/libm-err-tab.pl (@all_functions): Update comment.
50475         * math/gen-libm-test.pl (parse_args): Apply special handling for
50476         issignaling.
50477         * math/libm-test.inc (print_float, issignaling_test): New
50478         functions.
50479         (check_float_internal): Add issignaling checks.
50480         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50481         default definition.
50482         * sysdeps/powerpc/math-tests.h: New file.
50483         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50484         tests.
50485         * math/test-snan.c (TEST_FUNC): Likewise.
50487 2013-03-30  David S. Miller  <davem@davemloft.net>
50489         * po/de.po: Update from translation team.
50491 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
50493         [BZ #10357]
50494         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50495         imaginary part less than 1.0 and real part less than 0.5
50496         specially.
50497         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50498         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50499         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50500         (cacos_test): Add more tests.
50501         (casin_test): Likewise.
50502         (casinh_test): Likewise.
50503         * sysdeps/i386/fpu/libm-test-ulps: Update.
50504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50506 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50508         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50509         ONE with its value.
50511         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50512         (__pow_mp): Replace ONE and MONE with their values.
50513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50515         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50516         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50517         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50518         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50520         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50522         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50523         (__pow_mp): Replace ZERO and MZERO with their values.
50524         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50526         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50527         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50528         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50529         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50530         (__sqr): Likewise.
50532         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50534         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50536 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50538         * include/stdlib.h [!SHARED] (__call_tls_dtors):
50539         Declare with __attribute__ ((weak)).
50540         * stdlib/exit.c (__libc_atexit) [!SHARED]:
50541         Call __call_tls_dtors only if it's not NULL.
50543 2013-03-28  Roland McGrath  <roland@hack.frob.com>
50545         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50546         didn't do it already, then set _dl_phdr and _dl_phnum based on the
50547         magic __ehdr_start linker symbol if it's defined.
50548         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50549         them up here if it was already done.
50551         * elf/dl-support.c (_dl_phdr): Make pointer to const.
50552         (_dl_aux_init): Use const in cast when setting it.
50553         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50554         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50555         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50557         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50558         Declare them here.
50559         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50560         * csu/libc-tls.c: Nor here.
50561         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50563         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50564         (__libc_message): Never call vsyslog.
50566 2013-03-28  Alan Modra  <amodra@gmail.com>
50568         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50569         Define as empty.
50570         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50571         Likewise.
50573 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50575         [BZ #15214]
50576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50577         underflow.
50578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50580 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50582         [BZ #15304]
50583         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50584         Don't add gid passed as argument.
50586         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50588 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
50590         [BZ #15307]
50591         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50592         imaginary part between 1.0 and 1.5 and real part less than 0.5
50593         specially.
50594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50596         * math/libm-test.inc (cacos_test): Add more tests.
50597         (casin_test): Likewise.
50598         (casinh_test): Likewise.
50599         * sysdeps/i386/fpu/libm-test-ulps: Update.
50600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50602 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50604         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50605         constants.
50606         (norm): Likewise.
50607         (denorm): Likewise.
50608         (__dbl_mp): Likewise.
50609         (add_magnitudes): Likewise.
50610         (sub_magnitudes): Likewise.
50611         (__add): Likewise.
50612         (__sub): Likewise.
50613         (__mul): Likewise.
50614         (__sqr): Likewise.
50615         (__inv): Likewise.
50616         (__dvd): Likewise.
50618         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50619         commented code.
50620         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50621         (__dubcos): Likewise.
50622         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50623         (__ieee754_acos): Likewise.
50624         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50625         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50626         (__exp1): Likewise.
50627         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50628         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50629         (log1): Likewise.
50630         (my_log2): Likewise.
50631         (checkint): Likewise.
50632         * sysdeps/ieee754/dbl-64/e_remainder.c
50633         (__ieee754_remainder): Likewise.
50634         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50636         (bsloww): Likewise.
50637         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50639         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50640         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50641         MANTISSA_STORE_T to store computations on mantissa.  Use
50642         macros for rounding and division.
50643         (denorm): Likewise.
50644         (__dbl_mp): Likewise.
50645         (add_magnitudes): Likewise.
50646         (sub_magnitudes): Likewise.
50647         (__mul): Likewise.
50648         (__sqr): Likewise.
50649         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
50650         powers of two in terms of TWOPOW macro.
50651         (mp_no): Make type of mantissa as MANTISSA_T.
50652         [!RADIXI]: Define RADIXI.
50653         [!TWO52]: Define TWO52.
50654         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50656 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50658         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50659         llroundl symbol when building for PPC32.
50661 2013-03-24  Mark H Weaver  <mhw@netris.org>
50663         * manual/arith.texi (Normalization Functions): Fix prototypes for
50664         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50666 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50668         [BZ #13889]
50669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50670         high value to check if expl overflow.
50671         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50672         to check for underflow and overflow.
50673         * math/libm-test.inc: Add exp test.
50675 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
50677         [BZ #11120]
50678         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50679         with NOT_IN_libc.
50681 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50683         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50684         symbol.
50686 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50688         * math/gen-libm-test.pl (parse_args, special_functions): Properly
50689         wrap blocks consisting of several statements.
50691         * sysdeps/generic/math-tests.h: New file.
50692         * sysdeps/i386/fpu/math-tests.h: Likewise.
50693         * math/test-snan.c: Include it.
50694         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50696 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50698         [BZ #15285]
50699         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50700         (__ieee754_j0l): Do not improve calculations using cos of twice
50701         input for inputs above LDBL_MAX / 2.0L.
50702         (__ieee754_y0l): Likewise.
50703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50704         (__ieee754_j1l): Do not improve calculations using cos of twice
50705         input for inputs above LDBL_MAX / 2.0L.
50706         (__ieee754_y1l): Likewise.
50707         * math/libm-test.inc (j0_test): Add another test.
50708         (j1_test): Likewise.
50709         (y0_test): Likewise.
50710         (y1_test): Likewise.
50711         * sysdeps/i386/fpu/libm-test-ulps: Update.
50713 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50715         * Rules ($(objpfx)bench-%.c): Include code from a C source
50716         file.
50718 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
50720         [BZ #15287]
50721         * math/k_casinh.c (__kernel_casinh): Handle arguments with
50722         imaginary part 1.0 and real part less than 0.5 specially.
50723         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50724         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50725         * math/libm-test.inc (cacos_test): Add more tests.
50726         (casin_test): Likewise.
50727         (casinh_test): Likewise.
50728         * sysdeps/i386/fpu/libm-test-ulps: Update.
50729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50731 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50733         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50734         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50736 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
50738         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50739         * config.make.in (config-cflags-sse4): Remove variable.
50740         (config-cflags-avx): Likewise.
50741         (config-cflags-sse2avx): Likewise.
50742         (config-cflags-novzeroupper): Likewise.
50743         (config-asflags-i686): Likewise.
50744         (have-mfma4): Likewise.
50745         (have-as-vis3): Likewise.
50746         (MIG): Likewise.
50747         * configure.in (MIG): Do not AC_SUBST.
50748         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50749         (libc_cv_cc_sse4): Do not AC_SUBST.
50750         (libc_cv_cc_avx): Likewise.
50751         (libc_cv_cc_sse2avx): Likewise.
50752         (libc_cv_cc_novzeroupper): Likewise.
50753         (libc_cv_cc_fma4): Likewise.
50754         (libc_cv_as_i686): Likewise.
50755         (libc_cv_sparc_as_vis3): Likewise.
50756         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50757         LIBC_CONFIG_VAR.
50758         (config-asflags-i686): Likewise.
50759         (config-cflags-avx): Likewise.
50760         (config-cflags-sse2avx): Likewise.
50761         (have-mfma4): Likewise.
50762         (config-cflags-novzeroupper): Likewise.
50763         * sysdeps/mach/configure.in (MIG): Likewise.
50764         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50765         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50766         LIBC_CONFIG_VAR.
50767         (config-cflags-avx): Likewise.
50768         (config-cflags-sse2avx): Likewise.
50769         (have-mfma4): Likewise.
50770         (config-cflags-novzeroupper): Likewise.
50771         * configure: Regenerated.
50772         * sysdeps/i386/configure: Likewise.
50773         * sysdeps/mach/configure: Likewise.
50774         * sysdeps/sparc/configure: Likewise.
50775         * sysdeps/x86_64/configure: Likewise.
50777 2013-03-20  Roland McGrath  <roland@hack.frob.com>
50779         [BZ #14812]
50780         * locale/programs/localedef.c (options): Put N_ translation marker
50781         on argument names, not just descriptions.
50783 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50785         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50787 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
50789         [BZ #14176]
50790         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50792 2013-03-19  Roland McGrath  <roland@hack.frob.com>
50794         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50795         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50796         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50797         [!BEFORE_ABORT] (before_abort): New function.
50798         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50799         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50800         (writev_for_fatal): New function.
50801         (WRITEV_FOR_FATAL): New macro; call that.
50802         (backtrace_and_maps): New function.
50803         (BEFORE_ABORT): New macro; call that.
50804         (struct str_list): Type removed.
50805         (__libc_message, __libc_fatal): Functions removed.
50806         Include <sysdeps/posix/libc_fatal.c> instead.
50808 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
50810         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50811         constants.
50812         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50813         double constants.
50815 2013-03-19  Andreas Schwab  <schwab@suse.de>
50817         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50818         * sysdeps/gnu/configure: Regenerate.
50820         * configure.in: Substitute libc_cv_rtlddir.
50821         * configure: Regenerate.
50822         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50823         * Makeconfig (rtlddir, inst_rtlddir): New variables.
50824         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50825         * elf/Makefile (install-others, CFLAGS-interp.c)
50826         (ldso_install, common-ldd-rewrite): Likewise.
50827         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50828         $(inst_slibdir)/$(rtld-installed-name).
50829         * scripts/rellns-sh: Add -p option.
50830         * Makerules (make-shlib-link): Use rellns-sh to get relative name
50831         for source.
50833 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50835         * manual/nptl.texi: Renamed to ...
50836         * manual/threads.texi: ... this.
50837         * manual/Makefile (chapters): Update.
50839 2013-03-18  Roland McGrath  <roland@hack.frob.com>
50841         [BZ #14812]
50842         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50843         on argument names, not just descriptions.
50844         * malloc/memusagestat.c (options): Likewise.
50845         * nss/getent.c (options): Likewise.
50847 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
50849         [BZ #14812]
50850         * iconv/iconv_prog.c (options): Put N_ translation marker
50851         on argument names, not just descriptions.
50852         * iconv/iconvconfig.c (options): Likewise.
50854 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
50856         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
50857         implementation which is faster on all x86_64 architectures.
50858         Tested on AMD, Intel Nehalem, SNB, IVB.
50859         * sysdeps/x86_64/strnlen.S: Likewise.
50861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50862         Remove all multiarch strlen and strnlen versions.
50863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
50864         Remove strlen and strnlen related parts.
50866         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
50867         Inline strlen part.
50868         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
50870         * sysdeps/x86_64/multiarch/strlen.S: Remove.
50871         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
50872         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
50873         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
50874         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
50875         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
50877 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
50879         * manual/memory.texi (Malloc Tunable Parameters):
50880         Sort parameters alphabetically. Add comments for missing entries.
50882 2013-03-17  David S. Miller  <davem@davemloft.net>
50884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50886 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
50888         [BZ #15283]
50889         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
50890         for arguments at most half maximum finite value.
50891         * math/libm-test.inc (j0_test): Add more tests.
50892         (j1_test): Likewise.
50893         (y0_test): Likewise.
50894         (y1_test): Likewise.
50895         * sysdeps/i386/fpu/libm-test-ulps: Update.
50896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50898         [BZ #14155]
50899         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
50900         1 / x and functions P and Q for arguments above 0x1p256L.
50901         (__ieee754_y0l): Likewise.
50902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
50903         (__ieee754_y1l): Likewise.
50904         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
50905         (j1_test): Likewise.
50906         (y0_test): Likewise.
50907         (y1_test): Likewise.
50909 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
50911         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
50912         variable.
50914 2013-03-15  Roland McGrath  <roland@hack.frob.com>
50916         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
50917         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
50918         zero since it's initialized to EXEC_PAGESIZE.
50920         * sysdeps/unix/sysv/linux/ldsodefs.h
50921         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
50922         * sysdeps/generic/ldsodefs.h: ... here.
50924 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
50926         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
50928         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
50929         math/test-snan.c.
50930         * math/test-snan.c: Renamed from
50931         sysdeps/powerpc/fpu/test-powerpc-snan.c.
50932         * math/Makefile (tests): Add test-snan.
50933         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
50934         test-powerpc-snan.
50936         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
50937         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
50938         functions.
50939         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
50940         __builtin_nan family of functions.
50941         * math/libm-test.inc (initialize): Initialize qnan_value with
50942         __builtin_nan family of functions.
50943         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
50944         Remove variables.
50945         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
50946         Remove functions.
50947         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
50948         storage class.  Initialize qNaN_var and sNaN_var with
50949         __builtin_nan and __builtin_nans families of functions,
50950         respectively.
50952         * math/libm-test.inc (acosh_test): Also test with qNaN input.
50953         (sqrt_test): Remove duplicate test with qNaN input.
50954         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
50955         (round_test, signbit_test, significand_test): Note missing +/-Inf
50956         as well as qNaN tests.
50958         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
50959         qNaN_var.  Fix a few strings, too.
50960         * math/libm-test.inc (nan_value): Rename to qnan_value.
50961         * math/gen-libm-test.pl (%beautify): Adjust to that.
50962         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
50963         * math/test-misc.c (main): Likewise.
50964         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
50965         to __qnan_bytes, and __qnan_union, respectively.
50966         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
50967         Likewise.
50968         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
50969         and lqnanval, respectively.
50970         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
50971         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
50972         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
50973         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
50975         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
50976         * math/test-misc.c (main) [__x86_64__]: Enable test for long
50977         doubles.
50979         * math/test-misc.c (main): Fix copy'n'pastos.
50980         * misc/tst-efgcvt.c (special): Likewise.
50982         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
50983         Remove declarations.
50985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50987         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
50988         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
50989         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
50990         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
50992 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50994         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
50995         macro to return vdso values correctly in IFUNC implementations.
50996         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50997         Optimization by using IFUNC.
50999 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51000             Richard Henderson  <rth@redhat.com>
51001             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51003         * Makefile.in (bench): New target.
51004         * NEWS: Mention the benchmark framework.
51005         * Rules (bench): Likewise.
51006         (binaries-bench): Generate binaries for functions to
51007         benchmark.
51008         * benchtests/Makefile: New makefile for benchmark tests.
51009         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51010         programs.
51011         * benchtests/exp-inputs: New input file for EXP function.
51012         * benchtests/pow-inputs: New input file for POW function.
51013         * scripts/bench.pl: New script to generate source files for
51014         benchmark programs.
51016 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51018         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51019         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51020         computations on mantissa.  Use macros for rounding and
51021         division.
51022         (denorm): Likewise.
51023         (__dbl_mp): Likewise.
51024         (add_magnitudes): Likewise.
51025         (sub_magnitudes): Likewise.
51026         (__mul): Likewise.
51027         (__sqr): Likewise.
51028         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51029         powers of two in terms of TWOPOW macro.
51030         (mp_no): Make type of mantissa as MANTISSA_T.
51031         [!RADIXI]: Define RADIXI.
51032         [!TWO52]: Define TWO52.
51033         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51035         * manual/nptl.texi (cindex): Modify threads to pthreads.
51037 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51039         * sysdeps/x86_64/preconfigure: Regenerated.
51041 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51043         [BZ #14155]
51044         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51045         0x1p28 and above.
51046         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51047         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51048         0x1p28 and above.
51049         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51050         * math/libm-test.inc (j0_test): Do not allow one spurious
51051         underflow exception.
51052         (y1_test): Likewise.
51054 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51056         * manual/Makefile (chapters): Add nptl.
51057         * manual/debug.texi (Debugging Support): Add link to Threads
51058         chapter.
51059         * manual/nptl.texi: New file.
51061         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51063 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51065         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51066         for non-NULL pointer before the memory validity test. Pointed
51067         out by Holger Brunck <holger.brunck@keymile.com>.
51069 2013-03-13  Andreas Schwab  <schwab@suse.de>
51071         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51072         instead of .os.
51074 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51076         * timezone/zic.c: Update from tzcode 2013b.
51078 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51080         * manual/install.texi (Configuring and compiling):
51081         Mention i686 and i586.
51082         * INSTALL: Regenerate.
51084 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51086         * sysdeps/init_array/elf-init.c: New file.
51087         * csu/elf-init.c
51088         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51089         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51091         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51092         __gmon_start__ as global, but as static with a .preinit_array pointer.
51093         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51094         * sysdeps/init_array/crti.S: New file, empty except for comments.
51095         * sysdeps/init_array/crtn.S: Likewise.
51097 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51099         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51100         definining bcopy.
51101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51102         Remove Prefer_SSE_for_memop.
51103         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51104         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51105         HAS_PREFER_SSE_FOR_MEMOP.
51106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51107         memset-x86-64.
51108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51109         Remove bzero, memset ifunc support.
51110         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51111         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51112         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51113         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51115 2013-03-11  Andreas Schwab  <schwab@suse.de>
51117         [BZ #15234]
51118         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51119         by SHLIB_COMPAT.
51120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51121         (GLIBC_2.16): Remove pthread_atfork.
51123 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51125         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51126         (ptestcases.h): Likewise.
51128 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51130         * Makeconfig ($(common-objpfx)config.status): Depend on
51131         sysdeps/*/preconfigure{,.in} too.
51133 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51135         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51136         (__free_hook): Use void * instead of __malloc_ptr_t.
51137         (__malloc_hook): Likewise.
51138         (__realloc_hook): Likewise.
51139         (__memalign_hook): Likewise.
51140         (__after_morecore_hook): Likewise.
51141         * malloc/arena.c (save_malloc_hook): Likewise.
51142         (save_free_hook): Likewise.
51143         * malloc/hooks.c (malloc_hook_ini): Likewise.
51144         (realloc_hook_ini): Likewise.
51145         (memalign_hook_ini): Likewise.
51146         * malloc/malloc.c (malloc_hook_ini): Likewise.
51147         (realloc_hook_ini): Likewise.
51148         (memalign_hook_ini): Likewise.
51149         (__free_hook): Likewise.
51150         (__malloc_hook): Likewise.
51151         (__realloc_hook): Likewise.
51152         (__memalign_hook): Likewise.
51153         (__libc_malloc): Likewise.
51154         (__libc_free): Likewise.
51155         (__libc_realloc): Likewise.
51156         (__libc_memalign): Likewise.
51157         (__libc_valloc): Likewise.
51158         (__libc_pvalloc): Likewise.
51159         (__libc_calloc): Likewise.
51160         (__posix_memalign): Likewise.
51161         * malloc/morecore.c (__sbrk): Likewise.
51162         (__default_morecore): Likewise.
51164         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51166         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51167         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51168         __malloc_ptrdiff_t.
51170         * malloc/malloc.h (__malloc_size_t): Remove macro.
51171         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51172         __malloc_size_t.
51173         (old_memalign_hook): Likewise.
51174         (old_realloc_hook): Likewise.
51175         (struct hdr): Likewise.
51176         (flood): Likewise.
51177         (mallochook): Likewise.
51178         (memalignhook): Likewise.
51179         (reallochook): Likewise.
51180         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51181         (tr_old_realloc_hook): Likewise.
51182         (tr_old_memalign_hook): Likewise.
51183         (tr_mallochook): Likewise.
51184         (tr_reallochook): Likewise.
51185         (tr_memalignhook): Likewise.
51187 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51190         default_ldbl_pack and using as default implementation.
51191         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51192         implementation.
51193         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51194         redundant definition.
51195         (ldbl_insert_mantissa): Likewise.
51196         (ldbl_canonicalize): Likewise.
51197         (ldbl_nearbyint): Likewise.
51198         (ldbl_pack): Rename to ldbl_pack_ppc.
51199         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51200         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51201         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51203 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51206         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51207         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51208         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51211         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51212         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51214 2013-03-07  Andreas Jaeger  <aj@suse.de>
51216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51217         bits/mman-linux.h.
51219 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51221         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51222         Include mpa.h and declare __MPEXP.
51223         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51224         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51225         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51226         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51227         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51228         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51229         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51231         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51232         (__slowpow): Use long double EXPL and LOGL functions to
51233         compute POW.
51234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51235         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51237         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51238         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51239         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51242         intermediate variable to calculate exponent.
51243         (__sqr): Likewise.
51244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51245         Likewise.
51246         (__sqr): Likewise.
51248         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51249         [!NO__SQR]: Define __sqr.
51250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51251         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51252         sysdeps/ieee754/dbl-64/mpa.c.
51253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51255         [BZ #12723]
51256         * posix/Makefile (tests): Add tst-pathconf.
51257         * posix/tst-pathconf.c: New test case.
51258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51259         _PC_PIPE_BUF.
51260         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51262 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51264         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51266 2013-03-06  Andreas Jaeger  <aj@suse.de>
51268         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51269         definition via __MAP_ANONYMOUS.
51271         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51272         it's not part of Linux headers.
51274         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51275         (MAP_HUGE_MASK): Define.
51277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51278         Define.
51279         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51280         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51281         Define.
51282         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51283         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51284         Define.
51285         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51286         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51287         Define.
51288         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51290         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51291         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51293         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51294         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51295         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51298         Handle f2fs.
51300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51301         Handle f2fs and efivarfs.
51303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51304         f2fs.
51306         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51307         (EFIVARFS_MAGIC): Add.
51308         (F2FS_LINK_MAX): Add.
51310 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51312         * stdio-common/vfprintf.c: Replace __builtin_expect with
51313         __glibc_unlikely.
51315 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
51317         [BZ #13550]
51318         * sysdeps/generic/bp-sym.h: Remove file.
51319         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51320         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51321         <bp-sym.h> and <bp-asm.h>.
51322         (__longjmp): Don't use BP_SYM.
51323         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51324         and <bp-asm.h>.
51325         (memcpy): Don't use BP_SYM.
51326         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51327         <bp-sym.h> and <bp-asm.h>.
51328         (memcpy): Don't use BP_SYM.
51329         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51330         <bp-asm.h>.
51331         (memcpy): Don't use BP_SYM.
51332         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51333         <bp-asm.h>.
51334         (memset): Don't use BP_SYM.
51335         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51336         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51337         (__bzero): Don't use BP_SYM.
51338         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51339         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51340         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51341         <bp-sym.h> and <bp-asm.h>.
51342         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51343         pointers.
51344         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51345         <bp-sym.h> and <bp-asm.h>.
51346         (memcpy): Don't use BP_SYM.
51347         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51348         <bp-sym.h> and <bp-asm.h>.
51349         (memset): Don't use BP_SYM.
51350         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51351         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51352         (__bzero): Don't use BP_SYM.
51353         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51354         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51355         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51356         <bp-sym.h> and <bp-asm.h>.
51357         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51358         pointers.
51359         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51360         <bp-sym.h> and <bp-asm.h>.
51361         (memcpy): Don't use BP_SYM.
51362         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51363         <bp-sym.h> and <bp-asm.h>.
51364         (memset): Don't use BP_SYM.
51365         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51366         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51367         (__bzero): Don't use BP_SYM.
51368         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51369         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51371         <bp-sym.h> and <bp-asm.h>.
51372         (__memchr): Don't use BP_SYM.
51373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51374         <bp-sym.h> and <bp-asm.h>.
51375         (memcmp): Don't use BP_SYM.  Remove comment about bounded
51376         pointers.
51377         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51378         <bp-sym.h> and <bp-asm.h>.
51379         (memcpy): Don't use BP_SYM.
51380         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51381         <bp-sym.h> and <bp-asm.h>.
51382         (__mempcpy): Don't use BP_SYM.
51383         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51384         <bp-sym.h> and <bp-asm.h>.
51385         (__memrchr): Don't use BP_SYM.
51386         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51387         <bp-sym.h> and <bp-asm.h>.
51388         (memset): Don't use BP_SYM.
51389         (__bzero): Likewise.
51390         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51391         <bp-sym.h> and <bp-asm.h>.
51392         (__rawmemchr): Don't use BP_SYM.
51393         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51394         <bp-sym.h> and <bp-asm.h>.
51395         (__STRCMP): Don't use BP_SYM.
51396         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51397         <bp-sym.h> and <bp-asm.h>.
51398         (strchr): Don't use BP_SYM.
51399         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51400         <bp-sym.h> and <bp-asm.h>.
51401         (__strchrnul): Don't use BP_SYM.
51402         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51403         <bp-sym.h> and <bp-asm.h>.
51404         (strlen): Don't use BP_SYM.
51405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51406         <bp-sym.h> and <bp-asm.h>.
51407         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51408         pointers.
51409         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51410         <bp-sym.h> and <bp-asm.h>.
51411         (__strnlen): Don't use BP_SYM.
51412         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51413         <bp-sym.h> and <bp-asm.h>.
51414         (__GI__setjmp): Don't use BP_SYM.
51415         (_setjmp): Likewise.
51416         (__sigsetjmp): Likewise.
51417         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51418         (L(start_addresses)): Don't use BP_SYM.
51419         (_start): Likewise.
51420         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51421         <bp-asm.h>.
51422         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51423         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51424         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51425         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51426         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51427         <bp-asm.h>.
51428         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51429         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
51430         about bounded pointers.
51431         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51432         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51433         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51434         <bp-asm.h>.
51435         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51436         about bounded pointers.  Remove GKM FIXME comments.
51437         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51438         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51439         <bp-asm.h>.
51440         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51441         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
51442         Remove GKM FIXME comments.
51443         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51444         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51445         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51446         <bp-asm.h>.
51447         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
51448         about bounded pointers.  Remove GKM FIXME comment.
51449         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51450         and <bp-asm.h>.
51451         (strncmp): Don't use BP_SYM.  Remove comment about bounded
51452         pointers.
51453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51454         <bp-sym.h> and <bp-asm.h>.
51455         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51457         <bp-sym.h> and <bp-asm.h>.
51458         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51459         comment.
51461 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51463         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51464         call free(NULL).
51466 2013-03-05  David S. Miller  <davem@davemloft.net>
51468         * po/es.po: Update from translation team.
51470 2013-03-05  Andreas Jaeger  <aj@suse.de>
51472         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51473         <bits/mman-linux.h>.
51474         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51475         is fine.
51476         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51477         <bits/mman-linux.h> to end of file.
51478         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51479         is fine.
51480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51481         <bits/mman-linux.h> to end of file.
51482         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51483         is fine.
51484         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51485         <bits/mman-linux.h> to end of file.
51487         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51488         (MCL_CURRENT, MCL_FUTURE): Define here.
51490 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51492         [BZ #15232]
51493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51494         attribute_hidden.
51495         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51497 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51499         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51500         fourth parameter needed for rt_sigprocmask syscall.
51501         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51502         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51503         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51504         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51505         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51506         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51508 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
51510         [BZ #13550]
51511         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51512         comment about bounded pointers.
51513         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51514         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51516 2013-03-04  Andreas Jaeger  <aj@suse.de>
51518         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51519         common definitions.
51521         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51522         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51523         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51524         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51525         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51528 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51530         [BZ #15055]
51531         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51532         __ieee754_sqrl instead of __sqrl.
51534 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
51536         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51537         * sysdeps/powerpc/fpu_control.h: ... here.
51538         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51539         * sysdeps/powerpc/bits/fenvinline.h: ... here.
51540         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51541         * sysdeps/powerpc/bits/mathinline.h: ... here.
51543 2013-03-01  Roland McGrath  <roland@hack.frob.com>
51545         * elf/dl-hwcaps.c (_dl_important_hwcaps):
51546         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51547         to just [NEED_DL_SYSINFO_DSO].
51548         * elf/dl-support.c: Likewise.
51549         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51550         * elf/rtld.c (dl_main): Likewise.
51551         * elf/setup-vdso.h (setup_vdso): Likewise.
51552         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51553         * sysdeps/unix/sysv/linux/dl-sysdep.c
51554         (_dl_discover_osversion): Likewise.
51556 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
51558         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51559         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51561 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
51563         * NEWS: Mention libm performance improvements and non-x86 PI
51564         futex support.
51566         * csu/libc-start.c (__pthread_initialize_minimal): Change
51567         function arguments.
51568         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51570 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
51572         [BZ #13550]
51573         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51574         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51575         <bp-sym.h> and <bp-asm.h>.
51576         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51577         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51578         and <bp-asm.h>.
51579         (memcpy): Don't use BP_SYM.
51580         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51581         <bp-asm.h>.
51582         (__mpn_add_n): Don't use BP_SYM.
51583         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51584         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51585         and <bp-asm.h>.
51586         (__mpn_addmul_1): Don't use BP_SYM.
51587         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51588         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51589         <bp-sym.h>.
51590         (_setjmp): Don't use BP_SYM.
51591         (__novmx_setjmp): Likewise.
51592         (__GI__setjmp): Likewise.
51593         (__vmx_setjmp): Likewise.
51594         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51595         <bp-sym.h>.
51596         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51597         (__bzero): Don't use BP_SYM.
51598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51600         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51601         <bp-sym.h> and <bp-asm.h>.
51602         (memcpy): Don't use BP_SYM.
51603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51604         <bp-sym.h> and <bp-asm.h>.
51605         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51607         <bp-sym.h> and <bp-asm.h>.
51608         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51609         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51610         <bp-asm.h>.
51611         (__mpn_lshift): Don't use BP_SYM.
51612         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51613         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51614         <bp-asm.h>.
51615         (memset): Don't use BP_SYM.
51616         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51617         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51618         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51619         <bp-asm.h>.
51620         (__mpn_mul_1): Don't use BP_SYM.
51621         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51623         <bp-sym.h> and <bp-asm.h>.
51624         (memcmp): Don't use BP_SYM.
51625         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51626         <bp-sym.h> and <bp-asm.h>.
51627         (memcpy): Don't use BP_SYM.
51628         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51629         <bp-sym.h> and <bp-asm.h>.
51630         (memset): Don't use BP_SYM.
51631         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51632         <bp-sym.h> and <bp-asm.h>.
51633         (strncmp): Don't use BP_SYM.
51634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51635         <bp-sym.h> and <bp-asm.h>.
51636         (memcpy): Don't use BP_SYM.
51637         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51638         <bp-sym.h> and <bp-asm.h>.
51639         (memset): Don't use BP_SYM.
51640         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51641         <bp-sym.h> and <bp-asm.h>.
51642         (__memchr): Don't use BP_SYM.
51643         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51644         <bp-sym.h> and <bp-asm.h>.
51645         (memcmp): Don't use BP_SYM.
51646         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51647         <bp-sym.h> and <bp-asm.h>.
51648         (memcpy): Don't use BP_SYM.
51649         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51650         <bp-sym.h> and <bp-asm.h>.
51651         (__mempcpy): Don't use BP_SYM.
51652         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51653         <bp-sym.h> and <bp-asm.h>.
51654         (__memrchr): Don't use BP_SYM.
51655         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51656         <bp-sym.h> and <bp-asm.h>.
51657         (memset): Don't use BP_SYM.
51658         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51659         <bp-sym.h> and <bp-asm.h>.
51660         (__rawmemchr): Don't use BP_SYM.
51661         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51662         <bp-sym.h> and <bp-asm.h>.
51663         (__STRCMP): Don't use BP_SYM.
51664         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51665         <bp-sym.h> and <bp-asm.h>.
51666         (strchr): Don't use BP_SYM.
51667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51668         <bp-sym.h> and <bp-asm.h>.
51669         (__strchrnul): Don't use BP_SYM.
51670         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51671         <bp-sym.h> and <bp-asm.h>.
51672         (strlen): Don't use BP_SYM.
51673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51674         <bp-sym.h> and <bp-asm.h>.
51675         (strncmp): Don't use BP_SYM.
51676         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51677         <bp-sym.h> and <bp-asm.h>.
51678         (__strnlen): Don't use BP_SYM.
51679         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51680         <bp-asm.h>.
51681         (__mpn_rshift): Don't use BP_SYM.
51682         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51683         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51684         <bp-sym.h> and <bp-asm.h>.
51685         (__sigsetjmp): Don't use BP_SYM.
51686         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51687         (L(start_addresses)): Don't use BP_SYM.
51688         (_start): Likewise.
51689         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51690         <bp-asm.h>.
51691         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51692         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51693         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51694         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51695         <bp-asm.h>.
51696         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51697         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51698         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51699         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51700         <bp-asm.h>.
51701         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51702         comments.
51703         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51704         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51705         <bp-asm.h>.
51706         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
51707         FIXME comments.
51708         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51709         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51710         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51711         <bp-asm.h>.
51712         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
51713         comment.
51714         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51715         and <bp-asm.h>.
51716         (strncmp): Don't use BP_SYM,
51717         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51718         <bp-asm.h>.
51719         (__mpn_sub_n): Don't use BP_SYM.
51720         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51721         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51722         and <bp-asm.h>.
51723         (__mpn_submul_1): Don't use BP_SYM.
51724         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51726         <bp-sym.h> and <bp-asm.h>.
51727         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51729         <bp-sym.h> and <bp-asm.h>.
51730         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
51731         comment.
51733 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51736         Use ZK to minimize writes to Z.
51737         (sub_magnitudes): Simplify code a bit.
51738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51739         Use ZK to minimize writes to Z.
51740         (sub_magnitudes): Simplify code a bit.
51742 2013-02-27  Roland McGrath  <roland@hack.frob.com>
51744         * csu/gmon-start.c: Add special exception to license text.
51746 2013-02-27  Richard Henderson  <rth@redhat.com>
51748         * scripts/config.guess: Update from config.git.
51749         * scripts/config.sub: Likewise.
51751 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51753         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51755         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51757         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51759         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51761         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51763 2013-02-26  Roland McGrath  <roland@hack.frob.com>
51765         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51766         [$(build-shared = yes].
51768 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51771         (__mul): Reduce iterations for calculating mantissa.
51773         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51774         MPTWO.
51775         (__mpranred): Likewise.
51777         [BZ #15160]
51778         * malloc/memusagestat.c (main): Draw graphs for heap and stack
51779         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51781 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
51783         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51784         Define __attribute__.
51786 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51788         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51789         unused.
51790         * posix/regex_internal.h (__attribute): Remove.
51791         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51792         (re_string_context_at): Likewise.
51793         (bitset_not): Use __attribute__ and mark function as possibly
51794         unused.
51795         (bitset_merge): Likewise.
51796         (bitset_mask): Likewise.
51797         (re_string_char_size_at): Likewise.
51798         (re_string_wchar_at): Likewise.
51799         (re_string_elem_size_at): Likewise.
51801 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51804         code.
51805         (cc32): Likewise.
51807         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51808         (__acr): Likewise.
51809         (__cpy): Likewise.
51810         (norm): Likewise.
51811         (denorm): Likewise.
51812         (__dbl_mp): Likewise.
51813         (add_magnitudes): Likewise.
51814         (sub_magnitudes): Likewise.
51815         (__mul): Likewise.
51816         (__inv): Likewise.
51818         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51819         style.
51821         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51822         style.
51824         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51825         code.
51827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51828         up changes with default code.
51829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51830         Likewise.
51832 2013-02-24  Allan McRae  <allan@archlinux.org>
51834         * manual/socket.texi (The Internet Namespace): Order menu items
51835         to match that in the file.
51837         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51838         node listing of the info page menu.
51840 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
51842         [BZ #13550]
51843         * sysdeps/i386/bp-asm.h: Remove file.
51844         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
51845         (PARMS): Do not use macros from bp-asm.h.
51846         (S1): Likewise.
51847         (S2): Likewise.
51848         (SIZE): Likewise.
51849         (__mpn_add_n): Do not use BP_SYM
51850         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
51851         "bp-asm.h".
51852         (PARMS): Do not use macros from bp-asm.h.
51853         (S1): Likewise.
51854         (SIZE): Likewise.
51855         (__mpn_addmul_1): Do not use BP_SYM
51856         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
51857         "bp-asm.h".
51858         (PARMS): Do not use macros from bp-asm.h.
51859         (SIGMSK): Likewise.
51860         (_setjmp): Likewise.  Do not use BP_SYM.
51861         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
51862         "bp-asm.h".
51863         (PARMS): Do not use macros from bp-asm.h.
51864         (SIGMSK): Likewise.
51865         (setjmp): Likewise.  Do not use BP_SYM.
51866         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
51867         "bp-asm.h".
51868         (PARMS): Do not use macros from bp-asm.h.
51869         (__frexp): Do not use BP_SYM.
51870         (frexp): Likewise.
51871         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
51872         "bp-asm.h".
51873         (PARMS): Do not use macros from bp-asm.h.
51874         (__frexpf): Do not use BP_SYM.
51875         (frexpf): Likewise.
51876         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
51877         "bp-asm.h".
51878         (PARMS): Do not use macros from bp-asm.h.
51879         (__frexpl): Do not use BP_SYM.
51880         (frexpl): Likewise.
51881         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
51882         "bp-asm.h".
51883         (PARMS): Do not use macros from bp-asm.h.
51884         (__remquo): Do not use BP_SYM.
51885         (remquo): Likewise.
51886         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
51887         "bp-asm.h".
51888         (PARMS): Do not use macros from bp-asm.h.
51889         (__remquof): Do not use BP_SYM.
51890         (remquof): Likewise.
51891         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
51892         "bp-asm.h".
51893         (PARMS): Do not use macros from bp-asm.h.
51894         (__remquol): Do not use BP_SYM.
51895         (remquol): Likewise.
51896         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
51897         "bp-asm.h".
51898         (PARMS): Do not use macros from bp-asm.h.
51899         (DEST): Likewise.
51900         (SRC): Likewise.
51901         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
51902         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
51903         "bp-asm.h".
51904         (PARMS): Do not use macros from bp-asm.h.
51905         (strlen): Do not use BP_SYM.
51906         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
51907         "bp-asm.h".
51908         (PARMS): Do not use macros from bp-asm.h.
51909         (S1): Likewise.
51910         (S2): Likewise.
51911         (SIZE): Likewise.
51912         (__mpn_add_n): Do not use BP_SYM.
51913         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
51914         "bp-asm.h".
51915         (PARMS): Do not use macros from bp-asm.h.
51916         (S1): Likewise.
51917         (SIZE): Likewise.
51918         (__mpn_addmul_1): Do not use BP_SYM.
51919         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
51920         weak_alias.
51921         (bzero): Likewise.
51922         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
51923         "bp-asm.h".
51924         (PARMS): Do not use macros from bp-asm.h.
51925         (S): Likewise.
51926         (SIZE): Likewise.
51927         (__mpn_lshift): Do not use BP_SYM.
51928         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
51929         "bp-asm.h".
51930         (PARMS): Do not use macros from bp-asm.h.
51931         (DEST): Likewise.
51932         (SRC): Likewise.
51933         (LEN): Likewise.
51934         (memcpy): Likewise.  Do not use BP_SYM.
51935         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
51936         libc_hidden_def and weak_alias.
51937         (mempcpy): Do not use BP_SYM in weak_alias.
51938         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
51939         "bp-asm.h".
51940         (PARMS): Do not use macros from bp-asm.h.
51941         (DEST): Likewise.
51942         (LEN): Likewise.
51943         [!BZERO_P] (CHR): Likewise.
51944         (memset): Likewise.  Do not use BP_SYM.
51945         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
51946         "bp-asm.h".
51947         (PARMS): Do not use macros from bp-asm.h.
51948         (S1): Likewise.
51949         (SIZE): Likewise.
51950         (__mpn_mul_1): Do not use BP_SYM.
51951         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
51952         "bp-asm.h".
51953         (PARMS): Do not use macros from bp-asm.h.
51954         (S): Likewise.
51955         (SIZE): Likewise.
51956         (__mpn_rshift): Do not use BP_SYM.
51957         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
51958         "bp-asm.h".
51959         (PARMS): Do not use macros from bp-asm.h.
51960         (STR): Likewise.
51961         (CHR): Likewise.
51962         (strchr): Likewise.  Do not use BP_SYM.
51963         (index): Do not use BP_SYM in weak_alias.
51964         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
51965         "bp-asm.h".
51966         (PARMS): Do not use macros from bp-asm.h.
51967         (DEST): Likewise.
51968         (SRC): Likewise.
51969         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
51970         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
51971         "bp-asm.h".
51972         (PARMS): Do not use macros from bp-asm.h.
51973         (strlen): Do not use BP_SYM.
51974         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
51975         "bp-asm.h".
51976         (PARMS): Do not use macros from bp-asm.h.
51977         (S1): Likewise.
51978         (S2): Likewise.
51979         (SIZE): Likewise.
51980         (__mpn_sub_n): Do not use BP_SYM.
51981         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
51982         "bp-asm.h".
51983         (PARMS): Do not use macros from bp-asm.h.
51984         (S1): Likewise.
51985         (SIZE): Likewise.
51986         (__mpn_submul_1): Do not use BP_SYM.
51987         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
51988         "bp-asm.h".
51989         (PARMS): Do not use macros from bp-asm.h.
51990         (S1): Likewise.
51991         (S2): Likewise.
51992         (SIZE): Likewise.
51993         (__mpn_add_n): Do not use BP_SYM.
51994         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
51995         weak_alias.
51996         (bzero): Likewise.
51997         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
51998         "bp-asm.h".
51999         (PARMS): Do not use macros from bp-asm.h.
52000         (BLK2): Likewise.
52001         (LEN): Likewise.
52002         (memcmp): Do not use BP_SYM.
52003         (bcmp): Do not use BP_SYM in weak_alias.
52004         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52005         "bp-asm.h".
52006         (PARMS): Do not use macros from bp-asm.h.
52007         (DEST): Likewise.
52008         (SRC): Likewise.
52009         (LEN): Likewise.
52010         (memcpy): Likewise.  Do not use BP_SYM.
52011         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52012         "bp-asm.h".
52013         (PARMS): Do not use macros from bp-asm.h.
52014         (DEST): Likewise.
52015         (SRC): Likewise.
52016         (LEN): Likewise.
52017         (memmove): Likewise.  Do not use BP_SYM.
52018         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52019         "bp-asm.h".
52020         (PARMS): Do not use macros from bp-asm.h.
52021         (DEST): Likewise.
52022         (SRC): Likewise.
52023         (LEN): Likewise.
52024         (__mempcpy): Likewise.  Do not use BP_SYM.
52025         (mempcpy): Do not use BP_SYM in weak_alias.
52026         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52027         "bp-asm.h".
52028         (PARMS): Do not use macros from bp-asm.h.
52029         (DEST): Likewise.
52030         (LEN): Likewise.
52031         [!BZERO_P] (CHR): Likewise.
52032         (memset): Likewise.  Do not use BP_SYM.
52033         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52034         "bp-asm.h".
52035         (PARMS): Do not use macros from bp-asm.h.
52036         (STR2): Likewise.
52037         (strcmp): Do not use BP_SYM.
52038         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52039         "bp-asm.h".
52040         (PARMS): Do not use macros from bp-asm.h.
52041         (STR): Likewise.
52042         (DELIM): Likewise.
52043         [USE_AS_STRTOK_R] (SAVE): Likewise.
52044         (FUNCTION): Likewise.  Do not use BP_SYM.
52045         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52046         aliases.
52047         (strtok_r): Likewise.
52048         (__GI___strtok_r): Likewise.
52049         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52050         (PARMS): Do not use macros from bp-asm.h.
52051         (S): Likewise.
52052         (SIZE): Likewise.
52053         (__mpn_lshift): Do not use BP_SYM.
52054         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52055         (PARMS): Do not use macros from bp-asm.h.
52056         (STR): Likewise.
52057         (CHR): Likewise.
52058         (__memchr): Do not use BP_SYM.
52059         (memchr): Do not use BP_SYM in weak_alias.
52060         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52061         (PARMS): Do not use macros from bp-asm.h.
52062         (BLK2): Likewise.
52063         (LEN): Likewise.
52064         (memcmp): Do not use BP_SYM.
52065         (bcmp): Do not use BP_SYM in weak_alias.
52066         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52067         (PARMS): Do not use macros from bp-asm.h.
52068         (S1): Likewise.
52069         (SIZE): Likewise.
52070         (__mpn_mul_1): Do not use BP_SYM.
52071         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52072         "bp-asm.h".
52073         (PARMS): Do not use macros from bp-asm.h.
52074         (STR): Likewise.
52075         (CHR): Likewise.
52076         (__rawmemchr): Do not use BP_SYM.
52077         (rawmemchr): Do not use BP_SYM in weak_alias.
52078         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52079         (PARMS): Do not use macros from bp-asm.h.
52080         (S): Likewise.
52081         (SIZE): Likewise.
52082         (__mpn_rshift): Do not use BP_SYM.
52083         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52084         (PARMS): Do not use macros from bp-asm.h.
52085         (SIGMSK): Likewise.
52086         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52087         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52088         (_start): Do not use BP_SYM.
52089         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52090         (PARMS): Do not use macros from bp-asm.h.
52091         (DEST): Likewise.
52092         (SRC): Likewise.
52093         (__stpcpy): Likewise.  Do not use BP_SYM.
52094         (stpcpy): Do not use BP_SYM in weak_alias.
52095         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52096         "bp-asm.h".
52097         (PARMS): Do not use macros from bp-asm.h.
52098         (DEST): Likewise.
52099         (SRC): Likewise.
52100         (LEN): Likewise.
52101         (__stpncpy): Likewise.  Do not use BP_SYM.
52102         (stpncpy): Do not use BP_SYM in weak_alias.
52103         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52104         (PARMS): Do not use macros from bp-asm.h.
52105         (STR): Likewise.
52106         (CHR): Likewise.
52107         (strchr): Likewise.  Do not use BP_SYM.
52108         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52109         "bp-asm.h".
52110         (PARMS): Do not use macros from bp-asm.h.
52111         (STR): Likewise.
52112         (CHR): Likewise.
52113         (__strchrnul): Likewise.  Do not use BP_SYM.
52114         (strchrnul): Do not use BP_SYM in weak_alias.
52115         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52116         "bp-asm.h".
52117         (PARMS): Do not use macros from bp-asm.h.
52118         (STOP): Likewise.
52119         (strcspn): Do not use BP_SYM.
52120         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52121         "bp-asm.h".
52122         (PARMS): Do not use macros from bp-asm.h.
52123         (STR): Likewise.
52124         (STOP): Likewise.
52125         (strpbrk): Likewise.  Do not use BP_SYM.
52126         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52127         "bp-asm.h".
52128         (PARMS): Do not use macros from bp-asm.h.
52129         (STR): Likewise.
52130         (CHR): Likewise.
52131         (strrchr): Likewise.  Do not use BP_SYM.
52132         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52133         (PARMS): Do not use macros from bp-asm.h.
52134         (SKIP): Likewise.
52135         (strspn): Do not use BP_SYM.
52136         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52137         (PARMS): Do not use macros from bp-asm.h.
52138         (STR): Likewise.
52139         (DELIM): Likewise.
52140         (SAVE): Likewise.
52141         (FUNCTION): Likewise.  Do not use BP_SYM.
52142         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52143         aliases.
52144         (strtok_r): Likewise.
52145         (__GI___strtok_r): Likewise.
52146         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52147         (PARMS): Do not use macros from bp-asm.h.
52148         (S1): Likewise.
52149         (S2): Likewise.
52150         (SIZE): Likewise.
52151         (__mpn_sub_n): Do not use BP_SYM.
52152         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52153         "bp-asm.h".
52154         (PARMS): Do not use macros from bp-asm.h.
52155         (S1): Likewise.
52156         (SIZE): Likewise.
52157         (__mpn_submul_1): Do not use BP_SYM.
52158         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52159         <bp-sym.h>.
52160         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52161         and <bp-asm.h>.
52162         (PARMS): Do not use macros from bp-asm.h.
52163         (FLAGS): Likewise.
52164         (PTID): Likewise.
52165         (TLS): Likewise.
52166         (CTID): Likewise.
52167         (__clone): Do not use BP_SYM.
52168         (clone): Do not use BP_SYM in weak_alias.
52169         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52170         and <bp-asm.h>.
52171         (PARMS): Do not use macros from bp-asm.h.
52172         (LEN): Likewise.
52173         (__mmap64): Do not use BP_SYM.
52174         (mmap64): Do not use BP_SYM in weak_alias.
52175         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52176         <bp-sym.h> and <bp-asm.h>.
52177         (PARMS): Do not use macros from bp-asm.h.
52178         (__posix_fadvise64_l64): Do not use BP_SYM.
52179         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52180         (PARMS): Do not use macros from bp-asm.h.
52181         (NSOPS): Likewise.
52182         (semtimedop): Do not use BP_SYM.
52183         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52184         and <bp-asm.h>.
52186 2013-02-21  Allan McRae  <allan@archlinux.org>
52188         * manual/message.texi (Charset conversion in gettext):
52189         Move @end statement to beginning of line.
52191 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52194         static.
52195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52196         Likewise.
52198         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52199         (denorm): Likewise.
52200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52203 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52205         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52206         tail-call to the resolved function if pltexit isn't needed.
52208 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52211         or Y being zero as being unlikely.
52212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52213         Likewise.
52215 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52217         * manual/nss.texi (System Databases and Name Service Switch):
52218         Remove frobnicate @pxref.
52220 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52222         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52223         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52225 2013-02-20  Petr Machata  <pmachata@redhat.com>
52227         * elf/elf.h (R_ARM_TARGET1): New macro.
52228         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52229         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52230         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52231         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52232         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52233         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52234         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52235         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52236         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52237         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52238         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52239         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52240         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52241         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52242         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52243         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52244         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52245         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52246         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52247         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52248         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52249         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52250         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52251         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52252         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52253         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52254         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52255         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52256         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52257         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52258         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52259         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52260         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52261         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52262         (R_ARM_THM_GOT_BREL12): Likewise.
52263         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52264         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52265         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52266         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52267         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52268         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52269         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52270         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52271         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52273 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52275         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52276         __attribute_used__ to __attribute__ ((unused)).
52278 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52280         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52281         powerpc mpa.c.
52282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52283         comment formatting.
52284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52286 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
52288         [BZ #13550]
52289         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52290         Remove macro.
52291         (ENTER): Remove both macro definitions.
52292         (LEAVE): Likewise.
52293         (CHECK_BOUNDS_LOW): Likewise.
52294         (CHECK_BOUNDS_HIGH): Likewise.
52295         (CHECK_BOUNDS_BOTH): Likewise.
52296         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52297         (RETURN_BOUNDED_POINTER): Likewise.
52298         (RETURN_NULL_BOUNDED_POINTER): Likewise.
52299         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52300         (POP_ERRNO_LOCATION_RETURN): Likewise.
52301         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52303         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52304         macros.
52305         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52306         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52307         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52308         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52309         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52310         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52311         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52312         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52313         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52314         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52315         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52316         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52317         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52318         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52319         removed macros.
52320         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52321         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52322         macros.
52323         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52324         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52325         * sysdeps/i386/i586/memset.S (memset): Likewise.
52326         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52327         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52328         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52329         macros.
52330         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52331         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52332         Change uses of L(2) to L(out).
52333         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52334         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52335         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52336         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52337         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52338         removed macros.
52339         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52340         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52341         macros.
52342         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52343         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52344         (RETURN): Do not use macro LEAVE.
52345         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52346         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52347         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52348         * sysdeps/i386/i686/memset.S (memset): Likewise.
52349         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52350         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52351         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52352         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52353         Likewise.
52354         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52355         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
52356         L(1_2) and L(1_3) into L(1).
52357         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52358         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52359         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52360         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52361         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52362         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52363         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52365         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52366         macros.
52367         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52368         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52369         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52370         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52371         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52372         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52373         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52374         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52375         * sysdeps/i386/strcspn.S (strcspn): Likewise.
52376         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52377         * sysdeps/i386/strrchr.S (strrchr): Likewise.
52378         * sysdeps/i386/strspn.S (strspn): Likewise.
52379         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52380         conditional code.
52381         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52382         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52383         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52384         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
52385         L(1_3) into L(1_1).
52386         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52387         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52388         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52389         macros.
52390         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52392 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
52394         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52395         macro.
52397 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52399         * math/atest-exp.c (exp_mpn): Remove ROUND.
52400         * math/atest-exp2.c (exp_mpn): Likewise.
52401         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52403         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52404         * stdlib/tst-tls-atexit-lib.c: Likewise.
52405         * stdlib/tst-tls-atexit.c: Likewise.
52407 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52409         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52410         and __attribute_alloc_size__.
52412 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52414         * include/programs/xmalloc.h: Change __attribute_alloc_size to
52415         __attribute_alloc_size__.
52416         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52417         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52419 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
52421         * include/programs/xmalloc.h: New file.
52422         * catgets/gencat.c: Include it.
52423         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52424         * elf/pldd.c: Likewise.
52425         * iconv/iconv_charmap.c: Likewise.
52426         * iconv/iconvconfig.c: Likewise.
52427         * iconv/strtab.c: Likewise.
52428         * locale/programs/locale.c: Likewise.
52429         * locale/programs/localedef.h: Likewise.
52430         * locale/programs/simple-hash.c: Likewise.
52431         * nscd/nscd.h: Likewise.
52432         * nss/makedb.c: Likewise.
52433         * sysdeps/generic/ldconfig.h: Likewise.
52435 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52437         * Versions.def: Add GLIBC_2.18.
52438         * include/link.h (struct link_map): New member l_tls_dtor_count.
52439         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52440         (__call_tls_dtors): Likewise.
52441         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52442         __cxa_thread_atexit_impl.
52443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52444         Likewise.
52445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52446         Likewise.
52447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52448         Likewise.
52449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52450         Likewise.
52451         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52453         Likewise.
52454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52455         Likewise.
52456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52458         Likewise.
52459         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52460         (tests): Add test case tst-tls-atexit.
52461         (modules-names): Add shared library for tst-tls-atexit.
52462         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52463         (GLIBC_PRIVATE): Add __call_tls_dtors.
52464         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52465         for libstdc++.
52466         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52467         * stdlib/tst-tls-atexit.c: New test case.
52468         * stdlib/tst-tls-atexit-lib.c: New test case.
52470         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52472         * elf/Versions (ld): Add _dl_find_dso_for_object.
52473         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52474         * elf/dl-open.c (_dl_find_dso_for_object): New function.
52475         (dl_open_worker): Use _dl_find_dso_for_object.
52476         * elf/dl-sym.c (do_sym): Likewise.
52477         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52479 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52481         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52482         Syntactic changes only.
52483         (_dl_runtime_profile): Do a tail-call to the resolved function.
52485 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
52487         [BZ #13550]
52488         * sysdeps/x86_64/bp-asm.h: Remove file.
52489         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52490         <bp-sym.h> and <bp-asm.h>.
52491         (__clone): Do not use BP_SYM.
52492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52493         <bp-sym.h> and <bp-asm.h>.
52494         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52495         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52496         "bp-asm.h".
52497         (_setjmp): Do not use BP_SYM.
52498         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52499         "bp-asm.h".
52500         (setjmp): Do not use BP_SYM.
52501         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52502         libc_hidden_def.
52503         (mempcpy): Do not use BP_SYM in weak_alias.
52504         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52505         "bp-asm.h".
52506         (strchr): Do not use BP_SYM.
52507         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52508         "bp-asm.h".
52509         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52510         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52511         (_start): Do not use BP_SYM.
52512         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52513         "bp-asm.h".
52514         (strcat): Do not use BP_SYM.
52515         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52516         "bp-asm.h".
52517         (STRCMP): Do not use BP_SYM.
52518         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52519         "bp-asm.h".
52520         (STRCPY): Do not use BP_SYM.
52521         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52522         "bp-asm.h".
52523         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52524         "bp-asm.h".
52525         (FUNCTION): Do not use BP_SYM.
52526         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52527         weak_alias.
52528         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52530 2013-02-17  Andreas Jaeger  <aj@suse.de>
52532         * time/Versions: Sort entries.
52533         * string/Versions: Likewise.
52534         * resolv/Versions: Likewise.
52535         * posix/Versions: Likewise.
52536         * iconv/Versions: Likewise.
52537         * elf/Versions: Likewise.
52538         * wcsmbs/Versions: Likewise.
52540 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52542         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52543         loop termination condition.
52545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52546         variable to calculate EZ.
52547         (__sqr): Likewise.
52549         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52550         the lower precision input.
52552 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
52554         [BZ #13550]
52555         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52556         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52557         (run-via-rtld-prefix): Do not handle %-bp tests.
52558         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52559         (all-object-suffixes): Remove .ob.
52560         (bppfx): Remove variable.
52561         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52562         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52563         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52564         [$(build-bounded) = yes] (libtype.ob): Likewise.
52565         * Makerules (elide-routines.ob): Remove variable.
52566         (do-tests-clean): Do not handle *-bp.out.
52567         (common-mostlyclean): Do not handle *-bp and *-bp.out.
52568         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52569         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52570         (tests): Do not include $(tests-bp.out).
52571         (xtests): Do not include $(xtests-bp.out).
52572         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52573         [$(build-bounded) = yes] ($(addprefix
52574         $(objpfx),$(binaries-bounded))): Remove rule.
52575         ($(objpfx)%-bp.out): Remove rule.
52576         * config.make.in (build-bounded): Remove variable.
52577         * crypt/Makefile [$(build-bounded) = yes]
52578         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52579         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52580         append to variable.
52581         [$(build-bounded) = yes] (install-lib): Likewise.
52582         [$(build-bounded) = yes] (generated): Likewise.
52583         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52584         Remove rule.
52585         * intl/Makefile [$(build-bounded) = yes]
52586         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52587         * math/Makefile [$(build-bounded) = yes]
52588         ($(tests:%=$(objpfx)%-bp): Likewise.
52589         * misc/Makefile [$(build-bounded) = yes]
52590         ($(objpfx)tst-tsearch-bp): Likewise.
52591         * nptl/Makeconfig (bounded-thread-library): Remove variable.
52592         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52593         Remove dependency.
52594         * string/Makefile (o-objects.ob): Remove variable.
52595         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52596         (CFLAGS-.ob): Remove variable.
52597         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52598         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52599         both definitions of variable.
52600         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52601         (ASFLAGS-.ob): Remove variable.
52603 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
52605         [BZ #13550]
52606         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52607         Remove __BOUNDED_POINTERS__ from condition.
52608         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52609         * string/bits/string2.h [!__NO_STRING_INLINES &&
52610         !__BOUNDED_POINTERS__]: Likewise.
52611         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52612         Likewise.
52613         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52614         Remove conditional code.
52615         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52616         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52617         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52618         condition.
52620         [BZ #13550]
52621         * csu/libc-start.c: Do not include <bp-sym.h>.
52622         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52623         * elf/dl-open.c: Do not include <bp-sym.h>.
52624         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52625         * math/fegetenv.c: Do not include <bp-sym.h>.
52626         (fegetenv): Do not use BP_SYM in versioned symbols.
52627         * nptl/sysdeps/pthread/bits/libc-lockP.h
52628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52629         <bp-sym.h>.
52630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52631         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52633         (__pthread_mutex_destroy): Likewise.
52634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52635         (__pthread_mutex_lock): Likewise.
52636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52637         (__pthread_mutex_trylock): Likewise.
52638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52639         (__pthread_mutex_unlock): Likewise.
52640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52641         (__pthread_mutexattr_init): Likewise.
52642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52643         (__pthread_mutexattr_destroy): Likewise.
52644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52645         (__pthread_mutexattr_settype): Likewise.
52646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52647         (__pthread_rwlock_init): Likewise.
52648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52649         (__pthread_rwlock_destroy): Likewise.
52650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52651         (__pthread_rwlock_rdlock): Likewise.
52652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52653         (__pthread_rwlock_tryrdlock): Likewise.
52654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52655         (__pthread_rwlock_wrlock): Likewise.
52656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52657         (__pthread_rwlock_trywrlock): Likewise.
52658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52659         (__pthread_rwlock_unlock): Likewise.
52660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52661         (__pthread_key_create): Likewise.
52662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52663         (__pthread_setspecific): Likewise.
52664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52665         (__pthread_getspecific): Likewise.
52666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52667         Likewise.
52668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52669         (_pthread_cleanup_push_defer): Likewise.
52670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52671         (_pthread_cleanup_pop_restore): Likewise.
52672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52673         (pthread_setcancelstate): Likewise.
52674         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52675         <bp-sym.h>.
52676         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52677         (memchr): Do not use BP_SYM in weak_alias.
52678         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52679         (fegetenv): Do not use BP_SYM in versioned symbols.
52680         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52681         (fesetenv): Do not use BP_SYM in versioned symbols.
52682         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52683         (feupdateenv): Do not use BP_SYM in versioned symbols.
52684         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52685         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52686         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52687         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52688         (open64): Do not use BP_SYM in weak_alias.
52689         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52690         (fegetenv): Do not use BP_SYM in versioned symbols.
52691         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52692         (fesetenv): Do not use BP_SYM in versioned symbols.
52693         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52694         (feupdateenv): Do not use BP_SYM in versioned symbols.
52695         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52696         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52697         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52698         (feraiseexcept): Do not use BP_SYM in versioned symbols.
52699         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52700         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52701         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52702         <bp-sym.h>.
52703         (__libc_start_main): Do not use BP_SYM.
52705 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52708         redundant return line.
52709         (norm): Likewise.
52710         (denorm): Likewise.
52711         (dbl_mp): Likewise.
52712         (sub_magnitudes): Likewise.
52713         (__add): Likewise.
52714         (__sub): Likewise.
52715         (__mul): Likewise.
52716         (__inv): Likewise.
52717         (__dvd): Likewise.
52718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52719         (norm): Likewise.
52720         (denorm): Likewise.
52721         (dbl_mp): Likewise.
52722         (sub_magnitudes): Likewise.
52723         (__add): Likewise.
52724         (__sub): Likewise.
52725         (__mul): Likewise.
52726         (__inv): Likewise.
52727         (__dvd): Likewise.
52729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52730         instead of __mul.
52731         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52732         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52733         (cc32): Likewise.
52735         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52736         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52738         of __mul for squares.
52739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52740         function
52741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52742         Likewise.
52743         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52744         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52746 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
52748         [BZ #13550]
52749         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52750         code.
52751         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52752         prototype or function definition.  Rename ubp_* variables and
52753         parameters.  Remove argv definitions conditional on
52754         [__BOUNDED_POINTERS__].
52755         * debug/backtrace.c (__backtrace): Do not use __unbounded.
52756         * elf/dl-runtime.c (_dl_fixup): Likewise.
52757         * include/set-hooks.h (RUN_HOOK): Likewise.
52758         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52759         definition.
52760         * string/strcpy.c (strcpy): Do not use __unbounded.
52761         * sysdeps/generic/frame.h (struct layout): Likewise.
52762         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52763         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52764         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52765         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52766         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52767         (__backtrace): Likewise.
52768         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52769         use __ptrvalue.
52770         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52771         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52772         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52773         Likewise.
52774         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52775         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52776         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52777         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52778         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52779         Do not use __unbounded.
52780         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52781         Rename __unboundedrlimits parameter to rlimits in prototype.
52782         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52783         Do not use __unbounded.
52784         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52785         not use __ptrvalue.
52786         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52787         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52788         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52790         __ptrvalue or __unbounded.
52791         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52792         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52793         use __unbounded.
52794         (__new_msgctl): Do not use __ptrvalue.
52795         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52796         __unbounded.
52797         (__libc_msgrcv): Do not use __ptrvalue.
52798         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52799         startup_info): Do not use __unbounded.
52800         (__libc_start_main): Likewise.  Rename ubp_* variables and
52801         parameters.  Remove argv definitions conditional on
52802         [__BOUNDED_POINTERS__].
52803         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52804         __ptrvalue.
52805         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52806         use __unbounded.
52807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52808         or __ptrvalue.
52809         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52810         use __unbounded.
52811         (__new_shmctl): Do not use __ptrvalue.
52812         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52813         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52814         Likewise.
52815         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52817         (__libc_sigaction): Likewise.
52818         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52819         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52820         Likewise.
52821         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52823 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
52825         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52827         * string/mempcpy.c: Implement by calling memcpy.
52829 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52834         evaluation.
52836         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52837         values in the mantissa.
52839         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52840         minimize writes to Z.
52841         (sub_magnitudes): Simplify code a bit.
52843 2013-02-12  Roland McGrath  <roland@hack.frob.com>
52845         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
52846         from the message.  The linker prefixes all warnings with that already.
52848 2013-02-12  Andreas Schwab  <schwab@suse.de>
52850         [BZ #15078]
52851         * posix/regexec.c (extend_buffers): Add parameter min_len.
52852         (check_matching): Pass minimum needed length.
52853         (clean_state_log_if_needed): Likewise.
52854         (get_subexp): Likewise.
52855         * posix/Makefile (tests): Add bug-regex34.
52856         (bug-regex34-ENV): Define.
52857         * posix/bug-regex34.c: New file.
52859         [BZ #11561]
52860         * posix/regcomp.c (parse_bracket_exp): When looking up collating
52861         elements compare against the byte sequence of it, not its name.
52862         * posix/Makefile (tests): Add bug-regex35.
52863         (bug-regex35-ENV): Define.
52864         * posix/bug-regex35.c: New file.
52866 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52868         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
52869         comment.
52870         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
52871         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
52872         (CHECK_EOL): Add undef.
52874 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
52876         * bits/stdlib-bsearch.h: New file.
52877         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
52878         * stdlib/stdlib.h: Likewise.
52880 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52882         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
52883         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
52884         declaration.
52885         * manual/search.texi (Array Search Function): Add missing const in
52886         lfind prototype.
52887         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
52888         declaration to use rlim_t.
52889         (Basic Scheduling Functions): Remove erroneous const from
52890         sched_getparam prototype.  Remove erroneous * from
52891         sched_get_priority_max and sched_get_priority_min prototypes.
52892         (Resource Usage): Fix summary @comment on vtimes to refer to
52893         sys/vtimes.h rather than vtimes.h.
52894         Add missing *s in vtimes prototype.
52895         (Limits on Resources): Fix ulimit prototype to return long int.
52896         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
52897         prototypes to use long int rather than double.
52898         (BSD Random): Fix initstate and setstate to use char *, not void *.
52899         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
52900         prototype to make second argument 'struct aiocb64 *const[]'.
52901         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
52902         (Status of AIO Operations): Remove erroneous const in aio_return and
52903         aio_return64 prototypes.
52904         (Synchronizing I/O): Fix sync prototype to return void.
52905         * manual/startup.texi (Suboptions): Remove an erroneous const in
52906         getsubopt prototype.
52907         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
52908         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
52909         use size_t rather than int.
52910         (Scanning All Users): Likewise for getpwent_r.
52911         (Setting Groups): Add missing const to setgroups prototype.
52912         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
52913         * manual/socket.texi (Host Names): Fix gethostbyaddr and
52914         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
52915         'const void *' rather than 'const char *'.
52916         (Host Address Functions): Likewise for inet_ntop.
52917         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
52918         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
52919         ssize_t for return value.
52920         (Sending Data): Likewise for send, sendto, sendmsg.
52921         (Socket Option Functions): Add a missing const in setsockopt prototype.
52922         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
52923         use wchar_t for the argument.
52924         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
52925         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
52926         take no arguments.
52927         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
52928         double/float/long double for second argument.
52929         Fix return types of significand, significandf, significandl.
52930         * manual/filesys.texi (Setting Permissions): Use mode_t for second
52931         argument in fchmod prototype.
52932         (File Owner): Use uid_t and gid_t in fchown prototype.
52933         (File Times): Add const to utimes, futimes, and lutimes prototypes.
52934         (Making Special Files): Use mode_t and dev_t in mknod prototype.
52935         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
52936         use 'const struct dirent **' as argument types to CMP function pointer
52937         argument.
52938         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
52939         (File Times): Fix summary magic @comment for struct utimbuf and utime
52940         to refer to utime.h, not time.h.
52941         * manual/string.texi (Argz Functions): Add missing const in
52942         argz_extract and argz_next prototypes.
52943         (Finding Tokens in a String): Likewise for basename.
52944         (String/Array Comparison): Fix typo in wcscasecmp prototype.
52945         (Copying and Concatenation): Fix typo in wmemmove prototype.
52946         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
52947         (Signal Stack): Remove erroneous const in sigstack prototype.
52948         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
52949         prototype.
52950         (Simple Calendar Time): Likewise for stime.
52951         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
52952         prototype.
52953         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
52954         say sys/sysctl.h instead.
52955         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
52956         and vsyslog prototypes.
52958 2013-02-11  Tom de Vries  <tom@codesourcery.com>
52960         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
52961         Remove.
52963 2013-02-11  Roland McGrath  <roland@hack.frob.com>
52965         * misc/sys/mman.h: Fix typo in mremap comment.
52967 2013-02-08  Roland McGrath  <roland@hack.frob.com>
52969         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
52970         the '\0' terminator.
52972 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
52974         [BZ #13550]
52975         * debug/segfault.c: Don't include <bp-checks.h>.
52976         * sysdeps/generic/bp-checks.h: Remove file.
52977         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
52978         (__GETDENTS): Don't use CHECK_N.
52979         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
52980         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
52981         (__getgroups): Don't use CHECK_N.
52982         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
52983         (setgroups): Don't use CHECK_N.
52984         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
52985         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
52986         (__libc_msgrcv): Don't use CHECK_N.
52987         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
52988         (__libc_msgsnd): Don't use CHECK_N.
52989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
52990         <bp-checks.h>.
52991         (__libc_pread): Don't use CHECK_N.
52992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
52993         include <bp-checks.h>.
52994         (__libc_pread64): Don't use CHECK_N.
52995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
52996         include <bp-checks.h>.
52997         (__libc_pwrite): Don't use CHECK_N.
52998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
52999         include <bp-checks.h>.
53000         (__libc_pwrite64): Don't use CHECK_N.
53001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53002         <bp-checks.h>.
53003         (__libc_pread): Don't use CHECK_N.
53004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53005         include <bp-checks.h>.
53006         (__libc_pread64): Don't use CHECK_N.
53007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53008         include <bp-checks.h>.
53009         (__libc_pwrite): Don't use CHECK_N.
53010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53011         include <bp-checks.h>.
53012         (__libc_pwrite64): Don't use CHECK_N.
53013         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53014         (do_pread): Don't use CHECK_N.
53015         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53016         (do_pread64): Don't use CHECK_N.
53017         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53018         (do_pwrite): Don't use CHECK_N.
53019         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53020         (do_pwrite64): Don't use CHECK_N.
53021         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53022         (__libc_readv): Don't use CHECK_N.
53023         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53024         (semop): Don't use CHECK_N.
53025         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53026         <bp-checks.h>.
53027         (semtimedop): Don't use CHECK_N.
53028         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53029         (__libc_pread): Don't use CHECK_N.
53030         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53031         <bp-checks.h>.
53032         (__libc_pread64): Don't use CHECK_N.
53033         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53034         <bp-checks.h>.
53035         (__libc_pwrite): Don't use CHECK_N.
53036         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53037         <bp-checks.h>.
53038         (__libc_pwrite64): Don't use CHECK_N.
53039         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53040         <bp-checks.h>.
53041         (__libc_msgrcv): Don't use CHECK_N.
53042         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53043         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53044         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53045         (__libc_writev): Don't use CHECK_N.
53047 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53049         * string/strcpy.c: Removed unused variable.
53051         * Makeconfig (+sysdep-includes): Define with := rather than =.
53052         Use an existing include/ subdir of each sysdeps dir before it.
53054 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53056         * nscd/connection.c (register_traced_file): Comment function.
53057         [HAVE_INOTIFY] (union __inev): Define.
53058         [HAVE_INOTIFY] (inotify_check_files): New function.
53059         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53060         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53061         clear_db_cache.
53062         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53064 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53066         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53067         loaded if not already and that a failure is permanent.
53069 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53071         [BZ #15006]
53072         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53073         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53075 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53077         [BZ #13550]
53078         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53079         (CHECK_1_NULL_OK): Likewise.
53080         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53081         (__fxstat): Do not use CHECK_1.
53082         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53083         <bp-checks.h>.
53084         (___fxstat64): Do not use CHECK_1.
53085         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53086         <bp-checks.h>.
53087         (__fxstatat): Do not use CHECK_1.
53088         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53089         <bp-checks.h>.
53090         (__fxstatat64): Do not use CHECK_1.
53091         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53092         <bp-checks.h>.
53093         (__fxstat): Do not use CHECK_1.
53094         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53095         <bp-checks.h>.
53096         (__fxstatat): Do not use CHECK_1.
53097         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53098         <bp-checks.h>.
53099         (__getresgid): Do not use CHECK_1.
53100         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53101         <bp-checks.h>.
53102         (__getresuid): Do not use CHECK_1.
53103         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53104         <bp-checks.h>.
53105         (__lxstat): Do not use CHECK_1.
53106         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53107         <bp-checks.h>.
53108         (__old_msgctl): Do not use CHECK_1.
53109         (__new_msgctl): Likewise.
53110         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53111         <bp-checks.h>.
53112         (__new_setrlimit): Do not use CHECK_1.
53113         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53114         <bp-checks.h>.
53115         (__old_shmctl): Do not use CHECK_1.
53116         (__new_shmctl): Likewise.
53117         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53118         <bp-checks.h>.
53119         (__xstat): Do not use CHECK_1.
53120         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53121         (__lxstat): Do not use CHECK_1.
53122         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53123         <bp-checks.h>.
53124         (___lxstat64): Do not use CHECK_1.
53125         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53126         (__old_msgctl): Do not use CHECK_1.
53127         (__new_msgctl): Likewise.
53128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53129         <bp-checks.h>.
53130         (__gettimeofday): Do not use CHECK_1.
53131         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53132         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53133         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53134         <bp-checks.h>.
53135         (__gettimeofday): Do not use CHECK_1.
53136         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53137         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53138         (__new_shmctl): Do not use CHECK_1.
53139         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53140         <bp-checks.h>.
53141         (do_sigtimedwait): Do not use CHECK_1.
53142         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53143         <bp-checks.h>.
53144         (do_sigwaitinfo): Do not use CHECK_1.
53145         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53146         <bp-checks.h>.
53147         (msgctl): Do not use CHECK_1.
53148         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53149         <bp-checks.h>.
53150         (shmctl): Do not use CHECK_1.
53151         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53152         (ustat): Do not use CHECK_1.
53153         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53154         <bp-checks.h>.
53155         (__fxstat): Do not use CHECK_1.
53156         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53157         <bp-checks.h>.
53158         (__fxstatat): Do not use CHECK_1.
53159         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53160         <bp-checks.h>.
53161         (__lxstat): Do not use CHECK_1.
53162         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53163         <bp-checks.h>.
53164         (__xstat): Do not use CHECK_1.
53165         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53166         (__xstat): Do not use CHECK_1.
53167         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53168         (___xstat64): Do not use CHECK_1.
53170         [BZ #13550]
53171         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53172         definitions.
53173         (CHECK_BOUNDS_HIGH): Likewise.
53174         * string/strcpy.c: Do not include <bp-checks.h>.
53175         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53177 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53179         * nscd/nscd-client.h (__nscd_drop_map_ref):
53180         Add __attribute__ ((unused)).
53181         * nis/nss-nisplus.h (niserr2nss): Likewise.
53183         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53184         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53186         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53187         Remove inline keyword.
53188         * include/rounding-mode.h (round_away): Likewise.
53189         * libio/wfileops.c (adjust_wide_data): Likewise.
53190         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53191         (__m128i_strloadu_tolower): Likewise.
53192         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53193         (__m128i_strloadu_tolower): Likewise.
53194         * time/mktime.c (ydhms_diff): Likewise.
53195         * locale/elem-hash.h (elem_hash): Likewise.
53196         * locale/setlocale.c (setdata): Likewise.
53197         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53198         (re_string_wchar_at): Likewise.
53199         (bitset_not, bitset_merge, bitset_mask): Likewise.
53200         [!(__GNUC__ > 3)] (inline): Remove macro.
53201         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53202         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53203         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53204         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53205         * string/memcmp.c (memcmp_bytes): Likewise.
53206         * locale/programs/locarchive.c (compute_hashval): Likewise.
53207         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53208         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53209         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53210         * nss/getent.c (print_rpc, print_protocols): Likewise.
53211         (print_passwd, print_group, print_aliases): Likewise.
53212         * nis/nss-nisplus.h (niserr2nss): Likewise.
53213         * nscd/connections.c (restart_p): Likewise.
53214         Change return type to bool.
53216 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53218         * Makeconfig (all-Depend-files): Add existing
53219         $(sorted-subdirs:=/Depend) files.
53220         (all-subdirs): Remove nss.
53221         * sysdeps/unix/inet/Subdirs: Add it here instead.
53222         * hesiod/Depend: New file.
53224         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53225         instead of calling alloca.
53227         * io/lseek.c (__lseek): Rename to __libc_lseek.
53228         Define __lseek as an alias.
53230         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53232 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53234         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53235         else clause and remove check for non-standard endianness.
53237 2013-02-04  David S. Miller  <davem@davemloft.net>
53239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53241 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53243         [BZ #13550]
53244         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53245         (__ubp_memchr): Remove prototype.
53246         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53247         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53248         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53249         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53250         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53251         Remove alias.
53252         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53253         (__ubp_memchr): Likewise.
53254         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53255         (__ubp_memchr): Likewise.
53256         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53257         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53258         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53259         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53260         CHECK_STRING.
53261         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53262         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53263         (__getcwd): Do not use CHECK_STRING.
53264         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53265         <bp-checks.h>.
53266         (__real_chown): Do not use CHECK_STRING.
53267         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53268         <bp-checks.h>.
53269         (fchownat): Do not use CHECK_STRING.
53270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53271         CHECK_STRING.
53272         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53273         <bp-checks.h>.
53274         (__lchown): Do not use CHECK_STRING.
53275         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53276         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53277         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53278         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53280         include <bp-checks.h>.
53281         (truncate64): Do not use CHECK_STRING.
53282         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53283         <bp-checks.h>.
53284         (__real_chown): Do not use CHECK_STRING.
53285         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53286         <bp-checks.h>.
53287         (__lchown): Do not use CHECK_STRING.
53288         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53289         <bp-checks.h>.
53290         (__chown): Do not use CHECK_STRING.
53291         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53292         <bp-checks.h>.
53293         (truncate64): Do not use CHECK_STRING.
53294         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53295         Likewise.
53296         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53297         (__xmknod): Do not use CHECK_STRING.
53298         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53299         <bp-checks.h>.
53300         (__xmknodat): Do not use CHECK_STRING.
53301         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53302         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53304 2013-02-04  Andreas Schwab  <schwab@suse.de>
53306         [BZ #14142]
53307         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53308         * include/netdb.h: Likewise for h_errno.
53309         * elf/tst-stackguard1.c: Include <tls.h>.
53311 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
53313         * elf/link.h (struct link_map): Extend the l_addr comment.
53314         * include/link.h (struct link_map): Likewise.
53316 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
53318         [BZ #13550]
53319         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53320         (BOUNDED_1): Remove macro.
53321         * debug/backtrace.c: Don't include <bp-checks.h>.
53322         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53323         (__backtrace): Likewise.
53324         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53325         <bp-checks.h>.
53326         (__backtrace): Don't use BOUNDED_1.
53327         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53328         <bp-checks.h>.
53329         (__backtrace): Don't use BOUNDED_1.
53330         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53331         (__backtrace): Don't use BOUNDED_1.
53332         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53333         (shmat): Don't use BOUNDED_N.
53335 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
53337         [BZ #13550]
53338         * sysdeps/generic/bp-start.h: Remove file.
53339         * csu/libc-start.c: Don't include <bp-start.h>.
53340         (LIBC_START_MAIN): Set up __environ directly instead of using
53341         INIT_ARGV_and_ENVIRON.
53342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53343         <bp-start.h>.
53345         [BZ #13550]
53346         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53347         definitions.
53348         (CHECK_FCNTL): Likewise.
53349         (CHECK_N_PAGES): Likewise.
53351         [BZ #13550]
53352         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53353         definitions.
53354         (CHECK_SIGSET_NULL_OK): Likewise.
53355         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53356         <bp-checks.h>.
53357         (sigpending): Don't use CHECK_SIGSET.
53358         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53359         <bp-checks.h>.
53360         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53361         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53362         <bp-checks.h>.
53363         (do_sigsuspend): Don't use CHECK_SIGSET.
53364         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53365         use CHECK_SIGSET.
53366         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53367         (do_sigwait): Don't use CHECK_SIGSET.
53368         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53369         use CHECK_SIGSET.
53370         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53371         include <bp-checks.h>.
53372         (sigpending): Don't use CHECK_SIGSET.
53373         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53374         include <bp-checks.h>.
53375         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53376         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53377         <bp-checks.h>.
53378         (sigpending): Don't use CHECK_SIGSET.
53379         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53380         <bp-checks.h>.
53381         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53383         [BZ #13550]
53384         * sysdeps/generic/bp-semctl.h: Remove file.
53385         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53386         <bp-checks.h> and <bp-semctl.h>.
53387         (__old_semctl): Don't use CHECK_SEMCTL.
53388         (__new_semctl): Likewise.
53389         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53390         and <bp-semctl.h>.
53391         (__old_semctl): Don't use CHECK_SEMCTL.
53392         (__new_semctl): Likewise.
53393         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53394         <bp-checks.h> and <bp-semctl.h>.
53395         (__old_semctl): Don't use CHECK_SEMCTL.
53396         (__new_semctl): Likewise.
53397         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53398         <bp-checks.h> and <bp-semctl.h>.
53399         (semctl): Don't use CHECK_SEMCTL.
53401         [BZ #13550]
53402         * Makerules (elide-bp-thunks): Remove variable.
53403         (elide-routines.oS): Don't use $(elide-bp-thunks).
53404         (elide-routines.os): Likewise.
53405         (elide-routines.o): Likewise.
53406         (elide-routines.op): Likewise.
53407         (elide-routines.og): Likewise.
53408         (objects): Don't use $(bp-thunks).
53409         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53410         include.
53411         (common-generated): Do not add s-proto-bp.d.
53412         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53413         (int): Likewise.
53414         (typ): Likewise.
53415         Do not generate makefile rules for bounded-pointer thunks.
53416         * sysdeps/generic/bp-thunks.h: Remove file.
53417         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53418         * sysdeps/unix/s-proto-bp.S: Likewise.
53420         [BZ #15062]
53421         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53422         parts of result separately when argument is not close to line from
53423         -i to i and one part of argument is small.
53424         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53425         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53426         * math/libm-test.inc (cacos_test): Add more tests.
53427         (casin_test): Likewise.
53428         (casinh_test): Likewise.
53429         * sysdeps/i386/fpu/libm-test-ulps: Update.
53430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53432 2013-01-31  David S. Miller  <davem@davemloft.net>
53434         * po/de.po: Update from translation team.
53436 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
53438         * time/tzfile.c: Include stdint.h for SIZE_MAX.
53440 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
53442         * configure.in (_AC_PROG_CC_C89): New definition.
53443         * configure: Regenerate.
53445         * configure.in (AC_PROG_CPP): New definition.
53446         * configure: Regenerate.
53448 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53450         * debug/tst-backtrace.h: New file.
53451         * debug/tst-backtrace2.c: Include tst-backtrace.h.
53452         (ret): Remove variable.
53453         (x): Likewise.
53454         (FAIL): Remove macro.
53455         (NO_INLINE): Likewise.
53456         (fn1): Use match function instead of strstr.
53457         * debug/tst-backtrace3.c: Include tst-backtrace.h.
53458         (ret): Remove variable.
53459         (x): Likewise.
53460         (FAIL): Remove macro.
53461         (NO_INLINE): Likewise.
53462         (fn): Use match function instead of strstr.
53463         * debug/tst-backtrace4.c: Include tst-backtrace.h.
53464         (ret): Remove variable.
53465         (x): Likewise.
53466         (FAIL): Remove macro.
53467         (NO_INLINE): Likewise.
53468         (handle_signal): Use match function instead of strstr.
53469         * debug/tst-backtrace5.c: Include tst-backtrace.h.
53470         (ret): Remove variable.
53471         (x): Likewise.
53472         (FAIL): Remove macro.
53473         (NO_INLINE): Likewise.
53474         (handle_signal): Use match function instead of strstr.
53476 2013-01-23  Roland McGrath  <roland@hack.frob.com>
53478         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53480 2013-01-23  David S. Miller  <davem@davemloft.net>
53482         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53483         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53484         argument of CAS if possible.
53485         * sysdeps/sparc/sparc64/bits/atomic.h
53486         (__arch_compare_and_exchange_val_32_acq): Likewise.
53487         (__arch_compare_and_exchange_val_64_acq): Likewise.
53489 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
53491         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53492         * sysdeps/posix/ulimit.c: ... this.
53493         Include <limits.h>.
53494         * sysdeps/unix/bsd/ulimit.c: Remove file.
53496 2013-01-23  Adam Conrad  <adconrad@0c3.net>
53498         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53499         (LDFLAGS-tst-array5): Likewise.
53501 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
53503         [BZ #15036]
53504         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53505         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53506         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53507         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53509 2013-01-21  David S. Miller  <davem@davemloft.net>
53511         * sysdeps/sparc/backtrace.c: New file.
53512         * sysdeps/sparc/sparc32/backtrace.h: New file.
53513         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53514         * sysdeps/sparc/sparc64/backtrace.h: New file.
53515         * sysdeps/sparc/sparc64/backtrace.c: Delete.
53516         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53517         -funwind-tables.
53519 2013-01-21  Andreas Schwab  <schwab@suse.de>
53521         [BZ #15020]
53522         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53523         closed its stdout.
53525 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
53527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53528         "mpa2.h".
53529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53531 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
53532             Mark Mitchell  <mark@codesourcery.com>
53533             Tom de Vries  <tom@codesourcery.com>
53534             Paul Pluzhnikov  <ppluzhnikov@google.com>
53536         * debug/tst-backtrace2.c: New file.
53537         * debug/tst-backtrace3.c: Likewise.
53538         * debug/tst-backtrace4.c: Likewise.
53539         * debug/tst-backtrace5.c: Likewise.
53540         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53541         (CFLAGS-tst-backtrace3.c): Likewise.
53542         (CFLAGS-tst-backtrace4.c): Likewise.
53543         (CFLAGS-tst-backtrace5.c): Likewise.
53544         (LDFLAGS-tst-backtrace2): Likewise.
53545         (LDFLAGS-tst-backtrace3): Likewise.
53546         (LDFLAGS-tst-backtrace4): Likewise.
53547         (LDFLAGS-tst-backtrace5): Likewise.
53548         (tests): Add new tests tst-backtrace2, tst-backtrace3,
53549         tst-backtrace4 and tst-backtrace5.
53551 2013-01-18  Anton Blanchard  <anton@samba.org>
53552             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53554         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53555         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53556         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53557         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53559         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53560         "+r" and remove output regs list as redundant.  Add explicit inline
53561         asm to specify register of return val to work around compiler codegen
53562         bug.  Remove (int) cast on return value.  Add return type parameter to
53563         use in macro so that this macro does not truncate return value for
53564         64-bit values.
53565         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53566         pass to INTERNAL_VSYSCALL_NCS.
53567         (INLINE_VSYSCALL): Add 'long int' as return type to
53568         INTERNAL_VSYSCALL_NCS macro invocation.
53569         (INTERNAL_VSYSCALL): Add 'long int' as return type to
53570         INTERNAL_VSYSCALL_NCS macro invocation.
53571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53573 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53575         [BZ #14496]
53576         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53577         Fix application of SIMD FP exception mask.
53579         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53580         mp_no from a power of two.
53581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53582         __mpexp_twomm1.  Use __pow_mp.
53584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53585         multiplication.
53587 2013-01-17  David S. Miller  <davem@davemloft.net>
53589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53591 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53593         [BZ #15023]
53594         * include/complex.h: Condition contents on [!_COMPLEX_H].
53595         (__kernel_casinhf): New prototype.
53596         (__kernel_casinh): Likewise.
53597         (__kernel_casinhl): Likewise.
53598         * math/Makefile (libm_calls): Add k_casinh.
53599         * math/k_casinh.c: New file.
53600         * math/k_casinhf.c: Likewise.
53601         * math/k_casinhl.c: Likewise.
53602         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53603         finite nonzero arguments.
53604         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53605         finite nonzero arguments.
53606         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53607         finite nonzero arguments.
53608         * math/s_casinh.c: Do not include <float.h>.
53609         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53610         * math/s_casinhf.c: Do not include <float.h>.
53611         (__casinhf): Move code for finite nonzero arguments to
53612         k_casinhf.c.
53613         * math/s_casinhl.c: Do not include <float.h>.
53614         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53615         redefine.
53616         (__casinhl): Move code for finite nonzero arguments to
53617         k_casinhl.c.
53618         * math/libm-test.inc (cacos_test): Add more tests.
53619         * sysdeps/i386/fpu/libm-test-ulps: Update.
53620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53622 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
53624         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53625         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53626         [!HAVE_MREMAP]: Remove [defined linux] case.
53627         * malloc/arena.c: Do not include <malloc-sysdep.h>.
53629 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53631         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53633 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
53635         * elf/elf.h (R_386_SIZE32): New relocation.
53636         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53637         R_386_SIZE32.
53638         (elf_machine_rela): Likewise.
53639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53640         R_X86_64_SIZE64 and R_X86_64_SIZE32.
53642 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
53644         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53645         (FP_FAST_FMA): Do not define.
53646         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53647         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53648         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53649         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53650         !_SOFT_FLOAT]: Likewise.
53651         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53652         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53653         value.
53654         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53655         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53656         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53657         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53658         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53659         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53660         file.
53662 2013-01-16  Andreas Schwab  <schwab@suse.de>
53664         [BZ #14327]
53665         * include/stdlib.h (__mktemp): Add declaration.
53666         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53667         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53669 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53671         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53672         definitions.
53673         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53674         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53675         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53676         definitions here.
53677         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53678         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53679         definitions.
53680         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53681         and ONE.
53682         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53683         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53684         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53685         definitions.
53686         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53687         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53688         definitions.
53689         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53691         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53693 2013-01-15  David S. Miller  <davem@davemloft.net>
53695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53696         trunc{,f} to libm-sysdep_routes.
53697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53699         file.
53700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53702         file.
53703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53704         file.
53705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53707         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53708         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53709         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53710         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53711         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53712         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53715         nearbyint{,f} to libm-sysdep_routes.
53716         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53718         New file.
53719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53720         file.
53721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53722         New file.
53723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53724         file.
53725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53727         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53728         file.
53729         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53730         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53731         file.
53732         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53733         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53734         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53736         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53737         libc_feholdexcept and libc_fesetenv.
53739 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
53741         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53743 2013-01-14  David S. Miller  <davem@davemloft.net>
53745         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53746         (SPARC_ASM_VIS2_IFUNC): Likewise.
53747         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53749         use of 'siam' instruction.
53750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53751         Likewise.
53752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53753         Likewise.
53754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53755         Likewise.
53756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53761         file.
53762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53763         file.
53764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53765         file.
53766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53767         file.
53768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53773         new VIS2 routines.
53774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53777         Likewise.
53778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53783         routines to libm-sysdep_routines.
53784         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53787         fdim/fdimf to libm-sysdep_routines.
53788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53789         file.
53790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53792         file.
53793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53796         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53797         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53798         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53799         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53801 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53803         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53804         to optimize copies.
53806         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53811         local variable MPTWO.
53812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53813         Likewise.
53815 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53817         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53818         GLOB_NOESCAPE.
53820 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53822         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53824 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
53826         * manual/pattern.texi (glob_t): Document gl_flags.
53827         (glob64_t): Likewise.
53829 2013-01-11  David S. Miller  <davem@davemloft.net>
53831         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53832         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53833         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
53834         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53835         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53836         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53837         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53838         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53839         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53840         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53841         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53842         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53843         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
53845         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
53846         sparc V9 rather than using V8 code.
53847         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
53848         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
53851         Move to...
53852         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
53853         Here.
53855 2013-01-11  Roland McGrath  <roland@hack.frob.com>
53857         [BZ #14941]
53858         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
53859         not in the main loop.
53860         * configure: Regenerated.
53862 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
53864         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
53865         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
53866         to just #else.
53867         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
53868         [!__GLIBC_HAVE_LONG_LONG] case.
53869         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
53870         condition to just #else.
53871         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
53872         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
53873         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
53874         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
53875         unconditional.
53876         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
53877         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53878         #elif condition to just #else.
53879         * sysdeps/unix/sysv/linux/sys/sysmacros.h
53880         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
53881         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
53882         #elif condition to just #else.
53884 2013-01-11  Steve Ellcey  <sellcey@mips.com>
53886         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
53887         (EF_MIPS_ARCH_64): Fix value.
53888         (EF_MIPS_ARCH_32R2): New.
53889         (EF_MIPS_ARCH_64R2): New.
53891 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
53893         * Makeconfig (+link-pie-before-libc): New.
53894         (+link-pie-after-libc): Likewise.
53895         (+link-pie-tests): Likewise.
53896         (+link-pie): Rewritten.
53897         (link-before-libc): Remove $(config-LDFLAGS).
53898         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
53899         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
53900         (config-LDFLAGS): Renamed to ...
53901         (rtld-LDFLAGS): This.
53902         (rtld-tests-LDFLAGS): New macro.
53903         (link-libc-rpath-link): Likewise.
53904         (link-libc-tests-rpath-link): Likewise.
53905         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
53906         (link-libc): Prepand $(link-libc-rpath-link).
53907         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
53908         (test-program-prefix): New macro.
53909         (test-via-rtld-prefix): Likewise.
53910         (test-program-cmd): Likewise.
53911         (host-test-program-cmd): Likewise.
53912         * Makefile ($(common-objpfx)testrun.sh): Replace
53913         $(run-program-prefix) with $(test-program-prefix).
53914         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
53915         $(rtld-LDFLAGS).
53916         ($(common-objpfx)shlib.lds): Likewise.
53917         (build-module-helper): Likewise.
53918         ($(common-objpfx)format.lds): Likewise.
53919         * Rules (binaries-pie-tests): New.
53920         (binaries-pie-notests): Likewise.
53921         (binaries-pie): Rewritten.
53922         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
53923         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
53924         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
53925         (make-test-out): Replace $(host-built-program-cmd) with
53926         $(host-test-program-cmd).
53927         * config.make.in (build-hardcoded-path-in-tests): New variable.
53928         * configure.in (--enable-hardcoded-path-in-tests): New configure
53929         option.
53930         (hardcoded_path_in_tests): New AC_SUBST.
53931         * configure: Regenerated.
53932         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
53933         $(built-program-cmd) with $(test-program-cmd).
53934         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
53935         (test_program_cmd): This.
53936         * elf/Makefile ($(objpfx)order.out): Run test with
53937         $(test-program-prefix).
53938         ($(objpfx)order2.out): Likewise.
53939         ($(objpfx)tst-initorder.out): Likewise.
53940         ($(objpfx)tst-initorder2.out): Likewise.
53941         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
53942         $(test-program-cmd).
53943         ($(objpfx)tst-array1-static.out): Likewise.
53944         ($(objpfx)tst-array2.out): Likewise.
53945         ($(objpfx)tst-array3.out): Likewise.
53946         ($(objpfx)tst-array4.out): Likewise.
53947         ($(objpfx)tst-array5.out): Likewise.
53948         ($(objpfx)tst-array5-static.out): Likewise.
53949         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
53950         $(test-program-cmd).
53951         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
53952         $(run-program-prefix) with $(test-program-prefix).
53953         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
53954         (test_program_prefix): This.
53955         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
53956         $(run-program-prefix) with $(test-program-prefix).
53957         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
53958         (test_program_prefix): This.
53959         * iconvdata/tst-tables.sh: Likewise.
53960         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
53961         $(run-program-prefix) with $(test-program-prefix).
53962         ($(objpfx)tst-translit.out): Likewise.
53963         ($(objpfx)tst-gettext2.out): Likewise.
53964         ($(objpfx)tst-gettext4.out): Likewise.
53965         ($(objpfx)tst-gettext6.out): Likewise.
53966         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
53967         (test_program_prefix): This.
53968         * intl/tst-gettext2.sh: Likewise.
53969         * intl/tst-gettext4.sh  Likewise.
53970         * intl/tst-gettext6.sh: Likewise.
53971         * intl/tst-translit.sh: Likewise.
53972         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
53973         with $(test-program-cmd).
53974         * libio/Makefile ($(objpfx)test-freopen.out): Replace
53975         $(run-program-prefix) with $(test-program-prefix).
53976         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
53977         (test_program_prefix): This.
53978         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
53979         $(run-program-prefix) with $(test-program-prefix).
53980         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
53981         (test_program_prefix): This.
53982         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
53983         * posix/Makefile ($(objpfx)globtest.out): Replace
53984         $(run-via-rtld-prefix) and $(test-wrapper) with
53985         $(test-program-prefix) and $(test-via-rtld-prefix).
53986         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
53987         $(test-program-prefix).
53988         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
53989         $(host-test-program-cmd).
53990         (tst-spawn-ARGS): Likewise.
53991         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
53992         $(test-program-prefix).
53993         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
53994         (test_via_rtld_prefix): This.
53995         (test_wrapper): Renamed to ...
53996         (test_program_prefix): This.
53997         (run_program_prefix): Replaced by test_program_prefix.
53998         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
53999         (test_program_prefix): This.
54000         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54001         with $(host-test-program-cmd).
54002         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54003         $(run-program-prefix) with $(test-program-prefix).
54004         ($(objpfx)tst-printf.out): Likewise.
54005         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54006         $(test-program-cmd).
54007         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54008         (test_program_prefix): This.
54009         * stdio-common/tst-unbputc.sh: Likewise.
54010         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54011         $(run-program-prefix) with $(test-program-prefix).
54012         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54013         (test_program_prefix): This.
54014         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54015         $(built-program-cmd) with $(test-program-cmd).
54017 2013-01-11  Andreas Jaeger  <aj@suse.de>
54019         [BZ #15003]
54020         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54021         value. Sync with Linux 3.7.
54023 2013-01-10  David S. Miller  <davem@davemloft.net>
54025         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54026         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54027         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54029 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54031         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54032         never set.
54033         * configure: Regenerated.
54035 2013-01-10  David S. Miller  <davem@davemloft.net>
54037         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54038         sparc V9 rather than using V8 code.
54039         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54040         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54042 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54044         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54045         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54046         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54047         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54048         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54049         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54050         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54051         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54052         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54053         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54054         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54055         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54056         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54057         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54058         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54059         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54060         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54061         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54062         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54063         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54064         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54065         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54066         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54067         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54068         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54069         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54070         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54072 2013-01-10  David S. Miller  <davem@davemloft.net>
54074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54076 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54078         * posix/Makefile (tests-static): New variable.
54079         (tests): Add $(tests-static).
54080         (tst-exec-static-ARGS): New variable.
54081         (tst-spawn-static-ARGS): Likewise.
54082         * posix/tst-exec-static.c: New file.
54083         * posix/tst-spawn-static.c: Likewise.
54084         * posix/tst-exec.c: Support run directly.
54085         * posix/tst-spawn.c: Likewise.
54087 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54089         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54090         long.
54091         * math/bits/mathcalls.h (llrint): Likewise.
54092         (llround): Likewise.
54093         * stdlib/stdlib.h (struct drand48_data): Likewise.
54094         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54095         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54096         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54097         Likewise.
54098         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54099         Likewise.
54100         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54101         (elf_greg_t): Likewise.
54102         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54103         (__jmp_buf): Likewise.
54104         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54105         definitions.
54106         (llrint): Likewise, for all definitions.
54107         (llrintl): Likewise.
54109         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54110         Remove [__GNUC__] condition.
54111         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54112         condition to just [__USE_ISOC99].
54113         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54115 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54117         [BZ #14200]
54118         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54119         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54120         defined.
54121         (_POSIX_V6_ILP32_OFF32): Likewise.
54122         (_XBS5_ILP32_OFF32): Likewise.
54123         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54124         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54126 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54128         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54131         doubles __mpexp_twomm1.  Adjust usage.
54132         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54133         Remove.
54135 2013-01-10  Andreas Schwab  <schwab@suse.de>
54137         [BZ #14964]
54138         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54139         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54141 2013-01-09  David S. Miller  <davem@davemloft.net>
54143         [BZ #15003]
54144         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54145         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54146         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54147         (TCP_FASTOPEN): Define.
54148         (tcp_repair_opt): New structure.
54149         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54150         enum values.
54151         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54152         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54153         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54154         (tcp_cookie_transactions): New structure.
54156 2013-01-09  Anton Blanchard  <anton@samba.org>
54158         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54159         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54160         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54161         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54163 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54165         * include/features.h (__USE_ANSI): Remove.
54167 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54169         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54171         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54173 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54175         * sysdeps/s390/fpu/libm-test-ulps: Update.
54177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54179         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54180         (__acr): Likewise.
54181         (__cpy): Likewise.
54182         (norm): Likewise.
54183         (denorm): Likewise.
54184         (__mp_dbl): Likewise.
54185         (__dbl_mp): Likewise.
54186         (add_magnitudes): Likewise.
54187         (sub_magnitudes): Likewise.
54188         (__add): Likewise.
54189         (__sub): Likewise.
54190         (__mul): Likewise.
54191         (__inv): Likewise.
54192         (__dvd): Likewise.
54193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54194         (__acr): Likewise.
54195         (__cpy): Likewise.
54196         (norm): Likewise.
54197         (denorm): Likewise.
54198         (__mp_dbl): Likewise.
54199         (__dbl_mp): Likewise.
54200         (add_magnitudes): Likewise.
54201         (sub_magnitudes): Likewise.
54202         (__add): Likewise.
54203         (__sub): Likewise.
54204         (__mul): Likewise.
54205         (__inv): Likewise.
54206         (__dvd): Likewise.
54207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54208         (__acr): Likewise.
54209         (__cpy): Likewise.
54210         (norm): Likewise.
54211         (denorm): Likewise.
54212         (__mp_dbl): Likewise.
54213         (__dbl_mp): Likewise.
54214         (add_magnitudes): Likewise.
54215         (sub_magnitudes): Likewise.
54216         (__add): Likewise.
54217         (__sub): Likewise.
54218         (__mul): Likewise.
54219         (__inv): Likewise.
54220         (__dvd): Likewise.
54222 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54224         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54225         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54226         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54227         2 && __USE_EXTERN_INLINES]: Likewise.
54229 2013-01-08  Andreas Jaeger  <aj@suse.de>
54231         [BZ# 14985]
54232         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54233         Remove.
54234         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54235         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54237 2013-01-07  Anton Blanchard  <anton@samba.org>
54239         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54240         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54241         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54242         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54243         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54244         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54245         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54246         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54250         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54251         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54254         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54255         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54257         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54259         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54260         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54261         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54262         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54263         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54264         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54265         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54266         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54267         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54268         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54269         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54271         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54272         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54273         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54274         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54275         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54276         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54277         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54278         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54279         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54280         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54283 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54285         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54286         (__MALLOC_PMT): Likewise.
54287         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54288         [__GNUC__], only on [_LIBC].
54289         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54290         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54291         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54292         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54293         forward declaration.
54294         (realloc_hook_ini): Likewise.
54295         (memalign_hook_ini): Likewise.
54296         (__libc_memalign): Do not use __MALLOC_PMT in variable
54297         declaration.
54298         (__libc_valloc): Likewise.
54299         (__libc_pvalloc): Likewise.
54300         (__libc_calloc): Likewise.
54301         (__posix_memalign): Likewise.
54303         [BZ #14996]
54304         * math/s_casinh.c: Include <float.h>.
54305         (__casinh): Do not do computation with squaring and square root
54306         for large arguments.
54307         * math/s_casinhf.c: Include <float.h>.
54308         (__casinhf): Do not do computation with squaring and square root
54309         for large arguments.
54310         * math/s_casinhl.c: Include <float.h>.
54311         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54312         (__casinhl): Do not do computation with squaring and square root
54313         for large arguments.
54314         * math/libm-test.inc (casin_test): Add more tests.
54315         (casinh_test): Likewise.
54316         * sysdeps/i386/fpu/libm-test-ulps: Update.
54317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54319 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
54321         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54322         (__x86_64_raw_data_cache_size): Likewise.
54323         (__x86_64_data_cache_size_half): Likewise.
54324         (__x86_64_raw_data_cache_size_half): Likewise.
54325         (__x86_64_shared_cache_size): Likewise.
54326         (__x86_64_raw_shared_cache_size): Likewise.
54327         (__x86_64_shared_cache_size_half): Likewise.
54328         (__x86_64_raw_shared_cache_size_half): Likewise.
54329         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54330         to ...
54331         (__x86_data_cache_size): This.
54332         (__x86_64_raw_data_cache_size): Renamed to ...
54333         (__x86_raw_data_cache_size): This.
54334         (__x86_64_data_cache_size_half): Renamed to ...
54335         (__x86_data_cache_size_half): This.
54336         (__x86_64_raw_data_cache_size_half): Renamed to ...
54337         (__x86_raw_data_cache_size_half): This.
54338         (__x86_64_shared_cache_size): Renamed to ...
54339         (__x86_shared_cache_size): This.
54340         (__x86_64_raw_shared_cache_size): Renamed to ...
54341         (__x86_raw_shared_cache_size): This.
54342         (__x86_64_shared_cache_size_half): Renamed to ...
54343         (__x86_shared_cache_size_half): This.
54344         (__x86_64_raw_shared_cache_size_half): Renamed to ...
54345         (__x86_raw_shared_cache_size_half): This.
54346         * sysdeps/x86_64/memcpy.S: Updated.
54347         * sysdeps/x86_64/memset.S: Likewise.
54348         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54352 2013-01-04  David S. Miller  <davem@davemloft.net>
54354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54356 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
54358         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54359         1 to avoid redefinition warning.
54360         (__USE_GNU): Don't define.
54361         (init_signaling_nan): Protoize.
54363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54365 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54367         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54369         (__cpymn): Likewise.
54370         (norm): Remove commented code.
54371         (denorm): Likewise.
54372         (__mp_dbl): Likewise.
54373         (__inv): Likewise.
54374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54375         (__cpymn): Likewise.
54376         (norm): Remove commented code.
54377         (denorm): Likewise.
54378         (__mp_dbl): Likewise.
54379         (__inv): Likewise.
54381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54382         mp_no value for 1.0 and 2.0.
54383         (norm): Use RADIXI instead of radixi.d.
54384         (denorm): Likewise.
54385         (__mul): Use 0.0 instead of zero.d.
54386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54387         mp_no value for 1.0 and 2.0.
54388         (norm): Use RADIXI instead of radixi.d.
54389         (denorm): Likewise.
54390         (__mul): Use 0.0 instead of zero.d.
54392 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
54394         [BZ #14994]
54395         * math/s_casinh.c (__casinh): Reduce finite argument to first
54396         quadrant then set signs of results at the end.
54397         * math/s_casinhf.c (__casinhf): Likewise.
54398         * math/s_casinhl.c (__casinhl): Likewise.
54399         * math/libm-test.inc (casin_test): Add more tests.
54400         (casinh_test): Likewise.
54401         * sysdeps/i386/fpu/libm-test-ulps: Update.
54402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54404 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54406         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54408         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54410         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54411         declarations.
54412         (denorm): Likewise.
54413         (__mp_dbl): Likewise.
54414         (__inv): Likewise.
54416         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54417         and adjust the header comment.
54419         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54420         variable name from declaration.
54422 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
54424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54425         Initialize COMMON_CPUID_INDEX_7 element.
54426         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54427         (CPUID_RTM): Likewise.
54428         (HAS_RTM): Likewise.
54429         (COMMON_CPUID_INDEX_7): New enum.
54431 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
54433         [BZ #14981]
54434         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54435         size is zero, record memory as freed.
54437 2013-01-03  Andreas Jaeger  <aj@suse.de>
54439         * po/ia.po: Add new Interlingua translation.
54441 2012-01-03  Allan McRae  <allan@archlinux.org>
54443         * locale/programs/localedef.c: Fix description of '--posix' flag.
54445 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
54447         * NEWS: Update dates in second copyright notice.
54448         * README: Update copyright dates in example.
54449         * manual/libc.texinfo: Update copyright dates.
54450         * scripts/test-installation.pl: Update copyright date in --version
54451         output.
54453         * hurd/ctty-input.c: Fix copyright notice formatting.
54454         * hurd/ctty-output.c: Likewise.
54455         * hurd/dtable.c: Likewise.
54456         * hurd/hurd-raise.c: Likewise.
54457         * hurd/hurdprio.c: Likewise.
54458         * hurd/msgportdemux.c: Likewise.
54459         * misc/sys/file.h: Likewise.
54460         * misc/sys/ioctl.h: Likewise.
54461         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54462         * sysdeps/mach/hurd/chdir.c: Likewise.
54463         * sysdeps/mach/hurd/fchdir.c: Likewise.
54464         * sysdeps/mach/hurd/rename.c: Likewise.
54465         * sysdeps/mach/hurd/rmdir.c: Likewise.
54466         * sysdeps/mach/hurd/seekdir.c: Likewise.
54467         * sysdeps/mach/hurd/setsid.c: Likewise.
54468         * sysdeps/posix/wait3.c: Likewise.
54470         * All files with FSF copyright notices: Update copyright dates
54471         using scripts/update-copyrights.
54472         * intl/plural.c: Regenerated.
54473         * locale/programs/charmap-kw.h: Likewise.
54474         * locale/programs/locfile-kw.h: Likewise.
54476 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54478         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54479         four values.
54481         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54482         calculation loop and add branch prediction.
54484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54485         check access beyond bounds of m1np.
54487         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54488         MPTWO.
54489         (__inv): Remove local variable MPTWO to use the global
54490         constant.
54491         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54492         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54493         variable MPTWO.
54494         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54495         MP3HALFS static const.
54497 2013-01-01  David S. Miller  <davem@davemloft.net>
54499         * po/ca.po: Update from translation team.
54501 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
54503         * scripts/update-copyrights: New file.
54504         * Makeconfig: Reformat copyright notice.
54505         * ctype/ctype.h: Likewise.
54506         * debug/swprintf_chk.c: Likewise.
54507         * elf/dl-cache.c: Likewise.
54508         * elf/dl-debug.c: Likewise.
54509         * elf/dl-object.c: Likewise.
54510         * grp/initgroups.c: Likewise.
54511         * hurd/Makefile: Likewise.
54512         * hurd/hurd/signal.h: Likewise.
54513         * hurd/hurdfault.c: Likewise.
54514         * hurd/hurdioctl.c: Likewise.
54515         * hurd/hurdlookup.c: Likewise.
54516         * hurd/intr-msg.c: Likewise.
54517         * iconv/gconv_open.c: Likewise.
54518         * libio/swprintf.c: Likewise.
54519         * locale/lc-ctype.c: Likewise.
54520         * locale/nl_langinfo.c: Likewise.
54521         * mach/Machrules: Likewise.
54522         * mach/Makefile: Likewise.
54523         * malloc/obstack.h: Likewise.
54524         * manual/Makefile: Likewise.
54525         * manual/tsort.awk: Likewise.
54526         * misc/bits/stab.def: Likewise.
54527         * nis/nis_print_group_entry.c: Likewise.
54528         * nis/nis_table.c: Likewise.
54529         * nis/nss_compat/compat-pwd.c: Likewise.
54530         * nis/nss_compat/compat-spwd.c: Likewise.
54531         * po/Makefile: Likewise.
54532         * posix/fnmatch.c: Likewise.
54533         * posix/regex.h: Likewise.
54534         * resolv/Makefile: Likewise.
54535         * resolv/nss_dns/dns-network.c: Likewise.
54536         * resolv/res_hconf.c: Likewise.
54537         * scripts/gen-sorted.awk: Likewise.
54538         * soft-fp/soft-fp.h: Likewise.
54539         * stdio-common/printf.h: Likewise.
54540         * stdlib/monetary.h: Likewise.
54541         * stdlib/random.c: Likewise.
54542         * stdlib/random_r.c: Likewise.
54543         * sysdeps/generic/Makefile: Likewise.
54544         * sysdeps/gnu/Makefile: Likewise.
54545         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54568         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54569         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54570         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54572         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54573         * sysdeps/mach/hurd/errnos.awk: Likewise.
54574         * sysdeps/mach/hurd/fork.c: Likewise.
54575         * sysdeps/mach/hurd/getcwd.c: Likewise.
54576         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54577         * sysdeps/mach/hurd/mmap.c: Likewise.
54578         * sysdeps/mach/hurd/utimes.c: Likewise.
54579         * sysdeps/mach/hurd/xmknod.c: Likewise.
54580         * sysdeps/posix/profil.c: Likewise.
54581         * sysdeps/posix/readdir_r.c: Likewise.
54582         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54583         * sysdeps/powerpc/bits/setjmp.h: Likewise.
54584         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54585         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54587         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54589         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54591         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54592         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54593         * sysdeps/pthread/lio_listio.c: Likewise.
54594         * sysdeps/sparc/dl-procinfo.h: Likewise.
54595         * sysdeps/unix/i386/sysdep.S: Likewise.
54596         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54597         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54598         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54599         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54601         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54602         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54603         * sysdeps/unix/sysv/linux/speed.c: Likewise.
54604         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54605         * sysdeps/wordsize-32/divdi3.c: Likewise.
54606         * time/sys/time.h: Likewise.
54607         * wcsmbs/Makefile: Likewise.
54609 2013-01-01  David S. Miller  <davem@davemloft.net>
54611         * po/fr.po: Update from translation team.
54613         * catgets/gencat.c: Update copyright year.
54614         * csu/version.c: Likewise.
54615         * debug/catchsegv.sh: Likewise.
54616         * debug/pcprofiledump.c: Likewise.
54617         * debug/xtrace.sh: Likewise.
54618         * elf/ldconfig.c: Likewise.
54619         * elf/ldd.bash.in: Likewise.
54620         * elf/pldd.c: Likewise.
54621         * elf/sotruss.ksh: Likewise.
54622         * elf/sprof.c: Likewise.
54623         * iconv/iconv_prog.c: Likewise.
54624         * iconv/iconvconfig.c: Likewise.
54625         * locale/programs/locale.c: Likewise.
54626         * locale/programs/localedef.c: Likewise.
54627         * login/programs/pt_chown.c: Likewise.
54628         * malloc/memusage.sh: Likewise.
54629         * malloc/memusagestat.c: Likewise.
54630         * malloc/mtrace.pl: Likewise.
54631         * nscd/nscd.c: Likewise.
54632         * nss/getent.c: Likewise.
54633         * nss/makedb.c: Likewise.
54634         * posix/getconf.c: Likewise.
54636 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54638         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54639         numbers.
54641 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
54643         * math/bits/mathcalls.h (modf): Use __nonnull.
54645 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54647         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54648         (split): Use macro CN instead of the bare value.
54649         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54650         could be used.
54651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54652         instead of the bare value.
54653         (power1): Likewise.
54655 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54658         __ATAN_TWOM.
54659         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54661         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54662         their values.
54663         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54664         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54665         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54666         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54668 2012-12-28  Andreas Jaeger  <aj@suse.de>
54670         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
54671         values are from Linux 3.7.
54673         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54674         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
54676 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54678         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54679         TRUE case.
54681         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54682         (norm): Likewise.
54683         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54684         variables with preprocessor constants.
54685         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54686         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54687         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54689 2012-12-27  Bruno Haible  <bruno@clisp.org>
54691         [BZ #14317]
54692         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54693         only if needed.
54695 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54698         and use variable directly.
54699         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54702         MPONE.
54703         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54705         variable MPONE.
54706         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54708         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54709         include directive.  Remove local variable MPONE.
54710         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54711         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54714 2012-12-25  David S. Miller  <davem@davemloft.net>
54716         * version.h (RELEASE): Set to "development".
54717         (VERSION): Set to "2.17.90".
54718         * NEWS: Add 2.18 section.
54720 2012-12-21  David S. Miller  <davem@davemloft.net>
54722         * po/hr.po: Update from translation team.
54724 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54726         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54728 2012-12-19  Steve Ellcey  <sellcey@mips.com>
54730         * NEWS:  Mention new memcpy for MIPS.
54732 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54734         * manual/contrib.texi (Contributors): Spelling correction.
54736 2012-12-15  David S. Miller  <davem@davemloft.net>
54738         * po/ru.po: Update from translation team.
54740 2012-12-13  David S. Miller  <davem@davemloft.net>
54742         * NEWS: Mention IFUNC testsuite enhancements.
54744         * po/pl.po: Update from translation team.
54745         * po/bg.po: Likewise.
54747         * manual/contrib.texi (Contributors): Update entries for Hongjiu
54748         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
54750 2012-12-11  David S. Miller  <davem@davemloft.net>
54752         * po/sv.po: Update from translation team.
54754         * po/vi.po: Update from translation team.
54756         * po/cs.po: Update from translation team.
54758         * po/de.po: Update from translation team.
54759         * po/eo.po: Likewise.
54760         * po/nl.po: Likewise.
54762 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54764         [BZ #14246]
54765         * manual/argp.texi (Argp Helper Functions): Move node to follow
54766         Argp Parsing State.
54768         [BZ #14872]
54769         * manual/conf.texi (Limits on File System Capacity): Mention if
54770         terminating null is included in the max size.
54772 2012-12-10  Andreas Jaeger  <aj@suse.de>
54774         * po/cs.po: Update from translation team.
54776 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54778         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54779         void pointer and cast to uintptr_t.
54780         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54781         path.
54782         * sysdeps/s390/s390-64/memcpy.S: Likewise.
54783         * sysdeps/s390/s390-64/memset.S: Likewise.
54785 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
54787         [BZ #14833]
54788         * menual/message.texi (Message Translation): Fix typos.
54789         (Helper programs for gettext): Likewise.
54791 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
54793         [BZ #14898]
54794         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54795         Change to -1.
54797 2012-12-07  David S. Miller  <davem@davemloft.net>
54799         * po/libc.pot: Update.
54801 2012-12-07  Richard Henderson  <rth@redhat.com>
54803         [BZ #10114]
54804         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54805         normal/normal case to before the switch.
54806         (_FP_DIV): Likewise.
54808 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
54809             Mike Frysinger  <vapier@gentoo.org>
54811         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54812         check for __NR_fadvise64_64.
54814 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
54816         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54817         0, not just to plain "0" as a statement.
54818         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54819         with cw.
54821 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
54823         * NEWS: Use sourceware.org in Bugzilla URL.
54825 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54828         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54830         * stdio-common/tst-put-error.c (do_test): Add newline to the
54831         padded test to ensure flush.
54833 2012-12-05  Jeff Law  <law@redhat.com>
54835         * sunrpc/etc.rpc (fedfs_admin): Add entry.
54837 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
54839         * README: Don't refer to ports add-on as distributed separately.
54840         Mention AArch64 in list of systems supported in the ports add-on.
54842         * LICENSES: Add more non-FSF copyright and license notices.
54844         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
54845         ((unused)).
54847         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
54849         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
54850         10000 as width of padded output.
54852 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54854         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
54856         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
54857         variable LX with __attribute__ ((unused)).
54858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
54859         Likewise.
54860         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
54861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54862         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
54863         with __attribute__ ((unused)).
54865 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
54867         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
54869 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
54871         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
54872         (CFLAGS-nldbl-acos.c): New variable.
54873         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
54874         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
54875         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
54876         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
54877         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
54878         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
54879         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
54880         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
54881         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
54882         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
54883         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
54884         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
54885         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
54886         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
54887         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
54888         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
54889         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
54890         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
54891         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
54892         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
54893         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
54894         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
54895         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
54896         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
54897         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
54898         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
54899         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
54900         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
54901         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
54902         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
54903         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
54904         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
54905         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
54906         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
54907         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
54908         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
54909         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
54910         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
54911         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
54912         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
54913         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
54914         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
54915         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
54916         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
54917         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
54918         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
54919         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
54920         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
54921         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
54922         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
54923         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
54924         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
54925         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
54926         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
54927         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
54928         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
54929         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
54930         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
54931         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
54932         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
54933         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
54934         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
54935         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
54936         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
54937         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
54938         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
54939         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
54940         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
54941         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
54942         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
54943         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
54944         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
54945         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
54946         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
54947         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
54948         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
54949         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
54950         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
54951         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
54952         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
54953         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
54954         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
54955         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
54956         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
54957         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
54958         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
54959         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
54960         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
54961         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
54962         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
54963         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
54964         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
54965         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
54966         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
54967         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
54968         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
54969         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
54971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54972         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54974         [BZ #14914]
54975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
54976         whole low double instead of just low 47 bits when splitting values
54977         into two parts.
54979 2012-12-03  Allan McRae  <allan@archlinux.org>
54981         * manual/stdio.texi (Predefined Printf Handlers): Remove
54982         @hsep and @vsep usage.
54984 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
54986         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
54987         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
54989 2012-12-03  Jeff Law  <law@redhat.com>
54991         * time/sys/time.h (settimeofday): Do not mark TV argument
54992         as __nonnull.
54994 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
54996         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
54997         when currently writing and seek to current position when not.
54998         * libio/Makefile (tests): Remove bug-fclose1.
54999         * libio/bug-fclose1.c: Delete.
55001 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55003         * manual/arith.texi (feenableexcept): Fix typo.
55004         (fedisableexcept): Likewise.
55006 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55008         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55009         second, differently-typed declaration, rather than a cast.
55011 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55013         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55014         * include/rpc/svc.h: ... here.
55016 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55018         [BZ #13013]
55019         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55020         depending n and resplen2 to catch cases where answer
55021         equals answerp2.
55023 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55025         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55026         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55028 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55032 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55034         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55036 2012-11-28  Jeff Law  <law@redhat.com>
55038         [BZ #13761]
55039         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55040         dataset_temporary.  Track alloca usage into alloca_used.
55041         If dataset is large allocate and release it via malloc/free.
55043 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55045         [BZ #14197]
55046         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55048 2012-11-28  David S. Miller  <davem@davemloft.net>
55050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55052 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55054         [BZ #14803]
55055         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55056         of pi/2 rounded to nearest to 64 bits.
55057         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55058         nearest to 64 bits.
55059         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55060         bits.
55062 2012-11-28  Jeff Law <law@redhat.com>
55063             Martin Osvald <mosvald@redhat.com>
55065         [BZ #14889]
55066         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55067         * sunrpc/svc.c: Include time.h.
55068         (__svc_accept_failed): New function.
55069         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55070         any reason other than EINTR, call __svc_accept_failed.
55071         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55072         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55074 2012-11-28  Andreas Schwab  <schwab@suse.de>
55076         * scripts/abilist.awk: Also handle indirect functions in .opd
55077         section.
55079 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55081         [BZ #13881]
55082         * sysdeps/x86/fpu/powl_helper.c: New file.
55083         * sysdeps/x86/fpu/Makefile: Likewise.
55084         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55085         (p3): New object.
55086         (__ieee754_powl): Use __powl_helper for finite arguments except
55087         integer exponents below 8.
55088         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55089         (p3): New object.
55090         (__ieee754_powl): Use __powl_helper for finite arguments except
55091         integer exponents below 8.
55092         * math/libm-test.inc (pow_test): Add more tests and enable some
55093         previously disabled tests.
55094         * sysdeps/i386/fpu/libm-test-ulps: Update.
55095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55097 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55098             Carlos O'Donell  <carlos_odonell@mentor.com>
55100         * nss/makedb.c (is_prime): Assert that input is odd and greater
55101         than 4.  Note that fact in a comment too.
55102         (next_prime): Add 4 to input.
55104 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55106         [BZ #11741]
55107         * libio/Makefile (tests): Add test case tst-fwrite-error.
55108         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55109         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55110         * libio/tst-fwrite-error.c: New test case.
55112 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55114         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55115         before casting to void *.
55116         * include/libc-internal.h (__pointer_type): New macro.
55117         (__integer_if_pointer_type_sub): Likewise.
55118         (__integer_if_pointer_type): Likewise.
55119         (cast_to_integer): Likewise.
55120         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55121         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55122         before casting to atomic64_t.
55123         (atomic_exchange_acq): Likewise.
55124         (__arch_exchange_and_add_body): Likewise.
55125         (__arch_add_body): Likewise.
55126         (atomic_add_negative): Likewise.
55127         (atomic_add_zero): Likewise.
55129 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55131         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55132         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55133         (add_fdes): Likewise.
55134         (linear_search_fdes): Likewise.
55135         (binary_search_unencoded_fdes): Likewise.
55137 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55139         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55141 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55143         * configure.in: Autodetect C++ header directories.
55144         * configure: Regenerated.
55146 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55148         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55150 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55154 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55156         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55157         LDBL_MANT_DIG == 106]: Disable some tests.
55158         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55159         Likewise.
55160         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55161         Likewise.
55163         [BZ #14871]
55164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55165         input for small inputs.  Return +/- pi/2 for large inputs.
55166         * math/libm-test.inc (atan_test): Add more tests.
55168         * sysdeps/generic/unwind-dw2-fde-glibc.c
55169         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55170         __attribute__ ((unused)).
55172         [BZ #14645]
55173         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55174         x * y if x and y are nonzero and z is zero.
55176         [BZ #14811]
55177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55178         nonzero exponents with absolute value below 0x1p-117 to +/-
55179         0x1p-117.
55181         [BZ #14869]
55182         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55183         up arguments below 2**-450, not just those below 2**-500.
55184         * math/libm-test.inc (hypot_test): Add another test.
55186         [BZ #14868]
55187         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55188         Return a+b for ratio over 2**120, not 2**60.
55189         * math/libm-test.inc (hypot_test): Add another test.
55191         * math/libm-test.inc (clog_test): Use
55192         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55193         (clog10_test): Likewise.
55195         [BZ #6778]
55196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55198 2012-11-22  Andreas Schwab  <schwab@suse.de>
55200         * sysdeps/i386/fpu/libm-test-ulps: Update.
55202 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55204         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55205         printf output with newline.
55207 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55209         [BZ #14865]
55210         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55211         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55212         -z nodlopen, -z initfirst and -z execstack support.
55213         * configure: Regenerated.
55215         * elf/elf.h (DF_1_NODIRECT): New macro.
55216         (DF_1_IGNMULDEF): Likewise.
55217         (DF_1_NOKSYMS): Likewise.
55218         (DF_1_NOHDR): Likewise.
55219         (DF_1_EDITED): Likewise.
55220         (DF_1_NORELOC): Likewise.
55221         (DF_1_SYMINTPOSE): Likewise.
55222         (DF_1_GLOBAUDIT): Likewise.
55223         (DF_1_SINGLETON): Likewise.
55224         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55225         DT_1_SUPPORTED_MASK bits.
55226         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55228 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55230         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55232 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55234         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55235         macro.
55237         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55238         (sendmmsg): Move declarations...
55239         * socket/sys/socket.h: ... here.
55240         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55241         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55242         include it from...
55243         * socket/recvmmsg.c: ... this new file.
55244         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55245         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55246         definition of __sendmmsg hidden.
55247         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55248         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55249         Move ENOSYS stub into and include it from...
55250         * socket/sendmmsg.c: ... this new file.
55251         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55252         (sysdep_routines): Move recvmmsg and sendmmsg...
55253         * socket/Makefile (routines): ... here.
55254         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55255         (GLIBC_PRIVATE): Add __sendmmsg.
55256         * include/sys/socket.h (__sendmmsg): Add declarations.
55257         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55258         sendmmsg.
55260 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55263         variable I1 with __attribute__ ((unused)).
55264         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55266 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55268         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55269         DUMMY variables with __attribute__ ((unused)).
55271         * bits/byteswap.h: Include <bits/types.h>.
55272         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55274 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55276         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55277         string_t.  Do not manually set errno.
55278         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55279         length with __strnlen.  Make sure to both set errno and return it on
55280         failure.
55282 2012-11-19  David S. Miller  <davem@davemloft.net>
55284         With help from Joseph Myers.
55285         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55286         very large arguments properly.
55287         * math/libm-test.inc (atan_test): New tests.
55288         (atan2_test): New tests.
55289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55292 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55294         [BZ #14856]
55295         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55296         Define to 3.
55298         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55299         [POSIX] (EADDRNOTAVAIL): Likewise.
55300         [POSIX] (EAFNOSUPPORT): Likewise.
55301         [POSIX] (EALREADY): Likewise.
55302         [POSIX] (ECONNABORTED): Likewise.
55303         [POSIX] (ECONNREFUSED): Likewise.
55304         [POSIX] (ECONNRESET): Likewise.
55305         [POSIX] (EDESTADDRREQ): Likewise.
55306         [POSIX] (EDQUOT): Likewise.
55307         [POSIX] (EHOSTUNREACH): Likewise.
55308         [POSIX] (EIDRM): Likewise.
55309         [POSIX] (EISCONN): Likewise.
55310         [POSIX] (ELOOP): Likewise.
55311         [POSIX] (EMULTIHOP): Likewise.
55312         [POSIX] (ENETDOWN): Likewise.
55313         [POSIX] (ENETUNREACH): Likewise.
55314         [POSIX] (ENOBUFS): Likewise.
55315         [POSIX] (ENODATA): Likewise.
55316         [POSIX] (ENOLINK): Likewise.
55317         [POSIX] (ENOMSG): Likewise.
55318         [POSIX] (ENOPROTOOPT): Likewise.
55319         [POSIX] (ENOSR): Likewise.
55320         [POSIX] (ENOSTR): Likewise.
55321         [POSIX] (ENOTCONN): Likewise.
55322         [POSIX] (ENOTSOCK): Likewise.
55323         [POSIX] (EOPNOTSUPP): Likewise.
55324         [POSIX] (EOVERFLOW): Likewise.
55325         [POSIX] (EPROTO): Likewise.
55326         [POSIX] (EPROTONOSUPPORT): Likewise.
55327         [POSIX] (EPROTOTYPE): Likewise.
55328         [POSIX] (ESTALE): Likewise.
55329         [POSIX] (ETIME): Likewise.
55330         [POSIX] (ETXTBSY): Likewise.
55331         [POSIX] (EWOULDBLOCK): Likewise.
55332         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55333         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55334         [POSIX] (SEEK_CUR): Likewise.
55335         [POSIX] (SEEK_END): Likewise.
55336         [POSIX || UNIX98] (mode_t): Do not require.
55337         [POSIX] (off_t): Likewise.
55338         [POSIX] (pid_t): Likewise.
55339         [POSIX] (sys/stat.h): Do not allow header.
55340         [POSIX] (unistd.h): Likewise.
55341         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55342         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55343         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55344         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55345         require.
55346         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55347         sigevent): Specify elements.
55348         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55349         entry.
55350         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55351         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55353         * conform/data/cpio.h-data [POSIX]: Disable whole file.
55354         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55355         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55356         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55357         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55358         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55359         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55360         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55361         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55362         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55363         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55364         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55365         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55366         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55367         Likewise.
55368         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55369         Likewise.
55370         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55371         Likewise.
55372         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55373         Likewise.
55374         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55375         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55376         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55377         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55378         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55379         Specify lower bound on value.
55380         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55381         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55382         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55383         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55384         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55385         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55386         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55387         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55388         value.
55389         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55390         as optional.
55391         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55392         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55393         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55394         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55395         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55396         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55397         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55398         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55399         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55400         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55401         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55402         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55403         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55404         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55405         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55406         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55407         entry.
55408         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55409         optional.
55410         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55411         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55412         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55413         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55414         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55415         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55416         Likewise.
55417         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55418         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55419         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55420         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55421         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
55422         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55423         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55424         as optional.
55425         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55426         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55427         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55428         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55429         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55430         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55431         specify as optional.
55432         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55433         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55434         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55435         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55436         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55437         [XPG3] (NL_LANGMAX): Likewise.
55438         [POSIX || XPG3] (NL_MSGMAX): Likewise.
55439         [POSIX || XPG3] (NL_NMAX): Likewise.
55440         [POSIX || XPG3] (NL_SETMAX): Likewise.
55441         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55442         [XPG3] (NZERO): Likewise.
55443         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55444         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55445         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55446         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55447         (REG_ERANGE): Expect.
55448         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55449         optional-constant.
55450         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55451         Use (void) in prototype.
55452         [POSIX] (*_t): Allow.
55453         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55454         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55455         (WRDE_BADVAL): Expect.
55457         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55458         expect.
55459         [XPG3 || XPG4] (O_RSYNC): Likewise.
55460         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55461         Likewise.
55462         [XPG3 || XPG4] (pthread_sigmask): Likewise.
55463         [XPG3 || XPG4] (sigqueue): Likewise.
55464         [XPG3 || XPG4] (sigtimedwait): Likewise.
55465         [XPG3 || XPG4] (sigwaitinfo): Likewise.
55466         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55467         [XPG3 || XPG4] (vsnprintf): Likewise.
55468         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55469         Likewise.
55470         [XPG3 || XPG4] (blksize_t): Likewise.
55471         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55472         Likewise.
55473         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55474         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55475         [XPG3 || XPG4] (struct itimerspec): Likewise.
55476         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55477         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55478         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55479         [XPG3 || XPG4] (clockid_t): Likewise.
55480         [XPG3 || XPG4] (timer_t): Likewise.
55481         [XPG3 || XPG4] (clock_getres): Likewise.
55482         [XPG3 || XPG4] (clock_gettime): Likewise.
55483         [XPG3 || XPG4] (clock_settime): Likewise.
55484         [XPG3 || XPG4] (nanosleep): Likewise.
55485         [XPG3 || XPG4] (timer_create): Likewise.
55486         [XPG3 || XPG4] (timer_delete): Likewise.
55487         [XPG3 || XPG4] (timer_gettime): Likewise.
55488         [XPG3 || XPG4] (timer_getoverrun): Likewise.
55489         [XPG3 || XPG4] (timer_settime): Likewise.
55490         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55491         [XPG3 || XPG4] (getlogin_r): Likewise.
55492         [XPG3 || XPG4] (pread): Likewise.
55493         [XPG3 || XPG4] (pthread_atfork): Likewise.
55494         [XPG3 || XPG4] (pwrite): Likewise.
55496         [BZ #14835]
55497         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55498         <bits/siginfo.h>.
55500 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55502         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55503         finalizing MALLSTREAM.
55505         * sysdeps/mach/hurd/syncfs.c: New file.
55507 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55509         [BZ #14719]
55510         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55511         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55512         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55513         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55514         (_nss_dns_gethostbyname4_r): Likewise.
55515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55516         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55518 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
55520         [BZ #13763]
55521         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55523 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
55525         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55526         * elf/cache.c (print_entry): Print ",AArch64" for
55527         FLAG_AARCH64_LIB64
55529         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55530         * elf/cache.c (print_entry): Print ",hard-float" for
55531         FLAG_ARM_LIBHF.
55533 2012-11-18  David S. Miller  <davem@davemloft.net>
55535         With help from Joseph Myers.
55536         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55537         cutoff to 2**-13.
55538         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55539         cutoff to 2**-25.
55540         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55541         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55542         small.
55543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55544         * math/libm-test.inc (y0_test): New tests.
55545         (y1_test): New tests.
55546         * sysdeps/i386/fpu/libm-test-ulps: Update.
55547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55550 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
55552         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55553         64-bit targets.
55554         * configure: Regenerated.
55556 2012-11-17  David S. Miller  <davem@davemloft.net>
55558         [BZ #14811]
55559         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55560         nonzero exponents with absolute value below 0x1p-128 to +/-
55561         0x1p-128.
55563 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
55565         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55567         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55569         * posix/getconf-speclist.c: New file.
55570         * posix/posix-envs.def: Likewise.
55571         * posix/confstr.c (START_ENV_GROUP): New macro.
55572         (END_ENV_GROUP): Likewise.
55573         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55574         (KNOWN_PRESENT_ENV_STRING): Likewise.
55575         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55576         (UNKNOWN_ENVIRONMENT): Likewise.
55577         (confstr): Include posix-envs.def instead of handling
55578         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55579         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55580         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55581         (END_ENV_GROUP): Likewise.
55582         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55583         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55584         (UNKNOWN_ENVIRONMENT): Likewise.
55585         (__sysconf): Include posix-envs.def instead of handling associated
55586         cases directly here.
55587         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55588         preprocessing getconf-speclist.c rather than running getconf or
55589         generating empty file.
55591 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
55593         * scripts/check-local-headers.sh: Ignore 'mach' headers.
55595 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
55597         [BZ #14672]
55598         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55600 2012-11-16  David S. Miller  <davem@davemloft.net>
55602         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55603         smaller than LDBL_EPSILON/2.0L, just return xm1.
55605 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
55607         * elf/tst-array1.c (init): Set constructor priority to 1000.
55608         (fini): Set destructor priority to 1000.
55609         * elf/tst-array2dep.c: Likewise.
55611 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55613         [BZ #11741]
55614         * libio/fileops.c (_IO_new_file_write): Correctly return error.
55615         (_IO_new_file_xsputn): Also return EOF if none of the input
55616         data was written when overflow failed.
55617         * libio/iopadn.c (_IO_padn): Likewise.
55618         * libio/iowpadn.c (_IO_wpadn): Likewise.
55619         * stdio-common/tst-put-error.c: Add copyright notice.
55620         (do_test): Add case for printing padded string.
55621         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55622         _IO_padn returned error.
55623         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55624         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55625         return EOF.
55627 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55629         * libio/libioP.h: Add comment note that the references to C++
55630         bits are now obsolete.
55632 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55634         * math/libm-test.inc (check_complex): Use asprintf.
55636 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
55638         * debug/pcprofiledump.c (print_version): Update copyright year.
55639         * malloc/memusagestat.c (print_version): Likewise.
55641 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
55643         [BZ #14831]
55644         * elf/Makefile (tests): Add tst-audit8.
55645         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55646         ($(objpfx)tst-audit8.out): New target.
55647         (tst-audit8-ENV): New variable.
55648         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55649         audit if l_reloc_result is NULL.
55650         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55651         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55652         * elf/tst-audit8.c: New file.
55654 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55656         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55657         * misc/Makefile (CFLAGS-select.c): Define.
55658         * posix/Makefile (CFLAGS-pause.c): Define.
55660 2012-11-13  David S. Miller  <davem@davemloft.net>
55662         * crypt/Makefile: Move test targets after toplevel Rules
55663         inclusion.  Grab any necessary sysdep routines when linking.
55664         * crypt/md5.c (md5_process_block): Remove define, we will always
55665         name it __md5_process_block.
55666         (md5_finish_ctx): Update md5_process_block call.
55667         (md5_stream): Likewise.
55668         (md5_process_bytes): Likewise.
55669         (md5_process_block): Rename to __md5_process_block and move to ...
55670         * crypt/md5-block.c: ... here.
55671         * crypt/sha256.c (sha256_process_block): Move to ...
55672         * crypt/sha256-block.c: ... here.
55673         * crypt/sha512.c (sha512_process_block): Move to ...
55674         * crypt/sha512-block.c: ... here.
55675         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55676         path.
55677         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55678         * sysdeps/sparc/sparc64/multiarch/Makefile
55679         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55680         crypt subdir.
55681         (localedef-aux): Add md5 crypto assembler when in locale subdir.
55682         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55683         multiarch changes.
55684         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55685         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55686         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55687         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55688         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55689         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55690         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55691         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55692         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55693         file.
55694         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55695         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55696         file.
55697         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55699 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
55701         * timezone/tzselect.ksh: Update from tzcode git revision
55702         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55703         * timezone/zdump.c: Likewise.
55704         * timezone/zic.c: Likewise.
55705         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55706         in TZVERSION setting, not $(PKGVERSION).
55707         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
55708         REPORT_BUGS_TO settings.
55710         [BZ #14838]
55711         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55712         macro.
55714 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55716         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55717         detection to immediately after _FP_ROUND().
55718         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55719         bits are 0.
55721 2012-11-11  David S. Miller  <davem@davemloft.net>
55723         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55724         inttypes.h
55725         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55726         __close rather than their public counterparts.
55728 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
55730         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55731         file.
55732         [UNIX98] (sem_timedwait): Do not expect.
55733         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55734         [XPG4 || UNIX98] (sockatmark): Do not expect.
55735         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55736         (clock_getcpuclockid): Do not expect.
55737         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55738         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55739         Do not expect.
55740         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55741         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55742         [UNIX98] (vwscanf): Likewise.
55743         [UNIX98] (vswscanf): Likewise.
55745 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
55747         * timezone/version.h: Remove file.
55748         * timezone/README: Do not refer to version.h.
55749         * timezone/Makefile ($(objpfx)zic.o): New dependency on
55750         $(objpfx)version.h.
55751         ($(objpfx)zdump.o): Likewise.
55752         ($(objpfx)version.h): New target.
55754         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55755         2012i.
55756         * timezone/README: Don't mention modification to tzselect.ksh.
55757         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55758         work on unmodified tzselect.ksh.  Substitute version numbers in
55759         tzselect.ksh.
55761         * Makefile (format-me): Remove.
55762         (INSTALL): Adjust indentation.  Use commands directly instead of
55763         using $(format-me).
55765         * aclocal.m4 (ACX_PKGVERSION): New macro.
55766         (ACX_BUGURL): Likewise.
55767         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55768         (PKGVERSION): New AC_DEFINE_UNQUOTED.
55769         (REPORT_BUGS_TO): Likewise.
55770         * configure: Regenerated.
55771         * config.h.in (PKGVERSION): New macro.
55772         (REPORT_BUGS_TO): Likewise.
55773         * config.make.in (PKGVERSION): New variable.
55774         (PKGVERSION_TEXI): Likewise.
55775         (REPORT_BUGS_TO): Likewise.
55776         (REPORT_BUGS_TEXI): Likewise.
55777         * Makefile (format-me): Use -I$(common-objpfx)manual.
55778         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55779         ($(common-objpfx)manual/%): New target.
55780         (manual/%): Remove target.
55781         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55782         (print_version): Use PKGVERSION.
55783         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55784         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55785         and REPORT_BUGS_TO.
55786         ($(objpfx)xtrace): Likewise.
55787         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55788         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55789         (print_version): Use PKGVERSION.
55790         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55791         (do_version): Use PKGVERSION.
55792         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55793         REPORT_BUGS_TO.
55794         (common-ldd-rewrite): Likewise.
55795         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55796         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55797         (print_version): Use PKGVERSION.
55798         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55799         * elf/pldd.c (argp_program_bug_address): Remove variable.
55800         (more_help): New function.
55801         (argp): Use more_help.
55802         (print_version): Use PKGVERSION.
55803         * elf/sln.c (main): Use PKGVERSION.
55804         (usage): Use REPORT_BUGS_TO.
55805         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55806         (top level): Use PKGVERSION.
55807         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55808         (print_version): Use PKGVERSION.
55809         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55810         (print_version): Use PKGVERSION.
55811         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55812         (print_version): Use PKGVERSION.
55813         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55814         (print_version): Use PKGVERSION.
55815         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55816         (print_version): Use PKGVERSION.
55817         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55818         (print_version): Use PKGVERSION.
55819         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55820         and BUGURL.
55821         ($(objpfx)memusage): Likewise.
55822         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55823         (do_version): Use PKGVERSION.
55824         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55825         (print_version): Use PKGVERSION.
55826         * malloc/mtrace.pl ($PACKAGE): Remove variable.
55827         ($PKGVERSION): New variable.
55828         ($REPORT_BUGS_TO): Likewise.
55829         (usage): Use $REPORT_BUGS_TO.
55830         (top level): Use $PKGVERSION.
55831         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55832         ($(objpfx)pkgvers.texi): New rule.
55833         ($(objpfx)stamp-pkgvers): Likewise.
55834         * manual/install.texi: Include pkgvers.texi.
55835         (--with-pkgversion): Document new configure option.
55836         (--with-bugurl): Likewise.
55837         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55838         than necessarily for this particular distribution.  Use
55839         REPORT_BUGS_TO for where to report bugs.
55840         * INSTALL: Regenerated.
55841         * manual/libc.texinfo: Include pkgvers.texi.
55842         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55843         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
55844         (print_version): Use PKGVERSION.
55845         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
55846         (print_version): Use PKGVERSION.
55847         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
55848         (print_version): Use PKGVERSION.
55849         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
55850         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
55851         macro.
55852         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
55853         (print_version): Use PKGVERSION.
55854         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
55855         (print_version): Use PKGVERSION.
55856         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
55857         and PKGVERSION.
55859         * timezone/checktab.awk: Update from tzcode 2012i.
55860         * timezone/ialloc.c: Likewise.
55861         * timezone/private.h: Likewise.
55862         * timezone/scheck.c: Likewise.
55863         * timezone/tzfile.h: Likewise.
55864         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
55865         (TZVERSION): Hardcode tzcode version number.
55866         * timezone/zdump.c: Update from tzcode 2012i.
55867         * timezone/zic.c: Likewise.
55868         * timezone/version.h: New file.
55869         * timezone/README: Describe version.h.  Update upstream location.
55871         [BZ #14824]
55872         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
55873         (mktemp): Enable declaration.
55874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
55875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
55876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
55877         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
55878         Likewise.
55879         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
55880         Likewise.
55881         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
55882         Likewise.
55883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
55884         Likewise.
55885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
55886         Likewise.
55887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
55888         Likewise.
55890         [BZ #14821]
55891         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
55892         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
55893         for copies of such integer values.
55894         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55895         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55897 2012-11-09  Andreas Jaeger  <aj@suse.de>
55899         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
55900         definitions and declarations that are provided by
55901         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55903 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55905         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
55906         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
55907         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
55908         definition.
55910 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55912         * elf/elf.h: Update comment before AArch64 relocations.
55914 2012-11-07  David S. Miller  <davem@davemloft.net>
55916         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
55917         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55918         (__start_context): Declare.
55919         (__makecontext_ret): Delete.
55920         (__makecontext): Hook up __start_context instead of
55921         __makecontext_ret.
55922         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
55923         (sysdep_routines): Add __start_context when in stdlib.
55925 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55927         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
55928         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
55929         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
55930         hardcoded "nm".
55931         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
55932         (READELF): New variable.  Use it instead of hardcoded "readelf".
55934 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55936         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
55937         * sysdeps/x86/Makefile: Here.
55938         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
55939         * sysdeps/x86/tst-xmmymm.sh: This.
55941 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
55943         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
55944         expectations.
55945         [UNIX98] (pthread_barrier_t): Do not expect.
55946         [UNIX98] (pthread_barrierattr_t): Likewise.
55947         [UNIX98] (pthread_spinlock_t): Likewise.
55948         [UNIX98] (pthread_barrier_destroy): Likewise.
55949         [UNIX98] (pthread_barrier_init): Likewise.
55950         [UNIX98] (pthread_barrier_wait): Likewise.
55951         [UNIX98] (pthread_barrierattr_destroy): Likewise.
55952         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
55953         [UNIX98] (pthread_barrierattr_init): Likewise.
55954         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
55955         [UNIX98] (pthread_getcpuclockid): Likewise.
55956         [UNIX98] (pthread_mutex_timedlock): Likewise.
55957         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
55958         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
55959         [UNIX98] (pthread_sigmask): Likewise.
55960         [UNIX98] (pthread_spin_destroy): Likewise.
55961         [UNIX98] (pthread_spin_init): Likewise.
55962         [UNIX98] (pthread_spin_lock): Likewise.
55963         [UNIX98] (pthread_spin_trylock): Likewise.
55964         [UNIX98] (pthread_spin_unlock): Likewise.
55965         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
55966         Do not expect.
55967         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
55968         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
55969         [XPG3 || XPG4] (pthread_cond_t): Likewise.
55970         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
55971         [XPG3 || XPG4] (pthread_key_t): Likewise.
55972         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
55973         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
55974         [XPG3 || XPG4] (pthread_once_t): Likewise.
55975         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
55976         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
55977         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
55978         [XPG3 || XPG4] (pthread_t): Likewise.
55980         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
55981         not expect.
55982         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
55984         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
55985         Change function return type to int.
55987         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
55988         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
55989         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
55990         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
55991         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
55992         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
55993         [!POSIX] (posix_madvise): Likewise.
55994         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
55995         && !UNIX98].
55996         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
55997         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
55998         (mode_t): Likewise.
55999         (posix_mem_offset): Likewise.
56000         (posix_typed_mem_get_info): Likewise.
56001         (posix_typed_mem_open): Likewise.
56003         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56004         Change condition to [XOPEN2K8].
56006         * conform/conformtest.pl: Preprocess allow-header data with -x c
56007         instead of from stdin.
56008         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56009         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56010         [C99-based standards] (cerfc): Likewise.
56011         [C99-based standards] (cexp2): Likewise.
56012         [C99-based standards] (cexpm1): Likewise.
56013         [C99-based standards] (clog10): Likewise.
56014         [C99-based standards] (clog1p): Likewise.
56015         [C99-based standards] (clog2): Likewise.
56016         [C99-based standards] (clgamma): Likewise.
56017         [C99-based standards] (ctgamma): Likewise.
56018         [C99-based standards] (cerff): Likewise.
56019         [C99-based standards] (cerfcf): Likewise.
56020         [C99-based standards] (cexp2f): Likewise.
56021         [C99-based standards] (cexpm1f): Likewise.
56022         [C99-based standards] (clog10f): Likewise.
56023         [C99-based standards] (clog1pf): Likewise.
56024         [C99-based standards] (clog2f): Likewise.
56025         [C99-based standards] (clgammaf): Likewise.
56026         [C99-based standards] (ctgammaf): Likewise.
56027         [C99-based standards] (cerfl): Likewise.
56028         [C99-based standards] (cerfcl): Likewise.
56029         [C99-based standards] (cexp2l): Likewise.
56030         [C99-based standards] (cexpm1l): Likewise.
56031         [C99-based standards] (clog10l): Likewise.
56032         [C99-based standards] (clog1pl): Likewise.
56033         [C99-based standards] (clog2l): Likewise.
56034         [C99-based standards] (clgammal): Likewise.
56035         [C99-based standards] (ctgammal): Likewise.
56036         * conform/data/inttypes.h-data [C99-based standards]: Include
56037         stdint.h-data.  Remove all expectations for stdint.h contents.
56038         [C99-based standards] (PRI*): Do not allow.
56039         [C99-based standards] (SCN*): Likewise.
56040         [C99-based standards] (*_t): Likewise.
56041         [C99-based-standards] (PRId8): Expect macro.
56042         [C99-based-standards] (PRIi8): Likewise.
56043         [C99-based-standards] (PRIo8): Likewise.
56044         [C99-based-standards] (PRIu8): Likewise.
56045         [C99-based-standards] (PRIx8): Likewise.
56046         [C99-based-standards] (PRIX8): Likewise.
56047         [C99-based-standards] (SCNd8): Likewise.
56048         [C99-based-standards] (SCNi8): Likewise.
56049         [C99-based-standards] (SCNo8): Likewise.
56050         [C99-based-standards] (SCNu8): Likewise.
56051         [C99-based-standards] (SCNx8): Likewise.
56052         [C99-based-standards] (PRIdLEAST8): Likewise.
56053         [C99-based-standards] (PRIiLEAST8): Likewise.
56054         [C99-based-standards] (PRIoLEAST8): Likewise.
56055         [C99-based-standards] (PRIuLEAST8): Likewise.
56056         [C99-based-standards] (PRIxLEAST8): Likewise.
56057         [C99-based-standards] (PRIXLEAST8): Likewise.
56058         [C99-based-standards] (SCNdLEAST8): Likewise.
56059         [C99-based-standards] (SCNiLEAST8): Likewise.
56060         [C99-based-standards] (SCNoLEAST8): Likewise.
56061         [C99-based-standards] (SCNuLEAST8): Likewise.
56062         [C99-based-standards] (SCNxLEAST8): Likewise.
56063         [C99-based-standards] (PRIdFAST8): Likewise.
56064         [C99-based-standards] (PRIiFAST8): Likewise.
56065         [C99-based-standards] (PRIoFAST8): Likewise.
56066         [C99-based-standards] (PRIuFAST8): Likewise.
56067         [C99-based-standards] (PRIxFAST8): Likewise.
56068         [C99-based-standards] (PRIXFAST8): Likewise.
56069         [C99-based-standards] (SCNdFAST8): Likewise.
56070         [C99-based-standards] (SCNiFAST8): Likewise.
56071         [C99-based-standards] (SCNoFAST8): Likewise.
56072         [C99-based-standards] (SCNuFAST8): Likewise.
56073         [C99-based-standards] (SCNxFAST8): Likewise.
56074         [C99-based-standards] (PRId16): Likewise.
56075         [C99-based-standards] (PRIi16): Likewise.
56076         [C99-based-standards] (PRIo16): Likewise.
56077         [C99-based-standards] (PRIu16): Likewise.
56078         [C99-based-standards] (PRIx16): Likewise.
56079         [C99-based-standards] (PRIX16): Likewise.
56080         [C99-based-standards] (SCNd16): Likewise.
56081         [C99-based-standards] (SCNi16): Likewise.
56082         [C99-based-standards] (SCNo16): Likewise.
56083         [C99-based-standards] (SCNu16): Likewise.
56084         [C99-based-standards] (SCNx16): Likewise.
56085         [C99-based-standards] (PRIdLEAST16): Likewise.
56086         [C99-based-standards] (PRIiLEAST16): Likewise.
56087         [C99-based-standards] (PRIoLEAST16): Likewise.
56088         [C99-based-standards] (PRIuLEAST16): Likewise.
56089         [C99-based-standards] (PRIxLEAST16): Likewise.
56090         [C99-based-standards] (PRIXLEAST16): Likewise.
56091         [C99-based-standards] (SCNdLEAST16): Likewise.
56092         [C99-based-standards] (SCNiLEAST16): Likewise.
56093         [C99-based-standards] (SCNoLEAST16): Likewise.
56094         [C99-based-standards] (SCNuLEAST16): Likewise.
56095         [C99-based-standards] (SCNxLEAST16): Likewise.
56096         [C99-based-standards] (PRIdFAST16): Likewise.
56097         [C99-based-standards] (PRIiFAST16): Likewise.
56098         [C99-based-standards] (PRIoFAST16): Likewise.
56099         [C99-based-standards] (PRIuFAST16): Likewise.
56100         [C99-based-standards] (PRIxFAST16): Likewise.
56101         [C99-based-standards] (PRIXFAST16): Likewise.
56102         [C99-based-standards] (SCNdFAST16): Likewise.
56103         [C99-based-standards] (SCNiFAST16): Likewise.
56104         [C99-based-standards] (SCNoFAST16): Likewise.
56105         [C99-based-standards] (SCNuFAST16): Likewise.
56106         [C99-based-standards] (SCNxFAST16): Likewise.
56107         [C99-based-standards] (PRId32): Likewise.
56108         [C99-based-standards] (PRIi32): Likewise.
56109         [C99-based-standards] (PRIo32): Likewise.
56110         [C99-based-standards] (PRIu32): Likewise.
56111         [C99-based-standards] (PRIx32): Likewise.
56112         [C99-based-standards] (PRIX32): Likewise.
56113         [C99-based-standards] (SCNd32): Likewise.
56114         [C99-based-standards] (SCNi32): Likewise.
56115         [C99-based-standards] (SCNo32): Likewise.
56116         [C99-based-standards] (SCNu32): Likewise.
56117         [C99-based-standards] (SCNx32): Likewise.
56118         [C99-based-standards] (PRIdLEAST32): Likewise.
56119         [C99-based-standards] (PRIiLEAST32): Likewise.
56120         [C99-based-standards] (PRIoLEAST32): Likewise.
56121         [C99-based-standards] (PRIuLEAST32): Likewise.
56122         [C99-based-standards] (PRIxLEAST32): Likewise.
56123         [C99-based-standards] (PRIXLEAST32): Likewise.
56124         [C99-based-standards] (SCNdLEAST32): Likewise.
56125         [C99-based-standards] (SCNiLEAST32): Likewise.
56126         [C99-based-standards] (SCNoLEAST32): Likewise.
56127         [C99-based-standards] (SCNuLEAST32): Likewise.
56128         [C99-based-standards] (SCNxLEAST32): Likewise.
56129         [C99-based-standards] (PRIdFAST32): Likewise.
56130         [C99-based-standards] (PRIiFAST32): Likewise.
56131         [C99-based-standards] (PRIoFAST32): Likewise.
56132         [C99-based-standards] (PRIuFAST32): Likewise.
56133         [C99-based-standards] (PRIxFAST32): Likewise.
56134         [C99-based-standards] (PRIXFAST32): Likewise.
56135         [C99-based-standards] (SCNdFAST32): Likewise.
56136         [C99-based-standards] (SCNiFAST32): Likewise.
56137         [C99-based-standards] (SCNoFAST32): Likewise.
56138         [C99-based-standards] (SCNuFAST32): Likewise.
56139         [C99-based-standards] (SCNxFAST32): Likewise.
56140         [C99-based-standards] (PRId64): Likewise.
56141         [C99-based-standards] (PRIi64): Likewise.
56142         [C99-based-standards] (PRIo64): Likewise.
56143         [C99-based-standards] (PRIu64): Likewise.
56144         [C99-based-standards] (PRIx64): Likewise.
56145         [C99-based-standards] (PRIX64): Likewise.
56146         [C99-based-standards] (SCNd64): Likewise.
56147         [C99-based-standards] (SCNi64): Likewise.
56148         [C99-based-standards] (SCNo64): Likewise.
56149         [C99-based-standards] (SCNu64): Likewise.
56150         [C99-based-standards] (SCNx64): Likewise.
56151         [C99-based-standards] (PRIdLEAST64): Likewise.
56152         [C99-based-standards] (PRIiLEAST64): Likewise.
56153         [C99-based-standards] (PRIoLEAST64): Likewise.
56154         [C99-based-standards] (PRIuLEAST64): Likewise.
56155         [C99-based-standards] (PRIxLEAST64): Likewise.
56156         [C99-based-standards] (PRIXLEAST64): Likewise.
56157         [C99-based-standards] (SCNdLEAST64): Likewise.
56158         [C99-based-standards] (SCNiLEAST64): Likewise.
56159         [C99-based-standards] (SCNoLEAST64): Likewise.
56160         [C99-based-standards] (SCNuLEAST64): Likewise.
56161         [C99-based-standards] (SCNxLEAST64): Likewise.
56162         [C99-based-standards] (PRIdFAST64): Likewise.
56163         [C99-based-standards] (PRIiFAST64): Likewise.
56164         [C99-based-standards] (PRIoFAST64): Likewise.
56165         [C99-based-standards] (PRIuFAST64): Likewise.
56166         [C99-based-standards] (PRIxFAST64): Likewise.
56167         [C99-based-standards] (PRIXFAST64): Likewise.
56168         [C99-based-standards] (SCNdFAST64): Likewise.
56169         [C99-based-standards] (SCNiFAST64): Likewise.
56170         [C99-based-standards] (SCNoFAST64): Likewise.
56171         [C99-based-standards] (SCNuFAST64): Likewise.
56172         [C99-based-standards] (SCNxFAST64): Likewise.
56173         [C99-based-standards] (PRIdMAX): Likewise.
56174         [C99-based-standards] (PRIiMAX): Likewise.
56175         [C99-based-standards] (PRIoMAX): Likewise.
56176         [C99-based-standards] (PRIuMAX): Likewise.
56177         [C99-based-standards] (PRIxMAX): Likewise.
56178         [C99-based-standards] (PRIXMAX): Likewise.
56179         [C99-based-standards] (SCNdMAX): Likewise.
56180         [C99-based-standards] (SCNiMAX): Likewise.
56181         [C99-based-standards] (SCNoMAX): Likewise.
56182         [C99-based-standards] (SCNuMAX): Likewise.
56183         [C99-based-standards] (SCNxMAX): Likewise.
56184         [C99-based-standards] (PRIdPTR): Likewise.
56185         [C99-based-standards] (PRIiPTR): Likewise.
56186         [C99-based-standards] (PRIoPTR): Likewise.
56187         [C99-based-standards] (PRIuPTR): Likewise.
56188         [C99-based-standards] (PRIxPTR): Likewise.
56189         [C99-based-standards] (PRIXPTR): Likewise.
56190         [C99-based-standards] (SCNdPTR): Likewise.
56191         [C99-based-standards] (SCNiPTR): Likewise.
56192         [C99-based-standards] (SCNoPTR): Likewise.
56193         [C99-based-standards] (SCNuPTR): Likewise.
56194         [C99-based-standards] (SCNxPTR): Likewise.
56195         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56196         allow.
56197         * conform/data/stdint.h-data: Update comments to clarify
56198         requirements.
56199         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56200         type.
56201         [C99-based standards] (INT8_MAX): Likewise.
56202         [C99-based standards] (INT16_MIN): Likewise.
56203         [C99-based standards] (INT16_MAX): Likewise.
56204         [C99-based standards] (INT32_MIN): Likewise.
56205         [C99-based standards] (INT32_MAX): Likewise.
56206         [C99-based standards] (INT64_MIN): Likewise.
56207         [C99-based standards] (INT64_MAX): Likewise.
56208         [C99-based standards] (UINT8_MAX): Likewise.
56209         [C99-based standards] (UINT16_MAX): Likewise.
56210         [C99-based standards] (UINT32_MAX): Likewise.
56211         [C99-based standards] (UINT64_MAX): Likewise.
56212         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56213         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56214         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56215         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56216         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56217         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56218         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56219         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56220         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56221         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56222         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56223         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56224         [C99-based standards] (INT_FAST8_MIN): Likewise.
56225         [C99-based standards] (INT_FAST8_MAX): Likewise.
56226         [C99-based standards] (INT_FAST16_MIN): Likewise.
56227         [C99-based standards] (INT_FAST16_MAX): Likewise.
56228         [C99-based standards] (INT_FAST32_MIN): Likewise.
56229         [C99-based standards] (INT_FAST32_MAX): Likewise.
56230         [C99-based standards] (INT_FAST64_MIN): Likewise.
56231         [C99-based standards] (INT_FAST64_MAX): Likewise.
56232         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56233         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56234         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56235         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56236         [C99-based standards] (INTPTR_MIN): Likewise.
56237         [C99-based standards] (INTPTR_MAX): Likewise.
56238         [C99-based standards] (UINTPTR_MAX): Likewise.
56239         [C99-based standards] (INTMAX_MIN): Likewise.
56240         [C99-based standards] (INTMAX_MAX): Likewise.
56241         [C99-based standards] (UINTMAX_MAX): Likewise.
56242         [C99-based standards] (PTRDIFF_MIN): Likewise.
56243         [C99-based standards] (PTRDIFF_MAX): Likewise.
56244         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56245         [C99-based standards] (SIZE_MAX): Likewise.
56246         [C99-based standards] (WCHAR_MAX): Likewise.
56247         [C99-based standards] (WINT_MAX): Likewise.
56248         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56249         constraint on value.
56250         [C99-based standards] (WCHAR_MIN): Likewise.
56251         [C99-based standards] (WINT_MIN): Likewise.
56252         [C99-based standards] (*_t): Allow.
56253         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56254         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56255         Include math.h-data and complex.h-data.  Remove all expectations
56256         of math.h and complex.h contents.
56257         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56258         at end of line.
56259         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56260         (struct tm): Expect tag.
56261         [C99-based-standards] (wcstof): Expect function.
56262         [C99-based-standards] (wcstold): Likewise.
56263         [C99-based-standards] (wcstoll): Likewise.
56264         [C99-based-standards] (wcstoull): Likewise.
56265         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56266         macro-int-constant.  Specify type.
56267         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56268         constraint on value.
56269         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56270         Specify type.
56271         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56272         Specify value.
56273         [ISO C standards]: Do not allow headers.
56274         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56275         wcs[abcdefghijklmnopqrstuvwxyz]*.
56276         [ISO C standards] (*_t): Do not allow.
56277         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56278         Expect function.
56279         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56280         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56281         Specify type.
56282         [ISO C standards]: Do not allow headers.
56283         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56284         is[abcdefghijklmnopqrstuvwxyz]*.
56285         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56286         to[abcdefghijklmnopqrstuvwxyz]*.
56287         [ISO C standards] (*_t): Do not allow.
56288         * conform/data/stdalign.h-data: New file.
56289         * conform/data/stdbool.h-data: Likewise.
56290         * conform/data/stdnoreturn.h-data: Likewise.
56292 2012-11-07  Roland McGrath  <roland@hack.frob.com>
56294         [BZ #14815]
56295         * manual/filesys.texi (Directory Entries): Typo fix.
56296         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56298 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56300         * elf/elf.h (EM_AARCH64): New macro.
56301         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56302         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56303         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56304         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56305         (R_AARCH64_TLSDESC): Likewise.
56306         (NT_ARM_TLS): Likewise.
56307         (NT_ARM_HW_BREAK): Likewise.
56308         (NT_ARM_HW_WATCH): Likewise.
56310 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56312         [BZ #14811]
56313         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56314         (__ieee754_powl): Saturate nonzero exponents with absolute value
56315         below 0x1p-79 to +/- 0x1p-79.
56316         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56317         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56319         nonzero exponents with absolute value below 0x1p-32 to +/-
56320         0x1p-32.
56321         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56322         (__ieee754_powl): Saturate nonzero exponents with absolute value
56323         below 0x1p-79 to +/- 0x1p-79.
56324         * math/libm-test.inc (pow_test): Add more tests.
56326 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56328         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56329         _dl_s390_cap_flags with kernel. Increase string length.
56330         (_dl_s390_platforms): Add z196 and zEC12.
56332 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56334         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56335         Change XOPEN21K to XOPEN2K.
56337 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
56339         * string/memmove.c: Use memcpy when possible.
56341 2012-11-06  Andreas Jaeger  <aj@suse.de>
56343         * po/eo.po: Update from translation team.
56345 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
56347         [BZ #14793]
56348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56349         exponent and small x and y exponents, scale x or y up.  Increase
56350         by 2 the exponent used in scaling up.
56351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56353         * math/libm-test.inc (fma_test): Add more tests.
56354         (fma_test_towardzero): Likewise.
56355         (fma_test_downward): Likewise.
56356         (fma_test_upward): Likewise.
56358 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
56360         [BZ #14805]
56361         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56362         fenv_t *.
56364         [BZ #14801]
56365         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56366         namespace for names of struct fields.
56367         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56368         fenv_t fields.
56369         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56370         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56372 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56374         [BZ #3665]
56375         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56377 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56379         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56380         PTR_DEMANGLE.
56382         [BZ #5246]
56383         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56384         PTR_DEMANGLE.
56386 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
56388         [BZ #14797]
56389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56390         definitely overflow as x * y not x * y + z.
56391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56392         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56393         * math/libm-test.inc (fma_test): Add more tests.
56394         (fma_test_towardzero): Likewise.
56395         (fma_test_downward): Likewise.
56396         (fma_test_upward): Likewise.
56398 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
56400         [BZ #157]
56402         * include/stub-tag.h: Remove file.
56403         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56404         '#include' of it.
56405         * manual/maint.texi (Porting): Don't reference it.
56406         * Makerules ($(objpfx)stubs): Likewise.
56407         * dirent/closedir.c: Don't include <stub-tag.h>.
56408         * dirent/dirfd.c: Likewise.
56409         * dirent/fdopendir.c: Likewise.
56410         * dirent/getdents.c: Likewise.
56411         * dirent/getdents64.c: Likewise.
56412         * dirent/opendir.c: Likewise.
56413         * dirent/readdir.c: Likewise.
56414         * dirent/readdir64.c: Likewise.
56415         * dirent/readdir64_r.c: Likewise.
56416         * dirent/readdir_r.c: Likewise.
56417         * dirent/rewinddir.c: Likewise.
56418         * dirent/seekdir.c: Likewise.
56419         * dirent/telldir.c: Likewise.
56420         * gmon/profil.c: Likewise.
56421         * grp/setgroups.c: Likewise.
56422         * inet/if_index.c: Likewise.
56423         * io/access.c: Likewise.
56424         * io/chdir.c: Likewise.
56425         * io/chmod.c: Likewise.
56426         * io/chown.c: Likewise.
56427         * io/close.c: Likewise.
56428         * io/dup.c: Likewise.
56429         * io/dup2.c: Likewise.
56430         * io/dup3.c: Likewise.
56431         * io/euidaccess.c: Likewise.
56432         * io/faccessat.c: Likewise.
56433         * io/fchdir.c: Likewise.
56434         * io/fchmod.c: Likewise.
56435         * io/fchmodat.c: Likewise.
56436         * io/fchown.c: Likewise.
56437         * io/fchownat.c: Likewise.
56438         * io/fcntl.c: Likewise.
56439         * io/flock.c: Likewise.
56440         * io/fstatfs.c: Likewise.
56441         * io/fstatfs64.c: Likewise.
56442         * io/fstatvfs.c: Likewise.
56443         * io/fstatvfs64.c: Likewise.
56444         * io/futimens.c: Likewise.
56445         * io/fxstat.c: Likewise.
56446         * io/fxstat64.c: Likewise.
56447         * io/fxstatat.c: Likewise.
56448         * io/fxstatat64.c: Likewise.
56449         * io/getcwd.c: Likewise.
56450         * io/isatty.c: Likewise.
56451         * io/lchmod.c: Likewise.
56452         * io/lchown.c: Likewise.
56453         * io/link.c: Likewise.
56454         * io/linkat.c: Likewise.
56455         * io/lseek.c: Likewise.
56456         * io/lseek64.c: Likewise.
56457         * io/lxstat64.c: Likewise.
56458         * io/mkdir.c: Likewise.
56459         * io/mkdirat.c: Likewise.
56460         * io/mkfifo.c: Likewise.
56461         * io/mkfifoat.c: Likewise.
56462         * io/open.c: Likewise.
56463         * io/open64.c: Likewise.
56464         * io/openat.c: Likewise.
56465         * io/openat64.c: Likewise.
56466         * io/pipe.c: Likewise.
56467         * io/pipe2.c: Likewise.
56468         * io/poll.c: Likewise.
56469         * io/posix_fadvise.c: Likewise.
56470         * io/posix_fadvise64.c: Likewise.
56471         * io/posix_fallocate.c: Likewise.
56472         * io/posix_fallocate64.c: Likewise.
56473         * io/read.c: Likewise.
56474         * io/readlink.c: Likewise.
56475         * io/readlinkat.c: Likewise.
56476         * io/rmdir.c: Likewise.
56477         * io/sendfile.c: Likewise.
56478         * io/sendfile64.c: Likewise.
56479         * io/statfs.c: Likewise.
56480         * io/statfs64.c: Likewise.
56481         * io/statvfs.c: Likewise.
56482         * io/statvfs64.c: Likewise.
56483         * io/symlink.c: Likewise.
56484         * io/symlinkat.c: Likewise.
56485         * io/ttyname.c: Likewise.
56486         * io/ttyname_r.c: Likewise.
56487         * io/umask.c: Likewise.
56488         * io/unlink.c: Likewise.
56489         * io/unlinkat.c: Likewise.
56490         * io/utime.c: Likewise.
56491         * io/utimensat.c: Likewise.
56492         * io/write.c: Likewise.
56493         * io/xmknod.c: Likewise.
56494         * io/xmknodat.c: Likewise.
56495         * io/xstat.c: Likewise.
56496         * io/xstat64.c: Likewise.
56497         * login/getpt.c: Likewise.
56498         * login/grantpt.c: Likewise.
56499         * login/unlockpt.c: Likewise.
56500         * math/e_acoshl.c: Likewise.
56501         * math/e_acosl.c: Likewise.
56502         * math/e_asinl.c: Likewise.
56503         * math/e_atan2l.c: Likewise.
56504         * math/e_atanhl.c: Likewise.
56505         * math/e_coshl.c: Likewise.
56506         * math/e_expl.c: Likewise.
56507         * math/e_fmodl.c: Likewise.
56508         * math/e_gammal_r.c: Likewise.
56509         * math/e_hypotl.c: Likewise.
56510         * math/e_j0l.c: Likewise.
56511         * math/e_j1l.c: Likewise.
56512         * math/e_jnl.c: Likewise.
56513         * math/e_lgammal_r.c: Likewise.
56514         * math/e_log10l.c: Likewise.
56515         * math/e_log2l.c: Likewise.
56516         * math/e_logl.c: Likewise.
56517         * math/e_powl.c: Likewise.
56518         * math/e_rem_pio2l.c: Likewise.
56519         * math/e_sinhl.c: Likewise.
56520         * math/e_sqrtl.c: Likewise.
56521         * math/fclrexcpt.c: Likewise.
56522         * math/fedisblxcpt.c: Likewise.
56523         * math/feenablxcpt.c: Likewise.
56524         * math/fegetenv.c: Likewise.
56525         * math/fegetexcept.c: Likewise.
56526         * math/fegetround.c: Likewise.
56527         * math/feholdexcpt.c: Likewise.
56528         * math/fesetenv.c: Likewise.
56529         * math/fesetround.c: Likewise.
56530         * math/feupdateenv.c: Likewise.
56531         * math/fgetexcptflg.c: Likewise.
56532         * math/fraiseexcpt.c: Likewise.
56533         * math/fsetexcptflg.c: Likewise.
56534         * math/ftestexcept.c: Likewise.
56535         * math/k_cosl.c: Likewise.
56536         * math/k_rem_pio2l.c: Likewise.
56537         * math/k_sinl.c: Likewise.
56538         * math/k_tanl.c: Likewise.
56539         * math/s_asinhl.c: Likewise.
56540         * math/s_atanl.c: Likewise.
56541         * math/s_cbrtl.c: Likewise.
56542         * math/s_erfl.c: Likewise.
56543         * math/s_expm1l.c: Likewise.
56544         * math/s_log1pl.c: Likewise.
56545         * math/s_tanhl.c: Likewise.
56546         * misc/acct.c: Likewise.
56547         * misc/brk.c: Likewise.
56548         * misc/chflags.c: Likewise.
56549         * misc/chroot.c: Likewise.
56550         * misc/fchflags.c: Likewise.
56551         * misc/fgetxattr.c: Likewise.
56552         * misc/flistxattr.c: Likewise.
56553         * misc/fremovexattr.c: Likewise.
56554         * misc/fsetxattr.c: Likewise.
56555         * misc/fsync.c: Likewise.
56556         * misc/ftruncate.c: Likewise.
56557         * misc/futimes.c: Likewise.
56558         * misc/futimesat.c: Likewise.
56559         * misc/getdomain.c: Likewise.
56560         * misc/getdtsz.c: Likewise.
56561         * misc/gethostid.c: Likewise.
56562         * misc/gethostname.c: Likewise.
56563         * misc/getloadavg.c: Likewise.
56564         * misc/getpagesize.c: Likewise.
56565         * misc/getsysstats.c: Likewise.
56566         * misc/getxattr.c: Likewise.
56567         * misc/gtty.c: Likewise.
56568         * misc/ioctl.c: Likewise.
56569         * misc/lgetxattr.c: Likewise.
56570         * misc/listxattr.c: Likewise.
56571         * misc/llistxattr.c: Likewise.
56572         * misc/lremovexattr.c: Likewise.
56573         * misc/lsetxattr.c: Likewise.
56574         * misc/lutimes.c: Likewise.
56575         * misc/madvise.c: Likewise.
56576         * misc/mincore.c: Likewise.
56577         * misc/mlock.c: Likewise.
56578         * misc/mlockall.c: Likewise.
56579         * misc/mmap.c: Likewise.
56580         * misc/mprotect.c: Likewise.
56581         * misc/msync.c: Likewise.
56582         * misc/munlock.c: Likewise.
56583         * misc/munlockall.c: Likewise.
56584         * misc/munmap.c: Likewise.
56585         * misc/preadv.c: Likewise.
56586         * misc/preadv64.c: Likewise.
56587         * misc/ptrace.c: Likewise.
56588         * misc/pwritev.c: Likewise.
56589         * misc/pwritev64.c: Likewise.
56590         * misc/readv.c: Likewise.
56591         * misc/reboot.c: Likewise.
56592         * misc/remap_file_pages.c: Likewise.
56593         * misc/removexattr.c: Likewise.
56594         * misc/revoke.c: Likewise.
56595         * misc/select.c: Likewise.
56596         * misc/setdomain.c: Likewise.
56597         * misc/setegid.c: Likewise.
56598         * misc/seteuid.c: Likewise.
56599         * misc/sethostid.c: Likewise.
56600         * misc/sethostname.c: Likewise.
56601         * misc/setregid.c: Likewise.
56602         * misc/setreuid.c: Likewise.
56603         * misc/setxattr.c: Likewise.
56604         * misc/sstk.c: Likewise.
56605         * misc/stty.c: Likewise.
56606         * misc/swapoff.c: Likewise.
56607         * misc/swapon.c: Likewise.
56608         * misc/sync.c: Likewise.
56609         * misc/syncfs.c: Likewise.
56610         * misc/syscall.c: Likewise.
56611         * misc/truncate.c: Likewise.
56612         * misc/ualarm.c: Likewise.
56613         * misc/usleep.c: Likewise.
56614         * misc/ustat.c: Likewise.
56615         * misc/utimes.c: Likewise.
56616         * misc/vhangup.c: Likewise.
56617         * misc/writev.c: Likewise.
56618         * posix/_exit.c: Likewise.
56619         * posix/alarm.c: Likewise.
56620         * posix/execve.c: Likewise.
56621         * posix/fexecve.c: Likewise.
56622         * posix/fork.c: Likewise.
56623         * posix/fpathconf.c: Likewise.
56624         * posix/getaddrinfo.c: Likewise.
56625         * posix/getegid.c: Likewise.
56626         * posix/geteuid.c: Likewise.
56627         * posix/getgid.c: Likewise.
56628         * posix/getgroups.c: Likewise.
56629         * posix/getlogin.c: Likewise.
56630         * posix/getlogin_r.c: Likewise.
56631         * posix/getpgid.c: Likewise.
56632         * posix/getpid.c: Likewise.
56633         * posix/getppid.c: Likewise.
56634         * posix/getresgid.c: Likewise.
56635         * posix/getresuid.c: Likewise.
56636         * posix/getsid.c: Likewise.
56637         * posix/getuid.c: Likewise.
56638         * posix/glob64.c: Likewise.
56639         * posix/nanosleep.c: Likewise.
56640         * posix/pathconf.c: Likewise.
56641         * posix/pause.c: Likewise.
56642         * posix/posix_madvise.c: Likewise.
56643         * posix/pread.c: Likewise.
56644         * posix/pread64.c: Likewise.
56645         * posix/pwrite.c: Likewise.
56646         * posix/pwrite64.c: Likewise.
56647         * posix/sched_getaffinity.c: Likewise.
56648         * posix/sched_getp.c: Likewise.
56649         * posix/sched_gets.c: Likewise.
56650         * posix/sched_primax.c: Likewise.
56651         * posix/sched_primin.c: Likewise.
56652         * posix/sched_rr_gi.c: Likewise.
56653         * posix/sched_setaffinity.c: Likewise.
56654         * posix/sched_setp.c: Likewise.
56655         * posix/sched_sets.c: Likewise.
56656         * posix/sched_yield.c: Likewise.
56657         * posix/setgid.c: Likewise.
56658         * posix/setlogin.c: Likewise.
56659         * posix/setpgid.c: Likewise.
56660         * posix/setresgid.c: Likewise.
56661         * posix/setresuid.c: Likewise.
56662         * posix/setsid.c: Likewise.
56663         * posix/setuid.c: Likewise.
56664         * posix/sleep.c: Likewise.
56665         * posix/spawni.c: Likewise.
56666         * posix/sysconf.c: Likewise.
56667         * posix/times.c: Likewise.
56668         * posix/wait.c: Likewise.
56669         * posix/wait3.c: Likewise.
56670         * posix/wait4.c: Likewise.
56671         * posix/waitpid.c: Likewise.
56672         * resolv/gai_sigqueue.c: Likewise.
56673         * resource/getpriority.c: Likewise.
56674         * resource/getrlimit.c: Likewise.
56675         * resource/getrusage.c: Likewise.
56676         * resource/nice.c: Likewise.
56677         * resource/setpriority.c: Likewise.
56678         * resource/setrlimit.c: Likewise.
56679         * resource/ulimit.c: Likewise.
56680         * rt/aio_cancel.c: Likewise.
56681         * rt/aio_fsync.c: Likewise.
56682         * rt/aio_read.c: Likewise.
56683         * rt/aio_sigqueue.c: Likewise.
56684         * rt/aio_suspend.c: Likewise.
56685         * rt/aio_write.c: Likewise.
56686         * rt/clock_getres.c: Likewise.
56687         * rt/clock_gettime.c: Likewise.
56688         * rt/clock_nanosleep.c: Likewise.
56689         * rt/clock_settime.c: Likewise.
56690         * rt/lio_listio.c: Likewise.
56691         * rt/mq_close.c: Likewise.
56692         * rt/mq_getattr.c: Likewise.
56693         * rt/mq_notify.c: Likewise.
56694         * rt/mq_open.c: Likewise.
56695         * rt/mq_receive.c: Likewise.
56696         * rt/mq_send.c: Likewise.
56697         * rt/mq_setattr.c: Likewise.
56698         * rt/mq_timedreceive.c: Likewise.
56699         * rt/mq_timedsend.c: Likewise.
56700         * rt/mq_unlink.c: Likewise.
56701         * rt/shm_open.c: Likewise.
56702         * rt/shm_unlink.c: Likewise.
56703         * rt/timer_create.c: Likewise.
56704         * rt/timer_delete.c: Likewise.
56705         * rt/timer_getoverr.c: Likewise.
56706         * rt/timer_gettime.c: Likewise.
56707         * rt/timer_settime.c: Likewise.
56708         * setjmp/__longjmp.c: Likewise.
56709         * setjmp/setjmp.c: Likewise.
56710         * signal/kill.c: Likewise.
56711         * signal/killpg.c: Likewise.
56712         * signal/raise.c: Likewise.
56713         * signal/sigaction.c: Likewise.
56714         * signal/sigaltstack.c: Likewise.
56715         * signal/sigblock.c: Likewise.
56716         * signal/sigignore.c: Likewise.
56717         * signal/sigintr.c: Likewise.
56718         * signal/signal.c: Likewise.
56719         * signal/sigpause.c: Likewise.
56720         * signal/sigpending.c: Likewise.
56721         * signal/sigqueue.c: Likewise.
56722         * signal/sigreturn.c: Likewise.
56723         * signal/sigset.c: Likewise.
56724         * signal/sigsetmask.c: Likewise.
56725         * signal/sigstack.c: Likewise.
56726         * signal/sigsuspend.c: Likewise.
56727         * signal/sigtimedwait.c: Likewise.
56728         * signal/sigvec.c: Likewise.
56729         * signal/sigwait.c: Likewise.
56730         * signal/sigwaitinfo.c: Likewise.
56731         * signal/sysv_signal.c: Likewise.
56732         * socket/accept.c: Likewise.
56733         * socket/accept4.c: Likewise.
56734         * socket/bind.c: Likewise.
56735         * socket/connect.c: Likewise.
56736         * socket/getpeername.c: Likewise.
56737         * socket/getsockname.c: Likewise.
56738         * socket/getsockopt.c: Likewise.
56739         * socket/isfdtype.c: Likewise.
56740         * socket/listen.c: Likewise.
56741         * socket/recv.c: Likewise.
56742         * socket/recvfrom.c: Likewise.
56743         * socket/recvmsg.c: Likewise.
56744         * socket/send.c: Likewise.
56745         * socket/sendmsg.c: Likewise.
56746         * socket/sendto.c: Likewise.
56747         * socket/setsockopt.c: Likewise.
56748         * socket/shutdown.c: Likewise.
56749         * socket/sockatmark.c: Likewise.
56750         * socket/socket.c: Likewise.
56751         * socket/socketpair.c: Likewise.
56752         * stdio-common/ctermid.c: Likewise.
56753         * stdio-common/cuserid.c: Likewise.
56754         * stdio-common/remove.c: Likewise.
56755         * stdio-common/rename.c: Likewise.
56756         * stdio-common/renameat.c: Likewise.
56757         * stdio-common/tempname.c: Likewise.
56758         * stdlib/getcontext.c: Likewise.
56759         * stdlib/makecontext.c: Likewise.
56760         * stdlib/setcontext.c: Likewise.
56761         * stdlib/swapcontext.c: Likewise.
56762         * stdlib/system.c: Likewise.
56763         * streams/fattach.c: Likewise.
56764         * streams/fdetach.c: Likewise.
56765         * streams/getmsg.c: Likewise.
56766         * streams/getpmsg.c: Likewise.
56767         * streams/putmsg.c: Likewise.
56768         * streams/putpmsg.c: Likewise.
56769         * sysdeps/unix/bsd/getpt.c: Likewise.
56770         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56771         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56772         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56774         Likewise.
56775         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56776         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56777         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56778         * sysvipc/msgctl.c: Likewise.
56779         * sysvipc/msgget.c: Likewise.
56780         * sysvipc/msgrcv.c: Likewise.
56781         * sysvipc/msgsnd.c: Likewise.
56782         * sysvipc/semctl.c: Likewise.
56783         * sysvipc/semget.c: Likewise.
56784         * sysvipc/semop.c: Likewise.
56785         * sysvipc/semtimedop.c: Likewise.
56786         * sysvipc/shmat.c: Likewise.
56787         * sysvipc/shmctl.c: Likewise.
56788         * sysvipc/shmdt.c: Likewise.
56789         * sysvipc/shmget.c: Likewise.
56790         * termios/tcdrain.c: Likewise.
56791         * termios/tcflow.c: Likewise.
56792         * termios/tcflush.c: Likewise.
56793         * termios/tcgetattr.c: Likewise.
56794         * termios/tcgetpgrp.c: Likewise.
56795         * termios/tcsendbrk.c: Likewise.
56796         * termios/tcsetattr.c: Likewise.
56797         * termios/tcsetpgrp.c: Likewise.
56798         * time/adjtime.c: Likewise.
56799         * time/clock.c: Likewise.
56800         * time/getitimer.c: Likewise.
56801         * time/gettimeofday.c: Likewise.
56802         * time/setitimer.c: Likewise.
56803         * time/settimeofday.c: Likewise.
56804         * time/stime.c: Likewise.
56805         * time/time.c: Likewise.
56807 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
56809         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56810         /usr/old/bin.
56812         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56813         instead of spaces.
56814         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56816 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
56818         [BZ #14796]
56819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56820         FE_TONEAREST before applying Dekker multiplication and Knuth
56821         addition.  Clear inexact exceptions and check for exact zero
56822         results afterwards.
56823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56824         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56826         * math/libm-test.inc (fma_test): Add more tests.
56827         (fma_test_towardzero): Likewise.
56828         (fma_test_downward): Likewise.
56829         (fma_test_upward): Likewise.
56830         * sysdeps/generic/math_private.h (default_libc_fesetround): New
56831         function.
56832         (libc_fesetround): New macro.
56833         (libc_fesetroundf): Likewise.
56834         (libc_fesetroundl): Likewise.
56835         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56836         function.
56837         (libc_fesetround_387): Likewise.
56838         (libc_fesetroundf): New macro.
56839         (libc_fesetround): Likewise.
56840         (libc_fesetroundl): Likewise.
56841         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56842         function.
56843         (libc_fesetroundf): New macro.
56844         (libc_fesetround): Likewise.
56845         (libc_fesetroundl): Likewise.
56846         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
56847         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
56848         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
56849         libm_hidden_ver.
56850         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
56851         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
56852         libm_hidden_def.
56853         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
56854         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
56855         libm_hidden_ver.
56856         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
56857         libm_hidden_def.
56859         [BZ #3439]
56860         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
56861         integer constant usable in #if and use that to give value to enum
56862         constant.
56863         (FE_DIVBYZERO): Likewise.
56864         (FE_UNDERFLOW): Likewise.
56865         (FE_OVERFLOW): Likewise.
56866         (FE_INVALID): Likewise.
56867         (FE_INVALID_SNAN): Likewise.
56868         (FE_INVALID_ISI): Likewise.
56869         (FE_INVALID_IDI): Likewise.
56870         (FE_INVALID_ZDZ): Likewise.
56871         (FE_INVALID_IMZ): Likewise.
56872         (FE_INVALID_COMPARE): Likewise.
56873         (FE_INVALID_SOFTWARE): Likewise.
56874         (FE_INVALID_SQRT): Likewise.
56875         (FE_INVALID_INTEGER_CONVERSION): Likewise.
56876         (FE_TONEAREST): Likewise.
56877         (FE_TOWARDZERO): Likewise.
56878         (FE_UPWARD): Likewise.
56879         (FE_DOWNWARD): Likewise.
56880         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
56881         (FE_DIVBYZERO): Likewise.
56882         (FE_OVERFLOW): Likewise.
56883         (FE_UNDERFLOW): Likewise.
56884         (FE_INEXACT): Likewise.
56885         (FE_TONEAREST): Likewise.
56886         (FE_DOWNWARD): Likewise.
56887         (FE_UPWARD): Likewise.
56888         (FE_TOWARDZERO): Likewise.
56889         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
56890         (FE_UNDERFLOW): Likewise.
56891         (FE_OVERFLOW): Likewise.
56892         (FE_DIVBYZERO): Likewise.
56893         (FE_INVALID): Likewise.
56894         (FE_TONEAREST): Likewise.
56895         (FE_TOWARDZERO): Likewise.
56896         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
56897         (FE_OVERFLOW): Likewise.
56898         (FE_UNDERFLOW): Likewise.
56899         (FE_DIVBYZERO): Likewise.
56900         (FE_INEXACT): Likewise.
56901         (FE_TONEAREST): Likewise.
56902         (FE_TOWARDZERO): Likewise.
56903         (FE_UPWARD): Likewise.
56904         (FE_DOWNWARD): Likewise.
56905         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
56906         (FE_DIVBYZERO): Likewise.
56907         (FE_OVERFLOW): Likewise.
56908         (FE_UNDERFLOW): Likewise.
56909         (FE_INEXACT): Likewise.
56910         (FE_TONEAREST): Likewise.
56911         (FE_DOWNWARD): Likewise.
56912         (FE_UPWARD): Likewise.
56913         (FE_TOWARDZERO): Likewise.
56915 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
56917         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
56919 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
56921         * scripts/cross-test-ssh.sh (command): Use newlines to separate
56922         commands.  Quote $PWD.
56923         (blacklist_exports): Don't use remove_newlines.  Replace "declare
56924         -x" by "export".
56925         (remove_newlines): Remove.
56927 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
56929         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
56930         * stdlib/stdlib.h (atof): Moved to ...
56931         * include/bits/stdlib-float.h: Here.  New file.
56932         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
56933         * stdlib/bits/stdlib-float.h: New file.
56934         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
56935         -mno-sse -mno-mmx.
56936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
56937         <xmmintrin.h>.
56939 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56941         * conform/conformtest.pl (@headers): Add fenv.h.
56942         * conform/data/fenv.h-data: New file.
56943         * include/fenv.h [_ISOMAC]: Disable all contents of file except
56944         include of <math/fenv.h>.
56946         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
56947         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
56948         && !UNIX98].  Enables tests for XOPEN2K8.
56949         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
56950         POSIX2008]: Likewise.
56952         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
56953         (struct rusage): Do not expect type or its members.
56955         [BZ #3439]
56956         * math/math.h (FP_NAN): Define macro to integer constant usable in
56957         #if and use that to give value to enum constant.
56958         (FP_INFINITE): Likewise.
56959         (FP_ZERO): Likewise.
56960         (FP_SUBNORMAL): Likewise.
56961         (FP_NORMAL): Likewise.
56963 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
56965         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
56966         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
56967         arguments.
56969 2012-11-02  Roland McGrath  <roland@hack.frob.com>
56971         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
56972         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
56973         autoconf-time if not.
56974         * configure.in: Remove AC_PREREQ.
56976 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56978         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
56979         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
56980         of the internal implementation.
56982 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
56984         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
56985         except include of <misc/sys/syslog.h>.
56987 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
56990         function returns with a NULL context exit with zero.
56992 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56994         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
56996 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
56998         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
56999         (run_program_cmd): This.
57000         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57001         (tst_langinfo): New variable.  Use it.
57003 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57005         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57006         floating point opcodes.
57008 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57010         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57011         variable.
57013         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57015         * sysdeps/mach/hurd/powerpc: Remove directory.
57016         * sysdeps/mach/powerpc: Likewise.
57018 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57020         * scripts/check-local-headers.sh: Ignore c++ headers.
57022 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57024         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57025         __libc_cleanup_region_start argument.
57027 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57029         [BZ #14784]
57030         [BZ #14785]
57031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57032         x * y using scaling, not as x * y + z.
57033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57035         * math/libm-test.inc (fma_test): Add more tests.
57036         (fma_test_towardzero): Likewise.
57037         (fma_test_downward): Likewise.
57038         (fma_test_upward): Likewise.
57040 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57042         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57044 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57046         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57047         New variable.
57049 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57051         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57053 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57056         Fix sort order.
57057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57058         Likewise.
57060 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57063         Fix the order of the list for glibc 2.17.
57064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57065         Likewise.
57067 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57071 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57073         [BZ #14610]
57074         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57075         for low part of x being zero before using __atanl (y).
57076         * math/libm-test.inc (atan2_test): Add another test.
57078         * manual/install.texi (Configuring and compiling): Document
57079         general use of test-wrapper and test-wrapper-env.
57080         * INSTALL: Regenerated.
57082         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57083         (__fma): Do not extract and scale down low bits on after-rounding
57084         systems when result rounded to normal precision would have normal
57085         exponent.
57086         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57087         (__fmal): Do not extract and scale down low bits on after-rounding
57088         systems when result rounded to normal precision would have normal
57089         exponent.
57090         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57091         (__fmal): Do not extract and scale down low bits on after-rounding
57092         systems when result rounded to normal precision would have normal
57093         exponent.
57094         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57095         macro.
57096         (fma_test): Add more tests.
57097         (fma_test_towardzero): Likewise.
57098         (fma_test_downward): Likewise.
57099         (fma_test_upward): Likewise.
57101 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57103         * sysdeps/i386/tininess.h: Renamed to ...
57104         * sysdeps/x86/tininess.h: This.
57105         * sysdeps/x86_64/tininess.h: Removed.
57107 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57109         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57110         input.  Use $(build-program-cmd).
57111         ($(objpfx)tst-array1-static.out): Likewise.
57112         ($(objpfx)tst-array2.out): Likewise.
57113         ($(objpfx)tst-array3.out): Likewise.
57114         ($(objpfx)tst-array4.out): Likewise.
57115         ($(objpfx)tst-array5.out): Likewise.
57116         ($(objpfx)tst-array5-static.out): Likewise.
57118 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57120         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57121         if defined.
57123         * nss/nsswitch.h (nss_interface_function): Provide new
57124         macro for use with NSS functions.
57125         * grp/initgroups.c: Use new macro.
57126         * nss/getXXbyYY.c: Likewise.
57127         * nss/getXXbyYY_r.c: Likewise.
57128         * nss/getXXent.c: Likewise.
57129         * nss/getXXent_r.c: Likewise.
57130         * sysdeps/posix/getaddrinfo.c: Likewise.
57132 2012-10-30  Andreas Jaeger  <aj@suse.de>
57134         * po/ru.po: Update Russion translation from translation project.
57136 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57138         [BZ #14152]
57139         [BZ #14783]
57140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57141         result and shift together with sticky bit instead of replicating
57142         round-to-nearest rounding.
57143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57145         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57146         missing underflow exceptions.
57147         (fma_test_towardzero): Add more tests.
57148         (fma_test_downward): Likewise.
57149         (fma_test_upward): Likewise.
57151         [BZ #14047]
57152         * sysdeps/generic/tininess.h: New file.
57153         * sysdeps/i386/tininess.h: Likewise.
57154         * sysdeps/sh/tininess.h: Likewise.
57155         * sysdeps/x86_64/tininess.h: Likewise.
57156         * stdlib/tst-strtod-underflow.c: Likewise.
57157         * stdlib/tst-tininess.c: Likewise.
57158         * stdlib/strtod_l.c: Include <tininess.h>.
57159         (round_and_return): Do not set errno for exact underflow cases.
57160         Force an underflow exception when setting errno for underflow.
57161         Determine underflow based on rounding to normal precision if
57162         TININESS_AFTER_ROUNDING.
57163         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57164         ERANGE for exact underflow cases.
57165         * stdlib/Makefile (tests): Add tst-tininess and
57166         tst-strtod-underflow.
57167         ($(objpfx)tst-tininess): Use $(link-libm).
57168         ($(objpfx)tst-strtod-underflow): Likewise.
57170 2012-10-30  Andreas Jaeger  <aj@suse.de>
57172         [BZ#14767]
57173         * elf/Makefile (tests): Remove conditional for have-initfini-array
57174         since this is now always required and the variable does not exist
57175         anymore.
57176         (tests-static): Likewise.
57177         (modules-names): Likewise.
57179         * po/eo.po: Add Esperanto translation from translation project.
57181         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57182         merged with constructor/destructor.
57183         (init_array): Likewise.
57184         * elf/tst-array2dep.c (fini_array): Likewise.
57185         (init_array): Likewise.
57187 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57189         * manual/message.texi: Delete @cartouche tags.
57191 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57193         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57194         EOPNOTSUPP.
57195         * sysdeps/mach/hurd/fsync.c: Likewise.
57197         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57198         [_POSIX_REALTIME_SIGNALS]: Change condition to
57199         [_POSIX_REALTIME_SIGNALS > 0].
57201 2012-10-27  Andreas Jaeger  <aj@suse.de>
57203         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57204         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57206         [__WORDSIZE != 64]: Likewise.
57208 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57210         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57211         *  iconvdata/tst-tables.sh: Likewise.
57213 2012-10-25  David S. Miller  <davem@davemloft.net>
57215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57216         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57217         of strtoull.
57219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57220         ifunc-impl-list.c
57221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57222         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57223         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57224         file.
57226 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57228         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57229         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57230         __getdirentries.
57232 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57233             Jim Blandy  <jimb@codesourcery.com>
57235         * scripts/cross-test-ssh.sh: New file.
57236         * manual/install.texi (Configuring and compiling): Document use of
57237         cross-test-ssh.sh.
57238         * INSTALL: Regenerated.
57240 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57242         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57243         EOPNOTSUPP.
57245 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57247         * Makeconfig (run-program-prefix): Fix comment.
57249 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57250             Jim Blandy  <jimb@codesourcery.com>
57252         * Makeconfig (test-wrapper): New variable,
57253         (test-wrapper-env): Likewise.
57254         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57255         (run-built-tests): Define to yes.
57256         (run-program-prefix): Use $(test-wrapper).
57257         (built-program-cmd): Likewise.
57258         * Rules (make-test-out): Use $(test-wrapper-env) and
57259         $(host-built-program-cmd).
57260         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57261         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57262         tst-pathopt.sh.
57263         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57264         $(test-wrapper-env) to tst-rtld-load-self.sh.
57265         ($(objpfx)order2.out): Use $(test-wrapper).
57266         ($(objpfx)tst-initorder.out): Likewise.
57267         ($(objpfx)tst-initorder2.out): Likewise.
57268         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57269         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57270         (test_wrapper_env): New variable.  Use it to run ld.so.
57271         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57272         Use it to run ld.so.
57273         (test_wrapper_env): Likewise.
57274         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57275         $(test-wrapper) to run-iconv-test.sh.
57276         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57277         (ICONV): Use $test_wrapper.
57278         * posix/Makefile ($(objpfx)globtest.out): Pass
57279         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57280         globtest.sh, not $(run-program-prefix).
57281         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57282         (test_wrapper): Likewise.
57283         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57284         set together with run_via_rtld_prefix.
57285         (run_program_prefix): Define in terms of test_wrapper and
57286         run_via_rtld_prefix.
57288 2012-10-24  Roland McGrath  <roland@hack.frob.com>
57290         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57291         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57292         Targets removed.
57294         [BZ #14743]
57295         * include/time.h: Remove librt_hidden_proto (clock_gettime).
57296         Declare __clock_getres, __clock_gettime, __clock_settime,
57297         __clock_nanosleep, and __clock_getcpuclockid.
57298         * rt/clock_gettime.c: Define __clock_gettime as an alias.
57299         Remove librt_hidden_def (clock_gettime).
57300         * sysdeps/unix/clock_gettime.c: Likewise.
57301         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57302         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57303         * rt/clock_getres.c: Define __clock_getres as an alias.
57304         * sysdeps/posix/clock_getres.c: Likewise.
57305         * rt/clock_settime.c: Define __clock_settime as an alias.
57306         * sysdeps/unix/clock_settime.c: Likewise.
57307         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57308         * sysdeps/unix/clock_nanosleep.c: Likewise.
57309         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57310         * rt/clock-compat.c: New file.
57311         * rt/Makefile (librt-routines): Add clock-compat and move
57312         $(clock-routines) to ...
57313         (routines): ... here, new variable.
57314         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57315         Don't add get_clockfreq here.
57316         * rt/Versions (libc: GLIBC_2.17): New version set.
57317         Add clock_* symbols here.
57318         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
57319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57320         (GLIBC_2.17): Add clock_* symbols.
57321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57325         Likewise.
57326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57327         Likewise.
57328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57332         * NEWS: Mention the move.
57334         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57335         Use __open, __read, __close rather than their public counterparts.
57336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57337         (__get_clockfreq_via_cpuinfo): Likewise.
57338         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57339         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57341         * config.h.in (HAVE_IFUNC): New #undef.
57342         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57343         was successful.
57344         * configure: Regenerated.
57346 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57348         * configure.in: Move READELF check to start of file.
57349         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57350         libc_cv_asm_gnu_indirect_function in the process.
57351         * configure: Regenerated.
57353 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
57355         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57356         send the output to /dev/null.
57357         (libc_cv_cc_with_libunwind): Likewise.
57358         (libc_cv_as_noexecstack): Likewise.
57359         * configure: Regenerate.
57361 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57363         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57365         * posix/globtest.sh (TMPDIR): Do not set.
57366         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57367         (testout): Likewise.
57369 2012-10-24  Andreas Jaeger  <aj@suse.de>
57371         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57372         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57373         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57374         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57375         posix_fadvise64, posix_fallocate64.
57377         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57378         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57379         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57380         Likewise.
57381         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57382         Likewise.
57383         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57386         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57387         <bits/fcntl-linux.h>.
57388         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57391         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57392         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57393         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57394         [__WORDSIZE != 64]: Likewise.
57396 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57398         * Makeconfig (run-built-tests): New variable.
57399         * Rules [$(cross-compiling) = yes]: Change condition to
57400         [$(run-built-tests) = no].
57401         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57402         to [$(run-built-tests) = yes].
57403         * elf/Makefile [$(cross-compiling) = no]: Likewise.
57404         * grp/Makefile [$(cross-compiling) = no]: Likewise.
57405         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57406         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57407         * intl/Makefile [$(cross-compiling) = no]: Likewise.
57408         * io/Makefile [$(cross-compiling) = no]: Likewise.
57409         * libio/Makefile [$(cross-compiling) = no]: Likewise.
57410         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57411         * misc/Makefile [$(cross-compiling) = no]: Likewise.
57412         * posix/Makefile [$(cross-compiling) = no]: Likewise.
57413         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57414         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57415         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57416         * string/Makefile [$(cross-compiling) = no]: Likewise.
57418         * posix/Makefile ($(objpfx)globtest.out): Pass
57419         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57420         $(rtld-installed-name).
57421         * posix/globtest.sh (elf_objpfx): Remove variable.
57422         (rtld_installed_name): Likewise.
57423         (library_path): Likewise.
57424         (run_program_prefix): New variable.  Use for running globtest
57425         binary.
57427 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
57428             Joseph Myers  <joseph@codesourcery.com>
57430         * Makeconfig (host-built-program-cmd): New variable.
57431         * elf/Makefile (tst-stackguard1-ARGS): Use
57432         $(host-built-program-cmd).
57433         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57434         (tst-spawn-ARGS): Likewise.
57435         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57437 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
57438             Jim Blandy  <jimb@codesourcery.com>
57440         * Makeconfig (run-via-rtld-prefix): New variable.
57441         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57442         (built-program-cmd): Likewise.
57444 2012-10-22  Andreas Jaeger  <aj@suse.de>
57446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57447         __O_RSYNC if it exists, otherwise to O_SYNC.
57449 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
57450             Joseph Myers  <joseph@codesourcery.com>
57452         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57453         /dev/null.
57454         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57455         from /dev/null
57456         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57457         /dev/null.
57459 2012-10-22  Andreas Jaeger  <aj@suse.de>
57461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57462         Define always.
57463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57466         bits/fcntl-linux.h.
57468         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57469         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57472         to __O_LARGEFILE.
57473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57474         to __O_LARGEFILE.
57476 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
57477             Joseph Myers  <joseph@codesourcery.com>
57479         * config.make.in (NM): New variable.
57481 2012-10-21  Andreas Jaeger  <aj@suse.de>
57483         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57484         definitions and declarations that are provided by
57485         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57487 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57489         [BZ #14683]
57490         * elf/Makefile (tests-static): Add tst-leaks1-static.
57491         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57492         ($(objpfx)tst-leaks1-static): New rule.
57493         ($(objpfx)tst-leaks1-static-mem): Likewise.
57494         (tst-leaks1-static-ENV): New macro.
57495         * elf/dl-open.c (dl_open_worker): Check the main application
57496         only if SHARED is defined.
57497         * elf/tst-leaks1-static.c: New file.
57499 2012-10-20  Andreas Jaeger  <aj@suse.de>
57501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57502         generic values for Linux.
57503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57504         and declarations that are provided by <bits/fcntl-linux.h> and
57505         include <bits/fcntl-linux.h>.
57506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57509 2012-10-20  Roland McGrath  <roland@hack.frob.com>
57511         * io/fcntl.h: Move include of <bits/types.h> to the top and
57512         include it unconditionally.
57514 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
57516         * wcsmbs/Makefile (tests-ifunc): New variable.
57517         (tests): Add $(tests-ifunc).
57518         * wcsmbs/test-wcschr-ifunc.c: New file.
57519         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57520         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57521         * wcsmbs/test-wcslen-ifunc.c: Likewise.
57522         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57523         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57525         * string/Makefile (tests-ifunc): New variable.
57526         (tests): Add $(tests-ifunc).
57527         * string/test-memccpy.c (TEST_NAME): New macro.
57528         * string/test-memchr.c (TEST_NAME): Likewise.
57529         * string/test-memcmp.c (TEST_NAME): Likewise.
57530         * string/test-memcpy.c (TEST_NAME): Likewise.
57531         * string/test-memmem.c (TEST_NAME): Likewise.
57532         * string/test-memmove.c (TEST_NAME): Likewise.
57533         * string/test-memset.c (TEST_NAME): Likewise.
57534         * string/test-rawmemchr.c (TEST_NAME): Likewise.
57535         * string/test-stpcpy.c (TEST_NAME): Likewise.
57536         * string/test-stpncpy.c (TEST_NAME): Likewise.
57537         * string/test-strcasecmp.c (TEST_NAME): Likewise.
57538         * string/test-strcasestr.c (TEST_NAME): Likewise.
57539         * string/test-strcat.c (TEST_NAME): Likewise.
57540         * string/test-strchr.c (TEST_NAME): Likewise.
57541         * string/test-strcmp.c(TEST_NAME): Likewise.
57542         * string/test-strcpy.c (TEST_NAME): Likewise.
57543         * string/test-strcspn.c (TEST_NAME): Likewise.
57544         * string/test-strlen.c (TEST_NAME): Likewise.
57545         * string/test-strncasecmp.c (TEST_NAME): Likewise.
57546         * string/test-strncmp.c (TEST_NAME): Likewise.
57547         * string/test-strncpy.c (TEST_NAME): Likewise.
57548         * string/test-strnlen.c (TEST_NAME): Likewise.
57549         * string/test-strpbrk.c (TEST_NAME): Likewise.
57550         * string/test-strrchr.c (TEST_NAME): Likewise.
57551         * string/test-strspn.c (TEST_NAME): Likewise.
57552         * string/test-strstr.c (TEST_NAME): Likewise.
57553         * string/test-bcopy-ifunc.c: New file.
57554         * string/test-bzero-ifunc.c: Likewise.
57555         * string/test-memccpy-ifunc.c: Likewise.
57556         * string/test-memchr-ifunc.c: Likewise.
57557         * string/test-memcmp-ifunc.c: Likewise.
57558         * string/test-memcpy-ifunc.c: Likewise.
57559         * string/test-memmem-ifunc.c: Likewise.
57560         * string/test-memmove-ifunc.c: Likewise.
57561         * string/test-mempcpy-ifunc.c: Likewise.
57562         * string/test-memset-ifunc.c: Likewise.
57563         * string/test-rawmemchr-ifunc.c: Likewise.
57564         * string/test-stpcpy-ifunc.c: Likewise.
57565         * string/test-stpncpy-ifunc.c: Likewise.
57566         * string/test-strcasecmp-ifunc.c: Likewise.
57567         * string/test-strcasestr-ifunc.c: Likewise.
57568         * string/test-strcat-ifunc.c: Likewise.
57569         * string/test-strchr-ifunc.c: Likewise.
57570         * string/test-strchrnul-ifunc.c: Likewise.
57571         * string/test-strcmp-ifunc.c: Likewise.
57572         * string/test-strcpy-ifunc.c: Likewise.
57573         * string/test-strcspn-ifunc.c: Likewise.
57574         * string/test-strlen-ifunc.c: Likewise.
57575         * string/test-strncasecmp-ifunc.c: Likewise.
57576         * string/test-strncat-ifunc.c: Likewise.
57577         * string/test-strncmp-ifunc.c: Likewise.
57578         * string/test-strncpy-ifunc.c: Likewise.
57579         * string/test-strnlen-ifunc.c: Likewise.
57580         * string/test-strpbrk-ifunc.c: Likewise.
57581         * string/test-strrchr-ifunc.c: Likewise.
57582         * string/test-strspn-ifunc.c: Likewise.
57583         * string/test-strstr-ifunc.c: Likewise.
57585         * debug/Makefile (tests-ifunc): New variable.
57586         (tests): Add $(tests-ifunc).
57587         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57588         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57589         * debug/test-stpcpy_chk-ifunc.c: New file.
57590         * debug/test-strcpy_chk-ifunc.c: Likewise.
57592 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57594         [BZ #13601]
57595         * elf/dl-load.c (open_verify): Retry read if the entire ELF
57596         header is not read in.
57598 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
57600         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
57601         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
57602         directly.  Pass built executable to script as
57603         $(built-program-cmd).
57604         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
57605         $testprogram without using LD_LIBRARY_PATH and $ldso.
57607         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57608         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57609         $(rtld-installed-name).
57610         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57611         (rtld_installed_name): Likewise.
57612         (library_path): Likewise.
57613         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
57614         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57615         $(run-program-prefix) to tst-tables.sh.
57616         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
57617         it to run tst-table-from and tst-table-to.
57618         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57619         Pass it to tst-table.sh.
57620         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57621         $(run-program-prefix) to tst-gettext.sh.
57622         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57623         tst-translit.sh.
57624         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57625         tst-gettext2.sh.
57626         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
57627         to run tst-gettext.
57628         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
57629         to run tst-gettext2.
57630         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
57631         to run tst-translit.
57632         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57633         $(run-program-prefix) to tst-mtrace.sh.
57634         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
57635         to run tst-mtrace.
57636         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57637         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57638         $(rtld-installed-name).
57639         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57640         (rtld_installed_name): Likewise.
57641         (run_program_prefix): New variable.  Use it to run wordexp-test.
57643         * Makeconfig (ARCH): Remove all definitions.
57644         (machine): Likewise.
57645         [ARCH]: Remove conditional code.
57646         [!objdir]: Give error.
57647         [!objdir] (objpfx): Remove.
57648         [!objdir] (common-objpfx): Likewise.
57649         [!objdir] (common-objdir): Likewise.
57650         * configure.in (config_makefile): Remove.  Hardcode Makefile in
57651         AC_CONFIG_FILES call.
57652         * configure: Regenerated.
57654         [BZ #13888]
57655         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57656         or TMPDIR.
57657         (testout): Likewise.
57659         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57660         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57661         $(rtld-installed-name).
57662         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57663         (rtld_installed_name): Likwise.
57664         (runit): Remove function.
57665         (run_getconf): New variable,  Use it for running getconf binary.
57667 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
57669         [BZ #14716]
57670         * string/test-memmem.c (check_result): New function.
57671         (do_one_test): Use it.
57672         (check1): New function.
57673         (test_main): Use it.
57675 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
57677         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57679 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
57681         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57682         (_G_LSEEK64): Likewise.
57683         (_G_MMAP64): Likewise.
57684         (_G_FSTAT64): Likewise.
57685         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57686         (_G_LSEEK64): Likewise.
57687         (_G_MMAP64): Likewise.
57688         (_G_FSTAT64): Likewise.
57689         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57690         unconditional.  Call __mmap64 directly.
57691         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57692         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
57693         __lseek64 directly.
57694         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57695         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
57696         __mmap64 directly.
57697         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57698         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57699         __lseek64 directly.
57700         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57701         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
57702         __lseek64 directly.
57703         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57704         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
57705         __lseek64 directly.
57706         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57707         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
57708         __fxstat64 directly.
57709         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57710         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57711         unconditional.
57712         (freopen64) [!_G_OPEN64]: Remove conditional code.
57713         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57714         unconditional.
57715         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57716         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57717         unconditional.
57718         (ftello64) [!_G_LSEEK64]: Remove conditional code.
57719         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57720         unconditional.
57721         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57722         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57723         unconditional.
57724         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57725         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57726         unconditional.
57727         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57728         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57729         unconditional.
57730         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57731         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57732         unconditional.
57733         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57735 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57737         [BZ #12140]
57738         * manual/memory.texi (Malloc Tunable Parameters): Add note
57739         about free list pointers overwriting some perturb bytes.
57740         Wording suggested by Roland McGrath.
57742 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
57744         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57745         (lgamma_test): Likewise.
57746         (tgamma_test): Likewise.
57748 2012-10-16  Florian Weimer  <fweimer@redhat.com>
57750         [BZ #14700]
57751         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57752         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57754 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
57756         * NEWS: Mention BZ #14716.
57757         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57758         when removing AVAILABLE1_USES_J macro.
57760 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
57762         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57763         (__bswap_64): __uint64_t for unsigned 64-bit int.
57765 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
57767         * include/string.h (memmem): Declare libc hidden alias.
57768         * string/memmem.c (memmem): Define libc hidden alias.
57769         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57770         __read, __close instead of open, read, close.
57772 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
57774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57775         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57776         global and hidden.
57777         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57778         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57779         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57780         Likewise.
57781         (__rawmemchr_sse2): Likewise.
57782         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57783         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57784         (__strchr_sse2): Likewise.
57785         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57786         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57787         (__strcasecmp_sse2): Likewise.
57788         (__strncasecmp_sse2): Likewise.
57789         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57790         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57791         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57792         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57793         (__strrchr_sse2): Likewise.
57794         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57795         ifunc-impl-list.c.
57796         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57798         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57800         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57801         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57802         * sysdeps/x86_64/multiarch/memset.S: Likewise.
57803         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57804         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57805         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57806         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57807         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57808         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57809         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57810         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57811         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57812         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57813         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57814         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57815         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57816         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57817         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57818         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57819         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57820         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57821         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57822         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57823         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57824         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57825         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57827         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57828         global and hidden.
57829         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57830         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57831         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57832         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57833         Likewise.
57834         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57835         Likewise.
57836         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57837         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57838         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57839         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57840         ifunc-impl-list.c.
57841         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57842         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57850         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57851         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57852         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57853         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57854         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
57855         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
57856         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57857         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
57858         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
57859         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57860         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57861         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57862         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57863         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57864         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57865         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57866         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
57867         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
57868         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
57869         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
57870         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57871         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
57872         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57873         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57874         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
57875         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57876         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57877         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57878         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57879         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57880         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57881         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
57883         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
57884         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
57885         * include/ifunc-impl-list.h: New file.
57886         * misc/ifunc-impl-list.c: Likewise.
57887         * misc/Makefile (routines): Add ifunc-impl-list.
57888         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
57889         * string/test-string.h: Include <ifunc-impl-list.h>.
57890         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
57891         TEST_NAME]: New variables.
57892         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
57893         are defined.
57894         (test_init): Call __libc_ifunc_impl_list to initialize
57895         func_list if TEST_IFUNC and TEST_NAME are defined.
57897         * string/Makefile (strop-tests): Add bcopy and bzero.
57898         * string/test-bcopy.c: New file.
57899         * string/test-bzero.c: Likewise.
57900         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
57901         defined.
57902         * string/test-memset.c: Support bzero test if TEST_BZERO is
57903         defined.
57904         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
57905         __libc_memmove.
57906         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
57907         __libc_memset.
57908         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
57909         of memset.
57911 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
57913         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
57914         * configure: Regenerated.
57916         * Makeconfig (+link-static-before-libc): Don't include
57917         $(link-static-libc).
57919         * libio/libio.h (_IO_pos_t): Remove.
57921 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57923         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
57924         McGrath.
57926 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57928         * crypt/crypt-entry.c: Include fips-private.h.
57929         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
57930         * crypt/md5c-test.c (main): Tolerate disabled MD5.
57931         * sysdeps/unix/sysv/linux/fips-private.h: New file.
57932         * sysdeps/generic/fips-private.h: New file, dummy fallback.
57934 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
57936         * crypt/crypt-private.h: Include stdbool.h.
57937         (_ufc_setup_salt_r): Return bool.
57938         * crypt/crypt-entry.c: Include errno.h.
57939         (__crypt_r): Return NULL with EINVAL for bad salt.
57940         * crypt/crypt_util.c (bad_for_salt): New.
57941         (_ufc_setup_salt_r): Check that salt is long enough and within
57942         the specified alphabet.
57943         * crypt/badsalttest.c: New file.
57944         * crypt/Makefile (tests): Add it.
57945         ($(objpfx)badsalttest): New.
57947 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
57949         * NEWS: Add entry for BZ #14602.
57951 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57953         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
57954         type-generic.
57955         * math/libm-test.inc: Update comment listing what functions and
57956         macros are tested.
57957         (isgreater_test): New function.
57958         (isgreaterequal_test): Likewise.
57959         (isless_test): Likewise.
57960         (islessequal_test): Likewise.
57961         (islessgreater_test): Likewise.
57962         (isunordered_test): Likewise.
57963         (main): Call the new functions.
57965 2012-10-09  Roland McGrath  <roland@hack.frob.com>
57967         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
57968         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
57969         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
57970         * sysdeps/i386/configure: Regenerated.
57971         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
57972         * sysdeps/mach/configure: Regenerated.
57973         * sysdeps/mach/hurd/configure: Regenerated.
57974         * sysdeps/powerpc/configure: Regenerated.
57975         * sysdeps/powerpc/powerpc32/configure: Regenerated.
57976         * sysdeps/powerpc/powerpc64/configure: Regenerated.
57977         * sysdeps/s390/s390-32/configure: Regenerated.
57978         * sysdeps/s390/s390-64/configure: Regenerated.
57979         * sysdeps/sh/configure: Regenerated.
57980         * sysdeps/sparc/configure: Regenerated.
57981         * sysdeps/unix/sysv/linux/configure: Regenerated.
57982         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
57983         * sysdeps/x86_64/configure: Regenerated.
57985         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
57986         defined.  Don't check if MAP is NULL.
57988 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
57990         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
57991         (_G_stat64): Likewise.
57992         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
57993         (_G_stat64): Likewise.
57994         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
57995         instead of struct _G_stat64.
57996         * libio/fileops.c (mmap_remap_check): Likewise.
57997         (decide_maybe_mmap): Likewise.
57998         (_IO_new_file_seekoff): Likewise.
57999         (_IO_file_stat): Likewise.
58000         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58001         _G_off64_t.
58002         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58003         instead of struct _G_stat64.
58004         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58006 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58008         [BZ #14602]
58009         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58010         Replace with ...
58011         (CHECK_EOL): New macro.
58012         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58013         CHECK_EOL.
58014         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58015         Replace with CHECK_EOL.
58016         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58017         Replace with CHECK_EOL.
58019 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58021         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58022         type-generic.
58023         * math/libm-test.inc: Update comment listing what functions and
58024         macros are tested.
58025         (finite_test): New function.
58026         (isinf_test): Likewise.
58027         (isnan_test): Likewise.
58028         (fpclassify_test): Test subnormal input.
58029         (isfinite_test): Likewise.
58030         (isnormal_test): Likewise.
58031         (main): Call the new functions.
58033 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58035         [BZ #14660]
58036         * Makerules (%.dynsym): Force C locale when running
58037         $(OBJDUMP) --dynamic-syms.
58039 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58041         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58042         <stdint.h>.
58044 2012-10-06  David S. Miller  <davem@davemloft.net>
58046         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58047         upper 32-bits of the length value in %o2 since we use branch-on-register
58048         tests which consider the entire 64-bit register.
58050 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58052         * string/test-strstr.c (check2): Add a test for page boundary.
58054 2012-10-05  David S. Miller  <davem@davemloft.net>
58056         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58057         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58058         file.
58059         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58060         sysdep_routines.
58061         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58062         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58063         and bzero when HWCAP_SPARC_CRYPTO is present.
58065 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58067         [BZ #14602]
58068         * string/test-strstr.c (check2): New function.
58069         (test_main): Call check2.
58071         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58072         and bug-strchr1.
58073         * string/bug-strcasestr1.c (do_test): Moved to ...
58074         * string/test-strcasestr.c (check1): Here.  New function.
58075         (do_one_test): Break out result checking code into ...
58076         (check_result): This.  New function.
58077         (do_one_test): Call check_result.
58078         (test_main): Call check1.
58079         * string/bug-strchr1.c (do_test): Moved to ...
58080         * string/test-strchr.c (check1): Here.  New function.
58081         (do_one_test): Break out result checking code into ...
58082         (check_result): This.  New function.
58083         (do_one_test): Call check_result.
58084         (test_main): Call check1.
58085         * string/bug-strstr1.c (main): Moved to ...
58086         * string/test-strstr.c (check1): Here.  New function.
58087         (do_one_test): Break out result checking code into ...
58088         (check_result): This.  New function.
58089         (do_one_test): Call check_result.
58090         (test_main): Call check1.
58091         * string/bug-strcasestr1.c: Removed.
58092         * string/bug-strchr1.c: Likewise.
58093         * string/bug-strstr1.c: Likewise.
58095         * elf/Makefile (dl-routines): Add hwcaps.
58096         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58097         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58098         (_dl_important_hwcaps): Moved to ...
58099         * elf/dl-hwcaps.c: Here.  New file.
58100         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58102         [BZ #14557]
58103         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58104         if IS_IN_rtld isn't defined.
58106         * elf/dl-support.c (_dl_sysinfo_map): New.
58107         Include "get-dynamic-info.h" and "setup-vdso.h".
58108         (_dl_non_dynamic_init): Call setup_vdso.
58109         * elf/dynamic-link.h: Don't include <assert.h>.
58110         (elf_get_dynamic_info): Moved to ...
58111         * elf/get-dynamic-info.h: Here.  New file.
58112         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58113         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58114         * elf/setup-vdso.h: Here.  New file.
58115         * elf/rtld.c: Include "setup-vdso.h".
58116         (dl_main): Call setup_vdso.
58118 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58120         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58121         creal in comment listing functions tested.  List finite, isinf,
58122         isnan, isless, islessequal, isgreater, isgreaterequal,
58123         islessgreater, isunordered, lgamma_r and pow10 as functions and
58124         macros not tested.  Mention which functions not tested are aliases
58125         for other functions.  Fix typo.  Note that signs of NaNs are not
58126         tested.
58128         * scripts/config.guess: Update from config.git.
58129         * scripts/config.sub: Likewise.
58131 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58133         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58134         * misc/madvise.c (madvise): Renamed to __madvise.
58135         Make madvise a weak alias.
58136         * include/sys/mman.h: Declare __madvise.
58137         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58138         * sysdeps/unix/syscalls.list
58139         (madvise): Make __madvise the strong name, and madvise a weak alias.
58140         * sysdeps/unix/sysv/linux/syscalls.list
58141         (madvise, mmap): Remove redundant entries.
58142         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58143         * malloc/malloc.c (mtrim): Likewise.
58144         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58146 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58148         * sysdeps/mach/hurd/dl-cache.c: File removed.
58149         * config.h.in (USE_LDCONFIG): New #undef.
58150         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58151         * configure: Regenerated.
58152         * elf/Makefile (dl-routines): Add dl-cache only under
58153         [$(use-ldconfig) = yes].
58154         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58155         cache on [USE_LDCONFIG].
58156         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58157         [USE_LDCONFIG].
58158         * elf/rtld.c (dl_main): Likewise.
58160 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58162         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58163         _SC_LEVEL4_CACHE_LINESIZE.
58165 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58167         * sysdeps/unix/bsd/confstr.h: File removed.
58169 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58171         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58172         sys/sdt-config.h.
58174 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58176         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58177         Make 'mapoff' field ElfW(Off) rather than off_t.
58179 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58181         * nscd/Makefile: Remove nscd-cflags and all its users.
58182         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58183         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58185         [BZ #10631]
58186         * malloc.c (malloc_printerr): Clarify error message.
58188 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58190         [BZ #14648]
58191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58192         Set bit_FMA_Usable if FMA is supported.
58193         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58194         macro.
58195         (bit_FMA4_Usable): Updated.
58196         (index_FMA_Usable): New macro.
58197         (CPUID_FMA): Likewise.
58198         (HAS_FMA): Defined with bit_FMA_Usable.
58200 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58202         * bits/types.h (__swblk_t): Type removed.
58203         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58204         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58206         (__SWBLK_T_TYPE): Likewise.
58207         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58208         (__SWBLK_T_TYPE): Likewise.
58209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58210         (__SWBLK_T_TYPE): Likewise.
58211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58212         (__SWBLK_T_TYPE): Likewise.
58214 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58215             Honza Horak <hhorak@redhat.com>
58217         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58218         (xdr_mapname): Use YPMAXMAP as maxsize.
58219         (xdr_peername): Use YPMAXPEER as maxsize.
58220         (xdr_keydat): Use YPAXRECORD as maxsize.
58221         (xdr_valdat): Use YPMAXRECORD as maxsize.
58223 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58225         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58227         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58228         * csu/init-first.c: ... here.
58229         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58230         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58231         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58232         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58233         * sysdeps/i386/init-first.c: File removed.
58234         * sysdeps/sh/init-first.c: File removed.
58236 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58238         [BZ #14645]
58239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58240         if x * y might underflow to zero and z is zero.
58241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58243         * math/libm-test.inc (min_subnorm_value): New variable.
58244         (fma_test): Add more tests.
58245         (fma_test_towardzero): Likewise.
58246         (fma_test_downward): Likewise.
58247         (fma_test_upward): Likewise.
58248         (initialize): Set min_subnorm_value.
58250 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58252         [BZ #14638]
58253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58254         0 + 0.
58255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58256         mode for addition resulting in exact zero.
58257         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58259         exact 0 + 0.
58260         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58262         * math/libm-test.inc (fma_test): Add more tests.
58263         (fma_test_towardzero): New function.
58264         (fma_test_downward): Likewise.
58265         (fma_test_upward): Likewise.
58266         (main): Call the new functions.
58268 2012-09-28  David S. Miller  <davem@davemloft.net>
58270         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58272 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58274         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58275         instead of SIGALRM.
58277         * sysdeps/gnu/_G_config.h: Moved to ...
58278         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58279         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58280         * sysdeps/generic/_G_config.h: ... here.
58282         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58284         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58286         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58287         Conditionalize target on [libnss_test1.so-version].
58289         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58291         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58292         (elfobjdir): Move out of conditionals.
58294         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58295         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58296         (__nss_lookup_function): Conditionalize label remove_from_tree on
58297         [!DO_STATIC_NSS || SHARED], matching its only use.
58299 2012-09-28  David S. Miller  <davem@davemloft.net>
58301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58302         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58303         file.
58304         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58305         sysdep_routines.
58306         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58308         when HWCAP_SPARC_CRYPTO is present.
58310 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58312         * io/tst-mknodat.c: Create a FIFO instead of a socket.
58314 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
58316         [BZ #6530]
58317         * stdio-common/vfprintf.c (process_string_arg): Revert
58318         2000-07-22 change.
58320 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
58322         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58323         for testcase.
58324         * stdio-common/tst-sprintf.c: Include <locale.h>
58325         (main): Test sprintf's handling of incomplete multibyte
58326         characters.
58328 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
58330         * elf/dl-runtime.c (VERSYMIDX): Removed.
58331         * elf/dl-version.c (VERSYMIDX): Likewise.
58332         * elf/do-rel.h (VERSYMIDX): Likewise.
58333         (VALIDX): Likewise.
58334         * elf/dynamic-link.h (VERSYMIDX): Likewise.
58335         * elf/rtld.c (VALIDX): Likewise.
58336         (ADDRIDX): Likewise.
58337         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58338         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58339         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58340         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58341         (VALIDX): Likewise.
58342         (ADDRIDX): Likewise.
58344 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58346         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58348 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
58350         [BZ #11438]
58351         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58352         to global scope.
58353         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58354         addresses are in the same scope as 192.0.2/24.
58355         * posix/gai.conf: Document new scope table defaults.
58357 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58359         [BZ #5298]
58360         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58361         for ftell.  Compute offsets from write pointers instead.
58362         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58364 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58366         [BZ #14543]
58367         * libio/Makefile (tests): New test case tst-fseek.
58368         * libio/tst-fseek.c: New test case to verify that fseek/ftell
58369         combination works in wide mode.
58370         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58371         state when the external buffer state changes.
58373 2012-09-27  David S. Miller  <davem@davemloft.net>
58375         [BZ #14376]
58376         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58377         pass reloc->r_addend in as the 'high' argument to
58378         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58382 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
58384         * rt/tst-aio2.c: Include <pthread.h>.
58385         * rt/tst-aio3.c: Likewise.
58387 2012-09-27  Steve Ellcey  <sellcey@mips.com>
58389         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58391 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
58393         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58394         contents on [SHARED].
58396 2012-09-26  Marek Polacek  <polacek@redhat.com>
58398         [BZ #14530]
58399         [BZ #13741]
58400         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58401         for C++ and GCC <4.3 as well as for non GCC compilers.
58403 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58407 2012-09-25  Roland McGrath  <roland@hack.frob.com>
58409         * Makefile.in (all, install): Declare with .PHONY.
58410         Reported by Michael Hope <michael.hope@linaro.org>.
58412 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58414         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58415         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58416         system header.
58417         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58418         Likewise.
58419         (sydep_routines): Add the new and the internal functions.
58420         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58421         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58423         (GLIBC_2.17): Add the new function.
58424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58425         (GLIBC_2.17): Likewise.
58426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58427         (GLIBC_2.17): Likewise.
58428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58429         (GLIBC_2.17): Likewise.
58430         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58432 2012-09-25  Alan Modra  <amodra@gmail.com>
58434         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58435         Add release barrier before setting once_control to say
58436         initialisation is done.  Add hints on lwarx.  Use macro in
58437         place of isync.
58438         (clear_once_control): Add release barrier.
58440 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58442         [BZ #13629]
58443         * math/s_clog.c (__clog): Handle more values close to |z| = 1
58444         specially.
58445         * math/s_clog10.c (__clog10): Likewise.
58446         * math/s_clog10f.c (__clog10f): Likewise.
58447         * math/s_clog10l.c (__clog10l): Likewise.
58448         * math/s_clogf.c (__clogf): Likewise.
58449         * math/s_clogl.c (__clogl): Likewise.
58450         * math/Makefile (libm-calls): Add x2y2m1.
58451         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58452         (__x2y2m1): Likewise.
58453         (__x2y2m1l): Likewise.
58454         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58455         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58456         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58457         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58458         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58459         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58460         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58461         * sysdeps/i386/fpu/libm-test-ulps: Update.
58462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58464         [BZ #14621]
58465         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58466         int as type of variable DEPTH.
58467         (glob): Use size_t instead of int as type of variables NEWCOUNT
58468         and OLD_PATHC.
58470 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58472         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58473         Add s_sincosf-sse2.
58474         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58475         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58476         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58477         macros for using routine as __sincosf_ia32.
58478         Use macro for function declaration and weak_alias.
58479         * sysdeps/i386/fpu/libm-test-ulps: Update.
58481         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58484         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58485         subnormal argument.
58486         * math/s_cexpf.c (__cexpf): Likewise.
58487         * math/s_csinf.c (__csinf): Likewise.
58488         * math/s_csinhf.c (__csinhf): Likewise.
58489         * math/s_ctanf.c (__ctanf): Likewise.
58490         * math/s_ctanhf.c (__ctanhf): Likewise.
58491         * math/s_ccosh.c (__ccoshf): Likewise.
58492         * math/s_cexp.c (__cexpl): Likewise.
58493         * math/s_csin.c (__csin): Likewise.
58494         * math/s_csinh.c (__csinh): Likewise.
58495         * math/s_ctan.c (__ctan): Likewise.
58496         * math/s_ctanh.c (ctanh): Likewise.
58497         * math/s_ccoshl.c (__ccoshl): Likewise.
58498         * math/s_cexpl.c (__cexpl): Likewise.
58499         * math/s_csinl.c (__csinl): Likewise.
58500         * math/s_csinhl.c (__csinhl): Likewise.
58501         * math/s_ctanl.c (__ctanl): Likewise.
58502         * math/s_ctanhl.c (__ctanhl): Likewise.
58504 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
58506         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58507         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58508         (_IO_off_t): Define to __off_t, not _G_off_t.
58509         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58510         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58511         (_IO_wint_t): Define to wint_t, not _G_wint_t.
58512         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58513         type of __dummy and __dummy2 fields.
58514         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58515         (_G_ssize_t): Likewise.
58516         (_G_off_t): Likewise.
58517         (_G_pid_t): Likewise.
58518         (_G_uid_t): Likewise.
58519         (_G_wchar_t): Likewise.
58520         (_G_wint_t): Likewise.
58521         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58522         (_G_ssize_t): Likewise.
58523         (_G_off_t): Likewise.
58524         (_G_pid_t): Likewise.
58525         (_G_uid_t): Likewise.
58526         (_G_wchar_t): Likewise.
58527         (_G_wint_t): Likewise.
58528         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58529         (_G_ssize_t): Likewise.
58530         (_G_off_t): Likewise.
58531         (_G_pid_t): Likewise.
58532         (_G_uid_t): Likewise.
58533         (_G_wchar_t): Likewise.
58534         (_G_wint_t): Likewise.
58536 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58538         * malloc/arena.c: Include malloc-sysdep.h.
58539         (shrink_heap): Use check_may_shrink_heap to decide if madvise
58540         is sufficient to shrink the heap or an unmap is needed.
58541         * sysdeps/generic/malloc-sysdep.h: New file.  Define
58542         new function check_may_shrink_heap.
58543         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
58544         new function check_may_shrink_heap.
58546 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58548         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58549         comments.
58551 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
58553         * catgets/test-gencat.sh: Add "set -e".
58554         * elf/tst-pathopt.sh: Likewise.
58555         * grp/tst_fgetgrent.sh: Likewise.
58556         * iconvdata/run-iconv-test.sh: Likewise.
58557         * intl/tst-gettext.sh: Likewise.
58558         * intl/tst-gettext2.sh: Likewise.
58559         * intl/tst-gettext4.sh: Likewise.
58560         * intl/tst-gettext6.sh: Likewise.
58561         * intl/tst-translit.sh: Likewise.
58562         * io/ftwtest-sh: Likewise.
58563         * libio/test-freopen.sh: Likewise.
58564         * malloc/tst-mtrace.sh: Likewise.
58565         * posix/globtest.sh: Likewise.
58566         * posix/tst-getconf.sh: Likewise.
58567         * posix/wordexp-tst.sh: Likewise.
58568         * stdio-common/tst-printf.sh: Likewise.
58569         * stdio-common/tst-unbputc.sh: Likewise.
58570         * stdlib/tst-fmtmsg.sh: Likewise.
58571         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58572         * catgets/Makefile: Do not specify -e option when running
58573         testsuite shell scripts.
58574         * elf/Makefile: Likewise.
58575         * grp/Makefile: Likewise.
58576         * iconvdata/Makefile: Likewise.
58577         * intl/Makefile: Likewise.
58578         * io/Makefile: Likewise.
58579         * libio/Makefile: Likewise.
58580         * malloc/Makefile: Likewise.
58581         * posix/Makefile: Likewise.
58582         * stdio-common/Makefile: Likewise.
58583         * stdlib/Makefile: Likewise.
58584         * sysdeps/x86_64/Makefile: Likewise.
58586         * io/ftwtest-sh: Add copyright header.
58587         * posix/globtest.sh: Likewise.
58588         * posix/tst-getconf.sh: Likewise.
58589         * posix/wordexp-tst.sh: Likewise.
58590         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58592 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
58594         [BZ #13679]
58595         * Makeconfig (+link): Defined as $(+link-static) if
58596         $(build-shared) isn't yes.
58597         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58598         isn't yes.
58599         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58601         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58603         [BZ #14562]
58604         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58605         new chunk size with MALLOC_ALIGN_MASK.
58607 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
58609         [BZ #5044]
58610         * stdio-common/printf_fphex.c: Include <stdbool.h> and
58611         <rounding-mode.h>.
58612         (__printf_fphex): Determine rounding using get_rounding_mode and
58613         round_away.
58614         * stdio-common/tst-printf-round.c (struct hex_test): New
58615         structure.
58616         (hex_tests): New variable.
58617         (test_hex_in_one_mode): New function.
58618         (do_test): Also run tests for hex float output.
58620 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
58622         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58623         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58624         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58625         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58626         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58627         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58628         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58629         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58631 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
58633         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58634         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58635         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58636         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58638 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
58640         [BZ #14579]
58641         * elf/rtld.c (dl_main): Limit the check for self loading to normal
58642         mode only.
58643         * elf/tst-rtld-load-self.sh: New test.
58644         * elf/Makefile: Run it.
58646 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
58648         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58649         (tst-writev-ENV): Remove.
58650         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58652 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
58654         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58656 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
58658         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58659         unconditional.
58660         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58661         Likewise.
58662         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58663         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58664         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58665         Likewise.
58667 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
58669         [BZ #14587]
58670         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58671         * config.make.in (have-cpp-asm-debuginfo): Removed.
58672         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58673         * configure: Regenerated.
58675 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
58677         [BZ #5044]
58678         * stdio-common/printf_fp.c: Include <stdbool.h> and
58679         <rounding-mode.h>.
58680         (___printf_fp): Determine rounding using get_rounding_mode and
58681         round_away.
58682         * stdio-common/tst-printf-round.c: New file.
58683         * stdio-common/Makefile (tests): Add tst-printf-round.
58684         (link-libm): New variable.
58685         ($(objpfx)tst-printf-round): Depend in $(link-libm).
58687 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
58689         [BZ #14576]
58690         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58691         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58692         Likewise.
58693         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58694         Likewise.
58696 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
58698         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58699         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58700         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58701         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58703 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
58705         [BZ #14518]
58706         * include/rounding-mode.h: New file.
58707         * sysdeps/generic/get-rounding-mode.h: Likewise.
58708         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58709         * stdlib/strtod_l.c: Include <rounding-mode.h>.
58710         (MAX_VALUE): New macro.
58711         (MIN_VALUE): Likewise.
58712         (overflow_value): New function.
58713         (underflow_value): Likewise.
58714         (round_and_return): Use overflow_value and underflow_value to
58715         determine return values in overflow and underflow cases.  Use
58716         round_away to determine rounding depending on rounding mode.
58717         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58718         determine return values in overflow and underflow cases.
58719         * stdlib/tst-strtod-round.c: Include <fenv.h>.
58720         (struct test_results): New structure.
58721         (struct test): Use struct test_results to store expected results
58722         for all rounding modes.
58723         (TEST): Include expected results for all rounding modes.
58724         (test_in_one_mode): New function.
58725         (do_test): Use test_in_one_mode to compute and check results.
58726         Check results for all rounding modes.
58727         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58728         $(link-libm).
58730 2012-12-09  Allan McRae  <allan@archlinux.org>
58732         * sysdeps/i386/fpu/libm-test-ulps: Update
58734 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
58736         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58737         (_G_int32_t): Likewise.
58738         (_G_uint16_t): Likewise.
58739         (_G_uint32_t): Likewise.
58740         (_G_HAVE_BOOL): Likewise.
58741         (_G_HAVE_ATEXIT): Likewise.
58742         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58743         (_G_HAVE_IO_FILE_OPEN): Likewise.
58744         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58745         (_G_int32_t): Likewise.
58746         (_G_uint16_t): Likewise.
58747         (_G_uint32_t): Likewise.
58748         (_G_HAVE_BOOL): Likewise.
58749         (_G_HAVE_ATEXIT): Likewise.
58750         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58751         (_G_HAVE_IO_FILE_OPEN): Likewise.
58752         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58753         (_G_int32_t): Likewise.
58754         (_G_uint16_t): Likewise.
58755         (_G_uint32_t): Likewise.
58756         (_G_HAVE_BOOL): Likewise.
58757         (_G_HAVE_ATEXIT): Likewise.
58758         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58759         (_G_HAVE_IO_FILE_OPEN): Likewise.
58761 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
58763         * csu/libc-tls.c: Update copyright years.
58765 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
58767         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58768         [!_G_USING_THUNKS]: Remove conditional code.
58769         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58770         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58772         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58773         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58774         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58775         (_G_VTABLE_LABEL_PREFIX): Likewise.
58776         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58777         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58778         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58779         (_G_VTABLE_LABEL_PREFIX): Likewise.
58780         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58781         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58782         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58783         (_G_VTABLE_LABEL_PREFIX): Likewise.
58784         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58786 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
58788         * libio/Makefile: Include ../Makeconfig before tests.
58789         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58790         only if $(build-shared) is yes.
58792         * iconv/gconv_db.c: Update copyright years.
58794 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58796         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58797         unwind info if defined PIC. Fix special cases description.
58798         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58800         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58801         DP_HI_MASK entry.
58802         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58804 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
58806         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58808         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58809         is NULL.
58811         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58812         (LDLIBS-tst-chk4): This.
58813         (LDFLAGS-tst-chk5): Renamed to ...
58814         (LDLIBS-tst-chk5): This.
58815         (LDFLAGS-tst-chk6): Renamed to ...
58816         (LDLIBS-tst-chk6): This.
58817         (LDFLAGS-tst-lfschk4): Renamed to ...
58818         (LDLIBS-tst-lfschk4): This.
58819         (LDFLAGS-tst-lfschk5): Renamed to ...
58820         (LDLIBS-tst-lfschk5): This.
58821         (LDFLAGS-tst-lfschk6): Renamed to ...
58822         (LDLIBS-tst-lfschk6): This.
58824         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58825         on $(common-objpfx)soversions.mk.
58827 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
58829         [BZ #10014]
58830         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58831         example host name.
58833 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58835         * malloc/arena.c (arena_get_retry): New function that gets
58836         another arena for the caller to try its request on.
58837         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58838         current arena cannot fulfill the request.
58839         (__libc_memalign): Likewise.
58840         (__libc_memalign): Likewise.
58841         (__libc_pvalloc): Likewise.
58842         (__libc_calloc): Likewise.
58844 2012-09-05  John Tobey  <john.tobey@gmail.com>
58846         [BZ #13542]
58847         * manual/arith.texi (Operations on Complex): Fix description
58848         of carg branch cut.
58850 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58852         [BZ #10014]
58853         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
58854         host name.
58856         [BZ #10038]
58857         * manual/memory.texi (Memory): Make order of menu items match
58858         order of sections.
58860 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58862         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
58863         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
58864         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
58866 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58868         * csu/libc-tls.c (static_dtv): Renamed to ...
58869         (_dl_static_dtv): This.  Make it global.
58870         (_dl_initial_dtv): Removed.
58871         (__libc_setup_tls): Updated.
58872         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
58873         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
58874         DL_INITIAL_DTV.
58876 2012-09-06  Petr Machata  <pmachata@redhat.com>
58878         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
58879         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
58880         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
58881         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
58883 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58885         [BZ #14545]
58886         * csu/libc-tls.c (_dl_initial_dtv): New variable.
58887         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
58888         freeing dtv[-1].
58890 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
58892         [BZ #14544]
58893         * Makeconfig (link-static-before-libc): Replace $(+prector)
58894         with $(+prectorT).
58895         (link-static-after-libc): Replace $(+postctor) with
58896         $(+postctorT).
58897         (link-bounded): Replace $(+prector)/$(+postctor) with
58898         $(+prectorT)/$(+postctorT).
58899         (+prectorT): New macro.
58900         (+postctorT): Likewise.
58902 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
58904         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
58905         (round_str): Handle values above the maximum for IBM long double
58906         as inexact.
58907         * stdlib/tst-strtod-round.c (tests): Regenerated.
58909 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58911         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
58912         assembler flag.
58913         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
58914         zarch_nohighgprs around the zarch optimized routines.
58915         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
58916         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
58917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
58918         for zarch.
58920 2012-09-05  David S. Miller  <davem@davemloft.net>
58922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58924         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
58925         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
58926         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
58927         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58928         entries.
58930 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58932         * malloc/arena.c: Fold copyright years.
58933         * malloc/mcheck.c, malloc/memusage.c: Likewise.
58935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58937         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
58939 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58941         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
58943 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58945         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
58946         change internal state upon failure.
58948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
58950         * malloc/mcheck.c (mcheck_check_all): Fix typo.
58951         * malloc/memusage.c (mmap): Likewise.
58952         (mmap64, mremap): Likewise.  Adjust name in comment.
58954 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58956         * libio/fileops.c: Fix typos in comments.
58957         * libio/oldfileops.c: Likewise.
58958         * libio/wfileops.c: Likewise.
58960 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58962         [BZ #1349]
58963         * malloc/Makefile (tests): Add tst-malloc-usable test case.
58964         (tst-malloc-usable-ENV): Set environment for test case.
58965         * malloc/hooks.c (malloc_check_get_size): New function to get
58966         requested size.
58967         * malloc/malloc.c (musable): Use malloc_check_get_size.
58968         * malloc/tst-malloc-usable.c: New test case.
58970 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58972         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
58974 2012-09-05  Allan McRae  <allan@archlinux.org>
58976         [BZ #13966]
58977         * configure.in (CXX_SYSINCLUDES): Use compiler output to
58978         determine header location.
58979         * configure: Regenerated.
58981 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58983         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
58984         float format.
58985         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
58986         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
58987         format.
58988         (test): Regenerate.
58990 2012-09-04  David S. Miller  <davem@davemloft.net>
58992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
58993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
58994         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
58996 2012-09-04  Florian Weimer  <fweimer@redhat.com>
58998         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
58999         failures.
59001         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59003 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59005         [BZ #9914]
59006         * libio/iogetdelim.c: Include <limits.h>.
59007         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59008         + len + 1 would overflow.
59010 2012-09-03  Andreas Jaeger  <aj@suse.de>
59012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59013         * sysdeps/i386/fpu/libm-test-ulps: Update.
59015 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59017         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59018         Add s_sinf-sse2, s_conf-sse2.
59020         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59021         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59022         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59023         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59025         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59026         for using routine as __sinf_ia32.
59027         Use macro for function declaration and weak_alias.
59028         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59029         for using routine as __cosf_ia32.
59030         Use macro for function declaration and weak_alias.
59032         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59033         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59035         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59036         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59039         * math/libm-test.inc (cos_test): Add more test cases.
59040         (sin_test): Likewise.
59041         (sincos_test): Likewise.
59043 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59045         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59046         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59047         hidden.
59048         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59050 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59052         [BZ #14538]
59053         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59054         first element of the GOT.
59055         (elf_machine_load_address): Return the difference between
59056         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59058 2012-09-01  Allan McRae  <allan@archlinux.org>
59060         [BZ #13412]
59061         * configure.in (AWK): Require gawk version 3.0 or later.
59062         * configure: Regenerated.
59064 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59066         * sysdeps/unix/sysv/linux/kernel-features.h
59067         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59069         [__NR_clock_getres]: Make code unconditional.
59070         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59071         (clock_getcpuclockid): Remove code left unreachable by removal of
59072         conditionals.
59073         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59074         code unconditional.
59075         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59076         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59077         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59078         Make code unconditional.
59079         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59080         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59081         * sysdeps/unix/sysv/linux/clock_settime.c
59082         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59083         conditional code.
59084         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59087 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59089         [BZ #14476]
59090         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59091         scripts/test-installation.pl.
59093         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59094         and $ld_so_version if it is set.
59096 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59098         [BZ #14516]
59099         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59100         failure if reading from procfs failed.
59101         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59103 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59105         * sysdeps/unix/sysv/linux/kernel-features.h
59106         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59107         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59108         Remove conditional code.
59109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59110         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59111         Remove conditional code.
59112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59113         * sysdeps/unix/sysv/linux/i386/fxstat.c
59114         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59115         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59116         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59117         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59119         * sysdeps/unix/sysv/linux/i386/lxstat.c
59120         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59122         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59123         Remove conditional code.
59124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59125         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59126         Remove conditional code.
59127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59128         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59129         <kernel-features.h>.
59130         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59131         Remove.
59132         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59133         Remove conditional code.
59134         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59135         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59136         Remove conditional.
59138 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59140         [BZ #5400]
59141         * NEWS: Add fixed bug number.
59143 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59145         [BZ #14519]
59146         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59147         underflowing exponent in case of negative sign.
59148         * stdlib/tst-strtod-round-data: Add more tests.
59149         * stdlib/tst-strtod-round.c (tests): Regenerated.
59151         [BZ #3479]
59152         * stdlib/strtod_l.c (NDIG): Remove.
59153         (HEXNDIG): Likewise.
59154         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59155         smallest representable value.
59156         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59157         lie within an exact representation of 1/2 ulp of the result.
59158         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59159         unconditionally.
59160         (TENS_P9_IDX): Define unconditionally.
59161         (TENS_P9_SIZE): Likewise.
59162         (TENS_P10_IDX): Likewise.
59163         (TENS_P10_SIZE): Likewise.
59164         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59165         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59166         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59167         entries for 10^2^13 and 10^2^14.
59168         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59169         (TENS_P13_IDX): Define.
59170         (TENS_P13_SIZE): Likewise.
59171         (TENS_P14_IDX): Likewise.
59172         (TENS_P14_SIZE): Likewise.
59173         (_fpioconst_pow10): Change array size to
59174         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59175         unconditional.
59176         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59177         1024]: Add entries for 10^2^13 and 10^2^14.
59178         [LAST_POW10 > _LAST_POW10]: Remove #error.
59179         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59180         (_fpioconst_pow10): Change array size to
59181         FPIOCONST_POW10_ARRAY_SIZE.
59182         * stdlib/gen-fpioconst.c: New file.
59183         * stdlib/gen-tst-strtod-round.c: Likewise.
59184         * stdlib/tst-strtod-round-data: Likewise.
59185         * stdlib/tst-strtod-round.c: Likewise.
59186         * stdlib/Makefile (tests): Add tst-strtod-round.
59188         [BZ #14459]
59189         * stdlib/strtod_l.c: Include <stdint.h>.
59190         (NDEBUG): Do not define.
59191         (round_and_return): Change EXPONENT parameter to type intmax_t.
59192         Rearrange calculations to avoid internal overflow possibilities.
59193         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59194         Rearrange calculations to avoid internal overflow possibilities.
59195         Assert that number fits inside MPNSIZE limbs.
59196         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59197         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59198         calculations and add assertions to avoid internal overflow
59199         possibilities.  Add casts to avoid signed/unsigned operations.
59200         * stdlib/tst-strtod-overflow.c: New file.
59201         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59203 2012-08-25  Marek Polacek  <polacek@redhat.com>
59205         * time/time.h: Fix some typos in comments.
59207 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59209         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59210         * posix/tst-rfc3484-2.c: Likewise.
59211         * posix/tst-rfc3484-3.c: Likewise.
59213 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59215         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59216         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59218 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59220         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59221         #include of fxstatat64.c.
59223 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59225         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59226         * shadow/getspent_r.c: Likewise.
59227         * shadow/getspnam.c: Likewise.
59228         * shadow/getspnam_r.c: Likewise.
59229         * gshadow/getsgent.c: Likewise.
59230         * gshadow/getsgent_r.c: Likewise.
59231         * gshadow/getsgnam.c: Likewise.
59232         * gshadow/getsgnam_r.c: Likewise.
59233         * inet/getnetbyad.c: Likewise.
59234         * inet/getnetbyad_r.c: Likewise.
59235         * inet/getnetbynm.c: Likewise.
59236         * inet/getnetbynm_r.c: Likewise.
59237         * inet/getnetent.c: Likewise.
59238         * inet/getnetent_r.c: Likewise.
59239         * inet/getproto.c: Likewise.
59240         * inet/getproto_r.c: Likewise.
59241         * inet/getprtent.c: Likewise.
59242         * inet/getprtent_r.c: Likewise.
59243         * inet/getprtname.c: Likewise.
59244         * inet/getprtname_r.c: Likewise.
59245         * inet/getrpcbyname.c: Likewise.
59246         * inet/getrpcbyname_r.c: Likewise.
59247         * inet/getrpcbynumber.c: Likewise.
59248         * inet/getrpcbynumber_r.c: Likewise.
59249         * inet/getrpcent.c: Likewise.
59250         * inet/getrpcent_r.c: Likewise.
59251         * inet/getaliasent.c: Likewise.
59252         * inet/getaliasent_r.c: Likewise.
59253         * inet/getaliasname.c: Likewise.
59254         * inet/getaliasname_r.c: Likewise.
59255         * nscd/getgrgid_r.c: Likewise.
59256         * nscd/getgrnam_r.c: Likewise.
59257         * nscd/gethstbyad_r.c: Likewise.
59258         * nscd/gethstbynm3_r.c: Likewise.
59259         * nscd/getpwnam_r.c: Likewise.
59260         * nscd/getpwuid_r.c: Likewise.
59261         * nscd/getsrvbynm_r.c: Likewise.
59262         * nscd/getsrvbypt_r.c: Likewise.
59263         * nscd/gai.c: Likewise.
59265         * configure.in (build_nscd): New substituted variable, set
59266         by --disable-build-nscd and defaults to $use_nscd.
59267         * configure: Regenerated.
59268         * config.make.in (build-nscd): New substituted variable.
59269         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59270         Change conditional to require [$(build-nscd) = yes] as well.
59271         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59273         [BZ# 13696]
59274         * configure.in (use_nscd): New substituted variable, set by
59275         --disable-nscd.  If enabled, define USE_NSCD.
59276         * configure: Regenerated.
59277         * config.h.in: Add USE_NSCD.
59278         * config.make.in (use-nscd): New substituted variable.
59279         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59280         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59281         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59282         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59283         (CFLAGS-getgrnam_r.c): Likewise.
59284         (CFLAGS-initgroups.c): Likewise.
59285         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59286         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59287         Variables removed.
59288         * inet/getnetgrent_r.c
59289         (nscd_setnetgrent): New function, broken out of ...
59290         (setnetgrent): ... here.  Call it.
59291         (innetgr): Conditionalize nscd bits on [USE_NSCD].
59292         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59293         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59294         * nscd/Makefile (routines, aux): Move definitions after include of
59295         Makeconfig.  Conditionalize on [$(use-nscd) != no].
59296         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59297         Conditionalize on [USE_NSCD].
59298         (is_nscd, nscd_init_cb): Likewise.
59299         (nss_load_library): Conditionalize init callback on [USE_NSCD].
59300         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59301         * nss/nss_db/db-init.c: Likewise.
59302         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59303         [USE_NSCD].
59304         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59305         (make_request): Use it.
59306         (cache_valid_p): New function.
59307         (__check_pf): Use it.
59308         * NEWS: Add item for --disable-nscd.
59310 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
59312         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59313         to support sed >= 4.2.1-20-ga9bf076.
59314         * configure: Regenerated.
59316 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59318         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59319         Conditionalize whole body on [IREL].
59321 2012-08-22  Jeff Law <law@redhat.com>
59323         [BZ #14505]
59324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59325         if the family is PF_UNSPEC.
59327 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
59329         * Makerules (lib-version): Rename from V.
59330         (install-lib-nosubdir): Change V to lib-version.
59332 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
59334         [BZ #14252]
59335         * powerpc32/power6/wcschr.c: New file.
59336         * powerpc32/power6/wcscpy.c: New file.
59337         * powerpc32/power6/wcsrchr.c: New file.
59338         * powerpc64/power6/wcschr.c: New file.
59339         * powerpc64/power6/wcscpy.c: New file.
59340         * powerpc64/power6/wcsrchr.c: New file.
59342 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59344         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59345         (two_way_short_needle): Use it.
59346         * string/strstr.c (AVAILABLE1_USES_J): Define.
59347         * string/strcasestr.c: Likewise.
59349         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59350         array references.
59351         * string/strcasestr.c (TOLOWER): Make side-effect safe.
59353         [BZ #11607]
59354         * NEWS: Add an entry.
59355         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59356         define their defaults.
59357         (two_way_short_needle): Detect end-of-string on-the-fly.
59358         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59359         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59360         * string/bug-strcasestr1.c: New test.
59361         * string/Makefile: Run it.
59363 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
59365         [BZ #11607]
59366         * string/str-two-way.h (two_way_short_needle): Optimize matching of
59367         the first character.
59369 2012-08-21  Roland McGrath  <roland@hack.frob.com>
59371         * csu/elf-init.c (__libc_csu_irel): Function removed.
59372         * csu/libc-start.c (apply_irel): New function.
59373         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59375 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
59377         * sysdeps/unix/sysv/linux/kernel-features.h
59378         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59379         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59380         <kernel-features.h>.
59381         [__NR_fadvise64_64]: Make code unconditional.
59382         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59383         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59384         !__NR_fadvise64_64)]: Likewise.
59385         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59386         !__NR_fadvise64_64))]: Likewise.
59387         [__NR_fadvise64]: Make code unconditional.
59388         [!__NR_fadvise64]: Remove conditional code.
59389         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59390         <kernel-features.h>.
59391         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59392         unconditional.
59393         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59394         conditional code.
59395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59396         not include <kernel-features.h>.
59397         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59398         unconditional.
59399         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59400         conditional code.
59401         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59402         include <kernel-features.h>.
59403         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59404         unconditional.
59405         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59406         conditional code.
59408 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
59410         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59411         slight instruction rearrangements per scrollpipe analysis.
59412         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59414 2012-08-20  Roland McGrath  <roland@hack.frob.com>
59416         * manual/syslog.texi (syslog; vsyslog, closelog):
59417         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59418         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59420         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59421         DSOCAPS to match condition on defining it.
59423 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
59425         * sysdeps/unix/sysv/linux/kernel-features.h
59426         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59428         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59429         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59431         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59432         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59434         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59435         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59437         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59438         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59440         * sysdeps/unix/sysv/linux/kernel-features.h
59441         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59442         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59443         unconditional.
59444         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59445         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59446         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59447         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59448         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59449         Make code unconditional.
59450         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59451         (__mmap64) [!__NR_mmap2]: Likewise.
59452         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59453         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59454         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59455         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59456         [__NR_mmap2]: Make code unconditional.
59457         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59458         (__mmap64) [!__NR_mmap2]: Likewise.
59460 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59462         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59464 2012-08-18  Andreas Jaeger  <aj@suse.de>
59466         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59468 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59470         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59471         * include/unistd.h (__have_sock_cloexec): Likewise.
59472         (__have_pipe2): Likewise.
59473         (__have_dup3): Likewise.
59475 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
59477         [BZ #9685]
59478         * include/unistd.h (__have_pipe2): Change define into an extern int.
59479         (__have_dup3): Likewise.
59480         * socket/have_sock_cloexec.c: Include fcntl.h.
59481         (__have_pipe2): New variable.
59482         (__have_dup3): Likewise.
59484 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
59486         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59488 2012-08-17  Marek Polacek  <polacek@redhat.com>
59490         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59491         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59493 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59495         * configure.in: Add AC_SUBST for sysheaders.
59496         * configure: Regenerated.
59497         * config.make.in (sysheaders): New substituted variable.
59499         * sysdeps/unix/mkfifo.c: Moved ...
59500         * sysdeps/posix/mkfifo.c: ... here.
59501         * sysdeps/unix/mkfifoat.c: Moved ...
59502         * sysdeps/posix/mkfifoat.c: ... here.
59504         * sysdeps/unix/utime.c: Moved ...
59505         * sysdeps/posix/utime.c: ... here.
59507         * sysdeps/unix/time.c: Moved ...
59508         * sysdeps/posix/time.c: ... here.
59509         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59510         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59512         * sysdeps/unix/nice.c: Moved ...
59513         * sysdeps/posix/nice.c: ... here.
59515         * sysdeps/unix/alarm.c: Moved ...
59516         * sysdeps/posix/alarm.c: ... here.
59518         * intl/Makefile ($(codeset_mo)): Depend on the input file.
59520 2012-08-17  Jeff Law <law@redhat.com>
59522         * intl/Makefile (codeset_mo): New variable.
59523         ($(codeset_mo)): New target.
59524         (tst-codeset.out): Depend on that.  Remove explicit rule.
59525         (tst-gettext3.out, tst-gettext5.out): Likewise.
59526         (LOCPATH-ENV, tst-codeset-ENV): New variables.
59527         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59528         * intl/tst-codeset.sh: Remove.
59529         * intl/tst-gettext3.sh: Likewise.
59530         * intl/tst-gettext5.sh: Likewise.
59532 2012-08-17  Roland McGrath  <roland@hack.frob.com>
59534         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
59535         * sysdeps/unix/syscalls.list: ... here.
59537         * sysdeps/posix/getaddrinfo.c
59538         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59539         (gaiconf_init, gaiconf_reload): Use them.
59540         [!_STATBUF_ST_NSEC]
59541         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59542         Define using time_t rather than struct timespec.
59544         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59545         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59546         Macros removed.
59547         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59548         [!NO_THREADS].
59549         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59550         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59551         Likewise.
59553         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59554         __libc_cleanup_push argument.
59556         * bits/param.h: New file.
59557         * misc/sys/param.h: New file.
59558         * include/sys/param.h: New file.
59559         * misc/Makefile (headers): Add bits/param.h.
59560         * sysdeps/generic/sys/param.h: File removed.
59561         * sysdeps/unix/sysv/linux/bits/param.h: New file.
59562         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59563         * sysdeps/mach/hurd/bits/param.h: New file.
59564         * sysdeps/mach/hurd/sys/param.h: File removed.
59566         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59567         last change.
59569         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59570         [_IO_MTSAFE_IO].
59571         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59572         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59573         New macros.
59575         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59576         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59577         rather than -D_IO_MTSAFE_IO conditionally.
59578         * stdio-common/Makefile (CPPFLAGS): Likewise.
59579         * wcsmbs/Makefile (CPPFLAGS): Likewise.
59580         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59581         Use $(libio-mtsafe).
59582         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59583         of -D_IO_MTSAFE_IO.
59584         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59585         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59586         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59587         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59588         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59589         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59590         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59591         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59592         (CFLAGS-fread_u_chk.c): Likewise.
59593         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59594         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59595         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59596         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59597         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59598         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59599         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59600         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59601         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59603         * libio/Makefile: Test [$(libc-reentrant) = yes]
59604         instead of [$(filter %REENTRANT, $(defines)) nonempty].
59606         * Makeconfig
59607         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59608         * sysdeps/pthread/configure: File removed.
59609         * sysdeps/pthread/Makeconfig: New file.
59610         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59611         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59613 2012-08-16  Gary Benson  <gbenson@redhat.com>
59615         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59616         unmapping the first object in a namespace.
59618 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59620         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59621         (__internal_setnetgrent): ... this.  Add internal_function to
59622         definition.  Add libc_hidden_def.
59623         (setnetgrent): Update caller.
59624         (internal_endnetgrent): Renamed to ...
59625         (__internal_endnetgrent): ... this.  Add internal_function to
59626         definition.  Add libc_hidden_def.
59627         (endnetgrent): Update caller.
59628         (internal_getnetgrent_r): Renamed to ...
59629         (__internal_getnetgrent_r): ... this.  Add internal_function to
59630         definition.  Add libc_hidden_def.
59631         (__getnetgrent_r): Update caller.
59632         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
59634 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59636         * stdlib/longlong.h: Update from GCC.
59638 2012-08-16  Roland McGrath  <roland@hack.frob.com>
59640         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59641         on _QL, which is set by umul_ppmm but never used.
59642         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59643         variables, which are set by GMP macros but never used.
59644         * stdio-common/_itowa.c (_itowa): Likewise.
59645         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59646         * stdlib/mod_1.c (mpn_mod_1): Likewise.
59648 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
59650         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59651         struct La_sh_regs is not constant.
59652         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59653         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59654         and struct La_sparc64_regs are not constant.
59656 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
59658         * sysdeps/unix/sysv/linux/kernel-features.h
59659         (__ASSUME_POSIX_TIMERS): Remove.
59660         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59661         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59662         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59663         Make code unconditional.
59664         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59665         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59666         Make code unconditional.
59667         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59668         * sysdeps/unix/sysv/linux/clock_nanosleep.c
59669         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59670         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59671         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59672         Make code unconditional.
59673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59674         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59675         (__libc_missing_posix_timers): Remove.
59677 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59679         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59680         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59682         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59684         * elf/dl-sym.c: Include <stdlib.h>.
59686         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59687         constants, which avoids warnings in 32-bit builds.
59689         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59690         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59692         * misc/lseek.c: File moved to ...
59693         * io/lseek.c: ... here.
59695         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59697         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59698         shifting LEN more than 31 bits at once.
59700 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59702         [BZ #14195]
59703         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59704         segmentation fault for a case of two empty input strings.
59705         * string/test-strncasecmp.c (check1): Renamed to...
59706         (bz12205): ...this.
59707         (bz14195): Add new testcase for two empty input strings and N > 0.
59708         (test_main): Call new testcase, adapt for renamed function.
59710 2012-08-15  Andreas Jaeger  <aj@suse.de>
59712         [BZ #14090]
59713         * crypt/md5test2.c: New test, based on test supplied by Serge
59714         Belyshev <belyshev@depni.sinp.msu.ru>.
59715         * crypt/Makefile (xtests): Add md5test-giant..
59716         * crypt/Makefile ($(objpfx)md5test-giant): Add.
59718 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
59720         [BZ #14090]
59721         * crypt/md5.c (md5_process_block): Don't assume the buffer
59722         length is less than 2**32.
59723         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59724         length is less than 2**64.
59726 2012-08-15  Roland McGrath  <roland@hack.frob.com>
59728         * string/str-two-way.h: Include <sys/param.h>.
59729         (MAX): Macro removed.
59731         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59732         Move #define and #undef of memmove to just before and after
59733         including <string.h>.
59735         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59736         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59737         and after including <string.h>.  Move declarations of
59738         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59739         to before #include "string/memmove.c".
59741         * include/dirent.h: Declare __getdirentries.
59743         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59744         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59746 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
59748         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59749         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59750         * sysdeps/i386/configure: Regenerated.
59751         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59752         STABS_CURRENT_FILE, and STABS_FUN.
59753         (END): Remove call to STABS_FUN_END.
59754         (STABS_CURRENT_FILE1): Delete.
59755         (STABS_CURRENT_FILE): Likewise.
59756         (STABS_FUN): Likewise.
59757         (STABS_FUN_END): Likewise.
59758         (STABS_FUN2): Likewise.
59759         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59760         * sysdeps/x86_64/configure: Regenerated.
59762 2012-08-14  Roland McGrath  <roland@hack.frob.com>
59764         * elf/dl-open.c: Include <atomic.h>.
59765         * elf/dl-lookup.c: Likewise.
59767 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
59769         * sysdeps/unix/sysv/linux/kernel-features.h
59770         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59771         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59772         unconditionally.
59773         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59774         unconditionally.
59775         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59776         condition on __ASSUME_CLONE_THREAD_FLAGS.
59778 2012-08-14  Andreas Jaeger  <aj@suse.de>
59780         * sysdeps/i386/fpu/libm-test-ulps: Update.
59782 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
59784         * include/atomic.h (atomic_exchange_and_add): Split into ...
59785         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59786         New atomic macros.
59788 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
59790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59792 2012-08-13  Jeff Law <law@redhat.com>
59794         * manual/stdio.texi (snprintf): Clarify handling of the trailing
59795         null byte in the output string.
59797 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
59799         * sysdeps/unix/sysv/linux/kernel-features.h
59800         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59801         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59802         (__ASSUME_ARG_MAX_STACK_BASED): Define.
59803         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59804         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59805         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
59806         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59808 2012-08-09  Jeff Law <law@redhat.com>
59810         [BZ #13939]
59811         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59812         When avoid_arena is set, don't retry in the that arena.  Pick the
59813         next one, whatever it might be.
59814         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59815         (arena_lock): Pass in new parameter to arena_get2.
59816         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59817         arena_get2.
59818         (__libc_malloc): Unify retrying after main arena failure with
59819         __libc_memalign version.
59820         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59822 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
59824         [BZ #14166]
59825         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59826         to __redirect_strstr.
59827         (__strstr_sse42): Use typeof __redirect_strstr.
59828         (__strstr_ia32): Likewise.
59829         (__libc_strstr): New prototype.
59830         (strstr): Renamed to ...
59831         (__libc_strstr): This.
59832         (strstr): New strong alias of __libc_strstr.
59833         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59834         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59835         __redirect_time.
59836         Include <time.h>.
59837         (__libc_time): New prototype.
59838         (time_ifunc): Replace time with __libc_time.
59839         (time): New strong alias and hidden definition of __libc_time.
59840         (__GI_time): Remove strong alias.
59841         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59842         Include <stddef.h>.
59843         (memmove): Redefined to __redirect_memmove.
59844         (__memmove_sse2): Use typeof __redirect_memmove.
59845         (__memmove_ssse3): Likewise.
59846         (__memmove_ssse3_back): Likewise.
59847         (__libc_memmove): New prototype.
59848         (memmove): Renamed to ...
59849         (__libc_memmove): This.
59850         (memmove): New strong alias of __libc_memmove.
59852 2012-08-08  Mark Salter  <msalter@redhat.com>
59854         * elf/elf.h
59855         (R_MN10300_TLS_GD): Define.
59856         (R_MN10300_TLS_LD): Likewise.
59857         (R_MN10300_TLS_LDO): Likewise.
59858         (R_MN10300_TLS_GOTIE): Likewise.
59859         (R_MN10300_TLS_IE): Likewise.
59860         (R_MN10300_TLS_LE): Likewise.
59861         (R_MN10300_TLS_DTPMOD): Likewise.
59862         (R_MN10300_TLS_DTPOFF): Likewise.
59863         (R_MN10300_TLS_TPOFF): Likewise.
59864         (R_MN10300_SYM_DIFF): Likewise.
59865         (R_MN10300_ALIGN): Likewise.
59866         (R_MN10300_NUM): Update.
59868 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
59870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
59871         Remove.
59873 2012-08-08  Roland McGrath  <roland@hack.frob.com>
59875         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
59877         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
59878         sysdeps/unix -> sysdeps/posix move.
59879         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
59881 2012-08-07      Allan McRae     <allan@archlinux.org>
59883         [BZ #14303]
59884         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
59885         (SUNOS_CPP): Likewise.
59886         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
59887         not found.
59888         (open_input): Call CPP using execvp.
59890 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59892         * sysdeps/unix/sysv/linux/kernel-features.h
59893         (__ASSUME_PROT_GROWSUPDOWN): Remove.
59894         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59895         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59896         (__ASSUME_WAITID_SYSCALL): Likewise.
59897         * sysdeps/unix/sysv/linux/dl-execstack.c
59898         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
59899         code unconditional.
59900         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
59901         conditional code.
59902         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
59903         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
59904         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
59905         code.
59906         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
59907         unconditional.
59908         [__ASSUME_WAITID_SYSCALL]: Likewise.
59909         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
59911 2012-08-07  Roland McGrath  <roland@hack.frob.com>
59913         * sysdeps/unix/closedir.c: Renamed to ...
59914         * sysdeps/posix/closedir.c: ... here.
59915         * sysdeps/unix/dirfd.c: Renamed to ...
59916         * sysdeps/posix/dirfd.c: ... here.
59917         * sysdeps/unix/dirstream.h: Renamed to ...
59918         * sysdeps/posix/dirstream.h: ... here.
59919         * sysdeps/unix/fdopendir.c: Renamed to ...
59920         * sysdeps/posix/fdopendir.c: ... here.
59921         * sysdeps/unix/opendir.c: Renamed to ...
59922         * sysdeps/posix/opendir.c: ... here.
59923         * sysdeps/unix/readdir.c: Renamed to ...
59924         * sysdeps/posix/readdir.c: ... here.
59925         * sysdeps/unix/readdir_r.c: Renamed to ...
59926         * sysdeps/posix/readdir_r.c: ... here.
59927         * sysdeps/unix/rewinddir.c: Renamed to ...
59928         * sysdeps/posix/rewinddir.c: ... here.
59929         * sysdeps/unix/seekdir.c: Renamed to ...
59930         * sysdeps/posix/seekdir.c: ... here.
59931         * sysdeps/unix/telldir.c: Renamed to ...
59932         * sysdeps/posix/telldir.c: ... here.
59933         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
59934         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
59935         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
59936         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
59938         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
59939         * bits/fcntl.h: ... here.
59941         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
59942         not 0.
59943         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
59944         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
59945         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
59946         (struct flock): Move l_start, l_len to the beginning.
59947         Use __pid_t for l_pid.
59948         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
59949         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
59950         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
59951         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
59952         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
59953         [__USE_LARGEFILE64] (struct flock64): New type.
59954         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
59956         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
59957         * bits/dirent.h: ... here.
59959         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
59960         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
59962 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
59964         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
59965         Change from 2.6.0 to 2.6.16.
59966         * sysdeps/unix/sysv/linux/configure: Regenerated.
59967         * sysdeps/unix/sysv/linux/kernel-features.h
59968         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
59969         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
59970         version.
59971         (__ASSUME_UTIMES): Likewise.
59972         (__ASSUME_CLONE_STOPPED): Remove.
59973         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
59974         architectures, not kernel version.
59975         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
59976         (__ASSUME_NO_CLONE_DETACHED): Likewise.
59977         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
59978         (__ASSUME_WAITID_SYSCALL): Likewise.
59979         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
59980         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
59981         * README: State 2.6.16 as minimum Linux kernel version.  Do not
59982         refer to older versions.
59984 2012-08-06  Roland McGrath  <roland@hack.frob.com>
59986         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
59987         Define alphasort64 as an alias.
59988         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
59989         Define versionsort64 as an alias.
59990         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
59991         Define scandir64 as an alias.
59992         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
59993         Define scandirat64 as an alias.
59994         * dirent/alphasort64.c (alphasort64):
59995         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
59996         * dirent/versionsort64.c: Likewise.
59997         * dirent/scandir64.c: Likewise.
59998         * dirent/scandirat64.c: Likewise.
59999         * sysdeps/wordsize-64/alphasort.c: File removed.
60000         * sysdeps/wordsize-64/alphasort64.c: File removed.
60001         * sysdeps/wordsize-64/scandir.c: File removed.
60002         * sysdeps/wordsize-64/scandir64.c: File removed.
60003         * sysdeps/wordsize-64/scandirat.c: File removed.
60004         * sysdeps/wordsize-64/scandirat64.c: File removed.
60005         * sysdeps/wordsize-64/versionsort.c: File removed.
60006         * sysdeps/wordsize-64/versionsort64.c: File removed.
60007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60008         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60010         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60012         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60013         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60014         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60016         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60017         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60018         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60020         [defined __arch64__ || defined __sparcv9]
60021         (__INO_T_MATCHES_INO64_T): New macro.
60022         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60023         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60024         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60025         * sysdeps/unix/sysv/linux/bits/dirent.h
60026         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60027         (_DIRENT_MATCHES_DIRENT64): New macro.
60029         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60030         Define lockf64 as an alias.
60031         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60032         Define fseeko64 as an alias.
60033         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60034         Define ftello64 as an alias.
60035         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60036         Define _IO_fgetpos64 and fgetpos64 as aliases.
60037         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60038         Define _IO_fsetpos64 and fsetpos64 as aliases.
60039         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60040         Conditionalize body on this.
60041         * libio/fseeko64.c: Likewise.
60042         * libio/ftello64.c: Likewise.
60043         * libio/iofgetpos64.c: Likewise.
60044         * libio/iofsetpos64.c: Likewise.
60045         * sysdeps/wordsize-64/lockf.c: File removed.
60046         * sysdeps/wordsize-64/lockf64.c: File removed.
60047         * sysdeps/wordsize-64/fseeko.c: File removed.
60048         * sysdeps/wordsize-64/fseeko64.c: File removed.
60049         * sysdeps/wordsize-64/ftello.c: File removed.
60050         * sysdeps/wordsize-64/ftello64.c: File removed.
60051         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60052         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60053         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60054         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60056         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60057         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60058         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60059         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60060         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60061         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60062         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60064         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60066         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60068         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60069         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60070         [defined __arch64__ || defined __sparcv9]
60071         (__OFF_T_MATCHES_OFF64_T): New macro.
60072         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60073         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60075         (__OFF_T_MATCHES_OFF64_T): New macro.
60077 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60079         * stdlib/secure-getenv.c (__secure_getenv): Replace
60080         GLIBC_2_16 with GLIBC_2_17.
60082 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60084         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60085         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60087 2012-08-03  David S. Miller  <davem@davemloft.net>
60089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60091 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60094         Remove.
60095         (__ASSUME_CORRECT_SI_PID): Likewise.
60096         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60097         (__ASSUME_TMPFS_NAME): Likewise.
60098         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60099         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60100         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60101         (HAVE_AUX_SECURE): Make definition unconditional.
60102         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60103         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60105 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60107         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60108         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60109         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60110         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60111         __eloop_threshold instead of SYMLOOP_MAX.
60113         * sysdeps/generic/eloop-threshold.h: New file.
60114         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60115         of MAXSYMLINKS.
60116         * elf/chroot_canon.c (chroot_canon): Likewise.
60118 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60120         [BZ #13717]
60121         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60122         Change to 2.6.0 everywhere.
60123         * sysdeps/unix/sysv/linux/configure: Regenerated.
60124         * sysdeps/unix/sysv/linux/kernel-features.h
60125         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60126         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60127         kernel versions.
60128         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60129         (__ASSUME_FUTEX_REQUEUE): Remove.
60130         (__ASSUME_STATFS64): Define unconditionally.
60131         (__ASSUME_AT_SECURE): Likewise.
60132         (__ASSUME_CORRECT_SI_PID): Likewise.
60133         (__ASSUME_TGKILL): Define without depending on kernel version for
60134         i386.
60135         (__ASSUME_UTIMES): Likewise.
60136         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60137         kernel version.
60138         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60139         (__ASSUME_TMPFS_NAME): Likewise.
60140         * README: Update reference to Linux kernel versions.
60142 2012-08-02  Marek Polacek  <polacek@redhat.com>
60144         [BZ# 14150]
60145         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60146         libc_cv_asm_type_prefix with %.
60147         * configure: Regenerated.
60148         * include/libc-symbols.h: Remove comment about
60149         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60150         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60151         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60152         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60153         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60154         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60155         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60156         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60157         * elf/tst-unique2mod1.c: Likewise.
60158         * elf/tst-unique1mod2.c: Likewise.
60159         * elf/tst-unique1mod1.c: Likewise.
60160         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60161         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60162         Replace ASM_TYPE_DIRECTIVE with .type.
60163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60164         * sysdeps/i386/sysdep.h: Likewise.
60165         * sysdeps/x86_64/sysdep.h: Likewise.
60166         * sysdeps/sh/sysdep.h: Likewise.
60167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60168         Do not define ASM_TYPE_DIRECTIVE.
60169         * sysdeps/powerpc/sysdep.h: Likewise.
60170         * sysdeps/powerpc/powerpc32/sysdep.h:
60171         Replace ASM_TYPE_DIRECTIVE with .type.
60172         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60173         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60174         * sysdeps/i386/fpu/e_powf.S: Likewise.
60175         * sysdeps/i386/fpu/e_expl.S: Likewise.
60176         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60178         * sysdeps/i386/fpu/e_pow.S: Likewise.
60179         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60180         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60181         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60182         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60183         * sysdeps/i386/fpu/e_log2.S: Likewise.
60184         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60185         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60186         * sysdeps/i386/fpu/e_powl.S: Likewise.
60187         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60188         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60189         * sysdeps/i386/fpu/e_logl.S: Likewise.
60190         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60191         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60192         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60193         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60194         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60195         * sysdeps/i386/fpu/e_log.S: Likewise.
60196         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60197         * sysdeps/i386/fpu/e_logf.S: Likewise.
60198         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60199         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60200         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60201         * sysdeps/i386/fpu/e_log10.S: Likewise.
60202         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60203         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60204         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60205         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60206         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60207         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60208         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60209         * sysdeps/i386/i686/strtok.S: Likewise.
60210         * sysdeps/i386/i386-mcount.S: Likewise.
60211         * sysdeps/i386/strtok.S: Likewise.
60212         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60213         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60214         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60216         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60217         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60218         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60219         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60220         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60221         * sysdeps/x86_64/_mcount.S: Likewise.
60222         * sysdeps/x86_64/strtok.S: Likewise.
60223         * sysdeps/sh/_mcount.S: Likewise.
60225 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60227         * libio/iofopen.c: Include <fcntl.h>.
60228         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60229         (_IO_fopen64, fopen64): Define as aliases.
60230         * libio/iofopen64.c: Include <fcntl.h>.
60231         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60232         Conditionalize body on this.
60233         * sysdeps/wordsize-64/iofopen.c: File removed.
60234         * sysdeps/wordsize-64/iofopen64.c: File removed.
60236 2012-08-01  Marek Polacek  <polacek@redhat.com>
60238         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60239         Use dlfcn directly instead of a variable.
60240         (binfmt-subdir): Do not define.
60241         (dlfcn): Likewise.
60243 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60246         Remove all definitions.
60247         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60248         <kernel-features.h>.
60249         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60250         (miss_F_GETOWN_EX): Remove all definitions.
60251         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60252         macro definition.
60253         [!__ASSUME_FCNTL64]: Remove conditional code.
60254         [__ASSUME_FCNTL64]: Make code unconditional.
60255         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60256         <kernel-features.h>.
60257         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60258         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60259         (lockf64) [__NR_fcntl64]: Make code unconditional.
60260         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60262         * sysdeps/unix/sysv/linux/kernel-features.h
60263         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60264         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60265         Make code unconditional.
60266         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60267         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60269         [__NR_vfork]: Make code unconditional.
60270         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60271         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60273         [__NR_vfork]: Make code unconditional.
60274         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60275         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60277 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60279         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60280         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60282         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60283         Define mkstemp64 as an alias.
60284         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60285         Define mkstemps64 as an alias.
60286         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60287         Define mkostemp64 as an alias.
60288         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60289         Define mkostemps64 as an alias.
60290         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60291         Conditionalize body on this.
60292         * misc/mkostemp64.c: Likewise.
60293         * misc/mkostemps64.c: Likewise.
60294         * misc/mkstemps64.c: Likewise.
60295         * sysdeps/wordsize-64/mkstemp64.c: File removed.
60296         * sysdeps/wordsize-64/mkostemp64.c: File removed.
60297         * sysdeps/wordsize-64/mkostemp.c: File removed.
60298         * sysdeps/wordsize-64/mkstemp.c: File removed.
60299         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60301         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60302         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60304         [BZ #14138]
60305         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60306         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60307         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60308         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60310         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60311         compat_symbol macros from <shlib-compat.h> rather than the underlying
60312         default_symbol_version and symbol_version macros, so that DEFAULT
60313         lines in shlib-versions are respected.
60314         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60316 2012-08-01  Florian Weimer  <fweimer@redhat.com>
60318         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60319         Declare with warn_unused_result.
60320         (setgid, setregid, setegid, setresgid): Likewise.
60321         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60322         Likewise.
60323         * WUR-REPORT: Remove set*id functions.
60325 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
60327         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60329 2012-07-31  Roland McGrath  <roland@hack.frob.com>
60331         [BZ #10191]
60332         * include/sys/socket.h (__libc_accept, __libc_accept4):
60333         Add attribute_hidden.
60334         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60337         use of PTR_MANGLE.
60338         * inet/getnetgrent_r.c (setup): Likewise.
60340         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60342 2012-07-31  David S. Miller  <davem@davemloft.net>
60344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60346 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
60348         [BZ #13629]
60349         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60350         value between 1.0 and 2.0 and smaller part has absolute value less
60351         than 1.0.
60352         * math/s_clog10.c (__clog10): Likewise.
60353         * math/s_clog10f.c (__clog10f): Likewise.
60354         * math/s_clog10l.c (__clog10l): Likewise.
60355         * math/s_clogf.c (__clogf): Likewise.
60356         * math/s_clogl.c (__clogl): Likewise.
60357         * math/libm-test.inc (clog_test): Add more tests.
60358         (clog10_test): Likewise.
60359         * sysdeps/i386/fpu/libm-test-ulps: Update.
60360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60362 2012-07-31  Florian Weimer  <fweimer@redhat.com>
60364         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60365         Exit with zero in case no suitable GID is found, and write a
60366         message to standard error.
60368 2012-07-30  Roland McGrath  <roland@hack.frob.com>
60370         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60371         rather than to 1.
60372         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60373         (MAXPATHLEN): Removed.
60374         (NOGROUP, NODEV): New macros.
60375         (setbit, clrbit, isset, isclr): New macros.
60376         (howmany, roundup, powerof2): New macros.
60377         (DEV_BSIZE): New macro.
60379         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60380         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60382         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60383         definition on [!__NO_LONG_DOUBLE_MATH].
60385         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60386         PTR_MANGLE and PTR_DEMANGLE.
60388         * socket/accept4.c (accept4): Rename to __libc_accept4.
60389         Define accept4 as a weak alias.
60391         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60392         on [_DIRENT_HAVE_D_TYPE].
60393         * io/ftw.c (ftw_dir): Likewise.
60395         * io/xmknod.c (__xmknod): Don't check PATH for being null.
60397         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60399         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60400         Use the BSD numbers rather than the arbitrary ones we had.
60401         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60402         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60403         (SIGXCPU, SIGXFSZ): New macros.
60404         (_NSIG): Now 32.
60406         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60407         initializer on [_LIBC_REENTRANT].
60409         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60410         definitions inside [_POSIX_MAPPED_FILES].
60412         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60414         * dirent/opendir.c: Include <fcntl.h>.
60416         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60417         (__libc_getspecific): Likewise.
60418         (__libc_key_create): Likewise.
60420         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60421         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60422         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60423         (tmpfile64): Define as alias.
60424         * sysdeps/wordsize-64/tmpfile.c: File removed.
60425         * sysdeps/wordsize-64/tmpfile64.c: File removed.
60426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60427         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60429         * stdio-common/vfscanf.c: Include <stdbool.h>.
60430         * nss/makedb.c: Likewise.
60431         * stdio-common/_i18n_number.h: Likewise.
60432         * argp/argp-help.c: Likewise.
60433         * posix/wordexp.c: Likewise.
60434         * sysdeps/posix/spawni.c: Likewise.
60435         * nss/nss_files/files-initgroups.c: Likewise.
60436         * stdio-common/reg-modifier.c: Include <stdlib.h>.
60437         * nss/nss_files/files-initgroups.c: Likewise.
60438         * nss/nss_db/db-netgrp.c: Likewise.
60439         * nss/nss_db/db-initgroups.c: Likewise.
60440         * io/fchmodat.c: Include <sys/stat.h>.
60442         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60443         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60445         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60446         [HAVE_MMAP].
60448         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60449         Add multiple inclusion protection.
60451 2012-07-27  David S. Miller  <davem@davemloft.net>
60453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60455 2012-07-27  Gary Benson  <gbenson@redhat.com>
60457         [BZ #14298]
60458         * elf/rtld.c: Include <stap-probe.h>.
60459         (dl_main): Added static probes "init_start" and "init_complete".
60460         * elf/dl-load.c: Include <stap-probe.h>.
60461         (lose): Take new parameter "nsid".
60462         Added static probe "map_failed".
60463         (_dl_map_object_from_fd): Pass namespace id to lose.
60464         Added static probe "map_start".
60465         (open_verify): Pass namespace id to lose.
60466         * elf/dl-open.c: Include <stap-probe.h>.
60467         (dl_open_worker) Added static probes "map_complete", "reloc_start"
60468         and "reloc_complete".
60469         * elf/dl-close.c: Include <stap-probe.h>.
60470         (_dl_close_worker): Added static probes "unmap_start" and
60471         "unmap_complete".
60472         * elf/rtld-debugger-interface.txt: New file documenting the above.
60474 2012-07-26  Roland McGrath  <roland@hack.frob.com>
60476         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60477         rather than a string variable.
60478         * sunrpc/rpc_main.c (h_output): Likewise.
60479         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60481 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
60483         * inet/check_native.c: New file.
60485 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
60487         [BZ #13629]
60488         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60489         if larger part has absolute value 1.0.
60490         * math/s_clog10.c (__clog10): Likewise.
60491         * math/s_clog10f.c (__clog10f): Likewise.
60492         * math/s_clog10l.c (__clog10l): Likewise.
60493         * math/s_clogf.c (__clogf): Likewise.
60494         * math/s_clogl.c (__clogl): Likewise.
60495         * math/libm-test.inc (clog_test): Add more tests.
60496         (clog10_test): Likewise.
60497         * sysdeps/i386/fpu/libm-test-ulps: Update.
60498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60500         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60501         (pltexit): Likewise.
60502         (La_regs): Likewise.
60503         (La_retval): Likewise.
60504         (int_retval): Likewise.
60505         Update #error for removed macros to refer only to definitions in
60506         tst-audit.h.
60507         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60508         macro.
60509         (pltexit): Likewise.
60510         (La_regs): Likewise.
60511         (La_retval): Likewise.
60512         (int_retval): Likewise.
60513         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60514         macro.
60515         (pltexit): Likewise.
60516         (La_regs): Likewise.
60517         (La_retval): Likewise.
60518         (int_retval): Likewise.
60519         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60520         macro.
60521         (pltexit): Likewise.
60522         (La_regs): Likewise.
60523         (La_retval): Likewise.
60524         (int_retval): Likewise.
60525         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60526         macro.
60527         (pltexit): Likewise.
60528         (La_regs): Likewise.
60529         (La_retval): Likewise.
60530         (int_retval): Likewise.
60531         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60532         macro.
60533         (pltexit): Likewise.
60534         (La_regs): Likewise.
60535         (La_retval): Likewise.
60536         (int_retval): Likewise.
60537         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60538         macro.
60539         (pltexit): Likewise.
60540         (La_regs): Likewise.
60541         (La_retval): Likewise.
60542         (int_retval): Likewise.
60543         * sysdeps/generic/tst-audit.h: Update comment to refer only to
60544         macro definitions in tst-audit.h.
60545         * sysdeps/i386/tst-audit.h: New file.
60546         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60547         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60548         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60549         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60550         * sysdeps/sh/tst-audit.h: Likewise.
60551         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60552         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60553         * sysdeps/x86_64/tst-audit.h: Likewise.
60555 2012-07-26  Andreas Jaeger  <aj@suse.de>
60557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60558         ptrace.
60560         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60561         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60562         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60563         PTRACE_O_MASK.
60564         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60565         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60566         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60568         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60569         value.
60571         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60572         _sigsys.
60573         (si_call_addr, si_syscall, si_arch): Define new macro.
60574         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60575         _sigsys.
60576         (si_call_addr, si_syscall, si_arch): Define new marcro.
60577         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60578         _sigsys.
60579         (si_call_addr, si_syscall, si_arch): Define new macro.
60580         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60581         _sigsys.
60582         (si_call_addr, si_syscall, si_arch): Define new macro.
60584 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60586         [BZ #13717]
60587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60588         Change to 2.4.21 where previously 2.4.1.
60589         * sysdeps/unix/sysv/linux/configure: Regenerated.
60590         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60591         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60592         Linux kernel version.
60593         (__ASSUME_STD_AUXV): Remove.
60594         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60595         kernel version.
60596         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60597         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60598         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60599         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60600         (__ASSUME_NETLINK_SUPPORT): Likewise.
60601         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60602         (__no_netlink_support): Remove conditional definition.
60603         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60604         Remove.
60605         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60606         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60607         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60608         (if_nameindex_ioctl): Remove.
60609         (if_nameindex_netlink): Do not handle __no_netlink_support.
60610         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60611         code.
60612         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60613         Remove conditional code.
60614         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60615         code.
60616         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60617         unconditional.
60618         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60619         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60620         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60621         Remove.
60622         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60623         [!__ASSUME_STD_AUXV]: Remove conditional code.
60624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60625         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60626         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60628         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60629         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60630         code.
60631         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60633         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60634         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60635         conditional code.
60636         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60638         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60639         code.
60640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60641         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60642         conditional code.
60643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60644         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60645         code unconditional.
60646         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60647         conditional code.
60648         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60649         unconditional.
60650         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60651         conditional code.
60652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60653         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60654         unconditional.
60655         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60656         conditional code.
60657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60658         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60659         code unconditional.
60660         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60661         conditional code.
60662         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60663         unconditional.
60664         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60665         conditional code.
60666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60667         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60668         code unconditional.
60669         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60670         conditional code.
60671         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60672         unconditional.
60673         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60674         conditional code.
60676 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
60678         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60679         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60680         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60681         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60682         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60683         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60684         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60685         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60686         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60687         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60688         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60689         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60690         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60691         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60692         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60693         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60694         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60695         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60696         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60698         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60699         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60700         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60702 2012-07-25  Florian Weimer  <fweimer@redhat.com>
60704         * Versions.def: Add GLIBC_2.17.
60705         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60706         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60707         Introduce __libc_secure_getenv.
60708         * stdlib/Versions (2.17): Add secure_getenv
60709         (GLIBC_PRIVATE): Add __libc_secure_getenv.
60710         * stdlib/secure-getenv.c: Rename __secure_getenv to
60711         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
60712         symbol __secure_getenv for GLIBC_2.0.
60713         * stdlib/tst-secure-getenv.c: New.
60714         * stdlib/Makefile (tests): Add testcase.
60715         * manual/startup.texi (Environment Access): Document
60716         secure_getenv.
60717         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60718         __libc_secure_getenv.
60719         * inet/ruserpass.c (ruserpass): Likewise.
60720         * malloc/mtrace.c (mtrace): Likewise.
60721         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60722         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60723         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60724         * sysdeps/posix/tempname.c: Likewise.  Evaluate
60725         HAVE_SECURE_GETENV.
60726         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60727         __secure_getenv to __libc_secure_getenv.
60728         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60730         Likewise.
60731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60732         Likewise.
60733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60741 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
60743         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60744         (struct La_i86_retval): Likewise.
60745         (struct La_x86_64_regs): Likewise.
60746         (struct La_x86_64_retval): Likewise.
60747         (struct La_x32_regs): Likewise.
60748         (struct La_x32_retval): Likewise.
60749         (struct La_ppc32_regs): Likewise.
60750         (struct La_ppc32_retval): Likewise.
60751         (struct La_ppc64_regs): Likewise.
60752         (struct La_ppc64_retval): Likewise.
60753         (struct La_sh_regs): Likewise.
60754         (struct La_sh_retval): Likewise.
60755         (struct La_s390_32_regs): Likewise.
60756         (struct La_s390_32_retval): Likewise.
60757         (struct La_s390_64_regs): Likewise.
60758         (struct La_s390_64_retval): Likewise.
60759         (struct La_sparc32_regs): Likewise.
60760         (struct La_sparc32_retval): Likewise.
60761         (struct La_sparc64_regs): Likewise.
60762         (struct La_sparc64_retval): Likewise.
60763         (struct audit_ifaces): Remove architecture-specific pltenter and
60764         pltexit members.
60765         * sysdeps/i386/ldsodefs.h: New file.
60766         * sysdeps/powerpc/ldsodefs.h: Likewise.
60767         * sysdeps/s390/ldsodefs.h: Likewise.
60768         * sysdeps/sh/ldsodefs.h: Likewise.
60769         * sysdeps/sparc/ldsodefs.h: Likewise.
60770         * sysdeps/x86_64/ldsodefs.h: Likewise.
60772 2012-07-25  Marek Polacek  <polacek@redhat.com>
60774         [BZ #6808]
60775         * math/libm-test.inc (yn_test): Add another test.
60776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60777         to ERANGE when the result is +-Inf.
60778         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60779         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60780         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60781         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60783 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
60785         * conform/data/time.h-data (NULL): Use macro-constant.  Require
60786         equal to 0.
60787         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
60788         clock_t.
60789         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
60791 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
60793         * configure.in <sysdeps resolving>: Correct printing
60794         Implies_before.
60795         * configure: Regenerate.
60797 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
60799         * math/w_ilogb.c: Include <limits.h>.
60800         * math/w_ilogbl.c: Likewise.
60802 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60804         * manual/lang.texi (__va_copy): Document primarily as ISO C99
60805         va_copy.  Document allowing for unavailable va_copy only as
60806         pre-C99 compatibility.
60807         * manual/string.texi (Copying and Concatenation): Use va_copy
60808         instead of __va_copy in concat example.
60810 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
60812         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60813         (__sendto): Use create_address_port.  Initialize APORT and deallocate
60814         it if not null.
60816         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60817         with O_NOLINK passed to __file_name_lookup.
60819         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60820         with O_NOLINK passed to __file_name_lookup.
60822         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60823         negative N or less than NGIDS.
60825         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60826         type to string_t.  Set ERANGE as errno and return it if NAME is not big
60827         enough.  Use memcpy instead of strncpy.
60829 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
60831         * elf/Makefile (check-data): Remove.
60832         (localplt.data): New vpath directive.
60833         ($(objpfx)check-localplt.out): Use localplt.data from vpath
60834         instead of $(check-data).
60835         * scripts/data/localplt-generic.data: Move to ...
60836         * sysdeps/generic/localplt.data: ... here.
60837         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60838         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60839         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60841         ... here.
60842         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
60844         ... here.
60845         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
60846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
60847         ... here.
60848         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
60849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
60850         ... here.
60851         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
60852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
60853         ... here.
60854         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
60855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
60856         ... here.
60858 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60860         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
60861         PPC32 and PPC64 files.
60862         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
60863         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
60865 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60867         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
60868         __makecontext_ret to ...
60869         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
60870         ... here and call exit if uc_link is NULL.  New file.
60871         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
60872         __makecontext_ret.S.
60873         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
60874         __makecontext_ret to ...
60875         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
60876         ... here and call exit if uc_link is NULL.  New file.
60877         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
60878         __makecontext_ret.S.
60880 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60882         * elf/elf.h (R_390_IRELATIVE): New definition.
60883         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
60884         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
60885         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
60886         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60887         (elf_machine_lazy_rel): Likewise.
60888         * sysdeps/s390/dl-irel.h: New file.
60889         * sysdeps/s390/s390-64/memcpy.S: New asm code.
60890         * sysdeps/s390/s390-64/memset.S: New asm code.
60891         * sysdeps/s390/s390-64/memcmp.S: New asm code.
60892         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
60893         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
60894         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
60895         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
60896         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
60897         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
60898         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
60899         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
60900         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
60901         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
60902         * sysdeps/s390/s390-32/memcpy.S: New asm code.
60903         * sysdeps/s390/s390-32/memset.S: New asm code.
60904         * sysdeps/s390/s390-32/memcmp.S: New asm code.
60906 2012-07-17  Marek Polacek  <polacek@redhat.com>
60908         [BZ #14349]
60909         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
60910         * sysdeps/s390/s390-64/configure.in: Likewise.
60911         * sysdeps/sparc/configure.in: Likewise.
60912         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
60913         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
60914         * sysdeps/i386/configure.in: Likewise.
60915         * sysdeps/x86_64/configure.in: Likewise.
60916         * sysdeps/sh/configure.in: Likewise.
60917         * sysdeps/s390/s390-32/configure: Regenerated.
60918         * sysdeps/s390/s390-64/configure: Likewise.
60919         * sysdeps/x86_64/configure: Likewise.
60920         * sysdeps/sh/configure: Likewise.
60921         * sysdeps/powerpc/powerpc64/configure: Likewise.
60922         * sysdeps/powerpc/powerpc32/configure: Likewise.
60923         * sysdeps/sparc/configure: Likwise.
60924         * sysdeps/i386/configure: Likewise.
60926         * elf/dl-open.c: Comment fixes.
60928 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
60930         * Makefile [CXX] (check-data): Remove.
60931         [CXX] (c++-types.data): New vpath directive.
60932         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
60933         vpath.  Do not allow for C++ type data being missing.
60934         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
60935         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
60936         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
60937         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
60938         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
60939         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
60940         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
60941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
60942         ... here.
60943         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
60944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
60945         ... here.
60946         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
60947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
60948         ... here.
60949         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
60950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
60951         ... here.
60952         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
60953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
60954         ... here.
60955         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
60956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
60957         ... here.
60958         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
60959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
60960         ... here.
60961         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
60962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
60964         * elf/tls-macros.h (TLS_LE): Move architecture-specific
60965         definitions to architecture-specific files.
60966         (TLS_IE): Likewise.
60967         (TLS_LD): Likewise.
60968         (TLS_GD): Likewise.
60969         * sysdeps/i386/tls-macros.h: New file.
60970         * sysdeps/powerpc/tls-macros.h: Likewise.
60971         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
60972         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
60973         * sysdeps/sh/tls-macros.h: Likewise.
60974         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
60975         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
60976         * sysdeps/x86_64/tls-macros.h: Likewise.
60978 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60980         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
60981         zero value for regular exit case.
60983         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
60984         (__start_context): Preserve zero value for regular exit case.
60986 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
60987             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60989         * manual/setjmp.texi (setcontext): Clarify normal process
60990         termination when uc_link is the null pointer.
60991         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
60992         exit call.
60994 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
60996         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
60997         preprocessor.  Test for each exception mask separately.
60999 2012-07-16  Andreas Jaeger  <aj@suse.de>
61001         * po/ru.po: Update from translation team.
61003 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61005         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61006         equal to 0.
61007         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61008         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61009         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61010         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61011         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61013 2012-07-13  Andreas Jaeger  <aj@suse.de>
61015         * po/fr.po: Update from translation team.
61017 2012-07-12  Marek Polacek  <polacek@redhat.com>
61019         [BZ #14173]
61020         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61022         loop condition.
61024 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61026         [BZ #13717]
61027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61028         Change to 2.4.1 where previously 2.4.0.
61029         * sysdeps/unix/sysv/linux/configure: Regenerated.
61030         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61031         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61032         version.
61033         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61034         (__ASSUME_AT_CLKTCK): Remove.
61035         (__ASSUME_AT_PAGESIZE): Likewise.
61036         (__ASSUME_AT_XID): Likewise.
61037         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61038         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61039         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61040         unconditionally.
61041         (HAVE_AUX_PAGESIZE): Likewise.
61042         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61043         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61044         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61046 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61048         [BZ #14307]
61049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61050         the temporary buffer used to invoke __gethostbyname2_r,
61051         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61052         host_data / struct gaih_addrtuple.
61053         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61054         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61055         header file nss/nsswitch.h.
61056         * nss/nsswitch.h (global scope): Add definition of implementation
61057         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61058         resolv/nss_dns/dns-host.c).
61060 2012-07-11  Andreas Jaeger  <aj@suse.de>
61062         * po/fr.po: Update from translation team.
61064         * po/sv.po: Update from translation team
61065         * po/fr.po: Another update from translation team.
61067 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61069         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61070         for subnormals or multiply small sinh result by itself.
61071         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61074 2012-07-11  David S. Miller  <davem@davemloft.net>
61076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61078 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61080         [BZ #14347]
61081         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61082         (INTERNAL_MARK): Shift it here.
61084 2012-07-10  Marek Polacek  <polacek@redhat.com>
61086         [BZ #14151]
61087         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61088         libc_cv_asm_global_directive with .globl.
61089         * configure: Regenerated.
61090         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61091         with .globl.
61092         * sysdeps/i386/configure: Regenerated.
61093         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61094         with .globl.
61095         * sysdeps/x86_64/configure: Regenerated.
61096         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61097         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61098         * elf/tst-unique2mod2.c: Likewise.
61099         * elf/tst-unique2mod1.c: Likewise.
61100         * elf/tst-unique1mod2.c: Likewise.
61101         * elf/tst-unique1mod1.c: Likewise.
61102         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61103         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61104         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61105         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61106         * sysdeps/mach/sysdep.h: Likewise.
61107         * sysdeps/i386/sysdep.h: Likewise.
61108         * sysdeps/i386/i386-mcount.S: Likewise.
61109         * sysdeps/x86_64/_mcount.S: Likewise.
61110         * sysdeps/x86_64/sysdep.h: Likewise.
61111         * sysdeps/sh/_mcount.S: Likewise.
61112         * sysdeps/sh/sysdep.h: Likewise.
61113         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61114         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61115         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61116         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61117         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61118         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61119         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61120         * locale/localeinfo.h: Likewise.
61121         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61122         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61124 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61126         [BZ #14336]
61127         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61128         system".
61129         * manual/message.texi (The Uniforum approach): Likewise.
61130         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61131         (glibc iconv Implementation): Likewise.
61133 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61135         [BZ #14337]
61136         * math/s_clog.c (__clog): Avoid scaling a value down where that
61137         could result in underflow.
61138         * math/s_clog10.c (__clog10): Likewise.
61139         * math/s_clog10f.c (__clog10f): Likewise.
61140         * math/s_clog10l.c (__clog10l): Likewise.
61141         * math/s_clogf.c (__clogf): Likewise.
61142         * math/s_clogl.c (__clogl): Likewise.
61143         * math/libm-test.inc (clog_test): Add more tests.
61144         (clog10_test): Likewise.
61145         * sysdeps/i386/fpu/libm-test-ulps: Update.
61146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61148 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61150         [BZ #14283]
61151         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61152         by 7 not 8 to examine high bit of fractional part.
61154         [BZ #14042]
61155         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61156         for call to __mcount_internal.
61157         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61158         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61159         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61161 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61163         [BZ #14154]
61164         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61165         approximation for values within 0x1p-13f of an odd multiple of
61166         pi/4.
61167         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61168         exception.  Add more tests.
61169         * sysdeps/i386/fpu/libm-test-ulps: Update.
61171         [BZ #6778]
61172         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61173         inputs and return -1 for them.  Do not check for +Inf in case not
61174         reachable for +Inf.
61175         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61176         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61177         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61178         and return -1 for them.  Do not check for +Inf in case not
61179         reachable for +Inf.
61180         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61181         define.
61182         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61183         and return -1 for them.  Do not check for +Inf in case not
61184         reachable for +Inf.
61185         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61186         spurious underflow.
61187         * sysdeps/i386/fpu/libm-test-ulps: Update.
61188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61190 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61192         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61194 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61196         [BZ #14157]
61197         [BZ #14331]
61198         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61199         could result in spurious underflow.  Scale down values above
61200         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61201         * math/s_csqrtf.c (__csqrtf): Likewise.
61202         * math/s_csqrtl.c (__csqrtl): Likewise.
61203         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61204         spurious underflow.
61205         * sysdeps/i386/fpu/libm-test-ulps: Update.
61206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61208 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61210         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61211         xopen-msg.sed.
61212         * catgets/xopen-msg.awk: New file.
61213         * catgets/xopen-msg.sed: Removed.
61215         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61216         po2text.sed.
61217         * intl/po2test.awk: New file.
61218         * intl/po2test.sed: Removed.
61220 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61222         [BZ #14328]
61223         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61224         or multiply small sinh result by itself.
61225         * math/s_ctanf.c (__ctanf): Likewise.
61226         * math/s_ctanh.c (__ctanh): Likewise.
61227         * math/s_ctanhf.c (__ctanhf): Likewise.
61228         * math/s_ctanhl.c (__ctanhl): Likewise.
61229         * math/s_ctanl.c (__ctanl): Likewise.
61230         * math/libm-test.inc (ctan_test_tonearest): New function.
61231         (ctan_test_towardzero): Likewise.
61232         (ctan_test_downward): Likewise.
61233         (ctan_test_upward): Likewise.
61234         (ctanh_test_tonearest): Likewise.
61235         (ctanh_test_towardzero): Likewise.
61236         (ctanh_test_downward): Likewise.
61237         (ctanh_test_upward): Likewise.
61238         (main): Call these new functions.
61239         * sysdeps/i386/fpu/libm-test-ulps: Update.
61240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61242 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61244         * .gitignore: Delete /ports entry.
61246 2012-07-03  Andreas Jaeger  <aj@suse.de>
61248         * po/bg.po: Update from translation team.
61249         * po/cs.po: Likewise.
61250         * po/de.po: Likewise.
61251         * po/hr.po: Likewise.
61252         * po/nl.pl: Likewise.
61253         * po/pl.po: Likewise.
61254         * po/vi.po: Likewise.
61256 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61258         * Makeconfig [!+link] (+link-before-libc): New variable.
61259         [!+link] (+link-after-libc): Likewise.
61260         [!+link] (+link-tests): Likewise.
61261         [!+link] (+link): Define in terms of $(+link-before-libc) and
61262         $(+link-after-libc).
61263         [!+link-static] (+link-static-before-libc): New variable.
61264         [!+link-static] (+link-static-after-libc): Likewise.
61265         [!+link-static] (+link-static-tests): Likewise.
61266         [!+link-static] (+link-static): Define in terms of
61267         $(+link-static-before-libc) and $(+link-static-after-libc).
61268         [build-shared] (link-libc-before-gnulib): New variable.
61269         [build-shared] (link-libc-tests): Likewise.
61270         [build-shared] (link-libc): Define in terms of
61271         $(link-libc-before-gnulib).
61272         [!build-shared] (link-libc-tests): New variable.
61273         (link-libc-static-tests): New variable.
61274         [!gnulib] (gnulib-arch): New variable.
61275         [!gnulib] (gnulib-tests): Likewise.
61276         [!gnulib] (static-gnulib-arch): Likewise.
61277         [!gnulib] (static-gnulib-tests): Likewise.
61278         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61279         Define with "=" instead of ":=".
61280         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61281         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61282         * Rules (binaries-all-notests): New variable.
61283         (binaries-all-tests): Likewise.
61284         (binaries-static-notests): Likewise.
61285         (binaries-static-tests): Likewise.
61286         (binaries-all): Define using $(binaries-all-notests) and
61287         $(binaries-all-tests).
61288         (binaries-static): Define using $(binaries-static-notests) and
61289         $(binaries-static-tests).
61290         (binaries-shared-tests): New variable.
61291         (binaries-shared-notests): Likewise.
61292         (binaries-shared): Remove variable.
61293         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61294         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61295         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61296         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61297         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61298         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61299         * elf/Makefile (sln-modules): New variable.
61300         (extra-objs): Add $(sln-modules:=.o).
61301         (ldconfig-modules): Add static-stubs.
61302         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61303         * elf/static-stubs.c: New file.
61305         [BZ #14283]
61306         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61307         by 7 not 8 to examine high bit of fractional part.  Use volatile
61308         variables when splitting into final array of floats if
61309         __FLT_EVAL_METHOD__ != 0.
61310         * math/libm-test.inc (cos_test): Add another test.
61311         (sin_test): Likewise.
61312         * sysdeps/i386/fpu/libm-test-ulps: Update.
61314         [BZ #14273]
61315         * math/libm-test.inc (cosh_test): Add more tests.
61317         * version.h (RELEASE): Set to "development".
61318         (VERSION): Set to "2.16.90".
61320 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
61322         * NEWS: Update copyright. Remove last-updated date.
61323         Mention math library bug fixes and timezone data changes.
61324         * README: Mention GNU/Hurd, x32, and HPPA support status.
61326 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
61328         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61330 2012-06-27  Andreas Jaeger  <aj@suse.de>
61332         * manual/contrib.texi (Contributors): Add Samuel Thibault.
61334 2012-06-25  Andreas Jaeger  <aj@suse.de>
61336         * sysdeps/s390/fpu/libm-test-ulps: Update.
61338 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
61339             Thomas Schwinge  <thomas@codesourcery.com>
61341         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61342         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61343         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61344         fanotify_mark.
61346 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
61348         * sysdeps/mach/start.c: Remove file.
61349         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61350         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61351         * sysdeps/sh/init-first.c: Likewise.
61353         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61354         registers for frame unwinding purposes, add CFI directives.
61355         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61356         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61357         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61358         Likewise.
61360         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61361         __fortify_fail returning.
61362         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61364         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61365         sysdeps/sh/____longjmp_chk.S.
61366         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61367         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61368         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61369         (gen-as-const-headers): Append sigaltstack-offsets.sym.
61371         * sysdeps/sh/abort-instr.h: New file.
61372         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61373         process in case exit returns.
61375         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61376         initialize the GOT register before use.
61378         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61379         calculation of ARGC > 4.
61381         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61382         meaningful names to some local labels.
61384 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61385             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61387         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61388         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61389         (__arch_compare_and_exchange_val_16_acq): Likewise.
61390         (__arch_compare_and_exchange_val_32_acq): Likewise.
61391         (atomic_exchange_and_add): Fix gUSA sequence.
61392         (atomic_add): Likewise.
61393         (atomic_add_negative): Likewise.
61394         (atomic_add_zero): Likewise.
61395         (atomic_bit_test_set): Likewise.
61397 2012-06-22  Andreas Schwab  <schwab@redhat.com>
61399         [BZ #13579]
61400         * include/link.h (struct link_map): Add l_free_initfini.
61401         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61402         l_initfini.
61403         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61404         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61405         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61406         set.
61408 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
61410         * configure.in: Use AC_LANG_SOURCE.
61411         * configure: Regenerate.
61413 2012-06-22  Roland McGrath  <roland@hack.frob.com>
61415         * configure.in (libc_cv_localstatedir): New substituted variable.
61416         * configure: Regenerated.
61417         * config.make.in (localstatedir): New variable, substituted from
61418         libc_cv_localstatedir.
61419         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61420         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61421         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61422         * sysdeps/gnu/configure: Regenerated.
61424 2012-06-21  Jeff Law  <law@redhat.com>
61426         [BZ #14277]
61427         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61428         free.  Simplify list management for _LIBC case.
61430 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
61432         [BZ #14273]
61433         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61434         Clear sign bit of 64-bit integer value before comparing against
61435         overflow value.
61437         * sysdeps/mach/configure: Regenerated.
61439 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
61441         [BZ #14278]
61442         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61444 2012-06-21  Jeff Law  <law@redhat.com>
61446         [BZ #13882]
61447         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
61448         uint16_t for elements in the "seen" array to avoid char overflows.
61449         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61450         * elf/dl-open.c (dl_open_worker): Likewise.
61452 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
61454         * scripts/list-sources.sh: Scan PORTS for translations.
61455         * po/libc.pot: Regenerated.
61457 2012-06-21  Andreas Jaeger  <aj@suse.de>
61459         [BZ #12194]
61460         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61461         warning.
61462         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61463         * bits/byteswap-16.h (__bswap_16): Likewise.
61464         * bits/byteswap.h (__bswap_constant_16): Likewise.
61466 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
61468         [BZ #14117]
61469         * sysdeps/i386/fpu_control.h: Removed.
61470         * sysdeps/x86_64/fpu_control.h: Moved to ...
61471         * sysdeps/x86/fpu_control.h: Here.
61473         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61474         (_FPU_SETCW): Likewise.
61476 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
61478         [BZ #14117]
61479         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61480         * sysdeps/x86/fpu/bits/mathinline.h: This.
61481         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61483         [BZ #14050]
61484         [BZ #14117]
61485         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61486         functions if __x86_64__ is defined.
61488 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
61490         * string/endian.h: Add !__ASSEMBLER__ condition for including
61491         conversion interfaces.
61493 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
61495         [BZ #14241]
61496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61497         of ABS(x) in calculating zero to negative powers other than odd
61498         integers.
61499         * math/libm-test.inc (pow_test): Add more tests.
61501 2012-06-15  Andreas Jaeger  <aj@suse.de>
61503         * manual/contrib.texi (Contributors): Update entry of Liubov
61504         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61505         Machado Filho.
61507 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
61509         * string/string.h: Add __wur to GNU version of strerror_r.
61511 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
61513         [BZ #14229]
61514         * string/Makefile (tests): Add tst-strtok_r.
61515         * string/tst-strtok_r.c: New file.
61516         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61517         RAX_LP/RDX_LP on SAVE_PTR.
61519 2012-06-14  Roland McGrath  <roland@hack.frob.com>
61521         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61523 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
61525         * libm_test.inc (csqrt_test): Allow more spurious underflow
61526         exceptions.
61527         (j0_test): Likewise.
61528         (j1_test): Likewise.
61529         (y0_test): Likewise.
61530         (y1_test): Likewise.
61532 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
61534         * po/Makefile (libc.pot): Use UTF-8 charset.
61536 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
61538         [BZ #14210]
61539         Suppress sign-conversion warning from FD_SET.
61540         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61541         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61542         not unsigned long int.
61543         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61545 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
61547         [BZ #14050]
61548         [BZ #14117]
61549         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61550         __extern_always_inline instead of __extern_inline.
61551         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61552         (__signbit): Likewise.
61553         (__signbitl): Support C++ namespace.
61554         (lrintf): New inline function.
61555         (lrint): Likewise.
61556         (llrintf): Likewise.
61557         (llrint): Likewise.
61558         (fmaxf): Likewise.
61559         (fmax): Likewise.
61560         (fminf): Likewise.
61561         (fmin): Likewise.
61562         (rint): Likewise.
61563         (rintf): Likewise.
61564         (ceil): Likewise.
61565         (ceilf): Likewise.
61566         (floor): Likewise.
61567         (floorf): Likewise.
61568         (nearbyint): Likewise.
61569         (nearbyintf): Likewise.
61571 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
61573         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61574         non-default versions.
61576 2012-06-11  Roland McGrath  <roland@hack.frob.com>
61578         [BZ #14218]
61579         * manual/argp.texi (Argp): Reword argp_parse description slightly.
61581 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
61583         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61584         (FE_UPWARD, FE_DOWNWARD): Don't define.
61585         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61586         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61588         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61589         reading it.
61590         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61591         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61593 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61595         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61596         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61597         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61598         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61600 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
61602         [BZ #14117]
61603         * sysdeps/i386/fpu/bits/fenv.h: Removed.
61604         * sysdeps/i386/fpu/Implies: New file.
61605         * sysdeps/x86_64/fpu/Implies: Likewise.
61606         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61607         * sysdeps/x86/fpu/bits/fenv.h: This.
61609         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61610         __SSE_MATH__.
61612 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
61614         [BZ #14134]
61615         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61616         character 0xffff that matches the last element of the
61617         conversion table.
61619 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61621         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61622         fmodl commit.
61624 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61627         values higher than 25.6283.
61629 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61632         subnormal exponent extraction and add some __builtin_expect.
61633         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61634         Fix for subnormal mantissa calculation.
61636 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
61638         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61639         cpu2 is -1 and errno is not ENOSYS.
61641 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
61643         [BZ #14117]
61644         * sysdeps/i386/i486/bits/string.h: Renamed to ...
61645         * sysdeps/x86/bits/string.h: This.
61646         * sysdeps/x86_64/bits/string.h: Removed.
61648         * sysdeps/i386/i486/bits/string.h: Define inline functions only
61649         if not compiling for x86-64, but compiling for >= i486.
61651         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61652         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61654         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61655         New macro from Linux kernel 3.4.0.
61656         (FP_XSTATE_MAGIC2): Likewise.
61657         (FP_XSTATE_MAGIC2_SIZE): Likewise.
61658         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61659         (struct _fpx_sw_bytes): New struct.
61660         (struct _xsave_hdr): Likewise.
61661         (struct _ymmh_state): Likewise.
61662         (struct _xstate): Likewise.
61664         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61665         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61666         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61667         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61668         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61669         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61671         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61672         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61673         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61674         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61675         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61676         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61678 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61680         [BZ #13743]
61681         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61682         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61683         (sysdep_headers): Include sys/platform/ppc.h.
61684         * sysdeps/powerpc/test-gettimebase.c: Test for
61685         __ppc_get_timebase() to catch future ISA opcode/insn changes.
61686         * manual/Makefile (appendices): Include platform.texi.
61687         * manual/contrib.texi (Contributors): Update @node pointers.
61688         * manual/maint.texi (Maintenance): Likewise.
61689         (Platform): New node.
61690         * manual/platform.texi: New file.  Document the new features.
61692 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61693             Jakub Jelinek  <jakub@redhat.com>
61695         [BZ #14188]
61696         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61697         where __builtin_expect is unavailable.
61699 2012-06-03  David S. Miller  <davem@davemloft.net>
61701         * stdlib/longlong.h: Updated from GCC.
61703 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
61705         [BZ #14042]
61706         * sysdeps/powerpc/powerpc32/mcount.c: New file.
61707         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61708         __mcount_internal.
61709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61710         (GLIBC_2.16): Likewise.
61712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61714         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61716 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61719         (default-abi): New variable.
61720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61721         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61722         variable.
61723         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61724         Likewise.
61725         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61726         Likewise.
61727         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61728         Likewise.
61730         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61731         definition.  Document in comment.
61733 2012-06-01  David S. Miller  <davem@davemloft.net>
61735         * stdlib/longlong.h: Updated from GCC.
61737 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61739         [BZ #14117]
61740         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61741         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61742         sys/debugreg.h sys/io.h here.
61743         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61744         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61745         sys/io.h.
61746         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61747         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61748         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61749         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61750         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61751         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61754         Define only if __x86_64__ is defined.
61756 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
61758         [BZ #14048]
61759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61760         Use int64_t for variable i.
61761         * math/libm-test.inc (fmod_test): Add more tests.
61763         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61764         z computation is not scheduled after fetestexcept.
61765         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61766         Use math_force_eval instead of asm to ensure calculation scheduled
61767         before exception test.
61768         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61769         Ensure a1 + u.d computation is not scheduled after fetestexcept.
61771 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
61773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61774         computation is not scheduled after fetestexcept.
61776 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
61778         [BZ #14117]
61779         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61780         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61782 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61784         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61785         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61787 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61789         [BZ #14117]
61790         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61791         <bits/wordsize.h>.
61792         (__WCHAR_MIN): Support __WORDSIZE == 64.
61793         (__WCHAR_MAX): Likewise.
61795         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61796         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61798         [BZ #14183]
61799         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61800         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61802         [BZ #14117]
61803         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61804         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61806         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61807         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61809         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61810         Defined to 1 if __x86_64__ isn't defined.
61811         (_STAT_VER_LINUX_OLD): New.
61812         (st_atime): Remove duplicate.
61813         (st_mtime): Likewise.
61814         (st_ctime): Likewise.
61816 2012-05-31  David S. Miller  <davem@davemloft.net>
61818         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61819         entries.
61821 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
61823         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61824         gen-libm-test.pl.
61826         [BZ #14132]
61827         * elf/dl-reloc.c: Include <_itoa.h>.
61828         (_dl_reloc_bad_type): Remove use of INTUSE.
61829         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61830         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61831         * stdio-common/psiginfo.c (psiginfo): Likewise.
61832         * stdio-common/psignal.c (psignal): Likewise.
61833         * string/strsignal.c (strsignal): Likewise.
61834         * include/signal.h (_sys_siglist): Declare hidden proto.
61835         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
61836         INTVARDEF with libc_hidden_data_def.
61837         * stdio-common/itoa-udigits.c: Likewise.
61838         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61839         (_itoa_lower_digits_internal): Remove declaration.
61840         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61841         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61842         (_sys_sigabbrev_internal): Remove aliases.
61843         (_sys_siglist): Define hidden alias.
61845 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
61847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61848         bits/sysctl.h.
61850 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
61852         [BZ #14117]
61853         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
61854         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
61856         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
61857         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
61858         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
61859         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
61860         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
61861         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
61863         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
61864         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
61865         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
61867         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
61868         with __addr.
61869         (insw): Likewise.
61870         (insl): Likewise.
61871         (outsb): Likewise.
61872         (outsw): Likewise.
61873         (outsl): Likewise.
61875         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61876         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
61877         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
61879         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
61880         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
61881         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
61882         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
61883         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
61884         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
61886         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
61887         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
61889         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
61890         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
61892         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
61893         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
61894         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
61896         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
61897         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
61898         to ...
61899         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
61901         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
61902         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
61903         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
61905         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
61906         for x86-64.
61907         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
61909 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
61911         * math/math.h (M_El): Use two more decimal places.
61912         (M_LOG2El): Likewise.
61913         (M_LOG10El): Likewise.
61914         (M_LN2l): Likewise.
61915         (M_LN10l): Likewise.
61916         (M_PIl): Likewise.
61917         (M_PI_2l): Likewise.
61918         (M_PI_4l): Likewise.
61919         (M_1_PIl): Likewise.
61920         (M_2_PIl): Likewise.
61921         (M_2_SQRTPIl): Likewise.
61922         (M_SQRT2l): Likewise.
61923         (M_SQRT1_2l): Likewise.
61925 2012-05-31  David S. Miller  <davem@davemloft.net>
61927         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
61928         values between float registers.
61929         * sysdeps/sparc/sparc64/memset.S: Likewise.
61930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61932 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
61934         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61935         -D_FORTIFY_SOURCE=1.
61936         (CPPFLAGS-tst-longjmp_chk.c): Define.
61937         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
61938         (CPPFLAGS-tst-longjmp_chk2.c): Define.
61939         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
61940         CFLAGS-tst-wchar-h.c.
61942 2012-05-31  Marek Polacek  <polacek@redhat.com>
61944         [BZ #14132]
61945         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
61946         __endmntent_internal): Remove declaration.
61947         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
61948         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
61949         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
61951 2012-05-30  David S. Miller  <davem@davemloft.net>
61953         * sysdeps/sparc/sparc32/soft-fp/q_util.c
61954         (___Q_simulate_exceptions): Use real FP ops rather than writing
61955         into the %fsr.
61956         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
61957         Likewise.
61959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
61961         [BZ #14117]
61962         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
61963         * sysdeps/x86/bits/xtitypes.h: This.
61965         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
61966         * sysdeps/x86/bits/wordsize.h: This.
61968         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
61969         * sysdeps/x86/bits/huge_vall.h: This.
61971         * sysdeps/i386/bits/select.h: Removed.
61972         * sysdeps/x86_64/bits/select.h: Renamed to ...
61973         * sysdeps/x86/bits/select.h: This.
61975         * sysdeps/i386/bits/setjmp.h: Removed.
61976         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
61977         * sysdeps/x86/bits/setjmp.h: This.
61979         * sysdeps/i386/bits/mathdef.h: Removed.
61980         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
61981         * sysdeps/x86/bits/mathdef.h: This.
61983 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
61985         [BZ #14132]
61986         * include/sys/socket.h (__connect_internal)
61987         (__libc_sa_len_internal): Remove declaration.
61988         (__connect, __libc_sa_len): Declare hidden_proto.
61989         (SA_LEN): Remove use of INTUSE.
61990         * socket/connect.c: Add libc_hidden_def.
61991         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
61992         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
61993         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
61994         alias.
61995         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
61996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
61997         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
61998         of adding _internal alias.
62000 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62002         [BZ #14117]
62003         * sysdeps/i386/bits/link.h: Removed.
62004         * sysdeps/i386/bits/linkmap.h: Likewise.
62005         * sysdeps/x86_64/bits/link.h: Renamed to ...
62006         * sysdeps/x86/bits/link.h: This.
62007         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62008         * sysdeps/x86/bits/linkmap.h: This.
62010         * sysdeps/i386/bits/endian.h: Removed.
62011         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62012         * sysdeps/x86/bits/endian.h: This.
62014         * sysdeps/i386/bits/byteswap.h: Removed.
62015         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62016         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62017         * sysdeps/x86/bits/byteswap.h: This.
62018         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62019         * sysdeps/x86/bits/byteswap-16.h: This.
62020         * sysdeps/i386/Implies: Add x86.
62021         * sysdeps/x86_64/Implies: Likewise.
62023 2012-05-30  David S. Miller  <davem@davemloft.net>
62025         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62026         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62027         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62028         (FP_TRAPPING_EXCEPTIONS): Define.
62029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62030         (FP_TRAPPING_EXCEPTIONS): Define.
62031         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62032         subnormals only when inexact has been signalled or underflow
62033         exceptions are enabled.
62034         (_FP_PACK_CANONICAL): Likewise.
62036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62038         [BZ #14183]
62039         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62040         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62042 2012-05-30  Richard Henderson  <rth@twiddle.net>
62044         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62045         with #ifndef NOT_IN_libc.
62047         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62048         marked to avoid plt entry.
62050 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62052         [BZ #14112]
62053         * Makeconfig (default-abi): New macro.
62054         (abi-includes): Likewise.
62055         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62056         $(abi-$(default-abi)-lib-soname) for soname if defined.
62057         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62058         abi-variants.
62059         * Makefile (installed-stubs): Likewise.
62060         * include/stubs-biarch.h: Removed.
62061         * scripts/lib-names.awk: Only handle one library at a time.
62062         * scripts/soversions.awk: Remove WORDSIZE support.
62063         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62064         entries.
62065         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62066         Removed.
62067         (syscall-list-default-condition): Likewise.
62068         (syscall-list-default-condition): Likewise.
62069         (syscall-list-includes): Likewise.
62070         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62071         syscall-list-* with abi-*.  Handle undefined abi-variants.
62072         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62073         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62074         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62075         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62076         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62077         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62078         Removed.
62079         (syscall-list-32-options): Likewise.
62080         (syscall-list-32-condition): Likewise.
62081         (syscall-list-64-options): Likewise.
62082         (syscall-list-64-condition): Likewise.
62083         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62084         macro.
62085         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62086         Renamed to ...
62087         (abi-*): This.
62088         (abi-64-ld-soname): New macro.
62089         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62090         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62091         Renamed to ...
62092         (abi-*): This.
62093         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62094         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62096 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62098         * sysdeps/unix/sysv/linux/kernel-features.h
62099         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62100         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62101         include <kernel-features.h>.
62102         [!__NR_ftruncate64]: Remove conditional code.
62103         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62104         [__NR_ftruncate64]: Make code unconditional.
62105         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62106         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62107         include <kernel-features.h>.
62108         [!__NR_ftruncate64]: Remove conditional code.
62109         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62110         [__NR_ftruncate64]: Make code unconditional.
62111         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62113         include <kernel-features.h>.
62114         [!__NR_ftruncate64]: Remove conditional code.
62115         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62116         [__NR_ftruncate64]: Make code unconditional.
62117         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62119         include <kernel-features.h>.
62120         [!__NR_ftruncate64]: Remove conditional code.
62121         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62122         [__NR_ftruncate64]: Make code unconditional.
62123         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62125         * configure.in (libc_cv_fpie): Weaken to a compile test using
62126         LIBC_TRY_CC_OPTION.
62127         * configure: Regenerated.
62129 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62135         Refreshed.
62136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62142         Refreshed.
62144 2012-05-27  David S. Miller  <davem@davemloft.net>
62146         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62147         (___Q_zero): New.
62148         (__Q_simulate_exceptions): Return void.  Change to simulate
62149         exceptions by writing into the %fsr.
62150         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62151         (__Qp_handle_exceptions): Likewise.
62152         (numbers): Delete.
62153         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62154         __Qp_handle_exceptions.
62155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62156         __Qp_handle_exceptions.
62157         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62158         as unused and give dummy FP_RND_NEAREST initializer.
62159         (FP_INHIBIT_RESULTS): Define.
62160         (___Q_simulate_exceptions): Update declaration.
62161         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62162         formatting.
62163         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62164         as unused and give dummy FP_RND_NEAREST initializer.
62165         (__Qp_handle_exceptions): Update declaration.
62166         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62167         formatting.
62169 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62171         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62172         the temporary FPU control word.
62173         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62174         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62175         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62176         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62177         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62178         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62179         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62180         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62181         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62182         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62183         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62185 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62187         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62188         fields.
62190 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62192         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62193         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62194         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62195         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62196         Likewise.
62197         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62198         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62199         Likewise.
62201 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62203         * po/h.po: Update from translation team.
62205 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62207         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62209         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62210         handling of denormals.
62211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62212         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62213         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62214         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62218         Likewise.
62220 2012-05-26  Marek Polacek  <polacek@redhat.com>
62222         [BZ #14152]
62223         * math/libm-test.inc (fma_test): Don't always expect underflow
62224         exception.
62226 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62228         [BZ #12416]
62229         * elf/tst-execstack.c: Include stackinfo.h.
62230         (do_test): Adjust test case to ensure that pthread_getattr_np
62231         behaviour remains the same after marking stack executable.
62233 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62235         * sysdeps/unix/sysv/linux/kernel-features.h
62236         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62237         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62238         kernel-features.h.
62239         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62240         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62241         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62242         kernel-features.h.
62243         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62244         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62246 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62248         * configure.in: Define the default includes to being none.
62249         * configure: Regenerated.
62251 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62253         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62254         * sysdeps/x86_64/setjmp.S: Likewise.
62255         * sysdeps/i386/bsd-setjmp.S: Likewise.
62256         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62257         * sysdeps/i386/setjmp.S: Likewise.
62258         * sysdeps/i386/__longjmp.S: Likewise.
62259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62260         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62262         * include/stap-probe.h: New file.
62263         * configure.in: Handle --enable-systemtap.
62264         * configure: Regenerated.
62265         * config.h.in (USE_STAP_PROBE): New #undef.
62266         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62267         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62268         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62270 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62272         [BZ #13717]
62273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62274         to 2.4.0 where earlier.
62275         * sysdeps/unix/sysv/linux/configure: Regenerated.
62276         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62277         <kernel-features.h>.
62278         [__ASSUME_32BITUIDS]: Make code unconditional.
62279         [!__ASSUME_32BITUIDS]: Remove conditional code.
62280         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62281         <kernel-features.h>.
62282         [__ASSUME_32BITUIDS]: Make code unconditional.
62283         [!__ASSUME_32BITUIDS]: Remove conditional code.
62284         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62285         [__ASSUME_32BITUIDS]: Make code unconditional.
62286         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62287         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62288         <kernel-features.h>.
62289         [__ASSUME_32BITUIDS]: Make code unconditional.
62290         [!__ASSUME_32BITUIDS]: Remove conditional code.
62291         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62292         <kernel-features.h>.
62293         [__ASSUME_32BITUIDS]: Make code unconditional.
62294         [!__ASSUME_32BITUIDS]: Remove conditional code.
62295         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62296         <kernel-features.h>.
62297         [__ASSUME_32BITUIDS]: Make code unconditional.
62298         [!__ASSUME_32BITUIDS]: Remove conditional code.
62299         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62300         <kernel-features.h>.
62301         [__ASSUME_32BITUIDS]: Make code unconditional.
62302         [!__ASSUME_32BITUIDS]: Remove conditional code.
62303         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62304         <kernel-features.h>.
62305         [__ASSUME_32BITUIDS]: Make code unconditional.
62306         [!__ASSUME_32BITUIDS]: Remove conditional code.
62307         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62308         <kernel-features.h>.
62309         [__ASSUME_32BITUIDS]: Make code unconditional.
62310         [!__ASSUME_32BITUIDS]: Remove conditional code.
62311         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62312         <kernel-features.h>.
62313         [__ASSUME_32BITUIDS]: Make code unconditional.
62314         [!__ASSUME_32BITUIDS]: Remove conditional code.
62315         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62316         <kernel-features.h>.
62317         [__ASSUME_32BITUIDS]: Make code unconditional.
62318         [!__ASSUME_32BITUIDS]: Remove conditional code.
62319         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62320         <kernel-features.h>.
62321         [__ASSUME_32BITUIDS]: Make code unconditional.
62322         [!__ASSUME_32BITUIDS]: Remove conditional code.
62323         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62324         <kernel-features.h>.
62325         [__ASSUME_32BITUIDS]: Make code unconditional.
62326         [!__ASSUME_32BITUIDS]: Remove conditional code.
62327         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62328         <kernel-features.h>.
62329         [__NR_setresgid] (__setresgid): Do not declare.
62330         [__ASSUME_32BITUIDS]: Make code unconditional.
62331         [!__ASSUME_32BITUIDS]: Remove conditional code.
62332         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62333         <kernel-features.h>.
62334         [__NR_setresuid] (__setresuid): Do not declare.
62335         [__ASSUME_32BITUIDS]: Make code unconditional.
62336         [!__ASSUME_32BITUIDS]: Remove conditional code.
62337         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62338         <kernel-features.h>.
62339         [__ASSUME_32BITUIDS]: Make code unconditional.
62340         [!__ASSUME_32BITUIDS]: Remove conditional code.
62341         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62342         <kernel-features.h>.
62343         [__ASSUME_32BITUIDS]: Make code unconditional.
62344         [!__ASSUME_32BITUIDS]: Remove conditional code.
62345         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62346         <kernel-features.h>.
62347         [__ASSUME_32BITUIDS]: Make code unconditional.
62348         [!__ASSUME_32BITUIDS]: Remove conditional code.
62349         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62350         <kernel-features.h>.
62351         [__ASSUME_32BITUIDS]: Make code unconditional.
62352         [!__ASSUME_32BITUIDS]: Remove conditional code.
62353         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62354         <kernel-features.h>.
62355         [__ASSUME_32BITUIDS]: Make code unconditional.
62356         [!__ASSUME_32BITUIDS]: Remove conditional code.
62357         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62358         <kernel-features.h>.
62359         [__ASSUME_32BITUIDS]: Make code unconditional.
62360         [!__ASSUME_32BITUIDS]: Remove conditional code.
62361         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62362         <kernel-features.h>.
62363         [__ASSUME_32BITUIDS]: Make code unconditional.
62364         [!__ASSUME_32BITUIDS]: Remove conditional code.
62365         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62366         <kernel-features.h>.
62367         [__ASSUME_32BITUIDS]: Make code unconditional.
62368         [!__ASSUME_32BITUIDS]: Remove conditional code.
62369         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62370         <kernel-features.h>.
62371         [__ASSUME_32BITUIDS]: Make code unconditional.
62372         [!__ASSUME_32BITUIDS]: Remove conditional code.
62373         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62374         <kernel-features.h>.
62375         [__ASSUME_32BITUIDS]: Make code unconditional.
62376         [!__ASSUME_32BITUIDS]: Remove conditional code.
62377         * sysdeps/unix/sysv/linux/kernel-features.h
62378         (__ASSUME_SETRESUID_SYSCALL): Remove.
62379         (__ASSUME_SETRESGID_SYSCALL): Likewise.
62380         (__ASSUME_32BITUIDS): Likewise.
62381         (__ASSUME_LDT_WORKS): Likewise.
62382         (__ASSUME_O_DIRECTORY): Likewise.
62383         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62384         architecture but not kernel version.
62385         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62386         (__ASSUME_MMAP2_SYSCALL): Likewise.
62387         (__ASSUME_STAT64_SYSCALL): Likewise.
62388         (__ASSUME_IPC64): Likewise.
62389         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62390         <kernel-features.h>.
62391         [__ASSUME_32BITUIDS]: Make code unconditional.
62392         [!__ASSUME_32BITUIDS]: Remove conditional code.
62393         * sysdeps/unix/sysv/linux/opendir.c: Do not include
62394         <kernel-features.h>.
62395         [__ASSUME_O_DIRECTORY]: Make code unconditional.
62396         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62397         132096]: Remove conditional code.
62398         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62399         * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.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/setegid.c: Do not include
62408         <kernel-features.h>.
62409         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62410         unconditional.
62411         (__setresgid): Do not declare.
62412         [__ASSUME_32BITUIDS]: Make code unconditional.
62413         [!__ASSUME_32BITUIDS]: Remove conditional code.
62414         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62415         <kernel-features.h>.
62416         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62417         unconditional.
62418         (__setresuid): Do not declare.
62419         [__ASSUME_32BITUIDS]: Make code unconditional.
62420         [!__ASSUME_32BITUIDS]: Remove conditional code.
62421         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62422         <kernel-features.h>.
62423         [__ASSUME_32BITUIDS]: Make code unconditional.
62424         [!__ASSUME_32BITUIDS]: Remove conditional code.
62425         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62426         <kernel-features.h>.
62427         [__ASSUME_32BITUIDS]: Make code unconditional.
62428         [!__ASSUME_32BITUIDS]: Remove conditional code.
62430 2012-05-25  Richard Henderson  <rth@twiddle.net>
62432         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62433         dl_hwcap to ifunc resolver.
62434         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62435         elf_ifunc_invoke.
62436         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62437         dl_hwcap to ifunc resolver.
62438         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62440 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62442         [BZ #14153]
62443         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62444         for |x| <= 2**-26, not 2**-57.
62445         * math/libm-test.inc (acos_test): Do not allow spurious underflow
62446         exception.
62448 2012-05-24  Jeff Law  <law@redhat.com>
62450         * stdio-common/Makefile (tests): Add bug25.
62451         * stdio-common/bug25.c: New test.
62453 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62455         [BZ #13576]
62456         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62457         multiple of MALLOC_ALIGNMENT in size.
62458         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62460 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62462         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62463         Require >= 256.
62464         (FILENAME_MAX): Use macro-int-constant.
62465         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
62466         (_IOFBF): Use macro-int-constant.
62467         (_IOLBF): Likewise.
62468         (_IONBF): Likewise.
62469         (SEEK_CUR): Likewise.
62470         (SEEK_END): Likewise.
62471         (SEEK_SET): Likewise.
62472         (TMP_MAX): Likewise.
62473         (EOF): Use macro-int-constant.  Require < 0.
62474         (NULL): Use macro-constant.  Require == 0.
62475         (stdin): Require type to be FILE *.
62476         (stdout): Likewise.
62477         (stderr): Likewise.
62478         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62479         macro-int-constant.
62480         (EXIT_SUCCESS): Likewise.
62481         (NULL): Use macro-constant.  Require == 0.
62482         (RAND_MAX): Use macro-int-constant.
62483         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62484         [C99-based standards] (strtof): Require function.
62485         [C99-based standards] (strtold): Likewise.
62486         [C99-based standards] (strtoll): Likewise.
62487         [C99-based standards] (strtoull): Likewise.
62488         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62489         [ISO || ISO99 || ISO11] (limits.h): Likewise.
62490         [ISO || ISO99 || ISO11] (math.h): Likewise.
62491         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62492         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62495 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
62497         [BZ #14132]
62498         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62499         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62500         * intl/dgettext.c (DCGETTEXT): Likewise.
62501         * intl/gettext.c (DCGETTEXT): Likewise.
62502         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62503         * posix/regex_internal.h (gettext): Likewise.
62504         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62505         Remove declaration.
62506         * include/argz.h (__argz_count_internal)
62507         (__argz_stringify_internal): Remove declaration.
62508         (__argz_count, __argz_stringify): Declare hidden proto.
62509         * intl/dcgettext.c: Remove use of INTDEF.
62510         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62511         * string/argz-stringify.c: Likewise.
62512         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62513         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62514         Declare hidden proto.
62515         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62516         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62517         Declare hidden proto.
62518         * include/stdio.h (__asprintf_internal): Don't declare.
62519         (__asprintf): Don't define as macro.  Declare hidden proto.
62520         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62521         (__fsetlocking): Declare hidden proto.
62522         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62523         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62524         hidden proto.
62525         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62526         (_IO_setlinebuf): Remove use of INTUSE.
62527         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62528         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62529         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62530         Remove declaration.
62531         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62532         (_IO_do_flush): Remove use of INTUSE.
62533         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62534         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62535         (_IO_adjust_column, _IO_least_wmarker)
62536         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62537         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62538         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62539         (_IO_default_doallocate, _IO_wdefault_doallocate)
62540         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62541         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62542         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62543         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62544         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62545         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62546         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62547         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62548         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62549         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62550         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62551         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62552         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62553         proto.
62554         (_IO_flush_all_internal, _IO_adjust_column_internal)
62555         (_IO_default_uflow_internal, _IO_default_finish_internal)
62556         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62557         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62558         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62559         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62560         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62561         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62562         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62563         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62564         (_IO_file_close_internal, _IO_file_close_it_internal)
62565         (_IO_file_underflow_internal, _IO_file_overflow_internal)
62566         (_IO_file_init_internal, _IO_file_attach_internal)
62567         (_IO_file_fopen_internal, _IO_file_read_internal)
62568         (_IO_file_sync_internal, _IO_file_seek_internal)
62569         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62570         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62571         (_IO_str_underflow_internal, _IO_str_overflow_internal)
62572         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62573         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62574         (_IO_list_all_internal, _IO_link_in_internal)
62575         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62576         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62577         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62578         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62579         (_IO_do_write_internal, _IO_padn_internal)
62580         (_IO_getline_info_internal, _IO_getline_internal)
62581         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62582         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62583         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62584         (_IO_vfscanf_internal, _IO_vfprintf_internal)
62585         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62586         (_IO_init_internal, _IO_un_link_internal): Don't declare.
62587         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62588         with libc_hidden_ver, remove use of INTUSE.
62589         * libio/genops.c: Likewise.
62590         * libio/freopen.c: Likewise.
62591         * libio/freopen64.c: Likewise.
62592         * libio/iofclose.c: Likewise.
62593         * libio/iofdopen.c: Likewise.
62594         * libio/iofflush.c: Likewise.
62595         * libio/iofflush_u.c: Likewise.
62596         * libio/iofgets.c: Likewise.
62597         * libio/iofgets_u.c: Likewise.
62598         * libio/iofopen.c: Likewise.
62599         * libio/iofopncook.c: Likewise.
62600         * libio/iofread.c: Likewise.
62601         * libio/iofread_u.c: Likewise.
62602         * libio/ioftell.c: Likewise.
62603         * libio/iofwrite.c: Likewise.
62604         * libio/iogetline.c: Likewise.
62605         * libio/iogets.c: Likewise.
62606         * libio/iogetwline.c: Likewise.
62607         * libio/iopadn.c: Likewise.
62608         * libio/iopopen.c: Likewise.
62609         * libio/ioseekoff.c: Likewise.
62610         * libio/ioseekpos.c: Likewise.
62611         * libio/iosetbuffer.c: Likewise.
62612         * libio/iosetvbuf.c: Likewise.
62613         * libio/ioungetc.c: Likewise.
62614         * libio/ioungetwc.c: Likewise.
62615         * libio/iovdprintf.c: Likewise.
62616         * libio/iovsprintf.c: Likewise.
62617         * libio/iovsscanf.c: Likewise.
62618         * libio/memstream.c: Likewise.
62619         * libio/obprintf.c: Likewise.
62620         * libio/oldfileops.c: Likewise.
62621         * libio/oldiofclose.c: Likewise.
62622         * libio/oldiofdopen.c: Likewise.
62623         * libio/oldiofopen.c: Likewise.
62624         * libio/oldiopopen.c: Likewise.
62625         * libio/oldstdfiles.c: Likewise.
62626         * libio/putc.c: Likewise.
62627         * libio/setbuf.c: Likewise.
62628         * libio/setlinebuf.c: Likewise.
62629         * libio/stdfiles.c: Likewise.
62630         * libio/strops.c: Likewise.
62631         * libio/vasprintf.c: Likewise.
62632         * libio/vscanf.c: Likewise.
62633         * libio/vsnprintf.c: Likewise.
62634         * libio/vswprintf.c: Likewise.
62635         * libio/wfiledoalloc.c: Likewise.
62636         * libio/wfileops.c: Likewise.
62637         * libio/wgenops.c: Likewise.
62638         * libio/wmemstream.c: Likewise.
62639         * libio/wstrops.c: Likewise.
62640         * libio/__fpurge.c: Likewise.
62641         * libio/__fsetlocking.c: Likewise.
62642         * assert/assert.c: Likewise.
62643         * debug/fgets_chk.c: Likewise.
62644         * debug/fgets_u_chk.c: Likewise.
62645         * debug/fread_chk.c: Likewise.
62646         * debug/fread_u_chk.c: Likewise.
62647         * debug/gets_chk.c: Likewise.
62648         * debug/obprintf_chk.c: Likewise.
62649         * debug/vasprintf_chk.c: Likewise.
62650         * debug/vdprintf_chk.c: Likewise.
62651         * debug/vsnprintf_chk.c: Likewise.
62652         * debug/vsprintf_chk.c: Likewise.
62653         * malloc/mtrace.c: Likewise.
62654         * misc/error.c: Likewise.
62655         * misc/syslog.c: Likewise.
62656         * stdio-common/asprintf.c: Likewise.
62657         * stdio-common/fxprintf.c: Likewise.
62658         * stdio-common/getw.c: Likewise.
62659         * stdio-common/isoc99_fscanf.c: Likewise.
62660         * stdio-common/isoc99_scanf.c: Likewise.
62661         * stdio-common/isoc99_vfscanf.c: Likewise.
62662         * stdio-common/isoc99_vscanf.c: Likewise.
62663         * stdio-common/isoc99_vsscanf.c: Likewise.
62664         * stdio-common/printf-prs.c: Likewise.
62665         * stdio-common/printf_fp.c: Likewise.
62666         * stdio-common/printf_fphex.c: Likewise.
62667         * stdio-common/printf_size.c: Likewise.
62668         * stdio-common/putw.c: Likewise.
62669         * stdio-common/scanf.c: Likewise.
62670         * stdio-common/sprintf.c: Likewise.
62671         * stdio-common/tmpfile.c: Likewise.
62672         * stdio-common/vfprintf.c: Likewise.
62673         * stdio-common/vfscanf.c: Likewise.
62674         * stdlib/strfmon_l.c: Likewise.
62675         * sunrpc/openchild.c: Likewise.
62676         * sunrpc/xdr_stdio.c: Likewise.
62677         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62678         * sysdeps/mach/hurd/tmpfile.c: Likewise.
62680 2012-05-24  Roland McGrath  <roland@hack.frob.com>
62682         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62684         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62685         in the third column, to generate for the shared library an IFUNC
62686         that uses _dl_vdso_vsym.
62687         * Makerules (COMPILE.c, compile-stdin.c): New variables.
62688         * Makeconfig (object-suffixes-noshared): New variable.
62690         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62691         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62692         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62693         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62695         [BZ #14132]
62696         * include/sys/time.h (__gettimeofday): Remove macro.
62697         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62698         * time/gettimeofday.c (__gettimeofday): Remove #undef.
62699         Remove INTDEF.
62700         (__gettimeofday): Add libc_hidden_def.
62701         (gettimeofday): Add libc_hidden_weak.
62702         * sysdeps/mach/gettimeofday.c: Likewise.
62703         * sysdeps/posix/gettimeofday.c: Likewise.
62704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62705         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62706         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62707         (__gettimeofday_internal): Remove strong_alias.
62708         (__gettimeofday): Add libc_hidden_def.
62709         (gettimeofday): Add libc_hidden_weak.
62710         * sysdeps/unix/syscalls.list (gettimeofday):
62711         Remove __gettimeofday_internal alias.
62713 2012-05-24  Daniel Jacobowitz  <drow@false.org>
62714             H.J. Lu  <hongjiu.lu@intel.com>
62716         [BZ #12495]
62717         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62718         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62719         (largebin_index_32_big): New.
62720         (largebin_index): Use it for 16-byte alignment.
62721         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
62722         correction with front_misalign.
62724 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
62726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62728         Likewise.
62729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62730         Likewise.
62731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62732         Likewise.
62733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62734         Likewise.
62735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62736         Likewise.
62737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62738         Likewise.
62739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62740         Likewise.
62741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62742         Likewise.
62743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62744         Likewise.
62745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62746         Likewise.
62747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62748         Likewise.
62749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62750         Likewise.
62752         * scripts/data/c++-types-x32-linux-gnu.data: New file.
62753         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62755 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
62757         [BZ #10846]
62758         [BZ #14036]
62759         * math/libm-test.inc (exp_test): Add test from bug 14036.
62760         (pow_test): Add test from bug 10846.
62762         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62763         and other flags.
62764         (special_function): Do not include flags in test name.
62765         (parse_args): Likewise.
62766         * sysdeps/i386/fpu/libm-test-ulps: Update.
62767         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62768         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62769         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62772         * math/gen-libm-test.pl (%beautify): Add entries for underflow
62773         exceptions.
62774         * math/libm-test.inc ("Philosophy"): Update comment about
62775         exception testing.
62776         (UNDERFLOW_EXCEPTION): New macro.
62777         (UNDERFLOW_EXCEPTION_OK): Likewise.
62778         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62779         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62780         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62781         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62782         (INVALID_EXCEPTION_OK): Update value.
62783         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62784         (OVERFLOW_EXCEPTION_OK): Likewise.
62785         (IGNORE_ZERO_INF_SIGN): Likewise.
62786         (test_exceptions): Handle underflow exceptions.
62787         (acos_test): Update for underflow exception expectations.
62788         (cexp_test): Likewise.
62789         (clog_test): Likewise.
62790         (clog10_test): Likewise.
62791         (csqrt_test): Likewise.
62792         (ctan_test): Likewise.
62793         (ctanh_test): Likewise.
62794         (exp_test): Likewise.
62795         (exp10_test): Likewise.
62796         (exp2_test): Likewise.
62797         (expm1_test): Likewise.
62798         (fma_test): Likewise.
62799         (j0_test): Likewise.
62800         (jn_test): Likewise.
62801         (nexttoward_test): Likewise.
62802         (pow_test): Likewise.
62803         (scalbn_test): Likewise.
62804         (scalbln_test): Likewise.
62805         (tan_test): Likewise.
62806         (y1_test): Likewise.
62807         * sysdeps/i386/fpu/libm-test-ulps: Update.
62808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62810 2012-05-23  David S. Miller  <davem@davemloft.net>
62812         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62813         (__libc_sigaction): Remove unused local variables.
62815 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62817         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62819 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
62821         mktime: avoid signed integer overflow
62822         * time/mktime.c (__mktime_internal): Do not mishandle the case
62823         where diff == INT_MIN.
62825         mktime: simplify computation of average
62826         * time/mktime.c (ranged_convert): Use new time_t_avg function
62827         instead of rolling our own (probably-slower) code.
62829         mktime: do not assume signed right shift propagates sign bit
62830         * time/mktime.c (isdst_differ): New static function.
62831         (__mktime_internal): No need to normalize tm_isdst now.
62832         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62833         tm_isdst values.
62835         mktime: merge another wrapv change from gnulib
62836         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62837         from some compilers.
62839         mktime: remove incorrect attempt at unusual arithmetics
62840         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62841         The code didn't really work on such machines anyway.
62842         (TYPE_MINIMUM): Assume two's complement.
62843         (twos_complement_arithmetic): Verify that long_int and time_t
62844         are two's complement (or unsigned, in the latter case).
62846         mktime: check signed shifts on long_int and time_t, too
62847         * time/mktime.c (SHR): Check that shifts work as desired
62848         on the types long_int and time_t too, as SHR is used on
62849         such types.
62851         mktime: do not assume 'long' is wide enough
62852         * time/mktime.c (verify): Move decl up.
62853         (long_int): New type.
62854         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
62855         to remove assumption in the code that 'long' is wide enough to
62856         store year values.  This assumption is not true on x32 and on
62857         some non-glibc platforms.
62859         mktime: merge wrapv change from gnulib
62860         * time/mktime.c (WRAPV): New macro.
62861         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
62862         (guess_time_tm, __mktime_internal): Do not assume that signed
62863         integer overflow wraps around; modern compilers generate code
62864         where this assumption is no longer valid.
62866 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62868         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62869         Replace "jmp L(pseudo_end)" with "ret".
62870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
62871         Likewise.
62873 2012-05-23  Andreas Jaeger  <aj@suse.de>
62875         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
62876         * sysdeps/unix/sysv/linux/poll.c: Remove file.
62878 2012-05-23  Andreas Jaeger  <aj@suse.de>
62879             Maximilian Attems  <max@stro.at>
62881         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
62882         New macros.
62884 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
62886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
62887         code so that pseudo_end is just ret and the stack pointer is
62888         correct also for static library in error case.
62890 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
62892         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
62893         move to syscalls.list.
62894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
62895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
62896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
62897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
62899         * manual/install.texi (Running make install): Do not mention Linux
62900         kernel version for which pt_chown is not needed.
62901         (Linux): Do not mention problems with nscd with 2.0 kernels.
62902         * INSTALL: Regenerated.
62904 2012-05-23  Andreas Jaeger  <aj@suse.de>
62906         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
62907         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
62908         macro.
62909         * sysdeps/unix/sysv/linux/s390/bits/mman.h
62910         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62911         * sysdeps/unix/sysv/linux/sh/bits/mman.h
62912         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62913         * sysdeps/unix/sysv/linux/i386/bits/mman.h
62914         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
62916         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62917         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
62918         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
62919         * sysdeps/unix/sysv/linux/bits/in.h
62920         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
62922 2012-05-22  Roland McGrath  <roland@hack.frob.com>
62924         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
62925         (PREPARE_VERSION): Just use assert instead, it will be elided
62926         under [NDEBUG] anyway.
62928 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62930         * sysdeps/unix/sysv/linux/Makefile: Include
62931         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
62932         (sysdep_routines): Remove sysctl.
62933         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
62934         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
62935         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
62936         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
62937         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
62939 2012-05-22  Andreas Jaeger  <aj@suse.de>
62941         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
62942         that pseudo_end is just ret and the stack pointer is correct also
62943         for static library in error case.
62945 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
62947         [BZ #14122]
62948         * nss/nsswitch.c (defconfig_entries): New variable.
62949         (__nss_database_lookup): Don't leak defconfig entries.
62950         (nss_parse_service_list): Don't leak on error paths.
62951         (free_database_entries): New function.
62952         (free_defconfig): New function.
62953         (free_mem): Move common code to free_database_entries.
62955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62957         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
62958         Add arch_prctl.
62959         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
62961         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
62962         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
62963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
62964         New macro.
62965         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
62966         (INTERNAL_SYSCALL_TYPES): Likewise.
62967         (LOAD_ARGS_TYPES_[1-6]): Likewise.
62968         (LOAD_REGS_TYPES_[1-6]): Likewise.
62969         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
62970         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
62972 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
62975         copysignl for GLIBC_2_0.
62976         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
62977         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
62978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
62979         logbl for GLIBC_2_0.
62980         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
62981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
62983 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
62985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
62986         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
62988         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
62989         Use "neg %eax".
62991         * time/mktime.c: Update copyright years.
62993 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
62995         mktime: merge comment-quoting-style change from gnulib
62996         * time/mktime.c: Quote 'like this' in comments.
62997         The GNU coding standards suggest that we no longer quote `like this',
62998         as "`" and "'" are typically rendered asymmetrically nowadays.
62999         The typical gnulib style is to quote 'like this' when quoting
63000         code, and "like this" when quoting English.
63002         * time/mktime.c (compile-command): Add "-I.".
63004         mktime: merge mktime-internal.h change from gnulib
63005         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63007         mktime: merge time_r change from gnulib
63008         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63010         mktime: merge DEBUG change from gnulib
63011         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63012         case system <time.h> has a #define.
63014         mktime: merge <sys/types.h> change from gnulib
63015         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63016         since <time.t> is now guaranteed to define time_t.
63018         mktime: merge HAVE_CONFIG_H change from gnulib
63019         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63021 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63024         Use "neg %eax".
63026         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63027         __rlim_t cast.
63028         (struct rusage): Use anonymous union to pad each field to
63029         __syscall_slong_t.
63031 2012-05-21  David S. Miller  <davem@davemloft.net>
63033         * Makefules (o-iterator): Remove .s cases.
63034         (compile-command.s): Delete.
63035         (COMPILE.s): Delete.
63036         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63038 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63040         * configure.in (libc_cv_predef_stack_protector): Only consider
63041         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63042         * configure: Regenerated.
63044 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63047         New macro.  Use R*LP on int and pointer.
63048         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63049         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63050         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63051         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63053         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63054         [__WORDSIZE_TIME64_COMPAT32] instead of
63055         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63056         (struct utmp): Likewise.
63057         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63058         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63059         Renamed to ...
63060         (__WORDSIZE_TIME64_COMPAT32): This.
63061         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63062         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63063         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63064         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63065         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63066         (__WORDSIZE_TIME64_COMPAT32): New macro.
63068 2012-05-21  Andreas Jaeger  <aj@suse.de>
63070         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63071         only if [SHARED]. Add prototype for __wcschr_ia32.
63073 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63075         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63076         of %rbp unmolested in the jmp_buf while mangling the low bits.
63077         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63078         unmolested high bits of %rbp while demangling the low bits.
63079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63081 2012-05-21  Andreas Jaeger  <aj@suse.de>
63083         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63084         * sunrpc/svc_simple.c: Use it for registerrpc.
63085         * sunrpc/xcrypt.c: Use it for passwd2des.
63087         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63091         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63092         Don't define if [__SYSCALL_WORDSIZE != 32].
63093         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63094         New macro.
63096 2012-05-21  Bruno Haible  <bruno@clisp.org>
63097             Andreas Jaeger  <aj@suse.de>
63099         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63100         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63101         inptr and inend for must_buffer_ch.
63102         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63103         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63104         * stdio-common/Makefile (tests): Remove bug15.
63105         (bug15-ENV): Remove macro.
63106         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63107         anymore.
63109 2012-05-19  Andreas Jaeger  <aj@suse.de>
63110             Roland McGrath  <roland@hack.frob.com>
63112         * manual/contrib.texi: Completely rewritten. It contains now an
63113         alphabetical list of contributors and their contributions.
63115 2012-05-21  Richard Henderson  <rth@twiddle.net>
63117         * misc/getauxval.c (__getauxval): Use unsigned long int.
63118         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63119         (getauxval): Use unsigned long int.
63121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63123         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63125 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63127         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63128         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63129         __alignof__ (long double).
63131 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63135 2012-05-20  Richard Henderson  <rth@twiddle.net>
63137         * misc/getauxval.c: New file.
63138         * misc/sys/auxv.h: New file.
63139         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63140         (routines): Add getauxval.
63141         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63142         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63143         * elf/dl-sysdep.c (_dl_auxv): Remove.
63144         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63145         * elf/dl-support.c (_dl_auxv): New variable.
63146         (_dl_aux_init): Initialize it.
63147         * manual/startup.texi (Auxiliary Vector): New node.
63148         * sysdeps/generic/bits/hwcap.h: New file.
63149         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63150         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63151         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63152         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63153         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63156         Update.
63157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63166 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63170 2012-05-19  David S. Miller  <davem@davemloft.net>
63172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63174 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63176         [BZ #14123]
63177         * math/s_ccosh.c: Include <float.h>
63178         (__ccosh): Avoid internal overflow calculating sinh and cosh
63179         values before multiplying by sin and cos values.
63180         * math/s_ccoshf.c: Likewise.
63181         * math/s_ccoshl.c: Likewise.
63182         * math/s_csin.c: Likewise.
63183         * math/s_csinf.c: Likewise.
63184         * math/s_csinl.c: Likewise.
63185         * math/s_csinh.c: Likewise.
63186         * math/s_csinhf.c: Likewise.
63187         * math/s_csinhl.c: Likewise.
63188         * math/libm-test.inc (ccos_test): Add more tests.
63189         (ccosh_test): Likewise.
63190         (csin_test): Likewise.
63191         (csinh_test): Likewise.
63192         * sysdeps/i386/fpu/libm-test-ulps: Update.
63193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63195 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63197         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63198         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63200         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63202 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63204         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63205         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63206         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63207         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63208         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63209         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63210         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63211         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63212         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63213         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63214         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63215         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63216         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63217         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63218         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63219         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63220         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63221         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63222         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63223         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63224         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63225         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63226         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63227         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63228         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63229         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63230         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63231         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63232         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63233         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63234         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63236 2012-05-18  Andreas Jaeger  <aj@suse.de>
63238         * csu/.gitignore: Delete.
63240 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63242         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63243         (timex): Use __syscall_slong_t.
63245 2012-05-18  Andreas Jaeger  <aj@suse.de>
63246             Carlos O'Donell  <carlos_odonell@mentor.com>
63248         * manual/install.texi (Configuring and compiling): Update
63249         description about files modified in the source directory.
63250         * INSTALL: Regenerated.
63252 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63254         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63255         value.  Use "or" to set return value to -1.
63256         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63257         negate return value.
63259 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63261         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63262         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63263         failure if the compiler has Graphite support disabled.
63264         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63265         Likewise.
63266         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63267         (CFLAGS-memmove.c): Likewise.
63268         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63269         Likewise.
63271 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63273         * sysdeps/x86_64/x32/_itoa.h: New file.
63275         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63276         getdents system call only if kernel and user dirents have the
63277         same d_ino and d_off.
63279         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63280         LLONG_MAX != LONG_MAX.
63281         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63282         (_fitoa_word): Likewise.
63284         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63285         years.
63286         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63287         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63288         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63290         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63291         include <bits/wordsize.h>.  Check __x86_64__ instead of
63292         __WORDSIZE.
63293         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63294         if __x86_64__ is defined.  Use anonymous union on fpstate.
63296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63297         anonymous union.
63299 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
63301         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63302         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63304         Refer to _rtld_local_ro instead of _rtld_global_ro.
63305         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63306         Likewise.
63307         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63308         Likewise.
63309         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63310         Likewise.
63311         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63312         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63313         of _rtld_global, and rtld_progname instead of _dl_argv[0].
63315         [BZ #10882]
63316         * sysdeps/powerpc/powerpc32/dl-machine.c
63317         (__elf_machine_runtime_setup) [PROF]: Don't reference
63318         _dl_prof_resolve.
63320 2012-05-18  Andreas Jaeger  <aj@suse.de>
63322         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63323         function only available for GCCs before 3.4 since GCC 3.4
63324         introduced a builtin.
63325         (lrint): Likewise.
63326         (llrintf): Likewise.
63327         (llrint): Likewise.
63328         (fmaxf): Likewise.
63329         (fmax): Likewise.
63330         (fminf): Likewise.
63331         (fmin): Likewise.
63332         (rint): Likewise.
63333         (rintf): Likewise.
63334         (nearbyint): Likewise.
63335         (nearbyintf): Likewise.
63336         (ceil): Likewise.
63337         (ceilf): Likewise.
63338         (floor): Likewise.
63339         (floorf): Likewise.
63341 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63343         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63344         on both fields and cast pointer to __syscall_ulong_t.
63346         * bits/types.h (__fsword_t): New type.
63347         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63348         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63349         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63350         (__FSWORD_T_TYPE): Likewise.
63351         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63352         (__FSWORD_T_TYPE): Likewise.
63353         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63354         (__FSWORD_T_TYPE): Likewise.
63355         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63356         (__FSWORD_T_TYPE): Likewise.
63357         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63358         __SWORD_TYPE with __fsword_t.
63359         (statfs64): Likewise.
63361 2012-05-17  David S. Miller  <davem@davemloft.net>
63363         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63365 2012-05-17  Andreas Jaeger  <aj@suse.de>
63367         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63368         warning.
63370 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63372         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63374 2012-05-17  Andreas Jaeger  <aj@suse.de>
63376         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63377         when it is used.
63379 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63381         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63383 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
63385         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63386         * sysdeps/x86_64/tst-mallocalign1.c: New file.
63388 2012-05-17  Andreas Jaeger  <aj@suse.de>
63389             Carlos O'Donell  <carlos_odonell@mentor.com>
63391         [BZ #14059]
63392         * sysdeps/x86_64/multiarch/init-arch.h
63393         (bit_YMM_Usable): Rename to...
63394         (bit_AVX_Usable): ... this.
63395         (bit_FMA4_Usable): New macro.
63396         (bit_XMM_state): New macro.
63397         (bit_YMM_state): New macro.
63398         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63399         [__ASSEMBLER__] (index_AVX_Usable): ... this.
63400         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63401         (CPUID_OSXSAVE): New macro.
63402         (CPUID_AVX): New macro.
63403         (CPUID_FMA4): New macro.
63404         (index_YMM_Usable): Rename to...
63405         (index_AVX_Usable): ... this.
63406         (HAS_AVX): Use HAS_ARCH_FEATURE.
63407         (HAS_FMA4): Likewise.
63408         (HAS_YMM_USABLE): Remove.
63409         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63410         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63411         are present.
63412         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63413         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63414         * sysdeps/x86_64/multiarch/Makefile: Likewise.
63415         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63416         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63418 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
63420         * math/libm-test.c: Support platforms without multiple rounding modes.
63421         * math/bug-nextafter.c: Support platforms without FP exceptions.
63422         * math/bug-nexttoward.c: Likewise.
63423         * math/test-fenv.c: Likewise.
63424         * math/test-misc.c: Likewise.
63425         * stdlib/bug-getcontext.c: Likewise.
63427 2012-05-17  Andreas Jaeger  <aj@suse.de>
63429         * manual/examples/search.c (critter_cmp): Change signature to
63430         avoid warnings.
63431         * manual/string.texi (Collation Functions): Likewise.
63433 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63435         * bits/types.h: Fold copyright years.
63436         * bits/typesizes.h: Likewise.
63437         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63439         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63440         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63441         * time/time.h: Likewise.
63443 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
63445         [BZ #208]
63446         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63447         in instead of returning them.  Return void.
63448         (__libc_mallinfo): Accumulate over all arenas.
63449         (__malloc_stats): Adjust for change in int_mallinfo interface.
63451 2012-05-16  Roland McGrath  <roland@hack.frob.com>
63453         [BZ #10375]
63454         * configure.in (NM): Add AC_CHECK_TOOL for it.
63455         (libc_extra_cflags): New substituted variable.
63456         Check for -fstack-protector being used implicitly.
63457         * configure: Regenerated.
63458         * config.make.in (config-extra-cflags): New variable,
63459         gets @libc_extra_cflags@.
63460         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63462         [BZ #10375]
63463         * configure.in: Check for _FORTIFY_SOURCE being predefined.
63464         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63465         * configure: Regenerated.
63466         * config.make.in (CPPUNDEFS): New substituted variable.
63467         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63468         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63469         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63471 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63473         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63474         (mq_attr): Use __syscall_slong_t.
63476 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63478         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63479         Check __x86_64__ instead of __WORDSIZE.
63480         (_STAT_VER_LINUX): Likewise.
63481         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
63482         __syscall_ulong_t and __syscall_slong_t.
63483         (stat64): Likewise.
63485 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63487         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63489 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63491         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63493 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63495         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63496         __syscall_ulong_t.
63498         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63499         include <bits/wordsize.h>.  Check __x86_64__ instead of
63500         __WORDSIZE.
63501         (greg_t): Use "__extension__ long long int" if __x86_64__ is
63502         defined.
63503         (mcontext_t): Replace "unsigned long" with "unsigned long long".
63505         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63506         include <bits/wordsize.h>.  Check __x86_64__ instead of
63507         __WORDSIZE.
63508         (user_regs_struct): Use "__extension__ unsigned long long"
63509         instead of "unsigned long" if __x86_64__ is defined.
63510         (user): Likewise.  Pad after pointer field if __ILP32__ is
63511         defined.
63513 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
63515         * configure.in (makeinfo): Require version 4.5 or later.  Allow
63516         versions 5 to 9.
63517         * configure: Regenerated.
63518         * manual/install.texi (texinfo): Increase version requirement to
63519         4.5 or later.
63520         * INSTALL: Regenerated.
63522         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
63526         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63528         * sysdeps/x86_64/x32/ffs.c: New file.
63530         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63531         __syscall_ulong_t.
63532         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63533         defined.  Use __syscall_ulong_t.
63534         (shminfo): Use __syscall_ulong_t.
63535         (shm_info): Likewise.
63537         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63538         __syscall_ulong_t.
63540         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63541         <bits/wordsize.h>.
63542         (msgqnum_t): Use __syscall_ulong_t.
63543         (msglen_t): Likewise.
63544         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
63545         __syscall_ulong_t.
63547         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63548         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63550         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63552         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63553         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63555         * sysvipc/sys/msg.h (msgbuf): Replace long int with
63556         __syscall_slong_t.
63558         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63559         include <bits/wordsize.h>.  Check __x86_64__ instead of
63560         __WORDSIZE.
63562         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63563         "unsigned long long int" if __x86_64__ is defined.
63564         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63566         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63567         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63568         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63570         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63571         <stdint.h>.
63572         (GET_PC): Cast to uintptr_t first.
63573         (GET_FRAME): Likewise.
63574         (GET_STACK): Likewise.
63576         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63577         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63578         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63579         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63580         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63581         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63582         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63583         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63584         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63585         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63586         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63587         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63588         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63589         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63590         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63591         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63592         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63593         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63594         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63596         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63597         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63598         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63599         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63600         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63601         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63602         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63603         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63604         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63606 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
63608         * Makerules (+depfiles): Also collect depfiles from .oS in
63609         $(extra-objs).
63610         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63611         .oS, $(libnldbl-routines)).
63613         * Makerules (native-compile-mkdep-flags): Define.
63614         * sunrpc/Makefile (extra-objs): Add $(addprefix
63615         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63616         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63617         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
63618         calling $(make-target-directory).
63620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63622         * bits/types.h (__snseconds_t): Removed.
63623         * time/time.h (struct timespec): Replace __snseconds_t with
63624         __syscall_slong_t.
63625         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63626         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63627         Likewise.
63628         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63629         (__SNSECONDS_T_TYPE): Likewise.
63630         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63631         (__SNSECONDS_T_TYPE): Likewise.
63632         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63633         (__SNSECONDS_T_TYPE): Likewise.
63635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63637         * sysdeps/mach/hurd/bits/typesizes.h
63638         (__SYSCALL_SLONG_TYPE): New macro.
63639         (__SYSCALL_ULONG_TYPE): Likewise.
63641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63643         * bits/types.h (__syscall_slong_t): New type.
63644         (__syscall_ulong_t): Likewise.
63646         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63647         (__SYSCALL_ULONG_TYPE): Likewise.
63648         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63649         (__SYSCALL_SLONG_TYPE): Likewise.
63650         (__SYSCALL_ULONG_TYPE): Likewise.
63651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63652         (__SYSCALL_SLONG_TYPE): Likewise.
63653         (__SYSCALL_ULONG_TYPE): Likewise.
63654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63655         (__SYSCALL_SLONG_TYPE): Likewise.
63656         (__SYSCALL_ULONG_TYPE): Likewise.
63658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63660         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63661         Add sigaltstack-offsets.sym.
63662         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63663         <sigaltstack-offsets.h>.
63664         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
63665         longjmp_msg pointer.
63666         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
63667         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63668         signal stack.
63669         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63671 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63673         * elf/stackguard-macros.h: Remove file.
63674         * sysdeps/generic/stackguard-macros.h: New file.
63675         * sysdeps/i386/stackguard-macros.h: Likewise.
63676         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63677         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63678         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63679         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63680         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63681         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63682         * sysdeps/x86_64/stackguard-macros.h: Likewise.
63683         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63684         <elf/stackguard-macros.h>.
63686         [BZ #14109]
63687         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63688         __aligned__ in attribute.
63689         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63690         (gregset_t): Likewise.
63692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63694         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63695         * sysdeps/x86_64/64/Implies-after: Here.  New file.
63696         * sysdeps/x86_64/x32/Implies-after: New file.
63698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63700         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63701         and access return value for _dl_profile_fixup.  Use R10_LP to
63702         load frame size.
63704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63706         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63710         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63711         * sysdeps/x86_64/x32/sysdep.h: New file.
63713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63715         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63716         * sysdeps/x86_64/setjmp.S: Likewise.
63718 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63720         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63721         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63722         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63723         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63724         remove unused global constant.
63726 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
63728         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63729         include of <not-cancel.h>.
63731 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63733         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63735 2012-05-15  Jeff Law  <law@redhat.com>
63736             Andreas Jaeger  <aj@suse.de>
63738         [BZ #13594]
63739         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63740         out from...
63741         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63742         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63743         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63744         code changing __hst_map_handle.map.
63746 2012-05-15  Roland McGrath  <roland@hack.frob.com>
63748         * configure.in (sysnames): Look for Implies-before and Implies-after
63749         files.
63750         * configure: Regenerated.
63752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63755         8-byte data alignment with LP_SIZE alignment.
63757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63759         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63760         into R10_LP.
63762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63764         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63768         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63769         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63770         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63771         Likewise.
63772         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63776         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63777         (stackinfo_sub_sp): Likewise.
63779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63781         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63782         RAX_LP.
63784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63786         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63787         into R*_LP.
63789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63791         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63792         sizes into R*_LP.
63794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63796         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63800         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63801         into R11_LP and load __x86_64_shared_cache_size_half into
63802         R8_LP.
63804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
63806         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63807         R8_LP.
63809 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63812         logb for POWER7.
63813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63814         logbf for POWER7.
63815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63816         logbl for POWER7.
63817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63818         powerpc32/power7/fpu/s_logb.c via #include.
63819         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63820         powerpc32/power7/fpu/s_logbf.c via #include.
63821         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63822         powerpc32/power7/fpu/s_logbl.c via #include.
63824 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
63826         * README.libm: Remove file.
63828 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63830         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63831         count for x32.  Use R*_LP and omit operand-size suffix.
63833 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63835         * shlib-versions: Move x86_64-.*-linux.* entries to ...
63836         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
63837         * sysdeps/x86_64/x32/shlib-versions: New file.
63839 2012-05-14  Roland McGrath  <roland@hack.frob.com>
63841         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63842         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63843         Use _dl_fatal_printf instead.
63845 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63847         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
63848         set if not set by the user.  Do not allow for being unset.
63849         * sysdeps/unix/sysv/linux/configure: Regenerated.
63851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63853         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
63854         the `q' suffix from lea and replace .quad with ASM_ADDR.
63856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
63859         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
63860         instead of $17.
63861         (PTR_DEMANGLE): Likewise.
63863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63865         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
63866         (LP_OP): Likewise.
63867         (ASM_ADDR): Likewise.
63868         (RAX_LP): Likewise.
63869         (RBP_LP): Likewise.
63870         (RBX_LP): Likewise.
63871         (RCX_LP): Likewise.
63872         (RDI_LP): Likewise.
63873         (RSI_LP): Likewise.
63874         (RSP_LP): Likewise.
63875         (R8_LP): Likewise.
63876         (R9_LP): Likewise.
63877         (R10_LP): Likewise.
63878         (R10_LP): Likewise.
63879         (R11_LP): Likewise.
63880         (R12_LP): Likewise.
63881         (R13_LP): Likewise.
63882         (R14_LP): Likewise.
63883         (R15_LP): Likewise.
63885 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
63887         * sysdeps/x86_64/x32/dl-machine.h: New file.
63889 2012-05-14  Andreas Jaeger  <aj@suse.de>
63891         * manual/Makefile (subdir): Remove export of subdir.
63892         (all): Remove target.
63893         (.PHONY): Remove all from list.
63894         (mkinstalldirs): Remove.
63895         (.PHONY): Remove installdirs from list.
63896         ($(inst_infodir)/libc.info): Use make-target-directory.
63897         (installdirs): Remove.
63898         (subdir_%): Remove.
63899         (glibc-targets): Remove.
63900         (lib): Remove.
63901         (stubs): Remove.
63902         ($(objpfx)stubs ../po/manual.pot): Remove.
63903         ($(objpfx)stamp%): Remove.
63904         (make-target-directory): Remove.
63905         (subdir_install): Remove.
63906         (routines): Remove.
63907         (aux): Remove.
63908         (sources): Remove.
63909         (objects): Remove.
63910         (headers): Remove.
63912         [BZ #13750]
63913         * manual/.gitignore: Remove, it's not needed anymore.
63914         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
63915         all files in it.
63916         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
63917         directory.
63918         (texis): Renamed to $(objpfx)texis.
63919         (texis-path): New, contains path to generated files.
63920         (chapters.%): Use texis-path for complete path, add extra argument
63921         libc-texinfo.sh.
63922         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
63923         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
63924         (summary,texi, stamp-summary): Use complete path of
63925         files. Generate files in build dir.
63926         (dir-add.texi): Build in build dir.
63927         (libm-err.texi,stamp-libm-err): Likewise.
63928         (version.texi, stamp-version): Likewise.
63929         (.%c.texi): Likewise.
63930         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
63931         (mostlyclean): Remove target.
63932         (realclean): Remove target.
63933         (generated): Add new variable with contents from mostlyclean and
63934         realclean, remove entries duplicated in common-mostlyclean, add
63935         stamp-libm-err and stamp-version.
63936         (generated-dirs): Add libc directory.
63937         ($(inst_infodir)/libc.info): Install files from build dir.
63939         * manual/install.texi (Configuring and compiling): Adjust since
63940         the info files are not part of the tar ball anymore.
63942 2012-05-14  Andreas Jaeger  <aj@suse.de>
63944         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
63945         variable.
63947 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
63949         [BZ #13717]
63950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63951         to 2.2.0 where earlier.
63952         * sysdeps/unix/sysv/linux/configure: Regenerated.
63953         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
63954         Remove conditional code.
63955         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
63956         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
63957         Remove conditional code.
63958         [!__NR_lchown]: Likewise.
63959         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63960         [__NR_lchown]: Likewise.
63961         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
63962         comment referencing __ASSUME_LCHOWN_SYSCALL.
63963         * sysdeps/unix/sysv/linux/i386/sigaction.c
63964         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
63965         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
63966         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
63967         Remove conditional code.
63968         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
63969         (__protocol_available): Remove #if 0 code.
63970         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
63971         conditional code.
63972         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
63973         * sysdeps/unix/sysv/linux/kernel-features.h
63974         (__ASSUME_GETCWD_SYSCALL): Don't define.
63975         (__ASSUME_REALTIME_SIGNALS): Likewise.
63976         (__ASSUME_PREAD_SYSCALL): Likewise.
63977         (__ASSUME_PWRITE_SYSCALL): Likewise.
63978         (__ASSUME_POLL_SYSCALL): Likewise.
63979         (__ASSUME_LCHOWN_SYSCALL): Likewise.
63980         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
63981         non-SPARC.
63982         (__ASSUME_SIOCGIFNAME): Don't define.
63983         (__ASSUME_MSG_NOSIGNAL): Likewise.
63984         (__ASSUME_SENDFILE): Define unconditionally.
63985         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
63986         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
63987         conditional code.
63988         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
63989         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
63990         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63991         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63992         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
63993         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
63994         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
63995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
63996         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
63997         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
63998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
63999         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64000         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64002         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64005         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64008         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64011         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64019         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64020         Remove conditional code.
64021         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64022         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64023         Remove conditional code.
64024         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64025         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64026         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64027         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64028         Remove conditional code.
64029         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64030         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64031         Remove conditional code.
64032         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64033         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64034         Remove conditional code.
64035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64036         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64037         Remove conditional code.
64038         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64039         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64040         Remove conditional code.
64041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64042         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64043         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64044         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64045         * sysdeps/unix/sysv/linux/sigaction.c
64046         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64047         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64048         * sysdeps/unix/sysv/linux/sigpending.c
64049         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64050         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64051         * sysdeps/unix/sysv/linux/sigprocmask.c
64052         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64053         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64054         * sysdeps/unix/sysv/linux/sigsuspend.c
64055         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64056         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64057         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64058         (__libc_missing_rt_sigs): Remove.
64059         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64060         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64061         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64062         Remove conditional code.
64063         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64064         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64065         return 1.
64066         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64067         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64068         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64069         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64071 2012-05-14  Andreas Jaeger  <aj@suse.de>
64073         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64074         it's not used in glibc.
64075         (__coshm1): Likewise.
64076         (__acosh1p): Likewise.
64077         (__sgn): Likewise.
64079         * manual/string.texi (Copying and Concatenation): Add missing
64080         variable in concat example.
64081         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64085         [BZ #14103]
64086         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64087         __builtin_clzl with __builtin_clzll.
64089 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64091         [BZ #14104]
64092         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64093         libc_freeres_ptr.
64095 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64097         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64098         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64099         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64100         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64102 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64104         * NEWS: Update ia64 info.
64106 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64108         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64109         used as bcopy.
64111 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64113         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64114         * sysdeps/unix/syscalls.list (dup3): Likewise.
64115         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64116         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64118 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64120         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64121         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64123 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64125         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64126         thread pointer.
64127         (TLS_IE): Use mov/add instead of movq/addq to load thread
64128         pointer.
64129         (TLS_GD_PREFIX): New.
64130         (TLS_GD): Use it.
64132 2012-05-11  David S. Miller  <davem@davemloft.net>
64134         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64135         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64136         (_FPU_SETCW): Likewise.
64138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64140         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64141         is 32-byte aligned.
64143 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64145         [BZ #11837]
64146         * iconvdata/gb18030.c: Update tables.
64147         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64148         characters specially.
64149         (BODY for TO_LOOP): Add encoding of missing ranges.
64151 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64153         [BZ #13673]
64154         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64155         * sysdeps/mach/hurd/dup3.c: Likewise.
64156         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64157         * sysdeps/powerpc/memmove.c:: Likewise.
64159 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64161         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64162         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64164 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64166         * elf/elf.h (R_X86_64_RELATIVE64): New.
64167         (R_X86_64_NUM): Updated.
64168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64169         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64170         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64171         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64172         tst-quad1pie tst-quad2pie
64173         (modules-names): Add tst-quadmod1 tst-quadmod2.
64174         ($(objpfx)tst-quad1): New dependency.
64175         ($(objpfx)tst-quad2): Likewise.
64176         ($(objpfx)tst-quad1pie): Likewise.
64177         ($(objpfx)tst-quad2pie): Likewise.
64178         * sysdeps/x86_64/tst-quad1.c: New file.
64179         * sysdeps/x86_64/tst-quad1pie.c: New file.
64180         * sysdeps/x86_64/tst-quad2.c: Likewise.
64181         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64182         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64183         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64184         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64185         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64187 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64189         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64190         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64191         * streams/stropts.h (t_scalar_t): Define type.
64193         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64194         (_PATH_PRESERVE): Set to "/var/lib".
64195         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64197         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64198         instead of int.
64200         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64201         if __dir_mkfile succeeded.
64203         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64204         checking for _hurd_dtablesize.  Unlock it right after having
64205         finished _hurd_dtable allocation.
64207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64209         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64210         * sysdeps/mach/hurd/configure: Regenerated.
64211         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64212         special-casing to...
64213         * sysdeps/gnu/configure.in: ... this new file.
64214         * sysdeps/unix/sysv/linux/configure: Regenerated.
64215         * sysdeps/gnu/configure: New generated file.
64217         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64218         for Linux: use nsec instead of usec, as well as:
64219         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64220         members of type struct timespec.
64221         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64222         New macros.
64223         (struct stat64): Likewise.
64224         (_STATBUF_ST_NSEC): New macro.
64225         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64227         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64228         __strtoul_internal rather than strtoul.
64230 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64232         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64233         and reject them.
64235 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64237         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64238         which preserves existing values.
64239         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64241 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64243         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64244         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64245         greater than FD_SETSIZE.
64247 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64249         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64250         allocated, call __vm_protect to finish enabling the existing space, and
64251         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64252         allocate the remainder.
64254 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64256         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64257         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64259 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64261         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64262         sysdeps/mach/hurd/readlink.c.
64264         * posix/tst-sysconf.c (posix_options): Only use
64265         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64266         _POSIX_SYNCHRONIZED_IO when they are defined
64267         * sysdeps/mach/hurd/bits/posix_opt.h:
64268         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64269         (_XOPEN_REALTIME): Undefine macro.
64270         (_XOPEN_REALTIME_THREADS): Undefine macro.
64271         (_XOPEN_SHM): Undefine macro.
64272         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64273         macro to -1.
64274         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64275         macro to -1.
64276         (_POSIX_ASYNC_IO): Undefine macro.
64277         (_POSIX_PRIORITIZED_IO): Undefine macro.
64278         (_POSIX_SPIN_LOCKS): Define macro to -1.
64280         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64281         SA_NODEFER, SA_RESETHAND.
64282         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64283         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64284         F_DUPFD_CLOEXEC.
64286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64288         * elf/Makefile (pldd-modules): Define unconditionally.
64290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64292         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64296         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64297         Return ENOENT when name is empty.
64298         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64302         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64304         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64308         Fix mlock in all cases except non-readable pages.
64309         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64310         instead of VM_PROT_ALL as parameter to __vm_wire function.
64312         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64313         (__mkdir): When path is `/', just fail with EEXIST.
64314         * sysdeps/mach/hurd/mkdirat.c: Likewise.
64316 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64318         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64319         <sys/uio.h> (for writev).
64320         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64321         and <sys/param.h> (for MIN).
64323 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64325         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64326         REQUESTED_TIME.  Properly set the remaining time and return EINTR
64327         if interrupted.
64329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64331         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64332         Depend on against $(link-rpcuserlibs).
64334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64336         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64337         (__libc_stack_end): Do not use attribute_relro.
64338         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64339         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64340         to libthread-provided value.
64341         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64342         attribute_relro.
64344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64346         [BZ #3748]
64347         * bits/libc-lock.h (__libc_once_get): New macro.
64348         * sysdeps/mach/bits/libc-lock.h: Likewise.
64349         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64350         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64351         instead of using implementation details.
64353         * libio/fileops.c: Unconditionally include <kernel-features.h>.
64354         * libio/freopen.c: Likewise.
64355         * libio/freopen64.c: Likewise.
64356         * misc/syslog.c: Likewise.
64357         * nscd/connections.c: Likewise.
64358         * nscd/netgroupcache.c: Likewise.
64359         * sysdeps/posix/getcwd.c: Likewise.
64361 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64363         * math/w_ilogbf.c: Add #include <limits.h>.
64365 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64367         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64368         path instead of returning without unlocking.
64370         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64371         immediate-write ioctls.
64372         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64376         * sysdeps/mach/hurd/i386/init-first.c (init): Use
64377         __builtin_frame_address instead of making assumptions about the
64378         location of the return address relative to DATA.  Force early load of
64379         the return address.
64380         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64381         __builtin_frame_address.
64383         dup3 for GNU Hurd.
64384         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64385         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
64386         implement dup3 and do some further code clean-ups.
64387         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64388         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64390 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64392         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64394         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64395         HURD_CRITICAL_END around holding _hurd_dtable_lock.
64396         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64397         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64398         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64399         d->port.lock.
64401         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64402         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
64403         when handler == SIG_ERR, not when handler != SIG_ERR.
64405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64407         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64408         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64409         definitions.
64411         accept4 for GNU Hurd.
64412         * include/sys/socket.h (__libc_accept4): New prototype.
64413         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
64414         to implement __libc_accept4.
64415         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64416         __libc_accept4.
64417         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64419         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64420         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64421         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64422         signal-defines.sym.
64424 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64426         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64430         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64431         assertion on O_CLOEXEC flag.
64432         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64433         * hurd/intern-fd.c: Likewise.
64434         * hurd/port2fd.c: Likewise.
64436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64438         [BZ #3906]
64439         * bits/in.h (IPV6_PKTINFO): Define new macro.
64440         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64442 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64444         [BZ #13954]
64445         [BZ #13955]
64446         [BZ #13956]
64447         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64448         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64449         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64450         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64452         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64453         * math/libm-test.inc (logb_test) : Additional logb tests.
64455 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
64456             Andreas Jaeger  <aj@suse.de>
64458         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64459         * configure: Regenerated.
64460         * config.h.in (LINK_OBSOLETE_RPC): New macro.
64461         * config.make.in (link-obsolete-rpc): New substituted variable.
64462         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64463         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64464         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64465         (shared-only-routines): Don't set it under [link-obsolete-rpc],
64466         so that libc.a contains the symbols.
64467         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64468         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64469         * sunrpc/auth_none.c: Likewise.
64470         * sunrpc/auth_unix.c: Likewise.
64471         * sunrpc/authdes_prot.c: Likewise.
64472         * sunrpc/authuxprot.c: Likewise.
64473         * sunrpc/clnt_gen.c: Likewise.
64474         * sunrpc/clnt_perr.c: Likewise.
64475         * sunrpc/clnt_raw.c: Likewise.
64476         * sunrpc/clnt_simp.c: Likewise.
64477         * sunrpc/clnt_tcp.c: Likewise.
64478         * sunrpc/clnt_udp.c: Likewise.
64479         * sunrpc/clnt_unix.c: Likewise.
64480         * sunrpc/des_crypt.c: Likewise.
64481         * sunrpc/des_soft.c: Likewise.
64482         * sunrpc/get_myaddr.c: Likewise.
64483         * sunrpc/key_call.c: Likewise.
64484         * sunrpc/key_prot.c: Likewise.
64485         * sunrpc/netname.c: Likewise.
64486         * sunrpc/pm_getmaps.c: Likewise.
64487         * sunrpc/pm_getport.c: Likewise.
64488         * sunrpc/pmap_clnt.c: Likewise.
64489         * sunrpc/pmap_prot.c: Likewise.
64490         * sunrpc/pmap_prot2.c: Likewise.
64491         * sunrpc/pmap_rmt.c: Likewise.
64492         * sunrpc/publickey.c: Likewise.
64493         * sunrpc/rpc_cmsg.c: Likewise.
64494         * sunrpc/rpc_common.c: Likewise.
64495         * sunrpc/rpc_dtable.c: Likewise.
64496         * sunrpc/rpc_prot.c: Likewise.
64497         * sunrpc/rpc_thread.c: Likewise.
64498         * sunrpc/rtime.c: Likewise.
64499         * sunrpc/svc.c: Likewise.
64500         * sunrpc/svc_auth.c: Likewise.
64501         * sunrpc/svc_raw.c: Likewise.
64502         * sunrpc/svc_run.c: Likewise.
64503         * sunrpc/svc_tcp.c: Likewise.
64504         * sunrpc/svc_udp.c: Likewise.
64505         * sunrpc/svc_unix.c: Likewise.
64506         * sunrpc/svcauth_des.c: Likewise.
64507         * sunrpc/xcrypt.c: Likewise.
64508         * sunrpc/xdr.c: Likewise.
64509         * sunrpc/xdr_array.c: Likewise.
64510         * sunrpc/xdr_float.c: Likewise.
64511         * sunrpc/xdr_intXX_t.c: Likewise.
64512         * sunrpc/xdr_mem.c: Likewise.
64513         * sunrpc/xdr_rec.c: Likewise.
64514         * sunrpc/xdr_ref.c: Likewise.
64515         * sunrpc/xdr_sizeof.c: Likewise.
64516         * sunrpc/xdr_stdio.c: Likewise.
64518 2012-05-10  Roland McGrath  <roland@hack.frob.com>
64520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64521         change.  Update copyright years.
64523 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64525         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64527 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
64528             Joseph Myers  <joseph@codesourcery.com>
64529             Paul Pluzhnikov  <ppluzhnikov@google.com>
64531         [BZ #14012]
64532         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64533         requiring rpcgen.
64534         [cross-compiling] (extra-libs): Likewise.
64535         [cross-compiling] (extra-libs-others): Likewise.
64536         [cross-compiling] (librpcsvc-routines): Likewise.
64537         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64538         [cross-compiling] (omit-deps): Likewise.
64539         (sunrpc-CPPFLAGS): New variable.
64540         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64541         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64542         (cross-rpcgen-objs): New variable.
64543         (extra-objs): Append $(cross-rpcgen-objs).
64544         ($(cross-rpcgen-objs)): New rule.
64545         ($(objpfx)cross-rpcgen): Likewise.
64546         (rpcgen-cmd): Define to use $(built-program-file).  Expand
64547         comment.
64548         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64549         ($(objpfx)x%.stmp): Likewise.
64550         * sunrpc/proto.h [IS_IN_build] (_): Define.
64551         [IS_IN_build] (_libc_intl_domainname): Likewise.
64553 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64556         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64557         and R_X86_64_TPOFF64.
64559 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
64561         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64562         sysdeps/unix/sysv/syscalls.list.
64563         (stime): Likewise.
64564         (utime): Likewise.
64565         * sysdeps/unix/sysv/syscalls.list: Remove file.
64567 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
64569         [BZ #3440]
64570         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64571         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64572         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64573         (__LC_IDENTIFICATION): Make these macros useful in #if
64574         expressions, as required by C99.
64576 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
64578         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64579         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
64580         after this.
64582 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
64584         * stdlib/longlong.h: Updated from GCC.
64586 2012-05-09  Andreas Jaeger  <aj@suse.de>
64588         * nscd/nscd.c (run_modes): Make named enum, reorder so that
64589         default is first entry.
64590         (run_mode): Set type.
64591         (main): Remove informal message about syslog.
64592         (options): Fix typo.
64594         [BZ #14053]
64595         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64596         to asm.
64597         (lrint): Likewise.
64598         (llrintf): Likewise.
64599         (llrint): Likewise.
64600         (rint): Likewise.
64601         (rintf): Likewise.
64602         (nearbyint): Likewise.
64603         (nearbyintf): Likewise.
64605 2012-05-09  Andreas Jaeger  <aj@suse.de>
64606             Pedro Alves  <palves@redhat.com>
64608         * nscd/nscd.c (run_mode): Use enum.
64609         (main): Cleanup coding style issue.
64611 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
64612             Andreas Jaeger  <aj@suse.de>
64614         * nscd/nscd.c (go_background): Replaced with...
64615         (run_mode): ... this.
64616         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64617         (options): Add -F --foreground.
64618         (main): Implement it.
64619         (parse_opt): Parse it.
64621 2012-05-09  Andreas Jaeger  <aj@suse.de>
64623         [BZ #14083]
64624         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64625         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64626         -Wconversion warning.
64627         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64628         Likewise.
64630 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
64632         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
64633         == 0.
64634         (LC_ALL): Use macro-int-constant.
64635         (LC_COLLATE): Likewise.
64636         (LC_CTYPE): Likewise.
64637         (LC_MESSAGES): Likewise.
64638         (LC_MONETARY): Likewise.
64639         (LC_NUMERIC): Likewise.
64640         (LC_TIME): Likewise.
64641         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64642         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64644         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64645         Specify type.
64646         [C99-based standards] (float_t): Expect type.
64647         [C99-based standards] (double_t): Expect type.
64648         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
64649         type.
64650         [C99-based standards] (HUGE_VALL): Likewise.
64651         [C99-based standards] (INFINITY): Likewise.
64652         [C99-based standards] (NAN): Likewise.
64653         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64654         [C99-based standards] (FP_NAN): Likewise.
64655         [C99-based standards] (FP_NORMAL): Likewise.
64656         [C99-based standards] (FP_SUBNORMAL): Likewise.
64657         [C99-based standards] (FP_ZERO): Likewise.
64658         [C99-based standards] (FP_FAST_FMA): Use
64659         optional-macro-int-constant.  Specify type.  Require == 1.
64660         [C99-based standards] (FP_FAST_FMAF): Likewise.
64661         [C99-based standards] (FP_FAST_FMAL): Likewise.
64662         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64663         [C99-based standards] (FP_ILOGBNAN): Likewise.
64664         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64665         Specify type.
64666         [C99-based standards] (MATH_ERREXCEPT): Likewise.
64667         [C99-based standards] (math_errhandling): Specify type.
64668         [ISO99 || ISO11] (signgam): Do not allow.
64669         [non-C99-based standards] (copysignf): Do not allow.
64670         [non-C99-based standards] (exp2f): Likewise.
64671         [non-C99-based standards] (log2f): Likewise.
64672         [non-C99-based standards] (modff): Allow.
64673         [non-C99-based standards] (erff): Do not allow.
64674         [non-C99-based standards] (erfcf): Likewise.
64675         [non-C99-based standards] (gammaf): Likewise.
64676         [non-C99-based standards] (hypotf): Likewise.
64677         [non-C99-based standards] (j0f): Likewise.
64678         [non-C99-based standards] (j1f): Likewise.
64679         [non-C99-based standards] (jnf): Likewise.
64680         [non-C99-based standards] (lgammaf): Likewise.
64681         [non-C99-based standards] (tgammaf): Likewise.
64682         [non-C99-based standards] (y0f): Likewise.
64683         [non-C99-based standards] (y1f): Likewise.
64684         [non-C99-based standards] (ynf): Likewise.
64685         [non-C99-based standards] (isnanf): Likewise.
64686         [non-C99-based standards] (acoshf): Likewise.
64687         [non-C99-based standards] (asinhf): Likewise.
64688         [non-C99-based standards] (atanhf): Likewise.
64689         [non-C99-based standards] (cbrtf): Likewise.
64690         [non-C99-based standards] (expm1f): Likewise.
64691         [non-C99-based standards] (ilogbf): Likewise.
64692         [non-C99-based standards] (log1pf): Likewise.
64693         [non-C99-based standards] (logbf): Likewise.
64694         [non-C99-based standards] (nextafterf): Likewise.
64695         [non-C99-based standards] (remainderf): Likewise.
64696         [non-C99-based standards] (rintf): Likewise.
64697         [non-C99-based standards] (scalbf): Likewise.
64698         [non-C99-based standards] (copysignl): Likewise.
64699         [non-C99-based standards] (exp2l): Likewise.
64700         [non-C99-based standards] (log2l): Likewise.
64701         [non-C99-based standards] (modfl): Allow.
64702         [non-C99-based standards] (erfl): Do not allow.
64703         [non-C99-based standards] (erfcl): Likewise.
64704         [non-C99-based standards] (gammal): Likewise.
64705         [non-C99-based standards] (hypotl): Likewise.
64706         [non-C99-based standards] (j0l): Likewise.
64707         [non-C99-based standards] (j1l): Likewise.
64708         [non-C99-based standards] (jnl): Likewise.
64709         [non-C99-based standards] (lgammal): Likewise.
64710         [non-C99-based standards] (tgammal): Likewise.
64711         [non-C99-based standards] (y0l): Likewise.
64712         [non-C99-based standards] (y1l): Likewise.
64713         [non-C99-based standards] (ynl): Likewise.
64714         [non-C99-based standards] (isnanl): Likewise.
64715         [non-C99-based standards] (acoshl): Likewise.
64716         [non-C99-based standards] (asinhl): Likewise.
64717         [non-C99-based standards] (atanhl): Likewise.
64718         [non-C99-based standards] (cbrtl): Likewise.
64719         [non-C99-based standards] (expm1l): Likewise.
64720         [non-C99-based standards] (ilogbl): Likewise.
64721         [non-C99-based standards] (log1pl): Likewise.
64722         [non-C99-based standards] (logbl): Likewise.
64723         [non-C99-based standards] (nextafterl): Likewise.
64724         [non-C99-based standards] (remainderl): Likewise.
64725         [non-C99-based standards] (rintl): Likewise.
64726         [non-C99-based standards] (scalbl): Likewise.
64727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64728         [non-C99-based standards] (FP_*): Do not allow.
64729         [C99-based standards] (FP_*): Change to
64730         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64731         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64732         allow.
64733         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64734         (SIG_ERR): Likewise.
64735         [X/Open-based standards] (SIG_HOLD): Likewise.
64736         (SIG_IGN): Likewise.
64737         (SIGABRT): Use macro-int-constant.  Specify type.  Require
64738         positive value.
64739         (SIGFPE): Likewise.
64740         (SIGILL): Likewise.
64741         (SIGINT): Likewise.
64742         (SIGSEGV): Likewise.
64743         (SIGTER): Likewise.
64744         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64745         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64746         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64747         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64748         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64749         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64750         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64751         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64752         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64753         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64754         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64755         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64756         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64757         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64758         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64759         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64760         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64761         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64762         [X/Open-based standards] (SIGTRAP): Likewise.
64763         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64764         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64765         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64766         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64767         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64768         allow.
64770 2012-05-08  Ian Wienand  <ianw@vmware.com>
64772         [BZ #14080]
64773         * time/tzset.c (__tzset_parse_tz): Update default rules for
64774         daylight time changes in the Energy Policy Act of 2005.
64776 2012-05-09  Andreas Jaeger  <aj@suse.de>
64778         [BZ #13983]
64779         * elf/ldconfig.c (parse_conf): Change string to make clear that
64780         ldconfig only issued a warning if ld.so.conf does not exist.
64782 2012-05-08  David S. Miller  <davem@davemloft.net>
64784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64785         movxtod instead of popping the value on the stack.
64787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64789 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
64791         * config.h.in: Add HAVE_ARM_PCS_VFP.
64793 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
64795         [BZ #13979]
64796         * include/features.h: Warn if user requests __FORTIFY_SOURCE
64797         checking but the checks are disabled for any reason.
64799 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
64801         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64802         and ELF64_R_TYPE with ELFW(R_TYPE).
64804 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
64806         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64807         (ulimit): Likewise.
64809         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64810         (settimeofday): Likewise.
64812 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
64814         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
64815         a struct th_u2 inside the union, and move tu_block/tu_code into
64816         a new th_u3 union of tu_block/tu_code inside of that.  Move
64817         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
64818         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
64819         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64820         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64821         (th_stuff): Change to th_u1.tu_stuff.
64822         (th_data): Define.
64823         (th_msg): Change to th_u1.th_u2.tu_data.
64825 2012-05-07  David S. Miller  <davem@davemloft.net>
64827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64829         [BZ #14074]
64830         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64831         (SETUP_PIC_REG): Use it.
64832         (SETUP_PIC_REG_LEAF): Use it.
64834 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
64836         [BZ #13885]
64837         [BZ #13923]
64838         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64839         USE_AS_EXPM1L.
64840         (EXPL_FINITE): Likewise.
64841         (FLDLOG): Likewise.
64842         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64843         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64844         e_expl.S.
64845         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64846         USE_AS_EXPM1L.
64847         (EXPL_FINITE): Likewise.
64848         (FLDLOG): Likewise.
64849         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64850         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
64851         e_expl.S.
64852         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
64853         test of -max_value argument for long double.
64854         * sysdeps/i386/fpu/libm-test-ulps: Update.
64855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64857 2012-05-06  David S. Miller  <davem@davemloft.net>
64859         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
64860         quad soft-float symbols whose references which are compiler
64861         generated.
64862         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
64864 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
64866         [BZ #13884]
64867         [BZ #13914]
64868         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64869         USE_AS_EXP10L.
64870         (EXPL_FINITE): Likewise.
64871         (FLDLOG): Likewise.
64872         (c0): Likewise.
64873         (c1): Likewise.
64874         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64875         Adjust comments for base varying.
64876         (__expl_finite): Change alias to EXPL_FINITE.
64877         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
64878         e_expl.S.
64879         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
64880         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
64881         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
64882         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
64883         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64884         USE_AS_EXP10L.
64885         (EXPL_FINITE): Likewise.
64886         (FLDLOG): Likewise.
64887         (c0): Likewise.
64888         (c1): Likewise.
64889         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
64890         Adjust comments for base varying.
64891         (__expl_finite): Change alias to EXPL_FINITE.
64892         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
64893         tests for bugs.
64894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64896         [BZ #14064]
64897         * math/libm-test.inc (check_float_internal): Correct ulp
64898         calculation for subnormal expected results.
64900 2012-05-06  Andreas Jaeger  <aj@suse.de>
64902         * Makeconfig (+math-flags): New, set to -frounding-math.
64903         (+cflags): Add +math-flags so that all of glibc gets compiled with
64904         it.
64906         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
64908 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
64910         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
64911         Disable one test.
64913         [BZ #13787]
64914         [BZ #13922]
64915         [BZ #14036]
64916         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
64917         (__ieee754_expl): Allow for and saturate large arguments.
64918         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
64919         (u_threshold): Likewise.
64920         (__exp): Call __ieee754_exp before checking for overflow and
64921         underflow.
64922         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
64923         (u_threshold): Likewise.
64924         (__expf): Call __ieee754_expf before checking for overflow and
64925         underflow.
64926         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
64927         (u_threshold): Likewise.
64928         (__expl): Call __ieee754_expl before checking for overflow and
64929         underflow.
64930         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
64931         (__ieee754_expl): Allow for and saturate large arguments.
64932         * math/libm-test.inc (exp_test): Add another test.  Do not allow
64933         missing overflow exception on overflow.
64934         (expm1_test): Do not allow missing overflow exception on overflow.
64936         * sysdeps/i386/fpu/e_expl.c: Move to ...
64937         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
64938         rather than using inline asm.
64939         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
64940         * sysdeps/x86_64/fpu/e_expl.S: Copy from
64941         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
64943         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
64944         (nice): Likewise.
64945         (poll): Likewise.
64946         (signal): Likewise.
64947         (time): Likewise.
64948         (times): Likewise.
64950 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
64952         * sysdeps/unix/syscalls.list (adjtime): Add entry from
64953         sysdeps/unix/common/syscalls.list.
64954         (fchmod): Likewise.
64955         (fchown): Likewise.
64956         (ftruncate): Likewise.
64957         (getrusage): Likewise.
64958         (gettimeofday): Likewise.
64959         (setpgid): Likewise.
64960         (setregid): Likewise.
64961         (setreuid): Likewise.
64962         (sigaction): Likewise.
64963         (truncate): Likewise.
64964         (vhangup): Likewise.
64965         * sysdeps/unix/common/syscalls.list: Remove file.
64966         * sysdeps/unix/bsd/Implies: Don't include unix/common.
64967         * sysdeps/unix/sysv/linux/Implies: Likewise.
64969 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
64971         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
64972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
64973         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
64974         Moved to ...
64975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
64976         Here.
64977         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
64978         to ...
64979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
64980         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
64981         to ...
64982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
64983         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
64984         to ...
64985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
64986         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
64987         to ...
64988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
64989         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
64990         to ...
64991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
64992         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
64993         to ...
64994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
64995         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
64996         to ...
64997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64998         Here.
64999         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65000         to ...
65001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65002         Here.
65003         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65004         to ...
65005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65006         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65007         Moved to ...
65008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65009         Here.
65010         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65011         to ...
65012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65016         * sysdeps/unix/common/bits/dirent.h: Remove file.
65017         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65019         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65020         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65021         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65022         * sysdeps/unix/bsd/isatty.c: Likewise.
65023         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65024         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65025         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65027 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65029         [BZ #13563]
65030         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65031         long double comparison inaccuracies.
65032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65035 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65037         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65038         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65040 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65042         [BZ #14049]
65043         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65044         nonzero digits before rounding a hex value.
65045         * stdlib/tst-strtod.c (tests): Add another test.
65047 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65049         * sysdeps/s390/fpu/libm-test-ulps: Update.
65051 2012-05-03  Andreas Jaeger  <aj@suse.de>
65053         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65054         does not get optimized out.
65055         (malloc_opt_barrier): New.
65057 2012-05-03  Andreas Jaeger  <aj@suse.de>
65058             Roland McGrath  <roland@hack.frob.com>
65060         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65061         intermediate file deletion.
65062         (generated): Add .symlist files.
65064 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65066         [BZ #13775]
65067         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65068         Redirect under this condition.
65069         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65070         [__USE_GNU] (__dprintf_chk): Not under this condition.
65071         [__USE_GNU] (__vdprintf_chk): Likewise.
65072         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65073         under this condition.
65074         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65075         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65076         [__USE_XOPEN2K8] (vdprintf): Likewise.
65077         [__USE_GNU] (__dprintf_chk): Not under this condition.
65078         [__USE_GNU] (__vdprintf_chk): Likewise.
65079         [__USE_GNU] (dprintf): Likewise.
65080         [__USE_GNU] (vdprintf): Likewise.
65082 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65084         * elf/Makefile (common-generated): Set this instead of generated for
65085         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65086         $(all-built-dso)-derived lists.
65088 2012-05-03  Andreas Jaeger  <aj@suse.de>
65090         * sysdeps/i386/fpu/libm-test-ulps: Update.
65092         * FAQ: Removed.
65093         * FAQ.in: Likewise.
65094         * scripts/gen-FAQ.pl: Likewise.
65095         * manual/install.texi (Installation): Point to online location of
65096         FAQ.
65097         * Makefile (files-for-dist): Remove FAQ.
65098         (FAQ): Remove.
65100 2012-05-02  Allan McRae  <allan@archlinux.org>
65102         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65103         (LDFLAGS-reldepmod5.so): Likewise.
65104         (LDFLAGS-reldep6mod1.so): Likewise.
65105         (LDFLAGS-reldep6mod4.so): Likewise.
65106         (LDFLAGS-reldep8mod3.so): Likewise.
65107         (LDFLAGS-unload4mod1.so): Likewise.
65108         (LDFLAGS-unload4mod2.so): Likewise.
65109         (LDFLAGS-tst-initorder): Likewise.
65110         (LDFLAGS-tst-initordera2.so): Likewise.
65111         (LDFLAGS-tst-initordera3.so): Likewise.
65112         (LDFLAGS-tst-initordera4.so): Likewise.
65113         (LDFLAGS-tst-initorderb2.so): Likewise.
65114         (LDFLAGS-noload): Likewise.
65115         (LDFLAGS-next): Likewise.
65116         (LDFLAGS-order2mod1.so): Likewise.
65117         (LDFLAGS-order2mod2.so): Likewise.
65118         (LDFLAGS-tst-initorder2): Likewise.
65119         (LDFLAGS-tst-initorder2a.so): Likewise.
65120         (LDFLAGS-tst-initorder2b.so): Likewise.
65121         (LDFLAGS-tst-initorder2c.so): Likewise.
65122         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65124 2012-05-02  David S. Miller  <davem@davemloft.net>
65126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65128 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65130         [BZ #14055]
65131         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65133 2012-05-02  Andreas Jaeger  <aj@suse.de>
65135         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65136         since we manipulate rounding mode.
65137         (CPPFLAGS-test-idouble.c): Likewise.
65138         (CPPFLAGS-test-ifloat.c): Likewise.
65139         (CFLAGS-test-ldouble.c): Likewise.
65140         (CFLAGS-test-double.c): Likewise.
65141         (CFLAGS-test-float.c): Likewise.
65142         (CFLAGS-test-misc.c): Likewise.
65143         (CFLAGS-test-test-fenv.c): Likewise.
65145 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65147         [BZ #2550]
65148         [BZ #2570]
65149         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65150         comparisons to determine direction to adjust input.
65152 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65154         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65155         output to the target.
65157         * scripts/localplt.awk: New file.
65158         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65159         (check-localplt-CFLAGS): Variable removed.
65160         ($(all-built-dso:=.jmprel)): New static pattern rule.
65161         (generated): Add those targets.
65162         (localplt-built-dso): New variable.
65163         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65165         * elf/check-localplt.c: File removed.
65167         * scripts/check-execstack.awk: New file.
65168         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65169         (check-execstack-CFLAGS): Variable removed.
65170         ($(objpfx)check-execstack.h): Target removed.
65171         ($(objpfx)execstack-default): New target.
65172         (generated): Add that instead of check-execstack.h.
65173         ($(all-built-dso:=.phdr)): New static pattern rule.
65174         (generated): Add those targets.
65175         * elf/check-execstack.c: File removed.
65177         * scripts/check-textrel.awk: New file.
65178         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65179         (check-textrel-CFLAGS): Variable removed.
65180         (all-built-dso): Use := to define.o
65181         ($(all-built-dso:=.dyn)): New static pattern rule.
65182         (generated): Add those targets.
65183         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65184         * config.make.in (READELF): New substituted variable.
65185         * elf/check-textrel.c: File removed.
65187 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65189         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65190         allow.
65191         * conform/data/ctype.h-data [C99-based standards] (isblank):
65192         Expect function.
65193         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65194         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65195         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65196         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65197         Specify type.  Require positive value.
65198         (EILSEQ): Likewise.
65199         (ERANGE): Likewise.
65200         [ISO || POSIX] (EILSEQ): Do not expect.
65201         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65202         Specify type.  Require positive value.
65203         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65204         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65205         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65206         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65207         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65208         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65209         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65210         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65211         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65212         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65213         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65214         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65215         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65216         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65217         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65218         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65219         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65220         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65221         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65222         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65223         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65224         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65225         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65226         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65227         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65228         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65229         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65230         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65231         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65232         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65233         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65234         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65235         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65236         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65237         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65238         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65239         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65240         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65241         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65242         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65243         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65244         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65245         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65246         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65247         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65248         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65249         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65250         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65251         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65252         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65253         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65254         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65255         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65256         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65257         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65258         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65259         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65260         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65261         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65262         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65263         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65264         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65265         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65266         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65267         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65268         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65269         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65270         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65271         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65272         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65273         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65274         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65275         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65276         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65277         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65278         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65279         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65280         Require >= 2.
65281         (FLT_ROUNDS): Expect as macro, not constant.
65282         (FLT_MANT_DIG): Use macro-int-constant.
65283         (DBL_MANT_DIG): Likewise.
65284         (LDBL_MANT_DIG): Likewise.
65285         (FLT_DIG): Likewise.
65286         (DBL_DIG): Likewise.
65287         (LDBL_DIG): Likewise.
65288         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
65289         (DBL_MIN_EXP): Likewise.
65290         (LDBL_MIN_EXP): Likewise.
65291         (FLT_MAX_EXP): Use macro-int-constant.
65292         (DBL_MAX_EXP): Likewise.
65293         (LDBL_MAX_EXP): Likewise.
65294         (FLT_MAX_10_EXP): Likewise.
65295         (DBL_MAX_10_EXP): Likewise.
65296         (LDBL_MAX_10_EXP): Likewise.
65297         (FLT_MAX): Use macro-constant.
65298         (DBL_MAX): Likewise.
65299         (LDBL_MAX): Likewise.
65300         (FLT_EPSILON): Use macro-constant.  Give upper bound.
65301         (DBL_EPSILON): Likewise.
65302         (LDBL_EPSILON): Likewise.
65303         (FLT_MIN): Likewise.
65304         (DBL_MIN): Likewise.
65305         (LDBL_MIN): Likewise.
65306         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65307         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65308         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65309         [ISO11] (FLT_HAS_SUBNORM): Likewise.
65310         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65311         [ISO11] (DBL_DECIMAL_DIG): Likewise.
65312         [ISO11] (FLT_DECIMAL_DIG): Likewise.
65313         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65314         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65315         [ISO11] (FLT_TRUE_MIN): Likewise.
65316         [ISO11] (LDBL_TRUE_MIN): Likewise.
65317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65318         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65319         (SCHAR_MIN): Use macro-int-constant.  Specify type.
65320         (SCHAR_MAX): Likewise.
65321         (UCHAR_MAX): Likewise.
65322         (CHAR_MIN): Likewise.
65323         (CHAR_MAX): Likewise.
65324         (MB_LEN_MAX): Use macro-int-constant.
65325         (SHRT_MIN): Use macro-int-constant.  Specify type.
65326         (SHRT_MAX): Likewise.
65327         (USHRT_MAX): Likewise.
65328         (INT_MAX): Likewise.
65329         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
65330         bound negative.
65331         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65332         bound with "U".
65333         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65334         bound with "L".
65335         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
65336         bound negative.  Suffix upper bound with "L".
65337         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
65338         bound with "UL".
65339         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65340         Specify type.
65341         [C99-based standards] (LLONG_MAX): Likewise.
65342         [C99-based standards] (ULLONG_MAX): Likewise.
65343         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
65344         == 0.
65345         [ISO11] (max_align_t): Require type.
65346         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65348         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65349         from $CFLAGS, without defining away __attribute__ calls.
65350         (checknamespace): Use $CFLAGS_namespace.
65352         * conform/conformtest.pl (@keywords): Only include C99 keywords
65353         for standards based on C99 or C11.
65355         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65356         Disable tests.
65357         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65358         UNIX98]: Likewise.
65360         * conform/conformtest.pl: Handle "macro-int-constant" and test for
65361         usability of symbols in #if.
65363         * conform/conformtest.pl: If macro or constant types start
65364         "promoted:", expect the symbol to be of the following type
65365         promoted by the integer promotions.
65367         * conform/conformtest.pl: Parse all "constant" and "macro" lines
65368         in one place.  Also handle "macro-constant".
65370         * conform/conformtest.pl: Only accept expected macro values with
65371         "==".  Parse all "macro" lines in one place.
65372         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65374         * conform/conformtest.pl: Handle braced types on "constant" lines
65375         instead of handling "typed-constant".
65376         * conform/data/signal.h-data: Use "constant" instead of
65377         "typed-constant".
65379         * conform/conformtest.pl: Handle "optional-" at start of lines in
65380         one place rather than duplicating several cases.  Handle each
65381         format of "macro" line with initial "optional-".
65383         * conform/conformtest.pl: Only accept expected constant or
65384         optional-constant values with "==".  Parse all "constant" lines in
65385         one place.  Parse all "optional-constant" lines in one place.
65386         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65387         * conform/data/fmtmsg.h-data: Likewise.
65388         * conform/data/netinet/in.h-data: Likewise.
65389         * conform/data/tar.h-data: Likewise.
65390         * conform/data/limits.h-data: Use "==" form on "constant" and
65391         "optional-constant" lines.
65393         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65394         Use -std=c99 for XOPEN2K.
65395         (@knownproblems): Remove.
65396         (newtoken): Don't check %isknown.
65398         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65399         Do not expect macro.
65400         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65401         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65402         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65403         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65404         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65405         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65406         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65407         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65408         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65409         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65410         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65411         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65412         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65413         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65414         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65415         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65416         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65417         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65418         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65419         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65420         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65421         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65422         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65423         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65424         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65425         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65426         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65427         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65428         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65429         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65430         [XPG3] (acosh): Likewise.
65431         [XPG3] (asinh): Likewise.
65432         [XPG3] (atanh): Likewise.
65433         [XPG3] (cbrt): Likewise.
65434         [XPG3] (expm1): Likewise.
65435         [XPG3] (ilogb): Likewise.
65436         [XPG3] (log1p): Likewise.
65437         [XPG3] (logb): Likewise.
65438         [XPG3] (nextafter): Likewise.
65439         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65440         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65441         [XPG3] (remainder): Likewise.
65442         [XPG3] (rint): Likewise.
65443         [XPG3 || XPG4 || UNIX98] (round): Likewise.
65444         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65445         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65446         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65447         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65448         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65449         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65450         [UNIX98 || XOPEN2K] (scalb): Expect.
65451         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65452         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65453         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65454         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65455         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65456         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65457         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65458         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65459         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65460         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65461         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65462         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65463         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65464         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65465         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65466         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65467         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65468         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65469         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65470         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65471         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65472         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65473         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65474         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65475         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65476         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65477         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65478         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65479         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65480         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65481         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65482         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65483         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65484         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65485         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65486         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65487         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65488         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65489         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65490         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65491         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65492         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65493         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65494         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65495         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65496         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65497         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65498         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65499         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65500         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65501         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65502         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65503         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65504         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65505         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65506         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65507         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65508         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65509         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65510         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65511         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65512         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65513         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65514         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65515         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65516         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65517         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65518         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65519         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65520         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65521         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65522         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65523         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65524         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65525         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65526         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65527         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65528         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65529         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65530         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65531         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65532         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65533         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65534         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65535         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65536         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65537         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65538         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65539         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65540         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65541         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65542         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65543         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65544         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65545         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65546         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65547         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65548         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65549         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65550         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65551         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65552         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65553         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65554         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65555         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65556         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65557         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65558         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65559         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65560         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65561         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65562         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65563         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65564         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65565         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65566         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65567         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65568         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65569         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65570         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65571         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65572         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65573         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65574         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65575         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65576         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65577         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65578         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65579         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65580         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65581         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65582         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65583         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65584         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65585         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65586         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65587         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65589         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65590         _XOPEN_SOURCE_EXTENDED for XPG4.
65592         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65594         * Makeconfig (localtime): Remove variable.
65595         (inst_localtime-file): Likewise.
65597 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65600         Update.
65601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65602         Update.
65603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65604         Update.
65605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65606         Update.
65607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65608         Update.
65609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65610         Update.
65611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65612         Update.
65613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65614         Update.
65615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65616         Update.
65618 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65620         [BZ #2550]
65621         [BZ #2570]
65622         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65623         comparisons to determine direction to adjust input.
65624         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65625         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65626         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65627         Likewise.
65628         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65629         Likewise.
65630         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65631         Likewise.
65632         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65633         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65634         Likewise.
65635         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65636         Likewise.
65637         * math/libm-test.inc (nexttoward_test): Add more tests.
65639 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
65641         [BZ #14040]
65642         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65643         in version GLIBC_2.1, not GLIBC_2.0.
65644         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65645         Likewise.
65647 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
65649         [BZ #13942]
65650         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65651         (1 - x) * (1 + x).
65652         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65653         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65654         * math/libm-test.inc (acos_test): Add more tests.
65655         (asin_test): Likewise.
65656         * sysdeps/i386/fpu/libm-test-ulps: Update.
65657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65659         [BZ #14034]
65660         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65661         of square root.
65662         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65663         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65664         * math/libm-test.inc (acos_test_tonearest): New function.
65665         (acos_test_towardzero): Likewise.
65666         (acos_test_downward): Likewise.
65667         (acos_test_upward): Likewise.
65668         (asin_test_tonearest): Likewise.
65669         (asin_test_towardzero): Likewise.
65670         (asin_test_downward): Likewise.
65671         (asin_test_upward): Likewise.
65672         (main): Call the new functions.
65673         * sysdeps/i386/fpu/libm-test-ulps: Update.
65674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65676         [BZ #13884]
65677         [BZ #13924]
65678         * math/e_exp10.c: Include <float.h>.
65679         (__ieee754_exp10): Handle underflow here rather than multiplying
65680         large negative argument by M_LN10.
65681         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65682         of __ieee754_expf.
65683         * math/e_exp10l.c: Include <float.h>.
65684         (__ieee754_exp10l): Handle underflow here rather than multiplying
65685         large negative argument by M_LN10l.
65686         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
65687         spurious overflow exception on underflow.
65689 2012-04-29  Marek Polacek  <polacek@redhat.com>
65691         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65692         (__fortify_function): New macro.
65693         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65694         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65695         __extern_always_inline.
65696         * libio/bits/stdio2.h: Likewise.
65697         * libio/bits/stdio.h: Likewise.
65698         * string/string.h: Likewise.
65699         * string/bits/string3.h: Likewise.
65700         * include/stdio.h: Likewise.
65701         * stdlib/bits/stdlib.h: Likewise.
65702         * stdlib/stdlib.h: Likewise.
65703         * rt/bits/mqueue2.h: Likewise.
65704         * rt/mqueue.h: Likewise.
65705         * posix/bits/unistd.h: Likewise.
65706         * posix/unistd.h: Likewise.
65707         * io/bits/poll2.h: Likewise.
65708         * io/bits/fcntl2.h: Likewise.
65709         * io/fcntl.h: Likewise.
65710         * io/sys/poll.h: Likewise.
65711         * misc/bits/syslog.h: Likewise.
65712         * misc/bits/syslog-ldbl.h: Likewise.
65713         * misc/sys/syslog.h: Likewise.
65714         * socket/bits/socket2.h: Likewise.
65715         * socket/sys/socket.h: Likewise.
65716         * debug/tst-chk1.c: Likewise.
65717         * wcsmbs/bits/wchar2.h: Likewise.
65718         * wcsmbs/bits/wchar-ldbl.h: Likewise.
65719         * wcsmbs/wchar.h: Likewise.
65721 2012-04-29  Andreas Jaeger  <aj@suse.de>
65723         * Makerules (tests): Remove enable-check-abi protection.
65724         (check-abi-warn): Remove.
65725         (check-abi-%): Remove check-abi-warn usage.
65727         * configure.in: Remove check-abi configure option.
65728         * configure: Regenerated.
65729         * config.make.in (enable-check-abi): Remove.
65731 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
65733         [BZ #14033]
65734         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65735         double functions to double *_finite functions.
65737         [BZ #13941]
65738         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65739         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65740         LDBL_MIN_EXP.
65741         * stdio-common/Makefile (tests): Add tst-sprintf3.
65742         * stdio-common/tst-sprintf3.c: New file.
65744         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65745         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65747 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65749         * conform/conformtest.pl: Remove duplicate typed-constant
65750         handling.
65752 2012-04-28  David S. Miller  <davem@davemloft.net>
65754         * Makerules (%.abilist): Add vpath on sysdep_dirs.
65755         (check-abi-%): Remove AWK script prerequisite and explicit
65756         abilist directory.
65757         (check-abi): Rewrite to just diff the symlist with the abilist.
65758         (config-tls, config-abi-config): Delete, no longer used.
65759         (update-abi-%): Remove AWK script and explicit abilist directory.
65760         (update-abi): Rewrite to simply compare and conditionally copy the
65761         symlist and the sysdep abilist file.  Remove update-abi-config
65762         checks.
65763         * abilist/ld.abilist: Remove.
65764         * abilist/libBrokenLocale.abilist: Remove.
65765         * abilist/libanl.abilist: Remove.
65766         * abilist/libcrypt.abilist: Remove.
65767         * abilist/libdl.abilist: Remove.
65768         * abilist/librt.abilist: Remove.
65769         * abilist/libthread_db.abilist: Remove.
65770         * abilist/libutil.abilist: Remove.
65771         * scripts/extract-abilist.awk: Remove.
65772         * scripts/merge-abilist.awk: Remove.
65773         * sysdeps/generic/libcidn.abilist: New file.
65774         * sysdeps/generic/libnss_compat.abilist: New file.
65775         * sysdeps/generic/libnss_db.abilist: New file.
65776         * sysdeps/generic/libnss_dns.abilist: New file.
65777         * sysdeps/generic/libnss_files.abilist: New file.
65778         * sysdeps/generic/libnss_hesiod.abilist: New file.
65779         * sysdeps/generic/libnss_nis.abilist: New file.
65780         * sysdeps/generic/libnss_nisplus.abilist: New file.
65781         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65782         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65783         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65784         file.
65785         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65786         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65787         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65788         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65789         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65790         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65791         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65792         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65793         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65794         file.
65795         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65796         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65797         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65798         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65799         file.
65800         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65801         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65802         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65803         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65804         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65805         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65806         file.
65807         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65808         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65809         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65810         file.
65811         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65813         New file.
65814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65815         New file.
65816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65817         New file.
65818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65819         New file.
65820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65821         New file.
65822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65823         New file.
65824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65825         New file.
65826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65827         New file.
65828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65829         New file.
65830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65831         New file.
65832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65833         New file.
65834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65835         New file.
65836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65837         New file.
65838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65839         file.
65840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65841         New file.
65842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65843         New file.
65844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
65845         file.
65846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
65847         New file.
65848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
65849         New file.
65850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
65851         file.
65852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
65853         New file.
65854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65855         New file.
65856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
65857         New file.
65858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
65859         New file.
65860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
65861         New file.
65862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
65863         New file.
65864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
65865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
65866         file.
65867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
65868         New file.
65869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
65870         file.
65871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
65872         file.
65873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
65874         file.
65875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
65876         file.
65877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
65878         file.
65879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65880         New file.
65881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
65882         file.
65883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
65884         file.
65885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
65886         New file.
65887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
65888         file.
65889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
65890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
65891         file.
65892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
65893         New file.
65894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
65895         file.
65896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
65897         file.
65898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
65899         file.
65900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
65901         file.
65902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
65903         file.
65904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65905         New file.
65906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
65907         file.
65908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
65909         file.
65910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
65911         New file.
65912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
65913         file.
65914         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65915         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
65916         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
65917         file.
65918         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
65919         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
65920         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
65921         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
65922         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
65923         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
65924         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
65925         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
65926         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
65927         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
65928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
65929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
65930         file.
65931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
65932         New file.
65933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
65934         file.
65935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
65936         file.
65937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
65938         file.
65939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
65940         file.
65941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
65942         file.
65943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65944         New file.
65945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
65946         New file.
65947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
65948         file.
65949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
65950         New file.
65951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
65952         file.
65953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
65954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
65955         file.
65956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
65957         New file.
65958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
65959         file.
65960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
65961         file.
65962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
65963         file.
65964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
65965         file.
65966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
65967         file.
65968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65969         New file.
65970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
65971         New file.
65972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
65973         file.
65974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
65975         New file.
65976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
65977         file.
65979 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
65981         * conform/conformtest.pl: Fix typo in handling typed-constant from
65982         allow-header.
65984 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
65986         * README: Cut down references to pre-2.6 Linux kernels and
65987         Linuxthreads.  Update lists of configurations in libc and ports
65988         and sort alphabetically.  Say "or newer" with Linux kernel version
65989         requirements.
65991         * config.h.in [IS_IN_build]: Allow compiling without optimization.
65993 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65995         [BZ #887]
65996         * math/libm-test.inc (logb_test_downward): New test to expose
65997         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
65998         rounding mode.
66000 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66002         [BZ #14027]
66003         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66004         to be done.
66005         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66006         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66008 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66010         * sysdeps/unix/i386/brk.S: Remove file.
66011         * sysdeps/unix/i386/dl-brk.S: Likewise.
66012         * sysdeps/unix/i386/pipe.S: Likewise.
66013         * sysdeps/unix/i386/sigreturn.S: Likewise.
66014         * sysdeps/unix/i386/syscall.S: Likewise.
66015         * sysdeps/unix/i386/vfork.S: Likewise.
66016         * sysdeps/unix/i386/wait.S: Likewise.
66018         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66019         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66021         * configure.in (arm*-none*): Do not allow without
66022         --enable-hacker-mode.
66023         (netbsd*): Remove case setting base_os.
66024         (386bsd*): Likewise.
66025         (freebsd*): Likewise.
66026         (bsdi*): Likewise.
66027         (osf*): Likewise.
66028         (sunos*): Likewise.
66029         (ultrix*): Likewise.
66030         (newsos*): Likewise.
66031         (dynix*): Likewise.
66032         (*bsd*): Likewise.
66033         (sysv*): Likewise.
66034         (isc*): Likewise.
66035         (esix*): Likewise.
66036         (sco*): Likewise.
66037         (minix*): Likewise.
66038         (irix4*): Likewise.
66039         (irix6*): Likewise.
66040         (solaris[2-9]*): Likewise.
66041         (none): Likewise.
66042         * configure: Regenerated.
66044 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66046         [BZ #11521]
66047         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66048         overflow or cancellation in calculating denominator.
66049         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66050         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66051         down expression to avoid unexpected rounding in newer GCCs.
66052         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66054 2012-04-26  David S. Miller  <davem@davemloft.net>
66056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66057         long-double compat symbols.
66058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66072 2012-04-25  David S. Miller  <davem@davemloft.net>
66074         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66075         HWCAP_* values only after the memory barriers have been defined.
66076         (atomic_full_barrier): Define.
66077         (atomic_read_barrier): Define.
66078         (atomic_write_barrier): Define.
66080 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66082         * shlib-versions: Add libgcc_s version information.
66083         * sysdeps/generic/libgcc_s.h: Remove.
66084         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66085         libgcc_s.h.
66086         * sysdeps/gnu/unwind-resume.c: Likewise.
66087         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66089 2012-04-25  David S. Miller  <davem@davemloft.net>
66091         * sysdeps/unix/sparc/brk.S: Delete.
66092         * sysdeps/unix/sparc/dl-brk.S: Delete.
66093         * sysdeps/unix/sparc/pipe.S: Delete.
66094         * sysdeps/unix/sparc/sysdep.S: Delete.
66095         * sysdeps/unix/sparc/sysdep.h: Delete.
66096         * sysdeps/unix/sparc/vfork.S: Delete.
66097         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66098         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66099         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66100         (ret_ERRVAL, r0, r1, MOVE): Define.
66101         (JUMPTARGET): Remove.
66102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66103         sysdeps/unix/sparc/sysdep.h
66104         (ENTRY, END): Remove.
66105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66107 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66109         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66110         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66111         -DIS_IN_build.
66113         * timezone/README: Update upstream location and email address for
66114         tzcode and tzdata.
66115         * timezone/zdump.c: Update from tzcode 2012b.
66116         * timezone/zic.c: Likewise.
66118         * configure.in (libc_cv_as_needed): Remove test.
66119         * configure: Regenerated.
66120         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66121         conditional definition.
66122         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66123         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66124         * config.make.in (have-as-needed): Remove variable.
66126 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66127             Paul Pluzhnikov  <ppluzhnikov@google.com>
66129         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66130         strings correctly.
66132 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66134         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66135         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66136         * sysdeps/sh/strlen.S: Likewise.
66138 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66140         * sysdeps/unix/fork.S: Remove file.
66141         * sysdeps/unix/i386/fork.S: Likewise.
66142         * sysdeps/unix/sparc/fork.S: Likewise.
66144         * sysdeps/unix/system.c: Remove file.
66145         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66147         * sysdeps/unix/getegid.S: Remove file.
66148         * sysdeps/unix/geteuid.S: Likewise.
66150 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66152         * scripts/check-localplt.awk: New file.
66153         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66154         of diff.
66155         * scripts/data/localplt-generic.data: Add a comment.
66157         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66158         NODE when __dir_mkfile failed.
66159         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66160         Reported by Ludovic Courtès <ludo@gnu.org>.
66162 2012-04-24  Andreas Jaeger  <aj@suse.de>
66164         * Makerules (common-clean): Also remove gen-as-const-headers
66165         files.
66167 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66169         * Makerules (native-compile): Do not change working directory for
66170         build.  Use $(OUTPUT_OPTION) in command.
66171         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66173 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66175         [BZ #13886]
66176         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66177         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66178         * math/libm-test.inc (floor_test): Add more tests.
66179         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66181 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66183         * sysdeps/unix/getdents.c: Remove file.
66184         * sysdeps/unix/sysv/getdents.c: Likewise.
66185         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66187         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66188         sysdeps/unix/mman/syscalls.list.
66189         (mmap): Likewise.
66190         (mprotect): Likewise.
66191         (msync): Likewise.
66192         (munmap): Likewise.
66193         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66194         * sysdeps/unix/mman/syscalls.list: Remove.
66195         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66197         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66198         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66199         * configure: Regenerated.
66200         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66201         $(libgcc_s_suffix).
66202         * config.make.in (libgcc_s_suffix): Remove variable.
66204 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66206         * sysdeps/unix/sysv/gethostname.c: Move to ...
66207         * sysdeps/posix/gethostname.c: ... here.
66209         * sysdeps/unix/execve.S: Remove file.
66211         * sysdeps/unix/_exit.S: Remove file.
66213 2012-04-23  Andreas Jaeger  <aj@suse.de>
66215         [BZ #13739]
66216         * manual/Makefile: Remove make dist support, there's no
66217         need for a stand-alone documentation tar ball.
66218         (TEXI2DVI): Define always, it's not in Makeconfig.
66219         (dist): Removed.
66220         (tar-it): Removed.
66221         (edition): Removed.
66222         (glibc-doc-$(edition).tar): Removed
66223         (%.Z): Removed.
66224         (%.gz): Removed.
66225         (%.uu): Removed.
66226         (ETAGS): Remove, it's in Makeconfig.
66227         (move-if-change): Remove, it's in Makeconfig.
66229 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66231         [BZ #13970]
66232         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66233         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66234         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66235         (strtod_l, strtof_l, strtold_l): Remove __wur.
66236         It is not necessarily an error to ignore strtol's return value.
66237         One can reliably look at the stored endptr to decide whether
66238         the number had valid syntax.
66240 2012-04-21  Andreas Jaeger  <aj@suse.de>
66242         [BZ #13739]
66243         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66245 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66247         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66248         * sysdeps/unix/sysv/Versions: Remove file.
66250 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66252         [BZ #13927]
66253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66255 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66257         [BZ #7064]
66258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66259         version from __vm86.
66261 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66263         * sysdeps/unix/common/lxstat.c: Remove file.
66264         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66266         * sysdeps/unix/sysv/Makefile: Remove file.
66268         * sysdeps/unix/sysv/direct.h: Remove file.
66270         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66271         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66272         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66273         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66274         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66275         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66276         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66278         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66280         * sysdeps/unix/xmknod.c: Remove file.
66281         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66283         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66285         * sysdeps/unix/sysv/i386/time.S: Remove file.
66287         * sysdeps/unix/fxstat.c: Remove file.
66288         * sysdeps/unix/xstat.c: Likewise.
66289         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66291         * sysdeps/unix/sysv/sigaction.c: Remove file.
66293         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66294         (sysdep_headers): Remove variable.
66295         [termio.h not in sysdep_headers] (generated): Likewise.
66296         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66297         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66298         * sysdeps/unix/sysv/tcdrain.c: Likewise.
66299         * sysdeps/unix/sysv/tcflow.c: Likewise.
66300         * sysdeps/unix/sysv/tcflush.c: Likewise.
66301         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66302         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66303         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66304         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66305         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66307         * sysdeps/unix/siglist.c: Remove file.
66309         * sysdeps/unix/getppid.S: Remove file.
66311         * sysdeps/unix/mkdir.c: Remove file.
66312         * sysdeps/unix/rmdir.c: Likewise.
66314 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
66316         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66317         ERR_MAX value.
66318         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66319         errlist-compat value.
66321 2012-04-18  David S. Miller  <davem@davemloft.net>
66323         * sysdeps/generic/memcopy.h (reg_char): Delete.
66324         * debug/strcat_chk.c: Use char, not reg_char.
66325         * debug/strcpy_chk.c: Likewise.
66326         * debug/strncat_chk.c: Likewise.
66327         * debug/strncpy_chk.c: Likewise.
66328         * string/memchr.c: Likewise.
66329         * string/memrchr.c: Likewise.
66330         * string/rawmemchr.c: Likewise.
66331         * string/strcat.c: Likewise.
66332         * string/strchr.c: Likewise.
66333         * string/strchrnul.c: Likewise.
66334         * string/strcmp.c: Likewise.
66335         * string/strcpy.c: Likewise.
66336         * string/strncat.c: Likewise.
66337         * string/strncmp.c: Likewise.
66338         * string/strncpy.c: Likewise.
66340 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66342         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66343         __builtin_memcopy is called when src and dest ranges are known to not
66344         overlap.
66346 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66348         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66349         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66350         fwd_align_merge macro call.
66351         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66352         bwd_align_merge macro call.
66353         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66355 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
66357         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66358         bwd_align_merge macros.
66359         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66360         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66361         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66363 2012-04-18  David S. Miller  <davem@davemloft.net>
66365         * sysdeps/sparc/sparc64/memcopy.h: Delete.
66367 2012-04-18  Andreas Jaeger  <aj@suse.de>
66369         [BZ# 6794]
66370         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66371         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66372         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66374         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66375         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66376         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66378         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66379         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66380         Adjust for changed ldbl-128 files.
66382         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66383         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66384         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66386 2012-04-17  David S. Miller  <davem@davemloft.net>
66388         * sysdeps/sparc/sparc32/memcopy.h: Delete.
66390 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
66392         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66393         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66394         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66395         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66396         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66397         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66399 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66401         [BZ #6794]
66402         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66403         * math/libm-test.inc: Add ilogb errno and exception tests.
66404         * math/w_ilogb.c: New file: ilogb wrapper.
66405         * math/w_ilogbf.c: New file: ilogbf wrapper.
66406         * math/w_ilogbl.c: New file: ilogbl wrapper.
66407         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66408         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66409         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66410         exception being thrown with 0.0 as argument.
66411         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66412         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66413         exception being thrown with 0.0 as argument.
66414         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66415         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66416         exception being thrown with 0.0 as argument.
66417         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66418         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66419         exception being thrown with 0.0 as argument.
66420         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66421         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66422         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66423         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66424         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66425         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66426         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66427         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66428         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66430 2012-04-17  Petr Baudis  <pasky@ucw.cz>
66432         * include/sys/uio.h: Change __vector to __iovec to avoid clash
66433         with altivec.
66435 2012-04-16  Marek Polacek  <polacek@redhat.com>
66437         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66439 2012-04-16  Marek Polacek  <polacek@redhat.com>
66441         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66442         operands of fdivp instruction.
66444 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66446         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66447         * elf/tst-auditmod3b.c: Likewise.
66448         * elf/tst-auditmod4b.c: Likewise.
66449         * elf/tst-auditmod5b.c: Likewise.
66450         * elf/tst-auditmod6b.c: Likewise.
66451         * elf/tst-auditmod6c.c: Likewise.
66452         * elf/tst-auditmod7b.c: Likewise.
66453         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66454         * sysdeps/x86_64/preconfigure.in: Likewise.
66455         * sysdeps/x86_64/preconfigure: Regenerated.
66457 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
66459         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66460         __ILP32__.
66462 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
66464         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66465         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66467 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
66469         [BZ #13973]
66470         * locale/iso-639.def: Fix gl language name. Spotted by
66471         Yaron Shahrabani.
66473 2012-04-12  Roland McGrath  <roland@hack.frob.com>
66475         [BZ #2074]
66476         * libio/libio.h (__io_write_fn): Update comment.
66478 2012-04-12  Petr Baudis  <pasky@ucw.cz>
66480         [BZ #2074]
66481         * stdio.texi (Hook Functions): The user provided writer function
66482         is not allowed to return -1.
66484 2012-04-11  David S. Miller  <davem@davemloft.net>
66486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66488 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
66490         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66491         Add a leading slash to rtkaio.
66493 2012-04-11  Jim Meyering  <meyering@redhat.com>
66495         [BZ #11959]
66496         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66497         It is not necessarily an error to ignore fwrite's return
66498         value.  One can reliably use ferror to test for errors after
66499         the fact.
66501 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66503         * bits/types.h (__snseconds_t): New type.
66504         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66506         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66507         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66508         (__SNSECONDS_T_TYPE): Likewise.
66509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66510         (__SNSECONDS_T_TYPE): Likewise.
66511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66512         (__SNSECONDS_T_TYPE): Likewise.
66514 2012-04-10  Andreas Jaeger  <aj@suse.de>
66516         [BZ #2636]
66517         * manual/time.texi (Processor Time): Return type of times is
66518         elapsed real time since an arbitrary point in the past.
66519         (CPU Time): Move CLK_TCK from here...
66520         (Processor Time): ...to here.  Correct description.
66521         * manual/conf.texi (Constants for Sysconf): Correct description of
66522         _SC_CLK_TCK.
66524 2012-04-10  David S. Miller  <davem@davemloft.net>
66526         [BZ #13967]
66527         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66528         where the is a gap between DT_REL(A) and DT_JMPREL.
66530 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
66532         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66533         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66534         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66536 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66538         * elf/dl-support.c (_dl_inhibit_cache): New variable.
66539         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66540         (dl_main): Handle --inhibit-cache.
66541         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66542         _dl_inhibit_cache.
66543         * elf/dl-load.c (_dl_map_object): Use it.
66544         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66546 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66548         [BZ #13872]
66549         * sysdeps/i386/fpu/e_powl.S (p78): New object.
66550         (__ieee754_powl): Saturate large exponents rather than testing for
66551         overflow of y*log2(x).
66552         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66553         * math/libm-test.inc (pow_test): Do not permit spurious overflow
66554         exceptions.
66556         [BZ #11521]
66557         * math/s_ctan.c: Include <float.h>.
66558         (__ctan): Avoid internal overflow or cancellation in calculating
66559         denominator.
66560         * math/s_ctanf.c: Likewise.
66561         * math/s_ctanl.c: Likewise.
66562         * math/s_ctanh.c: Likewise.
66563         * math/s_ctanhf.c: Likewise.
66564         * math/s_ctanhl.c: Likewise.
66565         * math/libm-test.inc (ctan_test): Add more tests.
66566         (ctanh_test): Likewise.
66567         * sysdeps/i386/fpu/libm-test-ulps: Update.
66568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66570 2012-04-09  Andreas Jaeger  <aj@suse.de>
66572         [BZ #6894]
66573         * manual/filesys.texi (Directory Entries): Mention that d_namlen
66574         is an optional BSD extension.
66576         [BZ #10254]
66577         * manual/stdio.texi (Opening Streams): Document additional fopen
66578         parameters.
66580 2012-04-09  Roland McGrath  <roland@hack.frob.com>
66582         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66583         %eax without telling the compiler.
66585 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
66587         [BZ # 13963]
66588         * manual/install.texi: Use sourceware.org.
66590 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
66592         [BZ #13873]
66593         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66594         (__ieee754_pow): Generate overflow and underflow using huge*huge
66595         and tiny*tiny rather than just returning constant infinity or zero
66596         for large exponents.
66597         * math/libm-test.inc (pow_test): Require overflow exceptions for
66598         applicable cases of large exponents.
66600         [BZ #706]
66601         * sysdeps/i386/fpu/e_pow.S (p10): New object.
66602         (__ieee754_pow): Use iterative multiplication algorithm only for
66603         integer exponents with absolute value below 1024.  Check for odd
66604         integer exponents when using algorithm for real exponents.
66605         * math/libm-test.inc (pow_test): Add more tests.
66606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66608 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
66610         [BZ #13705]
66611         * math/libm-test.inc (exp_test): Do not allow overflow exception
66612         on underflow test.
66614 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
66616         [BZ #13705]
66617         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66618         instead of __kernel_standard_f.
66620 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
66622         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66623         * sysdeps/x86_64/memset_chk.S: Likewise.
66625 2012-04-08  Andreas Jaeger  <aj@suse.de>
66627         [BZ #10153]
66628         * manual/startup.texi (Environment Access): Describe return value
66629         for putenv and setenv.
66631         [BZ #6895]
66632         * manual/filesys.texi (Directory Entries): Add description for
66633         DT_LNK.
66635         [BZ #6890]
66636         * manual/filesys.texi (Directory Entries): Clarify that it's file
66637         system not operating system in the description of DT_UNKNOWN.
66639         [BZ #6578]
66640         * manual/syslog.texi (closelog): Fix reference, it's openlog.
66642 2012-04-08  Stephen Compall  <s11@member.fsf.org>
66644         [BZ #6649]
66645         * manual/llio.texi (Opening and Closing Files): Add cross
66646         reference to explain mode argument.
66648 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
66650         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66651         * sysdeps/x86_64/memset_chk.S: Likewise.
66653 2012-04-07  David S. Miller  <davem@davemloft.net>
66655         * elf/elf.h (R_SPARC_WDISP10): Define.
66656         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66657         R_SPARC_SIZE32.
66658         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66659         R_SPARC_SIZE64 and R_SPARC_H34.
66661 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
66663         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66664         conditions and remove no longer applicable assertion.
66666 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66668         * bits/byteswap.h: Include <features.h>.
66669         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66670         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66672 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
66674         * bits/byteswap.h (__bswap_16): Removed.
66675         Include <bits/byteswap-16.h> to get __bswap_16.
66676         * sysdeps/i386/bits/byteswap.h: Likewise.
66677         * sysdeps/s390/bits/byteswap.h: Likewise.
66678         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66679         * bits/byteswap-16.h: New file.
66680         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66681         * sysdeps/s390/bits/byteswap-16.h: Likewise.
66682         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66683         * string/Makefile (headers): Add bits/byteswap-16.h.
66685 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66687         [BZ #13895]
66688         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66689         extra indirection.
66690         * nss/Makefile (tests-static, tests): Add tst-nss-static.
66691         * nss/tst-nss-static.c: New.
66693 2012-04-06  Robert Millan  <rmh@gnu.org>
66695         [BZ #6486]
66696         * manual/llio.texi (File Position Primitive): lseek
66697         refers to WHENCE when it really means OFFSET.
66699 2012-04-06  Andreas Jaeger  <aj@suse.de>
66701         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66702         strncmp declarations.
66704         * abilist/libc.abilist: Add __poll and __ppoll.
66706 2012-04-05  David S. Miller  <davem@davemloft.net>
66708         * scripts/check-local-headers.sh: Accept a host triplet in the
66709         path matched by the exclude regexp.
66711         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66712         definition.
66713         * sysdeps/powerpc/powerpc32/dl-machine.h
66714         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66715         * sysdeps/s390/s390-32/dl-machine.h
66716         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66717         * sysdeps/sparc/sparc32/dl-machine.h
66718         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66719         * sysdeps/sparc/sparc64/dl-machine.h
66720         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66722         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66723         lazy binding.
66724         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66725         undefined symbol errors.
66727         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66728         DT_NEEDED entries.
66730 2012-04-05  Michael Matz  <matz@suse.de>
66732         [BZ #13592]
66733         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66735 2012-04-05  Andreas Jaeger  <aj@suse.de>
66737         [BZ #13908]
66738         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66739         comment.
66741 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66743         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66744         which ROUND is no valid rounding mode.
66746 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66748         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66749         read again.
66750         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66752 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66754         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66755         an exception using FPU order intentionally.
66757 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66759         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66760         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66761         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66762         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66764 2012-04-05  Simon Josefsson  <simon@josefsson.org>
66766         [BZ #12340]
66767         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66768         EINVAL when BUFLEN is too smal.
66770 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
66772         [BZ #13553]
66773         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66774         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66776 2012-04-03  Andreas Jaeger  <aj@suse.de>
66778         [BZ #13938]
66779         * manual/setjmp.texi (System V contexts): Fix sentence.
66781         [BZ #13926]
66782         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66783         New macro for this case.
66784         [!__GNUC__] (__bswap_64): New inline function for this case.
66785         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66786         * bits/byteswap.h: Likewise.
66787         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66788         ull, guard with __GLIBC_HAVE_LONG_LONG.
66790         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66791         __GLIBC_HAVE_LONG_LONG.
66793         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66794         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66796 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66798         [BZ #13691]
66799         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66800         inptr and inend, rather than using last_ch.
66802 2012-04-02  David S. Miller  <davem@davemloft.net>
66804         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66805         * stdio-common/printf-parse.h (read_int): Change return type to
66806         'int', return -1 on INT_MAX overflow.
66807         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66808         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
66809         overflows INT_MAX.  Check for overflow of in-format-string precision
66810         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
66811         SIZE_MAX not INT_MAX for integer overflow test.
66812         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66813         skip the construct in the format string but do not record anything.
66814         * stdio-common/bug22.c: Adjust to test both width/prevision
66815         INT_MAX overflow as well as total length INT_MAX overflow.  Check
66816         explicitly for proper errno values.
66818 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
66820         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66821         CHAR_MAX.
66822         * string/test-strcmp.c [! WIDE]: Likewise.
66823         * time/tst-mktime2.c: Likewise for INT_MAX.
66824         * string/test-string.h: #include <sys/param.h> for MIN.
66826         * csu/init-first.c (__libc_init_first): Call __ctype_init.
66827         * sysdeps/i386/init-first.c (init): Likewise.
66828         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66829         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66830         * sysdeps/sh/init-first.c (init): Likewise.
66832 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
66834         * po/ru.po: Update from translation team.
66835         * po/vi.po: Likewise.
66837 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66839         * resolv/nss_dns/dns-host.c: Merge copyright years.
66841 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66843         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66844         Optimize memcpy with prefetch if
66845         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
66846         src, dst pointers have unequal 16 byte alignments.
66848 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66850         [BZ #13928]
66851         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
66852         from a CNAME entry and return the minimum ttl for the query.
66853         (gaih_getanswer_slice): Likewise.
66855 2012-03-30  Jeff Law  <law@redhat.com>
66857         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
66858         due to long keys.
66859         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
66860         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
66862         * resolv/nss_dns/dns-host.c: Update copyright year.
66864 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
66866         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
66867         requests to save a system call.  Fix check that all bytes are sent.
66869         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
66870         comments for sendmmsg.
66872 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66874         [BZ #13691]
66875         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
66876         with only 1 character between 0x0041 and 0x01b0.
66877         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
66878         * wcsmbs/tst-mbsnrtowcs.c: New file.
66880 2012-03-29  David S. Miller  <davem@davemloft.net>
66882         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
66883         small copies by hand.
66885 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66887         [BZ #13761]
66888         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
66889         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
66890         group memberships.
66892 2012-03-28  David S. Miller  <davem@davemloft.net>
66894         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
66895         that branches into memcpy.
66896         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66897         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66899         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
66900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
66901         bits.
66902         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
66903         implementation too.
66904         * sysdeps/sparc/mempcpy.S: New file.
66906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
66907         the IFUNC routine in the libc case.
66908         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66910         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
66911         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
66912         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
66913         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
66914         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
66915         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
66916         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
66917         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
66919         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
66920         loop to 256 bytes instead of 64 bytes and fix test signedness.
66922         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
66923         * sysdeps/sparc/sparc32/Makefile: rather than here...
66924         * sysdeps/sparc/sparc64/Makefile: and here.
66926 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
66928         * malloc/mallocbug.c: Avoid warnings about unused variables.
66930 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66932         [BZ #13760]
66933         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
66934         in the right place. Discard and retry query if response is
66935         larger than input buffer size.
66937 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
66939         [BZ #369]
66940         [BZ #2678]
66941         [BZ #3866]
66942         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
66943         x for large integer exponent.
66944         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
66945         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
66946         sign of result as needed afterwards.
66947         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
66948         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
66949         result for underflowing pow the same as for overflow.
66950         (__kernel_standard_l): Handle powl overflow and underflow here
66951         rather than calling __kernel_standard.
66952         * math/libm-test.inc (pow_test): Add more tests.
66954         [BZ #3868]
66955         [BZ #13879]
66956         [BZ #13910]
66957         [BZ #13911]
66958         [BZ #13912]
66959         [BZ #13913]
66960         [BZ #13915]
66961         [BZ #13916]
66962         [BZ #13917]
66963         [BZ #13918]
66964         [BZ #13919]
66965         [BZ #13920]
66966         [BZ #13921]
66967         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
66968         * sysdeps/ieee754/k_standard.c: Include <float.h>.
66969         (__kernel_standard_l): New function.
66970         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
66971         __kernel_standard.
66972         * math/w_acosl.c (__acosl): Likewise.
66973         * math/w_asinl.c (__asinl): Likewise.
66974         * math/w_atan2l.c (__atan2l): Likewise.
66975         * math/w_atanhl.c (__atanhl): Likewise.
66976         * math/w_coshl.c (__coshl): Likewise.
66977         * math/w_exp10l.c (__exp10l): Likewise.
66978         * math/w_exp2l.c (__exp2l): Likewise.
66979         * math/w_fmodl.c (__fmodl): Likewise.
66980         * math/w_hypotl.c (__hypotl): Likewise.
66981         * math/w_j0l.c (__j0l, __y0l): Likewise.
66982         * math/w_j1l.c (__j1l, __y1l): Likewise.
66983         * math/w_jnl.c (__jnl, __ynl): Likewise.
66984         * math/w_lgammal.c (__lgammal): Likewise.
66985         * math/w_log10l.c (__log10l): Likewise.
66986         * math/w_log2l.c (__log2l): Likewise.
66987         * math/w_logl.c (__logl): Likewise.
66988         * math/w_powl.c (__powl): Likewise.
66989         * math/w_remainderl.c (__remainderl): Likewise.
66990         * math/w_scalbl.c (sysv_scalbl): Likewise.
66991         * math/w_sinhl.c (__sinhl): Likewise.
66992         * math/w_sqrtl.c (__sqrtl): Likewise.
66993         * math/w_tgammal.c (__tgammal): Likewise.
66994         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
66995         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
66996         * math/libm-test.inc (acos_test): Add more tests.
66997         (acosh_test): Likewise.
66998         (asin_test): Likewise.
66999         (atanh_test): Likewise.
67000         (exp_test): Likewise.
67001         (exp10_test): Likewise.
67002         (exp2_test): Likewise.
67003         (expm1_test): Likewise.
67004         (lgamma_test): Likewise.
67005         (log_test): Likewise.
67006         (log10_test): Likewise.
67007         (log1p_test): Likewise.
67008         (log2_test): Likewise.
67009         (pow_test): Do not allow some spurious overflow exceptions.
67010         (sqrt_test): Add more tests.
67011         (tgamma_test): Likewise.
67012         (y0_test): Likewise.
67013         (y1_test): Likewise.
67014         (yn_test): Likewise.
67016 2012-03-27  Anton Blanchard  <anton@samba.org>
67018         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67019         MAP_HUGETLB.
67020         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67021         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67022         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67024 2012-03-27  David S. Miller  <davem@davemloft.net>
67026         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67028         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67029         have-as-vis3 check.
67031 2012-03-27  Andreas Jaeger  <aj@suse.de>
67033         * sysdeps/x86_64/elf/configure.in: Moved to ...
67034         * sysdeps/x86_64/configure.in: ... here.
67035         * sysdeps/x86_64/elf/start.S: Moved to ...
67036         * sysdeps/x86_64/start.S: ... here.
67037         * sysdeps/x86_64/elf/configure: Delete.
67039         * sysdeps/x86_64/configure.in: Merge contents from
67040         sysdeps/i386/configure.in (without i686 check).
67042         * sysdeps/i386/elf/Versions: Merge into ...
67043         * sysdeps/i386/Versions: ... this.
67044         * sysdeps/i386/elf/Versions: Delete file.
67045         * sysdeps/i386/elf/start.S: Moved to ...
67046         * sysdeps/i386/start.S: ...here.
67047         * sysdeps/i386/elf/configure.in: Merge into...
67048         * sysdeps/i386/configure.in: ...here.
67049         * sysdeps/i386/elf/configure.in: Delete file.
67050         * sysdeps/i386/elf/configure: Delete file.
67052         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67053         * debug/backtracesyms.c: ... here.
67054         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67055         * debug/backtracesymsfd.c: ... here.
67056         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67057         * sysdeps/generic/ifunc-sel.h: ... here.
67059         * sysdeps/unix/i386/start.c: Delete file.
67060         * sysdeps/unix/sparc/start.c: Delete file.
67061         * sysdeps/unix/start.c: Delete file.
67063         * sysdeps/sh/elf/configure.in: Moved to ...
67064         * sysdeps/sh/configure.in: ... here.
67065         * sysdeps/sh/elf/start.S: Moved to ...
67066         * sysdeps/sh/start.S: ... here.
67067         * sysdeps/sh/elf/configure: Delete file.
67069         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67070         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67071         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67072         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67073         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67074         * sysdeps/powerpc/powerpc64/start.S: here.
67075         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67076         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67077         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67078         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67079         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67081         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67082         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67083         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67084         * sysdeps/powerpc/powerpc32/start.S: ... here.
67085         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67086         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67087         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67089         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67090         * sysdeps/powerpc/ifunc-sel.h: ... here.
67091         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67092         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67094         * sysdeps/sparc/elf/configure.in: Moved to ...
67095         * sysdeps/sparc/configure.in: ... here.
67096         * sysdeps/sparc/elf/configure: Delete file.
67097         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67098         * sysdeps/sparc/sparc32/start.S: ... here.
67099         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67100         * sysdeps/sparc/sparc64/start.S: ... here.
67101         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67102         * sysdeps/sparc/sparc32/Makefile: ... this.
67103         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67104         * sysdeps/sparc/sparc64/Makefile: ... this.
67106         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67107         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67108         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67109         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67110         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67111         * sysdeps/s390/s390-32/setjmp.S: ... here.
67112         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67113         * sysdeps/s390/s390-32/configure.in: ... here.
67114         * sysdeps/s390/s390-32/elf/configure: Delete file.
67115         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67116         * sysdeps/s390/s390-32/start.S: ... here.
67118         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67119         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67120         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67121         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67122         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67123         * sysdeps/s390/s390-64/setjmp.S: ... here.
67124         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67125         * sysdeps/s390/s390-64/configure.in: ... here
67126         * sysdeps/s390/s390-64/elf/configure: Delete file.
67127         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67128         * sysdeps/s390/s390-64/start.S: ... here.
67129         * sysdeps/s390/s390-64/elf/configure: Delete.
67131         * configure.in: Remove support for elf directories in sysdeps.
67133         * configure: Regenerated.
67134         * sysdeps/i386/configure: Regenerated.
67135         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67136         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67137         * sysdeps/s390/s390-32/configure: Regenerated.
67138         * sysdeps/s390/s390-64/configure: Regenerated.
67139         * sysdeps/sh/configure: Regenerated.
67140         * sysdeps/sparc/configure: Regenerated.
67141         * sysdeps/x86_64/configure: Regenerated.
67143 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67147         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67148         denormal result into account.
67150 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67152         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67153         Reported by Allan McRae <allan@archlinux.org>.
67155 2012-03-23  Jeff Law  <law@redhat.com>
67157         * nss/getnssent.c (__nss_getent): Fix typo.
67159 2012-03-23  David S. Miller  <davem@davemloft.net>
67161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67163 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67165         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67166         to pad to uint64_t for each field.
67167         (dl_tls_index): Replace unsigned long with uint64_t.
67169 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67170         Paul Pluzhnikov  <ppluzhnikov@google.com>
67172         [BZ #6528]
67173         * grp/Makefile (otherlibs): Don't set it.
67174         * inet/Makefile (otherlibs): Likewise.
67175         * login/Makefile (otherlibs): Likewise.
67176         * nscd/Makefile (otherlibs): Likewise.
67177         * posix/Makefile (otherlibs): Likewise.
67178         * pwd/Makefile (otherlibs): Likewise.
67179         * rt/Makefile (otherlibs): Likewise.
67180         * sunrpc/Makefile (otherlibs): Likewise.
67181         * nss/Makefile (otherlibs): Likewise.
67182         Add libnss_files to routines and static-only-routines.
67183         ($(objpfx)getent): Remove rule.
67184         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67185         static-only-routines.
67187 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67189         [BZ #13892]
67190         * math/s_cexp.c: Include <float.h>.
67191         (__cexp): Handle exp result overflowing not necessarily
67192         overflowing both real and imaginary parts of result.
67193         * math/s_cexpf.c: Likewise.
67194         * math/s_cexpl.c: Likewise.
67195         * math/libm-test.inc (cexp_test): Add more tests.
67196         * sysdeps/i386/fpu/libm-test-ulps: Update.
67197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67199 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67201         * include/link.h (ELFW): New macro.
67202         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67203         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67205 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67207         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67208         with uint64_t.
67210 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67212         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67213         declaration.
67214         (struct La_x32_retval): Likewise.
67216 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67218         * sysdeps/x86_64/preconfigure.in: New file.
67219         * sysdeps/x86_64/preconfigure: New generated file.
67221 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67223         [BZ #13824]
67224         * math/e_exp2l.c: Include <float.h>.
67225         (__ieee754_exp2l): Handle overflow and underflow cases
67226         separately.  Only pass fractional part of argument to
67227         __ieee754_expl.
67228         * math/libm-test.inc (exp2_test): Add more tests.
67230         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67231         negating x to take absolute value.
67232         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67233         Likewise.
67234         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67235         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67236         Likewise.
67237         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67238         computing low part if x was negated.
67239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67241 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67243         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67244         la_x32_gnu_pltexit.
67245         (pltexit): Cast int_retval to ptrdiff_t.
67246         * elf/tst-auditmod3b.c: Likewise.
67247         * elf/tst-auditmod4b.c: Likewise.
67248         * elf/tst-auditmod5b.c: Likewise.
67249         * elf/tst-auditmod6b.c: Likewise.
67250         * elf/tst-auditmod6c.c: Likewise.
67251         * elf/tst-auditmod7b.c: Likewise.
67253         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67254         and x32_gnu_pltexit.
67256         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67257         __ELF_NATIVE_CLASS.
67258         (La_x32_regs): New macro.
67259         (La_x32_retval): Likewise.
67260         (la_x32_gnu_pltenter): New function prototype.
67261         (la_x32_gnu_pltexit): Likewise.
67263 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67265         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67266         exponent.
67268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67270         * configure.in (libc_cv_cc_nofma): Check for option to disable
67271         generation of FMA instructions.
67272         * configure: Regenerate.
67273         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67274         * sysdeps/ieee754/dbl-64/Makefile: New file.
67275         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67276         Remove brandred-fma4.
67277         (CFLAGS-brandred-fma4.c): Remove.
67278         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67279         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67280         define.
67281         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67282         define.
67284 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67286         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67287         LLONG_MAX != LONG_MAX.
67288         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67289         (_fitoa_word): Likewise.
67290         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67291         LLONG_MAX != LONG_MAX.
67292         * stdio-common/_itowa.h: Include <_itoa.h>.
67293         (_itowa_word): Use _ITOA_WORD_TYPE on value.
67294         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
67295         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
67296         only if not defined.
67297         (_ITOA_WORD_TYPE): Likewise.
67298         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67299         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67301 2012-03-21  David S. Miller  <davem@davemloft.net>
67303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67305 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67307         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67308         of x86_64 when setting libc_cv_slibdir, libdir and
67309         libc_cv_localedir.
67310         * sysdeps/unix/sysv/linux/configure: Regenerated.
67312 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67314         * manual/lang.texi (Old Varargs): Remove section.
67315         (How Variadic): Update menu.
67316         (va_start): Do not mention varargs.h.
67318 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67319             Joseph Myers  <joseph@codesourcery.com>
67321         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67322         link test.
67323         * configure: Regenerated.
67325 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67327         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67328         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67329         conformtest.pl
67331 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67333         * NOTES: Remove.
67334         * Makefile (files-for-dist): Remove NOTES.
67335         (NOTES): Remove rule.
67336         * README: Don't refer to NOTES.
67337         * manual/creature.texi: Don't include macros.texi.
67338         * manual/intro.texi (creature.texi): Remove comment referring to
67339         NOTES.
67341         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67342         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67343         * configure: Regenerated.
67344         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67345         LIBC_TRY_CC_OPTION.
67346         (libc_cv_as_i686): Likewise.
67347         (libc_cv_cc_avx): Likewise.
67348         (libc_cv_cc_sse2avx): Likewise.
67349         (libc_cv_cc_fma4): Likewise.
67350         (libc_cv_cc_novzeroupper): Likewise.
67351         * sysdeps/i386/configure: Regenerated.
67353         [BZ #13883]
67354         * sysdeps/i386/fpu/s_cexp.S: Remove.
67355         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67356         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67357         * math/libm-test.inc (cexp_test): Add more tests.
67358         * sysdeps/i386/fpu/libm-test-ulps: Update.
67359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67361 2012-03-21  Allan McRae  <allan@archlinux.org>
67363         * timezone/Makefile: Do not install iso3166.tab and zone.tab
67365 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
67367         [BZ #13871]
67368         * math/w_exp2.c: Do not include <float.h>.
67369         (o_threshold, u_threshold): Remove.
67370         (__exp2): Calculate result before checking finiteness and calling
67371         __kernel_standard.
67372         * math/w_exp2f.c: Likewise.
67373         * math/w_exp2l.c: Likewise.
67374         * math/libm-test.inc (exp2_test): Require overflow exception for
67375         1e6 input.
67377         [BZ #3866]
67378         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67379         range of signed 64-bit integers before using fistpll.  Remove
67380         checks for whether integers fit in mantissa bits.
67381         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67382         the range of signed 32-bit integers before using fistpl.  Remove
67383         checks for whether integers fit in mantissa bits.
67384         * sysdeps/i386/fpu/e_powl.S (p64): New object.
67385         (__ieee754_powl): Test for y outside the range of signed 64-bit
67386         integers before using fistpll.  Reduce 64-bit values to 63-bit
67387         ones as needed.
67388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67389         divide-by-zero is raised for zero to large negative powers.
67390         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67391         (__ieee754_powl): Test for y outside the range of signed 64-bit
67392         integers before using fistpll.  Reduce 64-bit values to 63-bit
67393         ones as needed.
67394         * math/libm-test.inc (pow_test): Add more tests.
67396 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67398         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67399         <stdio-common/_itoa.h>.
67400         * debug/segfault.c: Likewise.
67401         * elf/dl-cache.c: Likewise.
67402         * elf/dl-minimal.c: Likewise.
67403         * elf/dl-misc.c: Likewise.
67404         * elf/dl-sysdep.c: Likewise.
67405         * elf/dl-version.c: Likewise.
67406         * elf/rtld.c: Likewise.
67407         * hurd/hurdsock.c: Likewise.
67408         * hurd/lookup-retry.c: Likewise.
67409         * malloc/malloc.c: Likewise.
67410         * malloc/mtrace.c: Likewise.
67411         * nscd/nscd_getgr_r.c: Likewise.
67412         * nscd/nscd_getpw_r.c: Likewise.
67413         * nscd/nscd_getserv_r.c: Likewise.
67414         * posix/getopt_init.c: Likewise.
67415         * posix/wordexp.c: Likewise.
67416         * stdio-common/_itoa.c: Likewise.
67417         * stdio-common/printf_fphex.c: Likewise.
67418         * stdio-common/vfprintf.c: Likewise.
67419         * string/_strerror.c: Likewise.
67420         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67421         * sysdeps/i386/i686/hp-timing.h: Likewise.
67422         * sysdeps/mach/_strerror.c: Likewise.
67423         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67424         * sysdeps/mach/hurd/sethostid.c: Likewise.
67425         * sysdeps/mach/hurd/xmknodat.c: Likewise.
67426         * sysdeps/mach/xpg-strerror.c: Likewise.
67427         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67428         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67429         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67430         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67431         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67432         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67433         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67434         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67435         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67436         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67437         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67438         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67439         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67440         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67441         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67442         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67443         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67444         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67445         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67446         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67447         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67449         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67451         * stdio-common/_itoa.h: Moved to ...
67452         * sysdeps/generic/_itoa.h: Here.
67454         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67456         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67457         instead of "_itoa.h" and "_itowa.h".
67458         * stdio-common/vfprintf.: Likewise.
67460 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67462         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67463         <bits/wordsize.h>.
67464         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67465         (__signbit): Likwise.
67466         (llrintf): Likwise.
67467         (llrint): Likwise.
67469 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
67471         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67472         __WORDSIZE != 64.
67474 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
67476         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67477         OVERFLOW_EXCEPTION_OK.
67478         * math/libm-test.inc ("Philosophy"): Update comment about
67479         exception testing.
67480         (OVERFLOW_EXCEPTION): Define.
67481         (OVERFLOW_EXCEPTION_OK): Likewise.
67482         (INVALID_EXCEPTION_OK): Renumber.
67483         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67484         (IGNORE_ZERO_INF_SIGN): Likewise.
67485         (test_exceptions): Handle FE_OVERFLOW.
67486         (exp10_test): Expect overflow exceptions.
67487         (exp2_test): Likewise.
67488         (expm1_test): Likewise.
67489         (nextafter_test): Likewise.
67490         (pow_test): Likewise.
67491         (scalbn_test): Likewise.
67492         (scalbln_test): Likewise.
67494 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67496         * sysdeps/x86_64/bits/atomic.h
67497         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67498         64bit integer.
67499         (atomic_exchange_acq): Likewise.
67500         (__arch_exchange_and_add_body): Likewise.
67501         (__arch_add_body): Likewise.
67502         (atomic_add_negative): Likewise.
67503         (atomic_add_zero): Likewise.
67505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67507         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67508         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67510 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67512         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67513         Check __x86_64__ instead of __WORDSIZE.
67515 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67517         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67519 2012-03-19  David S. Miller  <davem@davemloft.net>
67521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67523         * sysdeps/sparc/fpu/fenv_private.h: New file.
67524         * sysdeps/sparc/fpu/math_private.h: Use it.
67525         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67526         Remove.
67527         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67528         (libc_feholdexcept_setroundl): Remove.
67529         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67530         Remove.
67531         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67532         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67534 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67536         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67537         int64_t instead of long int.
67538         (INSERT_WORDS64): Likwise.
67540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
67542         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67543         _Unwind_GetCFA return to _Unwind_Ptr first.
67545 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
67547         [BZ #13629]
67548         * math/s_clog.c: Include <float.h>.
67549         (__clog): Scale large or subnormal inputs.
67550         * math/s_clogf.c: Likewise.
67551         * math/s_clogl.c: Likewise.
67552         * math/s_clog10.c: Include <float.h>.
67553         (M_LOG10_2): Define.
67554         (__clog10): Scale large or subnormal inputs.
67555         * math/s_clog10f.c: Likewise.
67556         * math/s_clog10l.c: Likewise.
67557         * math/libm-test.inc (clog_test): Add more tests.
67558         (clog10_test): Likewise.
67559         * sysdeps/i386/fpu/libm-test-ulps: Update.
67560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67562         [BZ #11451]
67563         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67564         x and y.
67565         * math/libm-test.inc (atan2_test): Add another test.
67567         * Makerules (common-objdir-compile): Remove.
67568         * sysdeps/unix/Makefile (config-generated): Do not add
67569         $(unix-generated) to variable.
67570         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67571         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67572         Remove rule.
67573         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67574         Likewise.
67575         [generic bits/local_lim.h] (before-compile): Do not append to
67576         variable.
67577         [generic bits/local_lim.h] (common-generated): Likewise.
67578         [generic sys/param.h] (before-compile): Do not append to variable.
67579         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67580         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67581         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67582         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67583         include.
67584         [generic sys/param.h] (sys/param.h-includes): Remove variable.
67585         [generic sys/param.h] (sys/param.h-includes): Remove rule.
67586         [generic sys/param.h] ($(addprefix
67587         $(common-objpfx),$(sys/param.h-includes))): Likewise.
67588         [generic sys/param.h] (common-generated): Do not append to
67589         variable.
67590         [generic sys/param.h] (sysdep_headers): Likewise.
67591         [generic bits/errno.h] (before-compile): Do not append to
67592         variable.
67593         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67594         rule.
67595         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67596         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67597         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67598         [generic bits/errno.h] (common-generated): Do not append to
67599         variable.
67600         [generic bits/ioctls.h] (before-compile): Do not append to
67601         variable.
67602         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67603         rule.
67604         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67605         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67606         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67607         rule.
67608         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67609         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67610         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67611         [generic bits/ioctls.h] (common-generated): Do not append to
67612         variable.
67613         [generic sys/syscall.h] (syscall.h): Remove variable.
67614         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67615         rule.
67616         [generic sys/syscall.h] (before-compile): Do not append to
67617         variable.
67618         [generic sys/syscall.h] (common-generated): Likewise.
67619         * sysdeps/unix/errnos-tmpl.c: Remove file.
67620         * sysdeps/unix/errnos.awk: Likewise.
67621         * sysdeps/unix/ioctls-tmpl.c: Likewise.
67622         * sysdeps/unix/ioctls.awk: Likewise.
67623         * sysdeps/unix/mk-local_lim.c: Likewise.
67624         * sysdeps/unix/snarf-ioctls: Likewise.
67626 2012-03-19  Richard Henderson  <rth@twiddle.net>
67628         * sysdeps/i386/fpu/fenv_private.h: New file.
67629         * sysdeps/i386/fpu/math_private.h: Use it.
67630         (math_opt_barrier, math_force_eval): Remove.
67631         (libc_feholdexcept_setround_53bit): Remove.
67632         (libc_feupdateenv_53bit): Remove.
67633         * sysdeps/x86_64/fpu/math_private.h: Likewise.
67634         (math_opt_barrier, math_force_eval): Remove.
67635         (libc_feholdexcept): Remove.
67636         (libc_feholdexcept_setround): Remove.
67637         (libc_fetestexcept, libc_fesetenv): Remove.
67638         (libc_feupdateenv_test): Remove.
67639         (libc_feupdateenv, libc_feholdsetround): Remove.
67640         (libc_feresetround): Remove.
67642         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67643         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67645         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67646         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67647         (libc_feupdateenv_testl): New.
67648         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67649         (libc_feupdateenv_testf): New.
67650         (libc_feupdateenv): Use libc_feupdateenv_test.
67651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67652         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67654         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67655         (libc_feholdsetroundf, libc_feholdsetroundl): New.
67656         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67657         (libc_feresetround_noex): New.
67658         (libc_feresetround_noexf): New.
67659         (libc_feresetround_noexl): New.
67660         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67661         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67662         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67663         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67664         SET_RESTORE_ROUND.
67665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67666         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67667         (__cos): Likewise.
67668         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67669         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67670         SET_RESTORE_ROUND_NOEX.
67671         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67672         SET_RESTORE_ROUND_NOEXF.
67673         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67674         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67675         (libc_feholdsetroundf): New.
67676         (libc_feresetround, libc_feresetroundf): New.
67678         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67679         (libc_feholdexcept_setround_53bit): Convert from macro to function.
67680         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
67682         * sysdeps/generic/math_private.h: Include <fenv.h>.
67683         (default_libc_feholdexcept): New.
67684         (default_libc_feholdexcept_setround): New.
67685         (default_libc_fesetenv, default_libc_feupdateenv): New.
67686         (libc_feholdexcept): Only define if undefined.
67687         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67688         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67689         (libc_feholdexcept_setroundl): Likewise.
67690         (libc_feholdexcept_setround_53bit): Likewise.
67691         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67692         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67693         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67694         (libc_feupdateenv_53bit): Likewise.
67695         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67696         (libc_feholdexcept): Convert from macro to inline function.
67697         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67698         (libc_fesetenv, libc_feupdateenv): Likewise.
67700         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67701         not previously defined.
67702         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67703         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67704         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67705         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67706         * sysdeps/ieee754/flt-32/math_private.h: New file.
67707         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67708         math_private.h below SET_FLOAT_WORD.
67709         (__isnan, __isinf_ns, __finite): Remove.
67710         (__isnanf, __isinf_nsf, __finitef): Remove.
67712 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
67714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67716 2012-03-17  David S. Miller  <davem@davemloft.net>
67718         [BZ #6471]
67719         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67720         for 2.16.
67722 2012-03-16  David S. Miller  <davem@davemloft.net>
67724         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67725         warnings.
67727         [BZ #6471]
67728         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67729         properly.
67730         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67731         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67732         sysdep_routines when subdir is sysvipc.
67733         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67734         __getshmlba helper.
67736         * sysdeps/sparc/fpu/libm-test/ulps: Update.
67738 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67740         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67741         [__LP64__].
67743 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67745         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67746         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67747         (__lround): Renamed to ...
67748         (__llround): This.  Replace long int with long long int.
67749         Define lround functions as aliases of llround functions.
67750         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67752 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67754         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67755         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
67756         adresses to uintptr_t.  Replace "long int" and "unsigned long
67757         int" with "greg_t" on va_arg.
67759 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67761         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67762         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67764         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67765         Move e_machine check before EI_CLASS check.  Handle x32
67766         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67767         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67768         SKIP_EM_IA_64 and include
67769         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67771         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67772         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67773         (add_system_dir): New macro.
67775         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67776         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67778 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67780         [BZ #2551]
67781         [BZ #2552]
67782         [BZ #2553]
67783         [BZ #2554]
67784         [BZ #2562]
67785         [BZ #2563]
67786         [BZ #2565]
67787         [BZ #2566]
67788         [BZ #2576]
67789         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67790         (y0): Likewise.
67791         * math/w_j0f.c (j0f): Likewise.
67792         (y0f): Likewise.
67793         * math/w_j0l.c (__j0l): Likewise.
67794         (__y0l): Likewise.
67795         * math/w_j1.c (j1): Likewise.
67796         (y1): Likewise.
67797         * math/w_j1f.c (j1f): Likewise.
67798         (y1f): Likewise.
67799         * math/w_j1l.c (__j1l): Likewise.
67800         (__y1l): Likewise.
67801         * math/w_jn.c (jn): Likewise.
67802         (yn): Likewise.
67803         * math/w_jnf.c (jnf): Likewise.
67804         (ynf): Likewise.
67805         * math/w_jnl.c (__jnl): Likewise.
67806         (__ynl): Likewise.
67807         * math/libm-test.inc (j0_test): Add more tests.
67808         (j1_test): Likewise.
67809         (jn_test): Likewise.  Add trailing semicolon to existing test.
67810         (y0_test): Likewise.
67811         (y1_test): Likewise.
67812         * sysdeps/i386/fpu/libm-test-ulps: Update.
67813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67815         [BZ #13851]
67816         [BZ #13854]
67817         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67818         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67819         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67821         (__tanl): Set errno for infinite argument.
67822         * sysdeps/i386/fpu/mptan.c: Remove.
67823         * sysdeps/i386/fpu/s_tan.S: Likewise.
67824         * sysdeps/i386/fpu/s_tanl.S: Likewise.
67825         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67826         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67827         * math/libm-test.inc (tan_test): Add more tests and enable more
67828         tests for double and long double.
67829         * sysdeps/i386/fpu/libm-test-ulps: Update.
67830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67832 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
67834         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67835         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67837 2012-03-16  Roland McGrath  <roland@hack.frob.com>
67839         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67840         * configure.in: Use it for both main tree and add-ons.
67841         * configure: Regenerated.
67843 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
67845         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
67847 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
67849         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
67850         in comment.
67852         [BZ #13851]
67853         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
67854         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
67855         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
67856         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
67857         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
67858         infinite argument.
67859         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
67860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
67861         != 0 for prec == 2.
67862         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
67863         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
67864         * sysdeps/i386/fpu/s_cosl.S: Likewise.
67865         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
67866         * sysdeps/i386/fpu/s_sinl.S: Likewise.
67867         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
67868         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
67869         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
67870         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
67871         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
67872         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
67873         * math/libm-test.inc (cos_test): Add more tests and enable more
67874         tests for long double.
67875         (sin_test): Likewise.
67876         (sincos_test): Likewise.
67877         * sysdeps/i386/fpu/libm-test-ulps: Update.
67878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67880 2012-03-16  David S. Miller  <davem@davemloft.net>
67882         * sysdeps/sparc/fpu/math_private.h: New file.
67884 2012-03-15  David S. Miller  <davem@davemloft.net>
67886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
67887         file.
67888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
67889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
67890         file.
67891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
67892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
67893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
67894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
67895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
67896         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
67897         sysdep routines.
67898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
67900         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
67901         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
67903         * sysdeps/sparc/sparc-ifunc.h: New file.
67904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
67905         sparc-ifunc.h
67906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
67907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
67908         Likewise.
67909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
67910         Likewise.
67911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
67912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
67913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
67915         Likewise.
67916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
67918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
67920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
67921         Likewise.
67922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
67923         Likewise.
67924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
67926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
67927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
67928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
67929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
67930         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
67931         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
67932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
67933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
67934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
67935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
67936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
67937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
67938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
67939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
67940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
67941         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
67942         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
67943         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
67944         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
67945         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
67946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
67947         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
67949 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
67951         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
67952         scaling.
67953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67955 2012-03-15  Andreas Jaeger  <aj@suse.de>
67957         [BZ #13852]
67958         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
67959         ieee754/flt-32 implementation for sin, cos and sincos.
67960         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
67961         * sysdeps/i386/fpu/s_cosf.S: Likewise.
67962         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
67963         * sysdeps/i386/fpu/s_sinf.S: Likewise.
67964         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
67965         ieee754/flt-32 implementation for tan.
67967         * math/libm-test.inc (cos_test): Enable some large input tests for
67968         float as well
67969         (sin_test): Likewise.
67970         (sincos_test): Likewise.
67971         (tan_test): Add tests for large input.
67973         * sysdeps/i386/fpu/libm-test-ulps: Update.
67975 2012-03-15  Andreas Jaeger  <aj@suse.de>
67977         [BZ #13658]
67978         * math/libm-test.inc (cos_test): Add more test cases.
67979         (sin_test): Likewise.
67980         (sincos_test): Likewise.
67982 2012-03-15  Andreas Jaeger  <aj@suse.de>
67984         [BZ #13837]
67985         * math/libm-test.inc (cos_test): Add a test case for large input
67986         value.
67987         (sin_test): Likewise.
67988         (sincos_test): Likewise.
67990 2012-03-15  Andreas Jaeger  <aj@suse.de>
67991             Joseph Myers  <joseph@codesourcery.com>
67993         [BZ #13658]
67994         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
67995         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
67996         * sysdeps/i386/fpu/branred.c: Likewise.
67997         * sysdeps/i386/fpu/dosincos.c: Likewise.
67998         * sysdeps/i386/fpu/mpa.c: Likewise.
67999         * sysdeps/i386/fpu/s_cos.S: Likewise.
68000         * sysdeps/i386/fpu/s_sin.S: Likewise.
68001         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68002         * sysdeps/i386/fpu/sincos32.c: Likewise.
68004         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68005         Define.
68006         (libc_feupdateenv_53bit): Define.
68007         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68008         Define.
68009         (libc_feupdateenv_53bit): Define.
68011         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68012         53 bit (without extend i386 double precision).
68014         * math/libm-test.inc (sincos_test): Add tests for large input.
68015         (sin): Likewise.
68016         (cos): Likewise.
68018         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68020 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68024 2012-03-15  David S. Miller  <davem@davemloft.net>
68026         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68027         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68028         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68029         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68040         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68042         file.
68043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68045         file.
68046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68048         file.
68049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68051         file.
68052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68053         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68054         fmin/fmax sysdep routines.
68055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68057 2012-03-14  David S. Miller  <davem@davemloft.net>
68059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68062         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68065         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68066         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68078         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68081         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68082         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68086         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68088         routines.
68089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68090         file.
68091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68093         file.
68094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68096         file.
68097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68099         file.
68100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68102         file.
68103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68105         file.
68106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68107         file.
68108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68109         file.
68110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68111         file.
68112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68113         New file.
68114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68115         file.
68116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68117         file.
68118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68120         file.
68121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68123         file.
68124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68126         file.
68127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68129         VIS3 routines.
68131         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68132         New file.
68134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68136         * sysdeps/sparc/configure.in: New file.
68137         * sysdeps/sparc/configure: Generate.
68138         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68139         * configure: Regenerate.
68140         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68141         * config.make.in (have-as-vis3): New.
68142         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68143         available use -Av9d instead of -Av9a.
68144         * sysdeps/sparc/sparc64/Makefile: Likewise.
68145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68147         New file.
68148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68149         file.
68150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68151         New file.
68152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68153         file.
68154         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68160         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68161         fzeros/fnegs to load 0x80000000 into a float register instead of
68162         using the stack.
68163         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68165 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68168         bits/syscall.h.
68169         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68170         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68171         ($(inst_includedir)/bits/syscall.h): Remove rule.
68172         ($(objpfx)bits/syscall.d): Include instead of
68173         $(objpfx)syscall-list.d.
68174         (generated): Change syscall-list.h and syscall-list.d to
68175         bits/syscall.h and bits/syscall.d.
68177 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68179         [BZ #13846]
68180         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68182 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68184         [BZ #13841]
68185         * math/s_csqrt.c: Include <float.h>.
68186         (__csqrt): Scale large or subnormal inputs.
68187         * math/s_csqrtf.c: Likewise.
68188         * math/s_csqrtl.c: Likewise.
68189         * math/libm-test.inc (csqrt_test): Add more tests.
68190         * sysdeps/i386/fpu/libm-test-ulps: Update.
68191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68193         [BZ #13840]
68194         * math/libm-test.inc (hypot_test): Add more tests.
68196 2012-03-13  David S. Miller  <davem@davemloft.net>
68198         [BZ #13840]
68199         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68200         double-precision for the calculation instead of scaling.
68202 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68204         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68205         manipulate bits before adding and subtracting TWO52[sx].
68206         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68207         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68208         Likewise.
68209         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68211 2012-03-13  David S. Miller  <davem@davemloft.net>
68213         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68214         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68216         rtld-global-offsets.h
68217         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68219         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68220         large parameters.
68222         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68224         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68225         'err' in the ifdef scope in which it is actually used.
68227         * nss/nss_db/db-init.c: Include string.h
68229 2012-03-12  David S. Miller  <davem@davemloft.net>
68231         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68232         masking out of the most significant byte of random value used.
68233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68234         Fix coding style in previous change.
68236         * sysdeps/unix/sysv/linux/kernel-features.h
68237         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68238         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68239         expression.
68240         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68241         later.
68243 2012-03-11  David S. Miller  <davem@davemloft.net>
68245         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68246         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68247         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68248         for 'resultvar' otherwise things get truncated on 64-bit.
68250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68251         Fix masking out of the most significant byte of random value used.
68253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68255 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68259 2012-03-09  David S. Miller  <davem@davemloft.net>
68261         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68262         variables with appropriate CPP guards.
68263         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68264         from the frame pointer, not the stack pointer.  Correct layout
68265         comments.  Fix test on resulting framesize and the management of
68266         the outregs buffer for pltexit.  Preserve floating point return
68267         values across _dl_call_pltexit call.
68268         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68269         framesize and the management of the outregs buffer for pltexit.
68270         Preserve floating point return values across _dl_call_pltexit
68271         call.
68272         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68273         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68274         (la_sparc64_gnu_pltexit): New functions.
68275         (print_exit): Fix format string for return register value.
68277 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68279         * sunrpc/Makefile (others): Add rpcgen.
68280         ($(objpfx)rpcgen): Remove special build rule and dependency on
68281         libc.
68282         * sunrpc/rpcgen.c: New file.
68284 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68286         [BZ #13673]
68287         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68288         * stdio-common/bug-vfprintf-nargs.c: Likewise.
68289         * sysdeps/i386/crti.S: Likewise.
68290         * sysdeps/i386/crtn.S: Likewise.
68291         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68292         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68293         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68294         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68295         * sysdeps/sh/crti.S: Likewise.
68296         * sysdeps/sh/crtn.S: Likewise.
68297         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68299         [BZ #13673]
68300         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68301         with URL.
68302         * locale/programs/locfile-kw.gperf: Likewise.
68303         * locale/programs/charmap-kw.h: Regenerated.
68304         * locale/programs/locfile-kw.h: Likewise.
68306         [BZ #13673]
68307         * intl/plural.y: Replace FSF snail mail address with URL.
68308         * intl/plural.c: Regenerated.
68310 2012-03-09  Richard Henderson  <rth@twiddle.net>
68312         * include/math_private.h: Remove file.
68313         * math/math_private.h: Move file ...
68314         * sysdeps/generic/math_private.h: ... here.
68316         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68317         * sysdeps/powerpc/fpu/math_private.h: Likewise.
68318         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68320         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68321         and <math_private.h>.
68322         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68323         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68324         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68325         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68326         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68327         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68328         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68329         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68330         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68331         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68333         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68334         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68335         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68336         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68337         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68338         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68339         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68340         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68341         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68343         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68344         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68345         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68346         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68347         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68348         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68349         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68350         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68351         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68352         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68353         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68354         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68355         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68356         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68357         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68358         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68359         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68360         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68361         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68362         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68363         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68364         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68365         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68366         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68367         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68368         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68369         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68370         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68371         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68372         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68373         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68374         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68375         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68376         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68377         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68378         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68379         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68380         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68381         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68382         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68383         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68385         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68386         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68387         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68388         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68389         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68390         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68391         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68392         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68393         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68394         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68395         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68396         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68399         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68400         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68402         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68403         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68404         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68405         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68406         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68409         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68410         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68411         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68412         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68413         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68414         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68415         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68416         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68417         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68418         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68419         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68420         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68421         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68422         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68423         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68424         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68425         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68426         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68427         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68428         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68429         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68430         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68431         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68432         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68433         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68434         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68435         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68436         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68437         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68438         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68439         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68440         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68441         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68442         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68443         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68445         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68446         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68447         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68448         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68449         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68450         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68451         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68452         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68453         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68454         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68455         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68456         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68457         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68458         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68459         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68460         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68461         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68462         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68463         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68464         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68465         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68466         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68467         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68468         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68469         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68470         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68471         * sysdeps/ieee754/k_standard.c: Likewise.
68472         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68473         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68474         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68475         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68476         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68477         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68478         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68479         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68480         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68481         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68482         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68484         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68485         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68486         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68487         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68488         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68489         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68490         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68491         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68492         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68493         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68494         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68495         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68496         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68497         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68498         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68499         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68500         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68501         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68502         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68503         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68504         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68505         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68506         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68507         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68508         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68509         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68510         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68511         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68512         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68513         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68514         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68515         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68516         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68517         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68518         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68519         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68520         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68521         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68522         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68523         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68524         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68525         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68527         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68528         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68529         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68530         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68531         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68532         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68533         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68534         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68535         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68536         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68537         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68538         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68539         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68540         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68541         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68543         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68544         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68545         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68546         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68547         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68548         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68549         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68550         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68551         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68552         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68553         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68554         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68555         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68557         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68558         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68559         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68560         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68561         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68562         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68563         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68564         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68565         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68566         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68567         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68568         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68569         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68570         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68573         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68575         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68576         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68579         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68580         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68581         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68583         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68584         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68585         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68586         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68587         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68588         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68589         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68590         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68591         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68592         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68593         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68594         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68595         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68596         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68597         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68598         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68599         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68600         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68601         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68602         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68603         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68604         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68605         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68606         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68607         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68608         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68609         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68610         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68611         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68612         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68613         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68614         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68615         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68616         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68617         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68618         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68619         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68620         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68621         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68622         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68623         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68624         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68625         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68626         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68627         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68628         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68629         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68631         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68632         * sysdeps/ieee754/s_lib_version.c: Likewise.
68633         * sysdeps/ieee754/s_matherr.c: Likewise.
68634         * sysdeps/ieee754/s_signgam.c: Likewise.
68635         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68636         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68637         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68638         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68639         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68640         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68641         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68642         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68643         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68644         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68645         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68646         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68647         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68648         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68649         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68650         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68651         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68652         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68653         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68657 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68659         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68660         * sunrpc/rpc_main.c: Likewise.
68661         * sunrpc/rpc_svcout.c: Likewise.
68663 2012-03-09  David S. Miller  <davem@davemloft.net>
68665         * include/math_private.h: New file.
68667 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
68669         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68670         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68671         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68672         from <bits/socket_type.h>.
68673         (enum __socket_type): Don't define here.
68674         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68675         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68676         bits/socket_type.h.
68678         [BZ #13566]
68679         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68680         checking __USE_GNU.
68682         * Makerules ($(inst_includedir)/%.h): New rule.
68683         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68684         (install-others): Remove variable setting.
68685         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68687 2012-03-08  Richard Henderson  <rth@twiddle.net>
68689         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68690         from macro to inline function; merge with the
68691         !__LIBC_INTERNAL_MATH_INLINES version.
68692         (__ieee754_sqrtf): Likewise.
68694         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68695         to inline function.
68696         (__rintf, __floor, __floorf): Likewise.
68698         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68699         macro to inline function.
68700         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68702         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68703         not <math/math_private.h>.
68705 2012-03-08  David S. Miller  <davem@davemloft.net>
68707         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68708         copyright year.
68709         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68711 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
68713         * resolv/gai_misc.c (handle_requests): Fix struct timespec
68714         normalization.
68715         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68716         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68718 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
68720         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
68721         be defined individually, they must be defined as a block.  Define
68722         S for printing a string instead of hidint the different by using a
68723         macro for adding the 'l'.
68724         * stdio-common/tst-fphex-wide.c: Adjust.
68726 2012-03-07  Marek Polacek  <polacek@redhat.com>
68728         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68730 2012-03-08  Marek Polacek  <polacek@redhat.com>
68732         [BZ #13806]
68733         * stdio-common/Makefile (tests): Add tst-fphex-wide.
68734         * stdio-common/tst-fphex.c: Define a few macros to make the
68735         test reusable.  Use them.
68736         * stdio-common/tst-fphex-wide.c: New file.
68738 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
68740         [BZ #6911]
68741         * manual/macros.texi (gnusystems): New macro.
68742         (nongnusystems): Likewise.
68743         (gnulinuxhurdsystems): Likewise.
68744         (gnuhurdsystems): Likewise..
68745         (gnulinuxsystems): Likewise.
68746         * manual/charset.texi: Use new macros or @theglibc{} to refer to
68747         variants of the GNU system, not "GNU system".
68748         * manual/conf.texi: Likewise.
68749         * manual/errno.texi: Likewise.  Update example of errno macro
68750         expansion.
68751         * manual/filesys.texi: Likewise.
68752         (getumask): Document as specific to GNU/Hurd.
68753         * manual/install.texi: Likewise.  Reword some references to
68754         GNU/Linux.
68755         * manual/intro.texi: Likewise.
68756         * manual/io.texi: Likewise.
68757         (File Name Portability): Detail which constraints are inapplicable
68758         to all GNU systems and which are only inapplicable to GNU/Hurd.
68759         * manual/job.texi: Likewise.
68760         * manual/llio.texi: Likewise.
68761         (O_NOCTTY): Document as present on GNU/Linux.
68762         * manual/maint.texi: Likewise.
68763         * manual/memory.texi: Likewise.
68764         * manual/pattern.texi: Likewise.
68765         * manual/pipe.texi: Likewise.
68766         * manual/process.texi: Likewise.
68767         * manual/resource.texi: Likewise.
68768         (RUSAGE_CHILDREN): Remove statement about specifying a particular
68769         child on GNU/Hurd.
68770         * manual/setjmp.texi: Likewise.
68771         * manual/signal.texi: Likewise.
68772         * manual/startup.texi: Likewise.
68773         * manual/stdio.texi: Likewise.
68774         * manual/terminal.texi: Likewise.
68775         (ONLCR): Document as POSIX.
68776         (OXTABS): Document availability on GNU/Linux as XTABS.
68777         (ONOEOT): Document availability separately from other bits.
68778         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68779         * manual/time.texi: Likewise.
68780         * manual/users.texi: Likewise.
68781         * INSTALL: Regenerated.
68782         * sysdeps/gnu/errlist.c: Regenerated.
68784         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68785         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68786         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
68787         puts.
68788         * configure: Regenerated.
68790 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
68792         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68793         default includes instead of AC_HEADER_CHECK.
68794         * sysdeps/i386/configure: Regenerated.
68796         [BZ #10716]
68797         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68798         * math/s_cacoshf.c (__cacoshf): Likewise.
68799         * math/s_cacoshl.c (__cacoshl): Likewise.
68800         * math/s_casinh.c (__casinh): Set signs of result from argument.
68801         * math/s_casinhf.c (__casinhf): Likewise.
68802         * math/s_casinhl.c (__casinhl): Likewise.
68803         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68804         (casinh_test): Add more tests.
68805         * sysdeps/i386/fpu/libm-test-ulps: Update.
68806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68808 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
68810         * po/zh_TW.po: Update from translation team.
68812         * login/Makefile (distribute): Remove variable.
68813         * catgets/Makefile: Likewise.
68814         * mach/Makefile: Likewise.
68815         * malloc/Makefile: Likewise.
68816         * misc/Makefile: Likewise.
68817         * iconv/Makefile: Likewise.
68818         * nscd/Makefile: Likewise.
68819         * hurd/Makefile: Likewise.
68820         * manual/Makefile: Likewise.
68821         * locale/Makefile: Likewise.
68822         * intl/Makefile: Likewise.
68823         * conform/Makefile: Likewise.
68824         * nss/Makefile: Likewise.
68825         * time/Makefile: Likewise.
68826         * soft-fp/Makefile: Likewise.
68827         * dirent/Makefile: Likewise.
68828         * gmon/Makefile: Likewise.
68829         * po/Makefile: Likewise.
68830         * rt/Makefile: Likewise.
68831         * socket/Makefile: Likewise.
68832         * math/Makefile: Likewise.
68833         * signal/Makefile: Likewise.
68834         * debug/Makefile: Likewise.
68835         * elf/Makefile: Likewise.
68836         * timezone/Makefile: Likewise.
68837         * stdlib/Makefile: Likewise.
68838         * iconvdata/Makefile: Likewise.
68839         * sunrpc/Makefile: Likewise.
68840         * io/Makefile: Likewise.
68841         * argp/Makefile: Likewise.
68842         * inet/Makefile: Likewise.
68843         * hesiod/Makefile: Likewise.
68844         * grp/Makefile: Likewise.
68845         * csu/Makefile: Likewise.
68846         * wctype/Makefile: Likewise.
68847         * crypt/Makefile: Likewise.
68848         * libio/Makefile: Likewise.
68849         * string/Makefile: Likewise.
68850         * nis/Makefile: Likewise.
68851         * resolv/Makefile: Likewise.
68852         * stdio-common/Makefile: Likewise.
68853         * wcsmbs/Makefile: Likewise.
68854         * dlfcn/Makefile: Likewise.
68855         * posix/Makefile: Likewise.
68857         [BZ #6959]
68858         * timezone/Makefile: Don't install timezone files, just the programs
68859         and scripts.
68861 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
68863         * nss/databases.def: Add missing gshadow entry.
68865         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
68867 2012-03-06  Marek Polacek  <polacek@redhat.com>
68869         [BZ #13726]
68870         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
68871         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
68872         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
68873         * stdio-common/tst-long-dbl-fphex.c: New file.
68875 2012-03-06  David S. Miller  <davem@davemloft.net>
68877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68878         (set_obp_int): New function.
68879         (get_obp_int): New function.
68880         (__get_clockfreq_via_dev_openprom): Likewise.
68881         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
68882         Avoid unused variable warnings on 'val' and use builtin_expect.
68883         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
68884         __builtin_expect.
68885         (INLINE_CLONE_SYSCALL): Likewise.
68887 2012-03-05  David S. Miller  <davem@davemloft.net>
68889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68891 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
68893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68895         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
68896         only for |x| >= 40.
68897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68899 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
68901         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
68902         Replace gettimeofday with __vdso_gettimeofday.
68904         * sysdeps/unix/sysv/linux/x86_64/init-first.c
68905         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
68906         __vdso_clock_gettime and __vdso_getcpu.
68908         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
68909         time with __vdso_time.
68911 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68913         * manual/lang.texi (size_t): Note types to which size_t may be
68914         equivalent with the GNU C Library, but do not describe when
68915         differences between them are significant.
68917 2012-03-05  Andreas Jaeger  <aj@suse.de>
68919         * sysdeps/i386/fpu/libm-test-ulps: Update.
68921 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
68923         [BZ #3976]
68924         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
68925         (__ieee754_pow): Save and restore rounding mode and use
68926         round-to-nearest for main computations.
68927         * math/libm-test.inc (pow_test_tonearest): New function.
68928         (pow_test_towardzero): Likewise.
68929         (pow_test_downward): Likewise.
68930         (pow_test_upward): Likewise.
68931         (main): Call the new functions.
68932         * sysdeps/i386/fpu/libm-test-ulps: Update.
68933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68935         [BZ #3976]
68936         * math/libm-test.inc (cosh_test_tonearest): New function.
68937         (cosh_test_towardzero): Likewise.
68938         (cosh_test_downward): Likewise.
68939         (cosh_test_upward): Likewise.
68940         (sinh_test_tonearest): Likewise.
68941         (sinh_test_towardzero): Likewise.
68942         (sinh_test_downward): Likewise.
68943         (sinh_test_upward): Likewise.
68944         (main): Call the new functions.
68945         * sysdeps/i386/fpu/libm-test-ulps: Update.
68946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68948 2012-03-05  Tom de Vries  <tom@codesourcery.com>
68950         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
68951         default stack guard is set in last bytes.
68952         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
68954 2012-03-05  Kees Cook  <keescook@chromium.org>
68956         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
68958         [BZ #13656]
68959         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
68960         possibly allocate from heap instead of stack.
68961         * stdio-common/bug-vfprintf-nargs.c: New file.
68962         * stdio-common/Makefile (tests): Add nargs overflow test.
68964 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
68966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68968 2012-03-03  Marek Polacek  <polacek@redhat.com>
68970         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
68971         * math/math_private.h: Likewise.
68972         * stdlib/tst-strtod.c: Likewise.
68973         * sysdeps/i386/i486/bits/atomic.h: Likewise.
68974         * sysdeps/x86_64/bits/atomic.h: Likewise.
68976 2012-03-02  David S. Miller  <davem@davemloft.net>
68978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
68979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
68980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
68981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
68982         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
68983         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
68984         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
68985         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
68987 2012-03-02  Roland McGrath  <roland@hack.frob.com>
68989         [BZ #13792]
68990         * manual/examples/README: New file, says the example source files
68991         can be used under GPL>=2.
68992         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
68993         line containing just "*/".
68994         * manual/examples/add.c: Add copyright header (GPL>=2).
68995         * manual/examples/argp-ex1.c: Likewise.
68996         * manual/examples/argp-ex2.c: Likewise.
68997         * manual/examples/argp-ex3.c: Likewise.
68998         * manual/examples/argp-ex4.c: Likewise.
68999         * manual/examples/atexit.c: Likewise.
69000         * manual/examples/db.c: Likewise.
69001         * manual/examples/dir.c: Likewise.
69002         * manual/examples/dir2.c: Likewise.
69003         * manual/examples/execinfo.c: Likewise.
69004         * manual/examples/filecli.c: Likewise.
69005         * manual/examples/filesrv.c: Likewise.
69006         * manual/examples/fmtmsgexpl.c: Likewise.
69007         * manual/examples/genpass.c: Likewise.
69008         * manual/examples/inetcli.c: Likewise.
69009         * manual/examples/inetsrv.c: Likewise.
69010         * manual/examples/isockad.c: Likewise.
69011         * manual/examples/longopt.c: Likewise.
69012         * manual/examples/memopen.c: Likewise.
69013         * manual/examples/memstrm.c: Likewise.
69014         * manual/examples/mkfsock.c: Likewise.
69015         * manual/examples/mkisock.c: Likewise.
69016         * manual/examples/mygetpass.c: Likewise.
69017         * manual/examples/pipe.c: Likewise.
69018         * manual/examples/popen.c: Likewise.
69019         * manual/examples/rprintf.c: Likewise.
69020         * manual/examples/search.c: Likewise.
69021         * manual/examples/select.c: Likewise.
69022         * manual/examples/setjmp.c: Likewise.
69023         * manual/examples/sigh1.c: Likewise.
69024         * manual/examples/sigusr.c: Likewise.
69025         * manual/examples/stpcpy.c: Likewise.
69026         * manual/examples/strdupa.c: Likewise.
69027         * manual/examples/strftim.c: Likewise.
69028         * manual/examples/strncat.c: Likewise.
69029         * manual/examples/subopt.c: Likewise.
69030         * manual/examples/swapcontext.c: Likewise.
69031         * manual/examples/termios.c: Likewise.
69032         * manual/examples/testopt.c: Likewise.
69033         * manual/examples/testpass.c: Likewise.
69034         * manual/examples/timeval_subtract.c: Likewise.
69036         [BZ #13792]
69037         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69038         function to ...
69039         * manual/timeval_subtract.c.texi: ... here, new file.
69041 2012-03-02  David S. Miller  <davem@davemloft.net>
69043         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69045 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69047         [BZ #3976]
69048         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69049         (__sin): Save and restore rounding mode and use round-to-nearest
69050         for all computations.
69051         (__cos): Save and restore rounding mode and use round-to-nearest
69052         for all computations.
69053         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69054         <fenv.h>.
69055         (tan): Save and restore rounding mode and use round-to-nearest for
69056         all computations.
69057         * math/libm-test.inc (cos_test_tonearest): New function.
69058         (cos_test_towardzero): Likewise.
69059         (cos_test_downward): Likewise.
69060         (cos_test_upward): Likewise.
69061         (sin_test_tonearest): Likewise.
69062         (sin_test_towardzero): Likewise.
69063         (sin_test_downward): Likewise.
69064         (sin_test_upward): Likewise.
69065         (tan_test_tonearest): Likewise.
69066         (tan_test_towardzero): Likewise.
69067         (tan_test_downward): Likewise.
69068         (tan_test_upward): Likewise.
69069         (main): Call the new functions.
69070         * sysdeps/i386/fpu/libm-test-ulps: Update.
69071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69073         [BZ #10135]
69074         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69075         small n, then large n, before computing and testing k+n.
69076         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69078         Likewise.
69079         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69080         Likewise.
69081         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69082         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69083         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69086         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69087         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69088         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69089         * math/libm-test.inc (scalbn_test): Add more tests.
69090         (scalbln_test): Likewise.
69092         * manual/filesys.texi (mode_t): Describe constraints on size and
69093         signedness, not exact equivalence to a particular type.
69094         (ino_t): Likewise.
69095         (ino64_t): Likewise.
69096         (dev_t): Likewise.
69097         (nlink_t): Likewise.
69098         (blkcnt_t): Likewise.
69099         (blkcnt64_t): Likewise.
69100         * manual/llio.texi (off_t): Likewise.
69102         [BZ #3976]
69103         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69104         (__ieee754_exp): Save and restore rounding mode and use
69105         round-to-nearest for all computations.
69106         * math/libm-test.inc (exp_test_tonearest): New function.
69107         (exp_test_towardzero): Likewise.
69108         (exp_test_downward): Likewise.
69109         (exp_test_upward): Likewise.
69110         (main): Call the new functions.
69111         * sysdeps/i386/fpu/libm-test-ulps: Update.
69112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69114 2012-03-01  Chris Demetriou  <cgd@google.com>
69116         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69117         have predictable order.
69119 2012-03-01  David S. Miller  <davem@davemloft.net>
69121         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69123         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69124         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69125         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69126         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69128         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69129         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69130         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69132         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69133         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69134         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69135         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69136         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69140         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69141         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69142         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69144         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69145         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69146         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69147         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69148         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69149         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69150         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69151         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69152         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69153         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69154         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69155         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69157         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69158         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69159         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69160         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69161         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69162         * sysdeps/sparc/elf/configure: Regenerated.
69164 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69166         * configure.in (AS, LD): Require binutils 2.20 or later.
69167         * configure: Regenerated.
69168         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69169         as required minimum version.
69170         * INSTALL: Regenerated.
69172         [BZ #2541]
69173         [BZ #4108]
69174         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69175         before squaring exponent.
69176         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69177         bottom long double and 27 bits of top long double before squaring
69178         exponent.
69179         * math/libm-test.inc (erfc_test): Add more tests.
69180         * sysdeps/i386/fpu/libm-test-ulps: Update.
69181         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69184 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69186         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69187         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69188         containing bit-fields.
69189         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69190         * soft-fp/single.h (_FP_UNION_S): Likewise.
69191         * soft-fp/double.h (_FP_UNION_D): Likewise.
69193 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69195         [BZ #13786]
69196         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69197         not include ../strcmp.S.
69198         [USE_AS_STRNCASECMP_L]: Likewise.
69199         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69200         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69201         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69202         (__strncasecmp_l_ia32): Define as alias to
69203         __strncasecmp_l_nonascii.
69205         [BZ #5794]
69206         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69207         * sysdeps/i386/fpu/libm-test-ulps: Update.
69208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69210         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69213 2012-02-29  Jeff Law  <law@redhat.com>
69215         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69216         out of bounds read.
69218 2012-02-29  Marek Polacek  <polacek@redhat.com>
69220         [BZ #13706]
69221         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69222         * elf/Makefile: Add rules to run tst-unused-dep.out.
69224 2012-02-28  David S. Miller  <davem@davemloft.net>
69226         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69227         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69229         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69230         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69231         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69233 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69235         * math/libm-test.inc (llround_test): Move one test from
69236         lround_test.  Use TEST_f_L in moved test.
69237         (lround_test): Move misplaced test to llround_test.  Add testcase
69238         from bug 2561.
69240 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69242         * sysdeps/x86_64/fpu/e_expf.S: New file.
69243         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69245 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69247         [BZ #13637]
69248         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69249         of remain_len that may cause incomplete multi-byte character and
69250         false match.
69251         * posix/bug-regex33.c: New file.
69252         * posix/Makefile (tests): Add bug-regex33.
69254 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69256         * manual/macros.texi: New file.
69257         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69258         * manual/libc.texinfo: Include macros.texi.
69259         * manual/creatute.texi: Likewise.
69260         * manual/install.texi: Likewise.
69261         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69262         @glibcadj{} in references to the GNU C Library.
69263         * manual/charset.texi: Likewise.
69264         * manual/conf.texi: Likewise.
69265         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69266         when not using those macros.
69267         * manual/creature.texi: Likewise.
69268         * manual/crypt.texi: Likewise.
69269         * manual/errno.texi: Likewise.
69270         * manual/filesys.texi: Likewise.
69271         * manual/header.texi: Likewise.
69272         * manual/install.texi: Likewise.
69273         * manual/intro.texi: Likewise.
69274         * manual/io.texi: Likewise.
69275         * manual/job.texi: Likewise.
69276         * manual/lang.texi: Likewise.
69277         * manual/libc.texiinfo: Likewise.
69278         * manual/llio.texi: Likewise.
69279         * manual/locale.texi: Likewise.
69280         * manual/maint.texi: Likewise.
69281         * manual/math.texi: Likewise.
69282         * manual/memory.texi: Likewise.
69283         * manual/message.texi: Likewise.
69284         * manual/nss.texi: Likewise.
69285         * manual/pattern.texi: Likewise.
69286         * manual/process.texi: Likewise.
69287         * manual/resource.texi: Likewise.
69288         * manual/search.texi: Likewise.
69289         * manual/setjmp.texi: Likewise.
69290         * manual/signal.texi: Likewise.
69291         * manual/socket.texi: Likewise.
69292         * manual/startup.texi: Likewise.
69293         * manual/stdio.texi: Likewise.
69294         * manual/string.texi: Likewise.
69295         * manual/sysinfo.texi: Likewise.
69296         * manual/syslog.texi: Likewise.
69297         * manual/terminal.texi: Likewise.
69298         * manual/time.texi: Likewise.
69299         * manual/users.texi: Likewise.
69300         * INSTALL: Regenerated.
69301         * NOTES: Regenerated.
69302         * sysdeps/gnu/errlist.c: Regenerated.
69304 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
69306         * include/dirent.h: Include <dirstream.h> before
69307         <dirent/dirent.h>.
69309 2012-02-28  David S. Miller  <davem@davemloft.net>
69311         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69312         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69313         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69314         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69316 2012-02-27  David S. Miller  <davem@davemloft.net>
69318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69320         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69321         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69324         frame pointer instead of stack pointer relative arg slot.
69325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69326         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69327         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69329 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
69331         [BZ #3992]
69332         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69334 2012-02-27  David S. Miller  <davem@davemloft.net>
69336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69340         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69341         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69342         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69343         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69345 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69347         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69348         later.  Allow versions 5-9.
69349         * configure: Regenerated.
69350         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69351         required minimum version and 4.6 as recommended version.  Do not
69352         mention bugs in GCC 2.7 and 2.8.
69353         * INSTALL: Regenerated.
69355 2012-02-27  David S. Miller  <davem@davemloft.net>
69357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69361         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69362         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69363         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69364         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69366         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69367         manipulate bits before adding and subtracting TWO112[sx].
69368         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69370 2012-02-27  Roland McGrath  <roland@hack.frob.com>
69372         [BZ #13775]
69373         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69374         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69375         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69376         being in POSIX, because they are in 1003.1-2008.
69378         * rt/tst-aio.c: Include <fcntl.h>.
69379         * rt/tst-aio7.c: Likewise.
69380         * rt/tst-aio64.c: Likewise.
69382         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69384 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
69386         * manual/install.texi (--with-headers): Describe headers as
69387         interface headers, not private headers.
69388         (Specific advice for GNU/Linux systems): Describe use of headers
69389         from "make headers_install", not private headers from older
69390         kernels.
69391         * INSTALL: Regenerated.
69392         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69393         Change to 2.6.19.
69394         * sysdeps/unix/sysv/linux/configure: Regenerated.
69396         * manual/llio.texi (fclean): Remove documentation.
69398         * manual/Makefile (libc-texi-generated): New variable.  Include
69399         version.texi.
69400         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69401         $(libc-texi-generated), not duplicated list of files.
69402         (version.texi, stamp-version): New rules.
69403         (realclean): Remove $(libc-texi-generated), not individual files
69404         from that list.  Do not remove dir-add.texinfo.
69405         * manual/libc.texinfo: Comment out uses of edition numbers and
69406         references to printed manual.  Remove last-updated dates.
69407         (EDITION): Comment out.
69408         (ISBN): Likewise.
69409         (VERSION, UPDATED): Remove.
69410         (version.texi): Include.
69412 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
69414         * sysdeps/posix/spawni.c: Include <signal.h>.
69415         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69416         * sysdeps/pthread/aio_fsync.c: Likewise.
69418 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
69420         * conform/Makefile (tests): Run only when not cross-compiling and
69421         when fast-check is not defined.
69423         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69424         * conform/data/limits.h-data: Fixes for POSIX2008.
69425         * conform/run-conformtest.sh: Run all tests.
69426         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69427         headers.
69428         * include/bits/dlfcn.h: Likewise.
69429         * include/langinfo.h: Likewise.
69430         * include/monetary.h: Likewise.
69431         * include/sys/poll.h: Likewise.
69433         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69434         for __USE_GNU.
69435         * posix/spawn.h: Define __need_sigset_t.
69436         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69437         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69438         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
69439         to get sigevent_t only.
69440         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69441         only for __USE_GNU.
69442         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69443         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69444         process_vm_writev only for __USE_GNU.
69445         * termios/termios.h: Declare tcgetsid also for POSIX2008.
69447         * conform/Makefile: For now ignore errors from run-conformtest.
69448         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
69449         POSIX to avoid namespace pollution.  Don't prepend headers.
69450         * conform/data/aio.h-data: Fixes for POSIX testing.
69451         * conform/data/fcntl.h-data: Likewise.
69452         * conform/data/glob.h-data: Likewise.
69453         * conform/data/grp.h-data: Likewise.
69454         * conform/data/pthread.h-data: Likewise.
69455         * conform/data/pwd.h-data: Likewise.
69456         * conform/data/signal.h-data: Likewise.
69457         * conform/data/spawn.h-data: Likewise.
69458         * conform/data/stdio.h-data: Likewise.
69459         * conform/data/stdlib.h-data: Likewise.
69460         * conform/data/stropts.h-data: Likewise.
69461         * conform/data/sys/mman.h-data: Likewise.
69462         * conform/data/sys/stat.h-data: Likewise.
69463         * conform/data/sys/types.h-data: Likewise.
69464         * conform/data/sys/wait.h-data: Likewise.
69465         * conform/data/time.h-data: Likewise.
69466         * conform/data/unistd.h-data: Likewise.
69467         * conform/data/utime.h-data: Likewise.
69469         * io/sys/stat.h: fchmod was always in POSIX.
69470         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69471         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69472         * rt/aio.h: Define __need_timespec before including <time.h>.
69473         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69474         struct.  Add forward declaration of pthread_attr_t and use it in
69475         sigevent.
69476         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69478         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69479         always remove CLK_TCK definition.
69481 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
69483         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69485 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
69487         * conform/run-conformtest.sh: New file.
69488         * conform/Makefile: Run run-conformtest for tests.
69489         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
69490         support.
69492         * conform/data/uchar.h-data: New file.
69493         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69494         * conform/data/arpa/inet.h-data: Likewise.
69495         * conform/data/assert.h-data: Likewise.
69496         * conform/data/complex.h-data: Likewise.
69497         * conform/data/cpio.h-data: Likewise.
69498         * conform/data/ctype.h-data: Likewise.
69499         * conform/data/dirent.h-data: Likewise.
69500         * conform/data/dlfcn.h-data: Likewise.
69501         * conform/data/errno.h-data: Likewise.
69502         * conform/data/fcntl.h-data: Likewise.
69503         * conform/data/float.h-data: Likewise.
69504         * conform/data/fmtmsg.h-data: Likewise.
69505         * conform/data/fnmatch.h-data: Likewise.
69506         * conform/data/ftw.h-data: Likewise.
69507         * conform/data/glob.h-data: Likewise.
69508         * conform/data/grp.h-data: Likewise.
69509         * conform/data/iconv.h-data: Likewise.
69510         * conform/data/inttypes.h-data: Likewise.
69511         * conform/data/langinfo.h-data: Likewise.
69512         * conform/data/libgen.h-data: Likewise.
69513         * conform/data/limits.h-data: Likewise.
69514         * conform/data/locale.h-data: Likewise.
69515         * conform/data/math.h-data: Likewise.
69516         * conform/data/monetary.h-data: Likewise.
69517         * conform/data/mqueue.h-data: Likewise.
69518         * conform/data/ndbm.h-data: Likewise.
69519         * conform/data/net/if.h-data: Likewise.
69520         * conform/data/netdb.h-data: Likewise.
69521         * conform/data/netinet/in.h-data: Likewise.
69522         * conform/data/nl_types.h-data: Likewise.
69523         * conform/data/poll.h-data: Likewise.
69524         * conform/data/pthread.h-data: Likewise.
69525         * conform/data/pwd.h-data: Likewise.
69526         * conform/data/regex.h-data: Likewise.
69527         * conform/data/sched.h-data: Likewise.
69528         * conform/data/search.h-data: Likewise.
69529         * conform/data/semaphore.h-data: Likewise.
69530         * conform/data/setjmp.h-data: Likewise.
69531         * conform/data/signal.h-data: Likewise.
69532         * conform/data/spawn.h-data: Likewise.
69533         * conform/data/stdarg.h-data: Likewise.
69534         * conform/data/stdio.h-data: Likewise.
69535         * conform/data/stdlib.h-data: Likewise.
69536         * conform/data/string.h-data: Likewise.
69537         * conform/data/strings.h-data: Likewise.
69538         * conform/data/stropts.h-data: Likewise.
69539         * conform/data/sys/ipc.h-data: Likewise.
69540         * conform/data/sys/mman.h-data: Likewise.
69541         * conform/data/sys/msg.h-data: Likewise.
69542         * conform/data/sys/resource.h-data: Likewise.
69543         * conform/data/sys/select.h-data: Likewise.
69544         * conform/data/sys/sem.h-data: Likewise.
69545         * conform/data/sys/shm.h-data: Likewise.
69546         * conform/data/sys/socket.h-data: Likewise.
69547         * conform/data/sys/stat.h-data: Likewise.
69548         * conform/data/sys/statvfs.h-data: Likewise.
69549         * conform/data/sys/time.h-data: Likewise.
69550         * conform/data/sys/timeb.h-data: Likewise.
69551         * conform/data/sys/times.h-data: Likewise.
69552         * conform/data/sys/types.h-data: Likewise.
69553         * conform/data/sys/uio.h-data: Likewise.
69554         * conform/data/sys/un.h-data: Likewise.
69555         * conform/data/sys/utsname.h-data: Likewise.
69556         * conform/data/sys/wait.h-data: Likewise.
69557         * conform/data/syslog.h-data: Likewise.
69558         * conform/data/tar.h-data: Likewise.
69559         * conform/data/termios.h-data: Likewise.
69560         * conform/data/utime.h-data: Likewise.
69561         * conform/data/utmpx.h-data: Likewise.
69562         * conform/data/varargs.h-data: Likewise.
69563         * conform/data/wchar.h-data: Likewise.
69564         * conform/data/wctype.h-data: Likewise.
69565         * conform/data/wordexp.h-data: Likewise.
69567         * include/stropts.h: New file.
69568         * include/uchar.h: New file.
69569         * include/aio.h: Changes to allow conformtest.pl to use the headers.
69570         * include/assert.h: Likewise.
69571         * include/ctype.h: Likewise.
69572         * include/dirent.h: Likewise.
69573         * include/dlfcn.h: Likewise.
69574         * include/fcntl.h: Likewise.
69575         * include/fnmatch.h: Likewise.
69576         * include/glob.h: Likewise.
69577         * include/grp.h: Likewise.
69578         * include/libio.h: Likewise.
69579         * include/locale.h: Likewise.
69580         * include/math.h: Likewise.
69581         * include/net/if.h: Likewise.
69582         * include/netdb.h: Likewise.
69583         * include/netinet/in.h: Likewise.
69584         * include/pthread.h: Likewise.
69585         * include/pwd.h: Likewise.
69586         * include/regex.h: Likewise.
69587         * include/sched.h: Likewise.
69588         * include/search.h: Likewise.
69589         * include/setjmp.h: Likewise.
69590         * include/signal.h: Likewise.
69591         * include/stdio.h: Likewise.
69592         * include/stdlib.h: Likewise.
69593         * include/string.h: Likewise.
69594         * include/sys/cdefs.h: Likewise.
69595         * include/sys/mman.h: Likewise.
69596         * include/sys/msg.h: Likewise.
69597         * include/sys/resource.h: Likewise.
69598         * include/sys/select.h: Likewise.
69599         * include/sys/socket.h: Likewise.
69600         * include/sys/stat.h: Likewise.
69601         * include/sys/statvfs.h: Likewise.
69602         * include/sys/time.h: Likewise.
69603         * include/sys/times.h: Likewise.
69604         * include/sys/uio.h: Likewise.
69605         * include/sys/utsname.h: Likewise.
69606         * include/sys/wait.h: Likewise.
69607         * include/termios.h: Likewise.
69608         * include/time.h: Likewise.
69609         * include/ulimit.h: Likewise.
69610         * include/unistd.h: Likewise.
69611         * include/utime.h: Likewise.
69612         * include/wchar.h: Likewise.
69613         * include/wctype.h: Likewise.
69614         * include/wordexp.h: Likewise.
69616         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69618         * time/time.h: TIME_UTC must be a macro.
69619         Make timespec_get available for ISO C11 only as well.
69621 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
69623         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69624         Reported by Peng Haitao <penght@cn.fujitsu.com>.
69626 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69628         * configure.in: Use -o not -a in test for unsupported multi-arch.
69630 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69632         * manual/texinfo.tex: Update to version 2012-01-19.16.
69634 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
69636         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69638 2012-02-24  Roland McGrath  <roland@hack.frob.com>
69640         [BZ #13738]
69641         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69642         * manual/fdl-1.3.texi: New file.
69643         * manual/fdl-1.1.texi: File removed.
69645         [BZ #13738]
69646         * manual/libc.texinfo (FDL_VERSION): New @set.
69647         Use it for mention of FDL in cover text.
69648         (Documentation License): Use it in @include file name.
69650 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69651             Roland McGrath  <roland@hack.frob.com>
69653         [BZ #5461]
69654         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69655         (not LONG_LONG_MAX and LONG_LONG_MIN.
69656         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69657         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
69658         name.
69659         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69661 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69663         [BZ #2547]
69664         [BZ #11365]
69665         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69666         manipulate bits before adding and subtracting TWO23[sx].
69667         * math/libm-test.inc (nearbyint_test): Add more tests.
69669 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69671         [BZ #2548]
69672         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69673         bits before adding and subtracting TWO23[sx].
69674         * math/libm-test.inc (rint_test): Add more tests.
69675         (rint_test_tonearest): Likewise.
69676         (rint_test_towardzero): Likewise.
69677         (rint_test_downward): Likewise.
69678         (rint_test_upward: Likewise.
69680 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69682         [BZ #10110]
69683         * include/stdc-predef.h: New file.  Extracted from features.h.
69684         * include/features.h: Include stdc-predef.h.
69685         * Makefile (headers): Add stdc-predef.h.
69686         * CONFORMANCE (Compiler limitations): Update.
69688 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
69690         * manual/libc.texinfo (VERSION, UPDATED): Revert.
69692 2012-02-21  David S. Miller  <davem@davemloft.net>
69694         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69695         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69697 2012-02-20  David S. Miller  <davem@davemloft.net>
69699         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69700         using a normal save/restore sequence, rather than allocating a
69701         dummy stack frame just to store a frame pointer and restore.
69702         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69704 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69706         * manual/install.texi: Fix stray word in line-wrapped comment.
69708 2012-02-20  David S. Miller  <davem@davemloft.net>
69710         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69711         both binutils and gcc support GOTDATA.
69713         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69714         "rd %pc" in the PIC register setup sequences.
69716         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69717         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69718         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69719         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69720         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69722         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69723         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69724         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69725         (SYSCALL_ERROR_HANDLER): Likewise.
69726         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69727         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69729         (SYSCALL_ERROR_HANDLER): Likewise.
69731         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69732         (HAVE_GCC_GOTDATA): New.
69733         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69734         relocation support in both binutils and gcc.
69735         * sysdeps/sparc/elf/configure: Regenerate.
69737         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69738         * sysdeps/sparc/sparc32/elf/configure: Delete.
69739         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69740         * sysdeps/sparc/sparc64/elf/configure: Delete.
69741         * sysdeps/sparc/elf/configure.in: New file.
69742         * sysdeps/sparc/elf/configure: Generate.
69744         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69745         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69746         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69747         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69748         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69750 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69752         * manual/install.texi: Do not mention specific glibc version
69753         numbers.
69754         * manual/libc.texinfo (VERSION, UPDATED): Update.
69755         (@copying): Use @copyright{} and range of years.
69757 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
69759         [BZ #13695]
69760         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69761         [crti.S not in sysdirs] (generated): Do not append.
69762         [crti.S not in sysdirs] (omit-deps): Likewise.
69763         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69764         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69765         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69766         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69767         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69768         Likewise.
69769         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69770         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69771         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69772         * csu/defs.awk: Remove file.
69773         * sysdeps/generic/initfini.c: Likewise.
69774         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69775         variable.
69776         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69777         Likewise.
69779 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69781         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69782         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69783         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69784         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69785         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69786         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69787         <bits/epoll.h>.
69788         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69789         (__EPOLL_PACKED): Define to empty if not defined by
69790         <bits/epoll.h>.
69791         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69793         bits/epoll.h.
69795 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69797         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69798         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69799         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69800         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69801         <bits/timerfd.h>.
69802         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69804         bits/timerfd.h.
69806 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
69808         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69809         in C locale.
69810         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69811         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69812         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69815 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
69817         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69818         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69820 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
69822         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69823         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69824         defined.
69825         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69826         Likewise.
69827         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69828         entry for 2.16.
69830 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
69832         * math/w_acos.c: Use non-signaling floating-point comparisons.
69833         * math/w_acosf.c: Likewise.
69834         * math/w_acosh.c: Likewise.
69835         * math/w_acoshf.c: Likewise.
69836         * math/w_acoshl.c: Likewise.
69837         * math/w_acosl.c: Likewise.
69838         * math/w_asin.c: Likewise.
69839         * math/w_asinf.c: Likewise.
69840         * math/w_asinl.c: Likewise.
69841         * math/w_atanh.c: Likewise.
69842         * math/w_atanhf.c: Likewise.
69843         * math/w_atanhl.c: Likewise.
69844         * math/w_exp2.c: Likewise.
69845         * math/w_exp2f.c: Likewise.
69846         * math/w_exp2l.c: Likewise.
69847         * math/w_j0.c: Likewise.
69848         * math/w_j0f.c: Likewise.
69849         * math/w_j0l.c: Likewise.
69850         * math/w_j1.c: Likewise.
69851         * math/w_j1f.c: Likewise.
69852         * math/w_j1l.c: Likewise.
69853         * math/w_jn.c: Likewise.
69854         * math/w_jnf.c: Likewise.
69855         * math/w_log.c: Likewise.
69856         * math/w_log10.c: Likewise.
69857         * math/w_log10f.c: Likewise.
69858         * math/w_log10l.c: Likewise.
69859         * math/w_log2.c: Likewise.
69860         * math/w_log2f.c: Likewise.
69861         * math/w_log2l.c: Likewise.
69862         * math/w_logf.c: Likewise.
69863         * math/w_logl.c: Likewise.
69864         * math/w_sqrt.c: Likewise.
69865         * math/w_sqrtf.c: Likewise.
69866         * math/w_sqrtl.c: Likewise.
69867         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69868         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
69869         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69870         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69871         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69873 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69875         [BZ #9739]
69876         * manual/string.texi (strnlen): Use correct parameter name in
69877         equivalent expression.
69879 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69881         [BZ #11174]
69882         * manual/users.texi (seteuid): Consistently use neweuid for
69883         argument name.
69885 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
69887         [BZ #13704]
69888         * manual/nss.texi (Services in the NSS configuration): Correct
69889         list of services in example configuration file.
69891 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
69893         [BZ #11322]
69894         * manual/arith.texi: Remove statements about negative zero
69895         behaving identically to zero.
69897 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69899         [BZ #5993]
69900         * manual/install.texi: Do not document upgrading from libc5.
69902 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
69904         [BZ #4596]
69905         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
69907 2012-02-18  David S. Miller  <davem@davemloft.net>
69909         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
69910         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
69911         %o7 across the call.
69912         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
69913         instead.
69914         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
69915         SETUP_PIC_REG_LEAF.
69916         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69917         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
69918         * sysdeps/sparc/crtn.S: Likewise.
69920 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
69922         * aout/Makefile: Remove.
69924 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
69926         [BZ #13058]
69927         * manual/examples/argp-ex1.c (main): Format definition in GNU
69928         style.
69929         * manual/examples/argp-ex2.c (main): Likewise.
69930         * manual/examples/argp-ex3.c (main): Likewise.
69931         * manual/examples/argp-ex4.c (main): Likewise.
69932         * manual/examples/longopt.c (main): Use new-style prototype
69933         definition.
69934         * manual/examples/strncat.c (main): Specify return type and use
69935         (void) for arguments.
69936         * manual/examples/subopt.c (main): Use char **argv argument.
69938 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69940         [BZ #5077]
69941         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
69942         rounding modes.
69944 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
69946         [BZ #6907]
69947         * manual/string.texi (strchr): Change when strchrnul is
69948         recommended.
69950 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
69952         [BZ #174]
69953         * manual/locale.texi (setlocale): Document LOCPATH.
69955 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
69957         [BZ #10210]
69958         * manual/process.texi (execle): Move @dots{} before last argument.
69960 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
69962         [BZ #12047]
69963         * manual/charset.texi (Generic Charset Conversion): Fix typo
69964         (LC_TYPE -> LC_CTYPE).
69966 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
69968         [BZ #5805]
69969         * manual/arith.texi (scalbn): Use @var{} on parameter names.
69970         (scalbnf): Likewise.
69971         (scalbnl): Likewise.
69972         (scalbln): Likewise.
69973         (scalblnf): Likewise.
69974         (scalblnl): Likewise.
69975         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
69976         (vwarnx): Likewise.
69977         (verr): Likewise.
69978         (verrx): Likewise.
69979         * manual/filesys.texi (telldir): Use braces around return type.
69980         * manual/llio.texi (mmap): Add space after comma.
69981         (mmap64): Likewise.
69982         * manual/math.texi (jn): Use @var{} on parameter names.
69983         (jnf): Likewise.
69984         (jnl): Likewise.
69985         (yn): Likewise.
69986         (ynf): Likewise.
69987         (ynl): Likewise.
69988         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
69989         line.
69990         * manual/resource.texi (ulimit): Use @dots{} instead of literal
69991         "...".
69992         (sched_get_priority_min): Remove semicolon on @deftypefun line.
69993         (sched_get_priority_max): Likewise.
69994         * manual/signal.texi (sigvec): Add space after comma.
69995         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
69996         names.
69997         (if_indextoname): Likewise.
69998         (if_freenameindex): Likewise.
69999         (sendto): Use ',' instead of '.' in prototype.
70000         * manual/startup.texi (syscall): Use @dots{} instead of literal
70001         "...".
70002         * manual/stdio.texi (__fpending): Separate initial words of
70003         paragraph from @deftypefun line.
70004         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70005         "...".
70006         (vsyslog): Use @var{} on parameter names.
70007         * manual/terminal.texi (stty): Use @var{} on parameter names.
70008         * manual/users.texi (getutmp): Use @var{} on parameter names.
70009         (getutmpx): Likewise.
70011 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70013         [BZ #6884]
70014         * manual/stdio.texi (fopen): Fix typos in description of
70015         ",ccs=STRING".
70017 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70019         [BZ #4026]
70020         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70021         get clock_id definition.
70023 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70025         [BZ #4822]
70026         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70027         (madvise): Cast every argument to void on its own.
70029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70031         [BZ #9902]
70032         * manual/startup.texi (Exit Status): Fix typo.
70034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70036         [BZ #10140]
70037         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70038         * manual/examples/argp-ex2.c: Likewise.
70039         * manual/examples/argp-ex3.c: Likewise.
70041 2012-02-16  Richard Henderson  <rth@redhat.com>
70043         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70044         * sysdeps/s390/s390-32/initfini.c: Remove.
70045         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70046         * sysdeps/s390/s390-64/initfini.c: Remove.
70048 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70050         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70051         compiler output for sysdeps/generic/initfini.c.
70052         * sysdeps/sh/elf/initfini.c: Remove file.
70054 2012-02-16  David S. Miller  <davem@davemloft.net>
70056         [BZ #11494]
70057         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70059         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70060         * sysdeps/sparc/crti.S: New file.
70061         * sysdeps/sparc/crtn.S: New file.
70062         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70063         * sysdeps/sparc/sparc64/Makefile: Likewise.
70065 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70067         [BZ #3335]
70068         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70070 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70072         [BZ #4822]
70073         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70075         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70076         (write, read, close): Likewise.
70077         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70079 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70081         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70082         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70083         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70084         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70085         <bits/signalfd.h>.
70086         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70087         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70088         bits/signalfd.h.
70090 2012-02-14  Marek Polacek  <polacek@redhat.com>
70092         * sysdeps/x86_64/crti.S: New file.
70093         * sysdeps/x86_64/crtn.S: New file.
70094         * sysdeps/x86_64/elf/initfini.c: Remove file.
70096 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70098         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70099         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70100         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70101         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70102         <bits/inotify.h>.
70103         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70105         bits/inotify.h.
70107 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70109         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70110         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70111         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70112         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70113         <bits/eventfd.h>.
70114         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70116         bits/eventfd.h.
70118 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70120         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70121         __feraiseexcept instead of feraiseexcept.
70123         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70124         nanosleep invocations.
70125         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70126         strings, and add error checking for a nanosleep invocations.
70128 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70130         Replace FSF snail mail address with URLs, as per GNU coding standards.
70131         Most of the snail mail addresses were wrong anyway, and omitting
70132         them makes the source code easier to maintain.  Almost all of the
70133         changes are to license notices and to locale LC_IDENTIFICATION
70134         addresses, except for this one:
70135         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70136         not its snail mail address.
70138 2012-02-09  Richard Henderson  <rth@twiddle.net>
70140         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70141         of kernel-features.h.
70143         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70145 2012-02-08  Marek Polacek  <polacek@redhat.com>
70147         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70148         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70149         * sysdeps/gnu/_G_config.h: Likewise.
70150         * sysdeps/generic/_G_config.h: Likewise.
70152 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70154         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70155         tests.
70156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70158         * sysdeps/powerpc/powerpc32/crti.S: New file.
70159         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70160         * sysdeps/powerpc/powerpc64/crti.S: New file.
70161         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70163         * Makeconfig (have-initfini): Don't set.
70164         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70165         * configure.in (nopic_initfini): Don't substitute.
70166         * config.h.in (HAVE_INITFINI): Don't #undef.
70167         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70168         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70170 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70172         Support crti.S and crtn.S provided directly by architectures.
70173         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70174         [crti.S in sysdirs] (omit-deps): Likewise.
70175         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70176         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70177         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70178         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70179         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70180         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70181         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70182         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70183         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70184         compiler output for sysdeps/generic/initfini.c.
70185         * sysdeps/i386/elf/Makefile: Remove file.
70186         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70188 2012-02-07  Marek Polacek  <polacek@redhat.com>
70190         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70191         * sysdeps/gnu/_G_config.h: Likewise.
70192         * sysdeps/mach/hurd/_G_config.h: Likewise.
70194 2012-02-07  Marek Polacek  <polacek@redhat.com>
70196         * math/Makefile (tests): Add tst-CMPLX2.
70197         * math/tst-CMPLX2.c: New file.
70199 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70201         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70203         * math/libm-test.inc (jn_test): Add missing L suffix.
70205 2012-02-06  Marek Polacek  <polacek@redhat.com>
70207         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70208         * sysdeps/i386/fpu/e_powf.S: Likewise.
70209         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70210         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70211         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70212         * sysdeps/i386/fpu/e_pow.S: Likewise.
70213         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70214         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70215         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70216         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70217         * sysdeps/i386/fpu/e_log2.S: Likewise.
70218         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70219         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70220         * sysdeps/i386/fpu/e_powl.S: Likewise.
70221         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70222         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70223         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70224         * sysdeps/i386/fpu/e_logl.S: Likewise.
70225         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70226         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70227         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70228         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70229         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70230         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70231         * sysdeps/i386/fpu/e_log.S: Likewise.
70232         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70233         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70234         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70235         * sysdeps/i386/fpu/e_logf.S: Likewise.
70236         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70237         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70238         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70239         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70240         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70241         * sysdeps/i386/fpu/e_log10.S: Likewise.
70242         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70243         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70244         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70245         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70246         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70247         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70248         * sysdeps/i386/asm-syntax.h: Likewise.
70249         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70250         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70251         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70252         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70253         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70254         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70255         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70256         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70257         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70258         * sysdeps/powerpc/sysdep.h: Likewise.
70259         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70260         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70262 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70264         [BZ #411]
70265         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70267 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70269         * sysdeps/i386/sysdep.h: Include <features.h>.
70270         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70271         version.
70273 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70275         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70276         Define.
70277         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70278         LOAD_PIC_REG_STR.
70280 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70282         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70283         (SETUP_PIC_REG): Use GET_PC_THUNK.
70284         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70285         macro.
70287 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70289         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70290         for non-PIC compilation.
70291         (SETUP_PIC_REG): Add .p2align directive.
70292         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70293         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70294         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70295         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70296         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70297         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70298         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70299         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70300         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70301         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70302         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70303         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70304         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70305         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70306         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70307         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70308         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70309         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70310         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70311         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70312         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70313         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70314         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70315         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70316         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70318         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70319         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70320         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70321         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70322         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70323         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70324         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70325         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70326         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70327         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70328         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70329         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70330         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70331         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70332         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70334 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70336         * math/tst-CMPLX.c: Include <stdio.h>.
70338 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
70340         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70341         float.
70342         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70343         * sysdeps/sparc/bits/mathdef.h: Likewise.
70345 2012-01-31  Marek Polacek  <polacek@redhat.com>
70347         * libio/libio.h: Don't define _PARAMS.
70348         * locale/programs/config.h: Don't define PARAMS.
70349         * stdlib/strtol_l.c: Likewise.
70350         (__strtol_l): Remove PARAMS from the prototype.
70352 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
70354         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
70355         names.  Just use the correct names.  Remove unnecessary wrapper
70356         functions.
70357         * malloc/arena.c: Likewise.
70358         * malloc/hooks.c: Likewise.
70360         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70361         ARENA_TEST says not to.  Simplify test for creation of a new arena.
70362         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70364 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
70366         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70367         into tail calls.
70368         (update_get_addr): New function.
70369         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70370         GET_ADDR_MODULE parameter.
70372 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70374         * crypt/cert.c: Remove __STDC__ conditionals.
70375         * crypt/crypt-entry.c: Likewise.
70376         * crypt/crypt_util.c: Likewise.
70377         * libio/filedoalloc.c: Likewise.
70378         * libio/fileops.c: Likewise.
70379         * libio/genops.c: Likewise.
70380         * libio/iofclose.c: Likewise.
70381         * libio/iofdopen.c: Likewise.
70382         * libio/iofopen.c: Likewise.
70383         * libio/iofopen64.c: Likewise.
70384         * libio/iogetdelim.c: Likewise.
70385         * libio/iopopen.c: Likewise.
70386         * libio/obprintf.c: Likewise.
70387         * libio/oldfileops.c: Likewise.
70388         * libio/oldiofclose.c: Likewise.
70389         * libio/oldiofdopen.c: Likewise.
70390         * libio/oldiofopen.c: Likewise.
70391         * libio/oldiopopen.c: Likewise.
70392         * libio/wfiledoalloc.c: Likewise.
70393         * libio/wgenops.c: Likewise.
70394         * locale/programs/xmalloc.c: Likewise.
70395         * misc/syslog.c: Likewise.
70396         * stdio-common/xbug.c: Likewise.
70397         * string/memchr.c: Likewise.
70398         * string/memcmp.c: Likewise.
70399         * string/memrchr.c: Likewise.
70400         * string/rawmemchr.c: Likewise.
70401         * sysdeps/posix/getcwd.c: Likewise.
70402         * time/strftime_l.c: Likewise.
70404 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
70406         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70407         * config.make.in (config-cflags-sse2avx): Define.
70408         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70409         Fix typo.
70411 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
70413         * scripts/config.guess: Update from upstream config git repository.
70414         * scripts/config.sub: Likewise.
70416 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
70418         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70419         (EM_NUM): Update.
70420         (R_TILEPRO_*, R_TILEGX_*): New macros.
70422         * scripts/firstversions.awk: Fix bug in version range handling.
70424         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70426         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70428         * include/sys/epoll.h: New file.
70429         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70430         libc_hidden_def.
70432 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
70434         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70435         Avoid unnecessary __WORDSIZE == 64 test.
70436         (fmaxf): Use VEX format if possible.
70437         (fmax): Likewise.
70438         (fminf): Likewise.
70439         (fmin): Likewise.
70441         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70442         * math/math_private.h: Remove libc_fegetround* and
70443         libc_fesetround*.
70444         * sysdeps/i386/configure.in: Check for -msse2avx.
70445         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70446         also if SSE2AVX is defined.
70447         Remove libc_fegetround* and libc_fesetround*.
70448         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70449         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
70450         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70451         of HAS_YMM_USABLE.
70452         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70453         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70454         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70455         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70456         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70458         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70460 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70462         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70463         size is not set.
70464         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70466 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
70468         [BZ #13618]
70469         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70470         relocation.
70471         * Makeconfig (libm): Define.
70472         * elf/Makefile: Add rules to build and run tst-relsort1.
70473         * elf/tst-relsort1.c: New file.
70474         * elf/tst-relsort1mod1.c: New file.
70475         * elf/tst-relsort1mod2.c: New file.
70477 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
70479         * math/s_ldexp.c: Remove __STDC__ conditionals.
70480         * math/s_ldexpf.c: Likewise.
70481         * math/s_ldexpl.c: Likewise.
70482         * math/s_nextafter.c: Likewise.
70483         * math/s_nexttowardf.c: Likewise.
70484         * math/s_significand.c: Likewise.
70485         * math/s_significandf.c: Likewise.
70486         * math/s_significandl.c: Likewise.
70487         * math/w_jnl.c: Likewise.
70488         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70489         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70490         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70491         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70492         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70493         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70494         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70495         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70496         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70497         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70498         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70499         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70500         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70501         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70502         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70503         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70504         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70505         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70507         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70508         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70509         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70510         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70511         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70512         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70513         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70514         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70515         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70516         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70517         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70518         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70519         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70520         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70521         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70522         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70523         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70524         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70525         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70526         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70527         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70528         * sysdeps/ieee754/k_standard.c: Likewise.
70529         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70530         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70531         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70532         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70533         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70534         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70535         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70536         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70537         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70538         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70539         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70586         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70588         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70589         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70590         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70595         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70598         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70599         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70600         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70604         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70608         * sysdeps/ieee754/s_matherr.c: Likewise.
70609         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70610         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70614 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70616         * crypt/md5.h: Remove __STDC__ conditionals.
70617         * libio/libioP.h: Likewise.
70618         * locale/programs/config.h: Likewise.
70619         * sysdeps/generic/sysdep.h: Likewise.
70620         * sysdeps/i386/asm-syntax.h: Likewise.
70621         * sysdeps/s390/asm-syntax.h: Likewise.
70622         * sysdeps/unix/sysdep.h: Likewise.
70623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70626 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
70628         * libio/libio.h: Remove __STDC__ conditionals.
70629         * malloc/obstack.h: Likewise.
70630         * math/complex.h: Likewise.
70631         * math/math.h: Likewise.
70632         * sysdeps/generic/_G_config.h: Likewise.
70633         * sysdeps/gnu/_G_config.h: Likewise.
70634         * sysdeps/mach/hurd/_G_config.h: Likewise.
70635         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70636         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70637         * sysdeps/sparc/bits/mathdef.h: Likewise.
70639 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
70641         [BZ #13583]
70642         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70643         Clean up HAS_* macros.
70644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70645         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70646         possible.
70647         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70648         HAS_AVX.
70649         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70650         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70651         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70652         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70653         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70655 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
70657         * elf/tst-unique3.cc (gets): Remove declaration.
70658         * elf/tst-unique3lib.cc (gets): Likewise.
70659         * elf/tst-unique3lib2.cc (gets): Likewise.
70660         * elf/tst-unique4.cc (gets): Likewise.
70662 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
70664         * include/stdio.h: Add C++ protection.  Add gets declarations and
70665         definitions.
70666         * debug/tst-chk1.c: Don't declare gets here.
70667         * stdio-common/tst-gets.c: Likewise.
70669 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70671         * posix/glob: Remove directory.
70673 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
70675         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70677 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
70679         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70680         of the non-standard EPFNOSUPPORT.
70682 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70684         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70685         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70686         ANYWHERE set to 1 only on KERN_NO_SPACE error.
70688 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
70690         * wcsmbs/uchar.h: Test __STDC_VERSION__.
70692 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
70694         * nscd/aicache.c (addhstaiX): Do not cache negative results of
70695         transient errors.
70696         * nscd/grpcache.c (cache_addgr): Likewise.
70697         * nscd/hstcache.c (cache_addhst): Likewise.
70698         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70699         * nscd/pwdcache.c (cache_addpw): Likewise.
70700         * nscd/servicescache.c (cache_addserv): Likewise.
70702 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
70704         * malloc/malloc.c: Various cleanups.
70705         * malloc/hooks.c: Likewise.
70707         * stdlib/Makefile (tests): Add bug-fmtmsg1.
70708         * stdlib/bug-fmtmsg1.c: New file.
70710         * stdlib/fmtmsg.c (init): Add missing unlock.
70711         Patch by Peng Haitao <penght@cn.fujitsu.com>.
70713 2012-01-12  Marek Polacek  <polacek@redhat.com>
70715         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70716         and _GNU_SOURCE.
70718 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70720         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70721         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70722         macro to ensure uniqueness of label name.
70723         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70724         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70726 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
70728         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70730         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70731         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70732         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70735 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
70737         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70739         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70740         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70741         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70743         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70745         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70746         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70748         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70750         * math/bits/math-finite.h: Add ldexp support.
70752 2012-01-10  Marek Polacek  <polacek@redhat.com>
70754         * locale/programs/localedef.h (show_archive_content): Add noreturn
70755         attribute.
70757 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
70759         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70761 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70763         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70765         * io/Makefile (headers): Add bits/poll2.h.
70767 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
70769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70770         typo #include statement.
70772 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70774         * include/sys/cdefs.h: Define __attribute_alloc_size.
70775         * catgets/gencat.c: Add alloc_size attribute and apply consistently
70776         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70777         * elf/pldd.c: Likewise.
70778         * iconv/iconv_charmap.c: Likewise.
70779         * iconv/iconvconfig.c: Likewise.
70780         * iconv/strtab.c: Likewise.
70781         * locale/programs/locale.c: Likewise.
70782         * locale/programs/localedef.h: Likewise.
70783         * locale/programs/simple-hash.c: Likewise.
70784         * nscd/nscd.h: Likewise.
70785         * nss/makedb.c: Likewise.
70786         * sysdeps/generic/ldconfig.h: Likewise.
70787         * locale/programs/localedef.c: Remove xmalloc prototype.
70788         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70790 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70792         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70793         appropriate.
70795 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
70797         * math/Makefile (tests): Add tst-CMPLX.
70798         * math/tst-CMPLX.c: New file.
70800         * math/complex.h (CMPLXL): Fix typo.
70802         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70803         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70804         GLIBC_2.16.
70805         * debug/tst-chk1.c: Add poll and ppoll tests.
70806         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70807         * include/sys/poll.h: Add hidden proto for ppoll.
70808         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70809         * sysdeps/mach/hurd/ppoll.c: Likewise.
70810         * io/ppoll.c: Likewise.
70811         * debug/poll_chk.c: New file.
70812         * debug/ppoll_chk.c: New file.
70813         * include/bits/poll2.h: New file.
70814         * io/bits/poll2.h: New file.
70816         [BZ #1350]
70817         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70819         * configure.in: static is always set to yes.  Remove.
70820         * config.make.in: Don't set build-static.
70821         * Makeconfig: Remove use of build-static.
70822         * dlfcn/Makefile: Likewise.
70823         * elf/Makefile: Likewise.
70824         * math/Makefile: Likewise.
70825         * misc/Makefile: Likewise.
70826         * nptl/Makefile: Likewise.
70827         * sysdeps/mach/hurd/Makefile: Likewise.
70829         * configure.in: PWD_P is not used anymore.
70830         * config.make.in: Remove PWD_P entry.
70832         * configure.in: Remove last remnants of RANLIB.
70833         No need to check for signed size_t anymore.
70834         Don't set libc_commonpagesize and libc_relro_required here for Alpha
70835         and IA-64.
70836         Remove __builtin_expect test because we require at least gcc 3.4.
70837         * aclocal.m4: Likewise.
70839         * wcsmbs/mbrtoc16.c: Implement using towc function.
70840         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70841         * wcsmbs/wcsmbsload.c: Likewise.
70842         * iconv/gconv_simple.c: Likewise.
70843         * iconv/gconv_int.h: Likewise.
70844         * iconv/gconv_builtin.h: Likewise.
70845         * iconv/iconv_prog.c: Remove CHAR16 handling.
70847         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
70849         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
70851         * configure.in: Remove --with-elf and --enable-bounded options.
70852         Dont set base_machine for ia64.  More non-ELF conditions removed.
70853         Remove testing and setting of leading underscore information.
70854         * config.make.in (build-bounded): Set to no.
70855         * config.h.in: Remove NO_UNDERSCORES entry.
70856         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
70857         them.
70858         * csu/start.c: Remove !NO_UNDERSCORE code.
70859         * locale/localeinfo.h: Likewise.
70860         * sysdeps/generic/machine-gmon.h: Likewise.
70861         * sysdeps/generic/sysdep.h: Likewise.
70862         * sysdeps/i386/sysdep.h: Likewise.
70863         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
70864         * sysdeps/mach/sysdep.h: Likewise.
70865         * sysdeps/s390/s390-32/sysdep.h: Likewise.
70866         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70867         * sysdeps/sh/sysdep.h: Likewise.
70868         * sysdeps/sparc/sparc32/alloca.S: Likewise.
70869         * sysdeps/unix/i386/sysdep.S: Likewise.
70870         * sysdeps/unix/sparc/start.c: Likewise.
70871         * sysdeps/unix/sparc/sysdep.S: Likewise.
70872         * sysdeps/unix/sparc/sysdep.h: Likewise.
70873         * sysdeps/unix/start.c: Likewise.
70874         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70875         * sysdeps/x86_64/sysdep.h: Likewise.
70877 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
70879         [BZ #13553]
70880         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
70881         for non-gcc.
70882         * argp/argp-fmtstream.h: Use const instead __const.
70883         * argp/argp.h: Likewise.
70884         * assert/assert.h: Likewise.
70885         * bits/fenv.h: Likewise.
70886         * bits/sched.h: Likewise.
70887         * bits/sigset.h: Likewise.
70888         * bits/sigthread.h: Likewise.
70889         * catgets/nl_types.h: Likewise.
70890         * conform/data/pthread.h-data: Likewise.
70891         * crypt/crypt-private.h: Likewise.
70892         * crypt/crypt.h: Likewise.
70893         * crypt/crypt_util.c: Likewise.
70894         * ctype/ctype.h: Likewise.
70895         * debug/execinfo.h: Likewise.
70896         * debug/mbsnrtowcs_chk.c: Likewise.
70897         * debug/mbsrtowcs_chk.c: Likewise.
70898         * debug/wcsnrtombs_chk.c: Likewise.
70899         * debug/wcsrtombs_chk.c: Likewise.
70900         * debug/wcstombs_chk.c: Likewise.
70901         * dirent/dirent.h: Likewise.
70902         * dlfcn/dlfcn.h: Likewise.
70903         * elf/neededtest4.c: Likewise.
70904         * grp/grp.h: Likewise.
70905         * gshadow/gshadow.h: Likewise.
70906         * iconv/gconv.h: Likewise.
70907         * iconv/gconv_int.h: Likewise.
70908         * iconv/gconv_simple.c: Likewise.
70909         * iconv/iconv.h: Likewise.
70910         * iconv/loop.c: Likewise.
70911         * iconv/skeleton.c: Likewise.
70912         * include/aio.h: Likewise.
70913         * include/aliases.h: Likewise.
70914         * include/argz.h: Likewise.
70915         * include/arpa/inet.h: Likewise.
70916         * include/assert.h: Likewise.
70917         * include/dirent.h: Likewise.
70918         * include/dlfcn.h: Likewise.
70919         * include/execinfo.h: Likewise.
70920         * include/fcntl.h: Likewise.
70921         * include/fenv.h: Likewise.
70922         * include/glob.h: Likewise.
70923         * include/grp.h: Likewise.
70924         * include/libintl.h: Likewise.
70925         * include/mntent.h: Likewise.
70926         * include/netdb.h: Likewise.
70927         * include/pwd.h: Likewise.
70928         * include/rpc/netdb.h: Likewise.
70929         * include/sched.h: Likewise.
70930         * include/search.h: Likewise.
70931         * include/shadow.h: Likewise.
70932         * include/signal.h: Likewise.
70933         * include/stdio.h: Likewise.
70934         * include/stdlib.h: Likewise.
70935         * include/string.h: Likewise.
70936         * include/sys/socket.h: Likewise.
70937         * include/sys/stat.h: Likewise.
70938         * include/sys/statfs.h: Likewise.
70939         * include/sys/statvfs.h: Likewise.
70940         * include/sys/syslog.h: Likewise.
70941         * include/sys/time.h: Likewise.
70942         * include/sys/uio.h: Likewise.
70943         * include/time.h: Likewise.
70944         * include/unistd.h: Likewise.
70945         * include/utmp.h: Likewise.
70946         * include/wchar.h: Likewise.
70947         * include/wctype.h: Likewise.
70948         * inet/aliases.h: Likewise.
70949         * inet/arpa/inet.h: Likewise.
70950         * inet/netinet/ether.h: Likewise.
70951         * inet/netinet/in.h: Likewise.
70952         * intl/libintl.h: Likewise.
70953         * io/bits/fcntl2.h: Likewise.
70954         * io/fcntl.h: Likewise.
70955         * io/ftw.h: Likewise.
70956         * io/sys/poll.h: Likewise.
70957         * io/sys/stat.h: Likewise.
70958         * io/sys/statfs.h: Likewise.
70959         * io/sys/statvfs.h: Likewise.
70960         * io/utime.h: Likewise.
70961         * libio/bits/stdio.h: Likewise.
70962         * libio/bits/stdio2.h: Likewise.
70963         * libio/libio.h: Likewise.
70964         * libio/libioP.h: Likewise.
70965         * libio/stdio.h: Likewise.
70966         * locale/lc-ctype.c: Likewise.
70967         * locale/locale.h: Likewise.
70968         * login/utmp.h: Likewise.
70969         * malloc/arena.c: Likewise.
70970         * malloc/malloc.c: Likewise.
70971         * malloc/malloc.h: Likewise.
70972         * malloc/mcheck.c: Likewise.
70973         * malloc/mtrace.c: Likewise.
70974         * math/bits/mathcalls.h: Likewise.
70975         * math/fenv.h: Likewise.
70976         * math/math_private.h: Likewise.
70977         * misc/bits/error.h: Likewise.
70978         * misc/bits/syslog.h: Likewise.
70979         * misc/err.h: Likewise.
70980         * misc/error.h: Likewise.
70981         * misc/fstab.h: Likewise.
70982         * misc/mntent.h: Likewise.
70983         * misc/regexp.h: Likewise.
70984         * misc/search.h: Likewise.
70985         * misc/sgtty.h: Likewise.
70986         * misc/sys/mman.h: Likewise.
70987         * misc/sys/syslog.h: Likewise.
70988         * misc/sys/uio.h: Likewise.
70989         * misc/sys/xattr.h: Likewise.
70990         * misc/ttyent.h: Likewise.
70991         * nis/rpcsvc/ypclnt.h: Likewise.
70992         * nss/nss.h: Likewise.
70993         * posix/bits/unistd.h: Likewise.
70994         * posix/fnmatch.h: Likewise.
70995         * posix/glob.h: Likewise.
70996         * posix/sched.h: Likewise.
70997         * posix/spawn.h: Likewise.
70998         * posix/sys/wait.h: Likewise.
70999         * posix/unistd.h: Likewise.
71000         * posix/wordexp.h: Likewise.
71001         * pwd/pwd.h: Likewise.
71002         * resolv/netdb.h: Likewise.
71003         * resource/sys/resource.h: Likewise.
71004         * rt/aio.h: Likewise.
71005         * rt/bits/mqueue2.h: Likewise.
71006         * rt/mqueue.h: Likewise.
71007         * shadow/shadow.h: Likewise.
71008         * signal/signal.h: Likewise.
71009         * socket/send.c: Likewise.
71010         * socket/sendto.c: Likewise.
71011         * socket/sys/socket.h: Likewise.
71012         * stdio-common/printf.h: Likewise.
71013         * stdlib/bits/stdlib.h: Likewise.
71014         * stdlib/fmtmsg.h: Likewise.
71015         * stdlib/monetary.h: Likewise.
71016         * stdlib/stdlib.h: Likewise.
71017         * stdlib/ucontext.h: Likewise.
71018         * streams/stropts.h: Likewise.
71019         * string/argz.h: Likewise.
71020         * string/bits/string2.h: Likewise.
71021         * string/string.h: Likewise.
71022         * string/strings.h: Likewise.
71023         * sunrpc/rpc/auth.h: Likewise.
71024         * sunrpc/rpc/auth_des.h: Likewise.
71025         * sunrpc/rpc/clnt.h: Likewise.
71026         * sunrpc/rpc/netdb.h: Likewise.
71027         * sunrpc/rpc/pmap_clnt.h: Likewise.
71028         * sunrpc/rpc/xdr.h: Likewise.
71029         * sysdeps/generic/inttypes.h: Likewise.
71030         * sysdeps/generic/net/if.h: Likewise.
71031         * sysdeps/generic/sys/swap.h: Likewise.
71032         * sysdeps/gnu/net/if.h: Likewise.
71033         * sysdeps/gnu/utmpx.h: Likewise.
71034         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71035         * sysdeps/i386/i486/bits/string.h: Likewise.
71036         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71037         * sysdeps/s390/bits/string.h: Likewise.
71038         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71039         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71040         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71041         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71042         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71043         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71044         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71045         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71046         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71047         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71048         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71049         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71050         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71051         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71052         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71053         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71054         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71056         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71057         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71058         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71059         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71060         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71061         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71062         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71063         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71064         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71065         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71066         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71067         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71068         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71069         * sysvipc/sys/ipc.h: Likewise.
71070         * sysvipc/sys/msg.h: Likewise.
71071         * sysvipc/sys/sem.h: Likewise.
71072         * sysvipc/sys/shm.h: Likewise.
71073         * termios/termios.h: Likewise.
71074         * time/sys/time.h: Likewise.
71075         * time/time.h: Likewise.
71076         * wcsmbs/bits/wchar2.h: Likewise.
71077         * wcsmbs/uchar.h: Likewise.
71078         * wcsmbs/wchar.h: Likewise.
71079         * wctype/wctype.h: Likewise.
71081         [BZ #13551]
71082         * Makeconfig: Remove all but ELF support including AIX support.
71083         * Makerules: Likewise.
71084         * config.h.in: Likewise.
71085         * config.make.in: Likewise.
71086         * configure: Likewise.
71087         * configure.in: Likewise.
71088         * csu/Makefile: Likewise.
71089         * csu/version.c: Likewise.
71090         * debug/Makefile: Likewise.
71091         * dlfcn/Makefile: Likewise.
71092         * elf/Makefile: Likewise.
71093         * extra-lib.mk: Likewise.
71094         * iconv/Makefile: Likewise.
71095         * include/libc-symbols.h: Likewise.
71096         * include/shlib-compat.h: Likewise.
71097         * resolv/Makefile: Likewise.
71098         * resolv/res_libc.c: Likewise.
71099         * rt/Makefile: Likewise.
71100         * sysdeps/i386/asm-syntax.h: Likewise.
71101         * sysdeps/i386/sysdep.h: Likewise.
71102         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71103         * sysdeps/mach/sysdep.h: Likewise.
71104         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71105         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71106         * sysdeps/s390/asm-syntax.h: Likewise.
71107         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71108         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71109         * sysdeps/sh/sysdep.h: Likewise.
71110         * sysdeps/unix/sparc/sysdep.h: Likewise.
71111         * sysdeps/wordsize-32/divdi3.c: Likewise.
71112         * sysdeps/x86_64/sysdep.h: Likewise.
71114         * argp/Versions: Remove _argp_unlock_xxx.
71116         [BZ #13559]
71117         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71118         * abilist/libBrokenLocale.abilist: Likewise.
71119         * abilist/libanl.abilist: Likewise.
71120         * abilist/libc.abilist: Likewise.
71121         * abilist/libcrypt.abilist: Likewise.
71122         * abilist/libdl.abilist: Likewise.
71123         * abilist/libm.abilist: Likewise.
71124         * abilist/libnsl.abilist: Likewise.
71125         * abilist/libpthread.abilist: Likewise.
71126         * abilist/libresolv.abilist: Likewise.
71127         * abilist/librt.abilist: Likewise.
71128         * abilist/libthread_db.abilist: Likewise.
71129         * abilist/libutil.abilist: Likewise.
71130         * abilist/libnss_db.abilist: New file.
71132         * scripts/abilist.awk: Add support for indirect functions.
71134         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71136         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71138         * shlib-versions: Remove entries for ports architectures.
71140         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71141         files in ports.
71142         * elf/stackguard-macros.h: Remove support for IA-64.
71143         * elf/tst-auditmod1.c: Likewise.
71144         * sysdeps/generic/ldsodefs.h: Likewise.
71146         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71147         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71148         configure files.
71150         [BZ #13552]
71151         * configure.in: Remove --enable-omitfp support.
71152         * FAQ.in: Adjust.
71153         * config.make.in: Likewise.
71154         * Makeconfig: Likewise.
71155         * manual/install.texi: Likewise.
71157         In case anyone cares, the IA-64 architecture could move to ports.
71158         * sysdeps/ia64/*: Removed.
71159         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71160         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71162         [BZ #13555]
71163         * configure.in: Remove entries for unsupported architectures.
71165         [BZ #13533]
71166         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71167         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71168         routines.
71169         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71170         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71171         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71172         fall back to using wcrtomb.
71173         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71174         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71175         renaming.
71176         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71177         * wcsmbs/tst-c16c32-1.c: New file.
71179         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71180         local variable.
71182         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71184         * elf/tst-unique3.cc: Add explicit declaration of gets.
71185         * elf/tst-unique3lib.cc: Likewise.
71186         * elf/tst-unique3lib2.cc: Likewise.
71187         * elf/tst-unique4.cc: Likewise.
71189         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71191 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71193         [BZ #13566]
71194         * assert/assert.h (static_assert): Don't define for C++.
71195         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71196         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71198 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71200         * iconv/loop.c (single loop): Fix assertion in storing of
71201         remaining bytes.
71203         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71205 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71207         * posix/getconf.c: Update copyright year.
71208         * nss/getent.c: Likewise.
71209         * nss/makedb.c: Likewise.
71210         * iconv/iconvconfig.c: Likewise.
71211         * iconv/iconv_prog.c: Likewise.
71212         * elf/ldconfig.c: Likewise.
71213         * elf/pldd.c: Likewise.
71214         * elf/sotruss.ksh: Likewise.
71215         * catgets/gencat.c: Likewise.
71216         * csu/version.c: Likewise.
71217         * elf/ldd.bash.in: Likewise.
71218         * elf/sprof.c (print_version): Likewise.
71219         * locale/programs/locale.c: Likewise.
71220         * locale/programs/localedef.c: Likewise.
71221         * login/programs/pt_chown.c: Likewise.
71222         * nscd/nscd.c (print_version): Likewise.
71223         * debug/xtrace.sh: Likewise.
71224         * malloc/memusage.sh: Likewise.
71225         * malloc/mtrace.pl: Likewise.
71226         * debug/catchsegv.sh: Likewise.
71228 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71230         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71231         pure attribute.
71233 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71235         [BZ #13533]
71236         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71237         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71238         transformations.
71239         * iconv/gconv_int.h: Likewise.
71240         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71241         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71242         from libc for GLIBC_2.16.
71243         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71244         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71245         * wcsmbs/uchar.h: Really define mbstate_t.
71246         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71247         * wcsmbs/c16rtomb.c: New file.
71248         * wcsmbs/mbrtoc16.c: New file.
71249         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71250         for C/POSIX locale.
71251         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71252         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71254         * wcsmbs/wchar.h: Add missing __restrict.
71256 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71258         [BZ #13532]
71259         * time/Makefile (routines): Add timespec_get.
71260         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71261         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71262         timespec for ISO C11.
71263         * time/timespec_get.c: New file.
71264         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71265         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71267         [BZ #13531]
71268         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71269         * stdlib/stdlib.h: Declare aligned_alloc.
71270         * Versions.def: Add GLIBC_2.16 for libc.
71271         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71273         [BZ 13527]
71274         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71275         ISO C11.
71277         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71278         code.
71280         [BZ #13528]
71281         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71283         [BZ #13529]
71284         * assert/assert.h (static_assert): Define.
71286         * version.h: Update for 2.16 development version.
71288         [BZ #13526]
71289         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71290         _ISOC11_SOURCE.
71292         * version.h (RELEASE): Bump for 2.15 release.
71293         * include/features.h (__GLIBC_MINOR__): Bump to 15.
71295         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71296         Patch by Marek Polacek <mpolacek@redhat.com>.
71298         * bits/byteswap.h: Protect long long constants with __extension__.
71299         * sysdeps/i386/bits/byteswap.h: Likewise.
71300         * sysdeps/ia64/bits/byteswap.h: Likewise.
71301         * sysdeps/s390/bits/byteswap.h: Likewise.
71302         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71304 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71306         [BZ #13540]
71307         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71308         destination buffer.
71309         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71311 2011-12-23  Marek Polacek  <polacek@redhat.com>
71313         * elf/dl-addr.c (determine_info): Add inline keyword.
71314         * elf/tst-auditmod4b.c (check_avx): Likewise.
71315         * elf/tst-auditmod6b.c (check_avx): Likewise.
71316         * elf/tst-auditmod6c.c (check_avx): Likewise.
71317         * elf/tst-auditmod7b.c (check_avx): Likewise.
71319 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71321         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71322         !__SSE_MATH__.
71324 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71326         [BZ #13540]
71327         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71328         processing for last bytes.
71330 2011-08-06  Bruno Haible  <bruno@clisp.org>
71332         [BZ #13061]
71333         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71334         U+0385, not to U+1FEE.
71336         [BZ #13062]
71337         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71338         entry for U+00A5 U+0301.
71340 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71342         [BZ #13166]
71343         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71344         buffer for the output is too small.
71346         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71347         optimization.
71349         [BZ #13185]
71350         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71351         SSE flags if possible.
71353 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71355         [BZ #13540]
71356         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71357         processing for last bytes.
71359 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
71361         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71362         (syscall-list-default-options, syscall-list-default-condition)
71363         (syscall-list-includes): Define.
71364         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71365         list of ABIs and options and #if conditions for each ABI.  Do not
71366         handle common syscalls between ABIs specially.
71367         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71368         Remove.
71369         (syscall-list-variants, syscall-list-32bit-options)
71370         (syscall-list-32bit-condition, syscall-list-64bit-options)
71371         (syscall-list-64bit-condition): Define.
71372         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71373         (syscall-list-variants, syscall-list-32bit-options)
71374         (syscall-list-32bit-condition, syscall-list-64bit-options)
71375         (syscall-list-64bit-condition): Define.
71376         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71377         Remove.
71378         (syscall-list-variants, syscall-list-32bit-options)
71379         (syscall-list-32bit-condition, syscall-list-64bit-options)
71380         (syscall-list-64bit-condition): Define.
71381         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71382         Remove.
71383         (syscall-list-variants, syscall-list-32bit-options)
71384         (syscall-list-32bit-condition, syscall-list-64bit-options)
71385         (syscall-list-64bit-condition): Define.
71387 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
71389         * locale/iso-639.def: Add brx entry.
71391         [BZ #13328]
71392         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71393         Proposed by Mariusz_Cukr <marcukr@op.pl>.
71395         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71396         __feraiseexcept_renamed.
71398 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71400         [BZ #13538]
71401         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71402         EPOLLET with unsigned values.
71403         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71404         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71406         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71407         to large cancellation.
71408         * math/s_cacoshf.c: Likewise.
71409         * math/s_cacoshl.c: Likewise.
71411 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
71413         [BZ #13305]
71414         [BZ #12786]
71415         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71416         * math/s_cacoshf.c: Likewise.
71417         * math/s_cacoshl.c: Likewise.
71419 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
71421         [BZ #13439]
71422         * iconv/gconv.h: Define __GCONV_SWAP.
71423         * iconvdata/unicode.c: The swap bit must be stored in __flags.
71424         * iconvdata/utf-16.c: Likewise.
71425         * iconvdata/utf-32.c: Likewise.
71427 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
71429         [BZ #13524]
71430         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71431         numerator after shifting it by one limb.
71433 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
71435         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71436         under [__USE_EXTERN_INLINES].
71438 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71440         [BZ #13446]
71441         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71443 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71445         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71446         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71447         optimized code.
71448         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71449         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71450         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71451         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71452         for strncasecmp/strncasecmp_l compilation.
71453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71454         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71456 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
71458         [BZ #13484]
71459         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71460         of __asm__.
71462 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
71464         [BZ #13506]
71465         * time/tzfile.c (__tzfile_read): Check values from file header.
71467 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71469         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71470         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71471         * powerpc/powerpc32/dl-start.S: Likewise.
71472         * powerpc/powerpc32/elf/start.S: Likewise.
71473         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71474         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71475         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71476         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71477         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71478         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71479         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71480         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71481         * powerpc/powerpc32/fpu/s_round.S: Likewise.
71482         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71483         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71484         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71485         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71486         * powerpc/powerpc32/memset.S: Likewise.
71487         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71488         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71489         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71490         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71491         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71492         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71493         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71494         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71495         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71496         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71497         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71498         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71499         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71501 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71503         * math/libm-test.inc: Added more nearbyint tests.
71504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71505         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71507         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71509 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
71511         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71512         FD_CLOEXEC.
71514 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71516         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71517         Add wcscpy-ssse3 wcscpy-c.
71518         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71519         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71520         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71521         * sysdeps/x86_64/wcschr.S: New file.
71522         * sysdeps/x86_64/wcsrchr.S: New file.
71523         * string/test-strcmp.c: Remove checking of wcscmp function for
71524         wrong alignments.
71525         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71526         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71527         wcsrchr-sse2 wcsrchr-c.
71528         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71529         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71530         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71531         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71532         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71533         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71534         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71535         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71536         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71537         * wcsmbc/wcschr.c (WCSCHR): New macro.
71539 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71541         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71542         * wcsmbs/test-wcsrchr.c: New file.
71543         * string/test-strrchr.c: Add wcsrchr support.
71544         (WIDE): New macro.
71545         * wcsmbs/test-wcscpy.c: New file.
71546         * string/test-strcpy.c: Add wcscpy support.
71547         (WIDE): New macro.
71549 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
71551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71552         the inner loop.
71554 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
71556         [BZ #13472]
71557         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71559 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
71561         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71562         Minor optimizations.
71564         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71565         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71566         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71568 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
71570         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71571         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71572         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71573         for gcc to avoid warnings.
71574         * inet/Makefile (tests): Add tst-checks.
71575         * inet/tst-checks.c: New file.
71577         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71578         warning.
71580         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71581         __wmemcmp_sse2.
71583         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71584         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71586         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71588 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
71590         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71591         problem.
71593         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71595 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
71597         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71598         conditional on GCC version.
71599         (__arch_compare_and_exchange_val_8_acq)
71600         (__arch_compare_and_exchange_val_16_acq)
71601         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71602         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71603         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71605 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
71607         * sysdeps/sh/backtrace.c: New file.
71609 2011-12-02  Andreas Schwab  <schwab@redhat.com>
71611         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
71612         parenthesis.
71614 2011-12-01  Andreas Schwab  <schwab@redhat.com>
71616         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71617         falling back to utime.
71619 2011-11-30  Andreas Schwab  <schwab@redhat.com>
71621         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71622         expectations for float.
71624 2011-11-29  Andreas Schwab  <schwab@redhat.com>
71626         * locale/weight.h (findidx): Add parameter len.
71627         * locale/weightwc.h (findidx): Likewise.
71628         * posix/fnmatch_loop.c (FCT): Adjust caller.
71629         * posix/regcomp.c (build_equiv_class): Likewise.
71630         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71631         * posix/regexec.c (check_node_accept_bytes): Likewise.
71632         * string/strcoll_l.c (STRCOLL): Likewise.
71633         * string/strxfrm_l.c (STRXFRM): Likewise.
71635 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
71637         * Makefile.in: Remove CVSOPT handling.
71638         * configure.in: Remove use of AC_REVISION.
71639         * iconvdata/Makefile (distribute): No need to filter out CVS.
71640         * scripts/list-sources.sh: Remove CVS, subversion and monotone
71641         handling.
71643 2011-11-16  Andreas Schwab  <schwab@redhat.com>
71645         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71646         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71647         [USE_AS_STRNCASECMP_L]: Likewise.
71648         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71649         NO_TLS_DIRECT_SEG_REFS.
71650         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71651         Fix argument offsets for non-PIC.
71652         [USE_AS_STRNCASECMP_L]: Likewise.
71653         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71654         NO_TLS_DIRECT_SEG_REFS.
71656 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71658         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71659         O_CLOEXEC.
71660         * locale/loadlocale.c (_nl_load_locale): Likewise.
71662 2011-11-15  Andreas Schwab  <schwab@redhat.com>
71664         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71665         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71666         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71667         (SYSCALL_GETTIME): Set errno on error.
71669         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71670         count references to noai6ai_cached.
71672 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
71674         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71676         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71677         FD_CLOEXEC for /proc/self/maps.
71679         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71680         FD_CLOEXEC for /proc/meminfo.
71682         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71683         gai.conf.
71685         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
71686         FD_CLOEXEC for given file.
71688         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71690         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71691         FD_CLOEXEC for /etc/hosts.
71692         (_gethtent): Likewise.
71694         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71696         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71697         cancellation and set FD_CLOEXEC for /etc/netgroup.
71699         * nss/nss_files/files-key.c (search): Don't allow cancellation when
71700         reading /etc/publickey.
71702         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71703         allow cancellation when reading /etc/group.
71705         * nss/nss_files/files-alias.c (internal_setent): Don't allow
71706         cancellation.
71707         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
71709         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71710         when using data file.
71712         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71714         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71715         (write_nis_obj): Use "c" and "e" in fopen.
71717         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71719         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71721         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71723         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71725         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71726         locale.alias.
71728         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71730         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71732         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71734         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71735         file parsing and set FD_CLOEXEC.
71737 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71739         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71741 2011-11-14  Andreas Schwab  <schwab@redhat.com>
71743         * malloc/arena.c (arena_get2): Don't call reused_arena when
71744         _int_new_arena failed.
71746 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
71748         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71749         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71750         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71751         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71752         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71753         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71754         to compile strcasecmp and strncasecmp.
71755         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71756         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71760 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
71762         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71763         locale-defines.sym to gen-as-const-headers.
71764         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71765         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71767         to compile strcasecmp and strncasecmp.
71768         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71769         strcasecmp_l and strncasecmp_l.
71770         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71771         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71772         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71773         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71774         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71775         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71776         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71777         * sysdeps/i386/i686/multiarch/strncase.S: New file.
71778         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71779         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71780         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71782 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
71784         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71785         result of SYSDEP_GETTIME_CPU to retval.
71786         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71787         parameter list to macro.  Remove trailing semicolon.  Adjust users.
71789         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71790         variable.
71792         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71793         mantissa words.
71794         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71796         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71797         from unused variable.
71799         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71800         DWARF definitions.
71801         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71802         for assembling.
71804         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71805         over namespaces.
71807         * sunrpc/rpc_prot.c (rejected): Fix case value.
71809         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71810         unsigned long long int to avoid warnings in shift.
71812         * posix/regex_internal.c (re_string_reconstruct): Actually use result
71813         of use of trans.
71814         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71815         variable tmp.
71817         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71818         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71819         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71821         * nis/nis_table.c (nis_list): Use variable of correct type for
71822         result of __follow_path call.
71824 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71826         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71827         of math functions ceil, trunc, floor, round, and sqrt, when
71828         avaliable on the platform.
71829         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71830         name clash.
71831         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71832         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71833         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71835 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
71837         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71838         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71840 2011-11-11  Roland McGrath  <roland@hack.frob.com>
71842         * include/unistd.h: Fix __readlink return type.
71843         Reported by Chris Metcalf <cmetcalf@tilera.com>.
71845 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
71847         * stdlib/ucontext.h: Undo last change for makecontext.
71849 2011-11-11  Andreas Schwab  <schwab@redhat.com>
71851         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
71853         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
71854         * setjmp/setjmp.h: Mark functions as non-leaf.
71855         * setjmp/bits/setjmp2.h: Likewise.
71856         * stdlib/ucontext.h: Likewise.
71858 2011-11-10  Andreas Schwab  <schwab@redhat.com>
71860         * malloc/arena.c (_int_new_arena): Don't increment narenas.
71861         (reused_arena): Don't check arena limit.
71862         (arena_get2): Atomically check arena limit.
71864 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
71866         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
71867         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
71869         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
71870         instructions.
71872 2011-11-07  Andreas Schwab  <schwab@redhat.com>
71874         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
71875         handler when locking.
71877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71878         Fix size of allocated buffer.
71880 2011-11-04  Andreas Schwab  <schwab@redhat.com>
71882         [BZ #10103]
71883         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
71884         declarations for long double functions.
71885         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
71887         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
71889 2011-11-03  Andreas Schwab  <schwab@redhat.com>
71891         * nscd/nscd.c (main): Don't start AVC thread until credentials are
71892         installed.
71894         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
71895         is disabled.
71897 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71899         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
71901 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
71903         * include/alloca.h (stackinfo_alloca_round): Define.
71904         (extend_alloca): Use it.
71905         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
71906         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
71907         here.
71909         * scripts/check-local-headers.sh: Ignore libaudit.h.
71911         * nscd/Makefile (extra-objs): Make recursively expanded.
71913 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
71915         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
71916         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
71918         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
71919         * posix/tst-rfc3484-2.c: Likewise.
71920         * posix/tst-rfc3484-3.c: Likewise.
71922         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71923         process_vm_writev.
71924         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
71925         process_vm_writev.
71926         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
71927         process_vm_writev from libc using GLIBC_2.15 version.
71929         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
71931 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
71933         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
71934         stack usage.
71936 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
71938         [BZ #13367]
71939         * nss/getent.c (initgroups_keys): Show error message in case no group
71940         names are given.
71942         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
71943         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
71944         __bump_nl_timestamp.
71945         * nscd/connections (nscd_init): When host database is served open
71946         netlink socket and request notification about configuration changes.
71947         (main_loop_poll): Track netlink file descriptor and bump timestamp
71948         in case data becomes available.
71949         (main_loop_epoll): Likewise.
71950         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
71951         (database_pers_head): Add extra_data fileds.
71952         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
71953         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
71954         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
71955         Adjust caller.
71956         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
71957         in6ai data, call __free_in6ai.
71958         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
71959         Add -DHAVE_NETLINK.
71960         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
71961         interface information.  Reuse previous data if netlink timestamp
71962         is not changed.
71963         (__bump_nl_timestamp): New function.
71964         (__free_in6ai): New function.
71966 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
71968         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
71969         close_not_cancel_no_status here.
71970         (__check_pf): Reorganize code a bit to not call close twice if OOM.
71972 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71974         [BZ #13276]
71975         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
71976         return value.
71978         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
71979         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
71980         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
71982 2011-07-03  Andreas Jaeger  <aj@suse.de>
71984         [BZ #10709]
71985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
71986         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
71987         * math/libm-test.inc (sin_test): Add test case.
71989 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
71991         [BZ #13337]
71992         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
71993         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
71995         * elf/chroot_canon.c (chroot_canon): Cleanups.
71997         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
71999         [BZ #13335]
72000         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72001         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72003         * string/test-strchr.c: Make usable for strchrnul testing.
72004         * string/test-strchrnul.c: New file.
72005         * string/Makefile (strop-tests): Add strchrnul.
72007         * po/it.po: Update from translation team.
72008         * po/es.po: Likewise.
72010 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72012         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72013         the three constants needed as parameters.  Drop the others.
72014         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72015         __m128i_strloadu_tolower.
72016         Create and initialize variable zero and use it in all the places
72017         where _mm_setzero_si128 was used.
72019         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72020         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72021         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72022         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72023         anymore.
72024         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72025         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72026         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72027         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72028         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72029         __mpranred, __mptan.
72030         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72031         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72032         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72033         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72034         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72035         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72036         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72037         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72038         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72040 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72042         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72043         redefine if SHARED.
72044         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72046         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72047         wide char related routines to wcsmbs subdir.
72049 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72051         [BZ #13344]
72052         * misc/sys/cdefs.h (__THROWNL): Define.
72053         * posix/unistd.h: Use __THREADNL instead of __THREAD
72054         for memory synchronization functions.
72056 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72058         [BZ #13349]
72059         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72060         doesn't exist.
72061         * manual/stdio.texi (Obstack Streams): Node removed.
72063 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72065         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72066         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72067         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72069         * math/math_private.h (math_force_eval): Allow non-addressable
72070         arguments.
72071         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72073 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72075         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72076         file is not needed.
72078         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72079         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72080         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72081         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72082         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72083         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72084         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72085         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72086         Add AVX variants.
72087         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72088         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72089         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72090         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72091         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72092         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72093         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72094         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72095         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72096         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72097         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72098         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72099         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72100         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72101         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72102         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72103         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72104         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72105         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72107         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72108         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72110         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72111         place.  Use VEX encoding when compiling for AVX.
72113 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72115         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72116         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72118         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72120 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72122         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72123         useless if() expression.
72124         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72125         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72126         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72127         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72128         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72129         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72130         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72132         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72133         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72134         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72135         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72136         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72137         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72138         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72139         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72140         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72141         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72142         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72144         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72146 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72148         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72149         condition.
72150         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72152 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72154         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72155         .text section.  Avoid duplicate constants.
72156         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72157         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72158         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72159         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72160         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72161         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72163         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72164         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72165         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72166         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72167         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72168         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72169         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72170         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72171         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72172         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72173         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72174         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72175         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72176         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72177         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72178         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72179         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72180         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72181         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72182         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72183         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72184         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72185         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72186         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72187         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72188         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72189         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72190         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72191         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72192         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72193         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72194         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72195         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72196         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72197         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72198         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72199         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72200         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72202 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72204         * sysdeps/x86_64/dla.h: Move to ...
72205         * sysdeps/x86_64/fpu/dla.h: ...here.
72206         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72207         situations.  Use __builtin_fma only for gcc 4.6 and up.
72209         * config.make.in: Add have-mfma4 entry.
72210         * configure.in: Substitute libc_cv_cc_fma4.
72211         * math/Makefile (dbl-only-routines): Add sincostab.
72212         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72213         Use __sincostab not sincos.
72214         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72215         name is a macro.
72216         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72217         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72218         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72219         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72220         using __copysign.
72221         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72222         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72223         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72224         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72225         and __inv.
72226         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72227         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72228         __copysign.
72229         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72230         define aliases when function name is a macro.
72231         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72232         sysdeps/ieee754/dbl-64/sincos.tbl.
72233         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72234         fma4-enabled routines.
72235         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72236         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72237         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72238         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72239         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72240         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72241         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72242         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72243         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72244         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72245         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72246         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72247         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72248         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72249         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72250         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72251         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72252         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72253         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72254         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72255         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72256         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72257         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72258         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72259         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72260         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72261         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72262         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72263         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72264         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72266         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72267         rename.
72268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72269         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72270         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72271         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72272         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72277 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72279         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72281 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72283         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72285         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72286         prediction.
72287         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72289         * string/strnlen.c: Don't define STRNLEN, reverse logic.
72290         Remove unused variable magic_bits.
72291         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72293         * string/strnlen.c: Define and use STRNLEN macro.
72294         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72295         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72296         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72297         * wcsmbs/wcslen.c: Define and use WCSLEN.
72298         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72299         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72300         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72301         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72302         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72303         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72304         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72306 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72308         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72309         strnlen-sse2-no-bsf.
72310         Rename strlen-no-bsf to strlen-sse2-no-bsf.
72311         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72312         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72313         Add strnlen support.
72314         (USE_AS_STRNLEN): New macro.
72315         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72316         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72317         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72318         * sysdeps/x86_64/wcslen.S: New file.
72320 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
72322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72323         XMM-moves are used for copying on small sizes.
72325 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72327         * wcsmbs/Makefile (strop-tests): Add wcschr.
72328         * wcsmbs/test-wcschr.c: New file.
72329         * string/test-strchr.c: Update.
72330         Add wcschr support.
72331         (WIDE): New macro.
72333 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72335         * wcsmbs/Makefile (strop-tests): Add wcslen.
72336         * wcsmbs/test-wcslen.c: New file.
72337         * string/test-strlen.c: Update.
72338         Add wcslen support.
72339         (WIDE): New macro.
72341 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72343         * po/it.po: Update from translation team.
72345 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72347         * sysdeps/x86_64/wcscmp.S: Update.
72348         Fix wrong comparison semantics.
72349         wcscmp shall use signed comparison not unsigned.
72350         Don't use substraction to avoid overflow bug.
72351         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72352         * wcsmbc/wcscmp.c: Likewise.
72353         * string/test-strcmp.c: Likewise.
72354         Add new tests to check cases with negative values.
72356 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72358         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72359         * sysdeps/x86_64/dla.h: ...here.  New file.
72360         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72361         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72363         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72364         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72365         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72366         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72367         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72368         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72370 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
72372         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72373         __ynl_finite aliases.
72375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72379         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72380         define DLA_FMA.
72381         [DLA_FMA] (EMULV): Use DLA_FMA.
72382         [DLA_FMA] (MUL12): Use EMULV.
72383         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72384         that are not needed.
72385         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72386         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72393 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
72395         * math/s_nan.c: Undef __nan.
72396         * math/s_nanf.c: Undef __nanf.
72397         * math/s_nanl.c: Undef __nanl.
72398         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72399         "math_private.h".
72401 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
72403         * math/s_catan.c: Add branch predictions.
72404         * math/s_catanf.c: Likewise.
72405         * math/s_catanh.c: Likewise.
72406         * math/s_catanhf.c: Likewise.
72407         * math/s_catanhl.c: Likewise.
72408         * math/s_catanl.c: Likewise.
72409         * math/s_cexp.c: Likewise.
72410         * math/s_cexpf.c: Likewise.
72411         * math/s_cexpl.c: Likewise.
72412         * math/s_clog.c: Likewise.
72413         * math/s_clog10.c: Likewise.
72414         * math/s_clog10f.c: Likewise.
72415         * math/s_clog10l.c: Likewise.
72416         * math/s_clogf.c: Likewise.
72417         * math/s_clogl.c: Likewise.
72418         * math/s_csqrt.c: Likewise.
72419         * math/s_csqrtf.c: Likewise.
72420         * math/s_csqrtl.c: Likewise.
72421         * math/s_ctanf.c: Likewise.
72422         * math/s_ctanh.c: Likewise.
72423         * math/s_ctanhf.c: Likewise.
72424         * math/s_ctanhl.c: Likewise.
72425         * math/s_ctanl.c: Likewise.
72427         * math/math_private.h: Define __nan, __nanf, __nanl.
72428         * math/s_cacosh.c: Include <math_private.h>.
72429         * math/s_cacoshl.c: Likewise.
72430         * math/s_casinh.c: Likewise.
72431         * math/s_casinhf.c: Likewise.
72432         * math/s_casinhl.c: Likewise.
72433         * math/s_ccos.c: Rely entire on ccosh.
72434         * math/s_ccosf.c: Rely entire on ccoshf.
72435         * math/s_ccosl.c: Rely entirely on ccoshl.
72436         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
72437         Remove tests for FE_INVALID.
72438         * math/s_ccoshf.c: Likewise.
72439         * math/s_ccoshl.c: Likewise.
72440         * math/s_csin.c: Likewise.
72441         * math/s_csinf.c: Likewise.
72442         * math/s_csinh.c Likewise.
72443         * math/s_csinhf.c: Likewise.
72444         * math/s_csinhl.c: Likewise.
72445         * math/s_csinl.c: Likewise.
72446         * math/s_ctan.c: Likewise.
72447         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72448         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72449         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72451 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
72453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72454         compilation problems.
72456         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72457         __builtin_expect.
72459 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
72461         * sysdeps/i386/configure.in: Test for -mfma4 option.
72462         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72463         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72464         COMMON_CPUID_INDEX_80000001.
72465         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72466         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72467         use it if FMA3 is not supported.
72468         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72470         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72471         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72473 2011-10-20  Andreas Schwab  <schwab@redhat.com>
72475         [BZ #12892]
72476         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72477         it would create a cycle with a link time dependency.
72479 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
72481         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72482         instruction.
72483         * string/Makefile (strop-tests): Add rawmemchr.
72484         * string/test-rawmemchr.c: New file.
72486         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
72488         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
72489         when compiling str{,n}casecmp and when AVX is available.  Hook up
72490         new optimized code in initializers.
72492 2011-10-19  Andreas Schwab  <schwab@redhat.com>
72494         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72495         __feraiseexcept instead of feraiseexcept.
72497 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
72499         * math/math_private.h: Define defaults for libc_fetestexcept and
72500         libc_feupdateenv.
72501         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72502         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72503         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72504         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72505         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72506         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72507         libc_fetestexcept and libc_feupdateenv.
72509         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72510         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72511         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72512         * sysdeps/x86_64/fpu/math_private.h: Define special version of
72513         libc_feholdexcept_setround.
72515         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72516         Add s_nearbyint-c and s_nearbyintf-c.
72517         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72518         nearbyintf inlines.
72519         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72520         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72521         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72522         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72524         * math/math_private.h: Define defaults for libc_fegetround,
72525         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72526         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72527         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72528         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72529         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72530         standard functions.
72531         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72532         Remove comments and hacks for old compiler versions.
72533         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72534         libc_fegetround, libc_fesetround, libc_feholdexcept, and
72535         libc_feholdexceptl.
72537 2011-10-18  Andreas Schwab  <schwab@redhat.com>
72539         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72540         (__feraiseexcept_renamed): Add __NTH.
72541         (feraiseexcept): Add __NTH.  Rename local variables to fix
72542         namespace violations.
72544 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
72546         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72548         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72550         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72551         recently added interfaces.
72552         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72554         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72555         about macro parameter expansion.
72557         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72558         __NO_MATH_INLINES is defined.  Cleanups.
72560         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72561         and __floorf is target has SSE4.1.
72562         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72563         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72564         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72565         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72567         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72568         name.
72569         (floorf): Likewise.
72571         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72573 2011-10-17  Andreas Schwab  <schwab@redhat.com>
72575         * misc/sys/cdefs.h: Fix last change.
72577         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72578         database lookup.
72580 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
72582         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72584         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72585         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72589         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72590         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72591         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72592         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72593         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72594         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72595         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72596         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72597         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72598         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72599         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72600         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72601         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72602         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72603         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72604         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72605         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72607         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72608         ceil, ceilf, floor, floorf.
72610         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72611         Perform IRELATIVE relocations last.
72613         * elf/do-rel.h: Add another parameter nrelative, replacing the
72614         local variable with the same name.  Change name of the function
72615         to end in Rel or Rela (uppercase).
72616         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72617         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
72618         elf_dynamic_do_##reloc function.
72620 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72622         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72623         is sufficient, at least on modern CPUs.
72625         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72627         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72628         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72630         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72631         __expl_finite.
72632         * math/bits/math-finite.h: Add entries for exp.
72633         * math/e_expl.c: Add __*_finite alias.
72634         * sysdeps/i386/fpu/e_exp.S: Likewise.
72635         * sysdeps/i386/fpu/e_expf.S: Likewise.
72636         * sysdeps/i386/fpu/e_expl.c: Likewise.
72637         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72638         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72639         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72640         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72641         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72642         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72643         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72645         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72646         is sufficient, at least on modern CPUs.
72648         * ctype/ctype-info.c (__ctype_init): Define.
72649         * include/ctype.h (__ctype_init): Declare.
72650         (__ctype_b_loc): The variable is always initialized.
72651         (__ctype_toupper_loc): Likewise.
72652         (__ctype_tolower_loc): Likewise.
72653         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72654         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72656 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
72658         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72660         * configure.in: Also look in $cxxmachine/include for C++ system
72661         headers.
72663 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72665         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72666         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72667         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72668         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
72669         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72670         (USE_AS_WMEMCMP): New macro.
72671         Fixing indents.
72672         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72673         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72674         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72675         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72676         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72677         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72678         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72679         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72680         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72681         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72682         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72683         (USE_AS_WMEMCMP): New macro.
72684         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72685         * sysdeps/string/test-memcmp.c: Update.
72686         Fix simple_wmemcmp.
72687         Add new tests.
72688         * wcsmbs/wmemcmp.c: Update.
72689         (WMEMCMP): New macro.
72690         Fix overflow bug.
72692 2011-10-12  Andreas Jaeger  <aj@suse.de>
72694         [BZ #13268]
72695         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72697 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
72699         * libio/iofwide.c (do_length): Avoid warning.
72701         * ctype/ctype.h (__isctype_f): Add missing __THROW.
72703 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
72705         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72707         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72708         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72709         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72710         * sysdeps/i386/i686/fpu/e_log.S: New file.
72711         * sysdeps/i386/i686/fpu/e_logf.S: New file.
72712         * sysdeps/i386/i686/fpu/e_logl.S: New file.
72714         * ctype/ctype.h: Add support for inlined isXXX functions when
72715         compiling C++ code.
72717 2011-10-14  Andreas Schwab  <schwab@redhat.com>
72719         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72721         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72723 2011-10-13  Roland McGrath  <roland@hack.frob.com>
72725         [BZ #13291]
72726         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72728 2011-10-13  Andreas Schwab  <schwab@redhat.com>
72730         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72731         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72732         feraiseexcept.
72734         * sysdeps/x86_64/memrchr.S: Check for zero size.
72736         * string/stratcliff.c: Add memrchr tests.
72738 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72740         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72741         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72742         rawmemchr-sse2 rawmemchr-sse2-bsf.
72743         * sysdeps/i386/i686/multiarch/memchr.S: New file.
72744         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72745         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72746         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72747         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72748         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72749         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72750         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72751         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72752         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72753         * string/memrchr.c (MEMRCHR): New macro.
72755 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
72757         Add integration with gcc's -ffinite-math-only and optimize wrapper
72758         functions in libm.
72759         * Versions.def: Define GLIBC_2.15 version for libm.
72760         * math/Makefile (headers): Add bits/math-finite.h.
72761         * math/bits/math-finite.h: New file.
72762         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72763         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72764         * math/e_acoshl.c: Add __*_finite alias.
72765         * math/e_acosl.c: Likewise.
72766         * math/e_asinl.c: Likewise.
72767         * math/e_atan2l.c: Likewise.
72768         * math/e_atanhl.c: Likewise.
72769         * math/e_coshl.c: Likewise.
72770         * math/e_exp10.c: Likewise.
72771         * math/e_exp10f.c: Likewise.
72772         * math/e_exp10l.c: Likewise.
72773         * math/e_exp2l.c: Likewise.
72774         * math/e_fmodl.c: Likewise.
72775         * math/e_gammal_r.c: Likewise.
72776         * math/e_hypotl.c: Likewise.
72777         * math/e_j0l.c: Likewise.
72778         * math/e_j1l.c: Likewise.
72779         * math/e_jnl.c: Likewise.
72780         * math/e_lgammal_r.c: Likewise.
72781         * math/e_log10l.c: Likewise.
72782         * math/e_log2l.c: Likewise.
72783         * math/e_logl.c: Likewise.
72784         * math/e_powl.c: Likewise.
72785         * math/e_sinhl.c: Likewise.
72786         * math/e_sqrtl.c: Likewise.
72787         * math/e_scalb.c: Completely rewritten and optimized.
72788         * math/e_scalbf.c: Likewise.
72789         * math/e_scalbl.c: Likewise.
72790         * math/w_acos.c: Likewise.
72791         * math/w_acosf.c: Likewise.
72792         * math/w_acosl.c: Likewise.
72793         * math/w_acosh.c: Likewise.
72794         * math/w_acoshf.c: Likewise.
72795         * math/w_acoshl.c: Likewise.
72796         * math/w_asin.c: Likewise.
72797         * math/w_asinf.c: Likewise.
72798         * math/w_asinl.c: Likewise.
72799         * math/w_atan2.c: Likewise.
72800         * math/w_atan2f.c: Likewise.
72801         * math/w_atan2l.c: Likewise.
72802         * math/w_atanh.c: Likewise.
72803         * math/w_atanhf.c: Likewise.
72804         * math/w_atanhl.c: Likewise.
72805         * math/w_exp10.c: Likewise.
72806         * math/w_exp10f.c: Likewise.
72807         * math/w_exp10l.c: Likewise.
72808         * math/w_fmod.c: Likewise.
72809         * math/w_fmodf.c: Likewise.
72810         * math/w_fmodl.c: Likewise.
72811         * math/w_j0.c: Likewise.
72812         * math/w_j0f.c: Likewise.
72813         * math/w_j0l.c: Likewise.
72814         * math/w_j1.c: Likewise.
72815         * math/w_j1f.c: Likewise.
72816         * math/w_j1l.c: Likewise.
72817         * math/w_jn.c: Likewise.
72818         * math/w_jnf.c: Likewise.
72819         * math/w_log.c: Likewise.
72820         * math/w_logf.c: Likewise.
72821         * math/w_logl.c: Likewise.
72822         * math/w_log10.c: Likewise.
72823         * math/w_log10f.c: Likewise.
72824         * math/w_log10l.c: Likewise.
72825         * math/w_log2.c: Likewise.
72826         * math/w_log2f.c: Likewise.
72827         * math/w_log2l.c: Likewise.
72828         * math/w_pow.c: Likewise.
72829         * math/w_powf.c: Likewise.
72830         * math/w_powl.c: Likewise.
72831         * math/w_remainder.c: Likewise.
72832         * math/w_remainderf.c: Likewise.
72833         * math/w_remainderl.c: Likewise.
72834         * math/w_scalb.c: Likewise.
72835         * math/w_scalbf.c: Likewise.
72836         * math/w_scalbl.c: Likewise.
72837         * math/w_sqrt.c: Likewise.
72838         * math/w_sqrtf.c: Likewise.
72839         * math/w_sqrtl.c: Likewise.
72840         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72841         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
72842         used.
72843         * math/math_private.h: Declare __kernel_standard_f.
72844         * math/w_cosh.c: Remove cruft and optimize a bit.
72845         * math/w_coshf.c: Likewise.
72846         * math/w_coshl.c: Likewise.
72847         * math/w_exp2.c: Likewise.
72848         * math/w_exp2f.c: Likewise.
72849         * math/w_exp2l.c: Likewise.
72850         * math/w_hypot.c: Likewise.
72851         * math/w_hypotf.c: Likewise.
72852         * math/w_hypotl.c: Likewise.
72853         * math/w_lgamma.c: Likewise.
72854         * math/w_lgamma_r.c: Likewise.
72855         * math/w_lgammaf.c: Likewise.
72856         * math/w_lgammaf_r.c: Likewise.
72857         * math/w_lgammal.c: Likewise.
72858         * math/w_lgammal_r.c: Likewise.
72859         * math/w_sinh.c: Likewise.
72860         * math/w_sinhf.c: Likewise.
72861         * math/w_sinhl.c: Likewise.
72862         * math/w_tgamma.c: Likewise.
72863         * math/w_tgammaf.c: Likewise.
72864         * math/w_tgammal.c: Likewise.
72865         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72866         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72867         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
72868         Minor optimizations.  Pretty printing.  Remove cruft.
72869         * sysdeps/i386/fpu/e_acosf.S: Likewise.
72870         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72871         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72872         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72873         * sysdeps/i386/fpu/e_acosl.c: Likewise.
72874         * sysdeps/i386/fpu/e_asin.S: Likewise.
72875         * sysdeps/i386/fpu/e_asinf.S: Likewise.
72876         * sysdeps/i386/fpu/e_atan2.S: Likewise.
72877         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
72878         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
72879         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72880         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72881         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72882         * sysdeps/i386/fpu/e_exp10.S: Likewise.
72883         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
72884         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
72885         * sysdeps/i386/fpu/e_exp2.S: Likewise.
72886         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
72887         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
72888         * sysdeps/i386/fpu/e_fmod.S: Likewise.
72889         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
72890         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
72891         * sysdeps/i386/fpu/e_hypot.S: Likewise.
72892         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
72893         * sysdeps/i386/fpu/e_log.S: Likewise.
72894         * sysdeps/i386/fpu/e_log10.S: Likewise.
72895         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72896         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72897         * sysdeps/i386/fpu/e_log2.S: Likewise.
72898         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72899         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72900         * sysdeps/i386/fpu/e_logf.S: Likewise.
72901         * sysdeps/i386/fpu/e_logl.S: Likewise.
72902         * sysdeps/i386/fpu/e_pow.S: Likewise.
72903         * sysdeps/i386/fpu/e_powf.S: Likewise.
72904         * sysdeps/i386/fpu/e_powl.S: Likewise.
72905         * sysdeps/i386/fpu/e_remainder.S: Likewise.
72906         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
72907         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
72908         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72909         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72910         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72911         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
72912         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
72913         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
72914         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72915         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72916         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72917         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72918         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72919         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72920         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
72921         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72922         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72923         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72924         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72925         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72927         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72928         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72931         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72932         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72933         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72934         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72935         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72936         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72937         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72938         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72939         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72940         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72941         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72942         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
72943         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72944         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72945         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72946         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72947         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72948         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72949         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72950         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72951         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72952         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72953         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72954         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72955         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72956         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72957         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72958         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72959         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72960         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72961         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72962         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72963         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
72964         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72965         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72966         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72967         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72968         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72969         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72970         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72971         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72972         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72973         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72974         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72975         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72977         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72978         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72979         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72980         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72981         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72982         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
72983         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72984         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72985         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72986         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72987         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72988         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72990         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72991         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72992         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72993         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72994         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72995         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
72997         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72998         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72999         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73000         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73001         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73002         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73003         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73004         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73005         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73006         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73007         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73008         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73009         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73010         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73011         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73012         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73013         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73014         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73015         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73016         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73017         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73018         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73019         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73020         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73021         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73022         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73023         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73024         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73025         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73026         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73027         (__isnanf): Likewise.
73028         (__isinf_ns): Likewise.
73029         (__isinf_nsf): Likewise.
73030         (__finite): Likewise.
73031         (__finitef): Likewise.
73032         (__ieee754_sqrt): Define as macro.
73033         (__ieee754_sqrtf): Define as macro.
73034         (__ieee754_sqrtl): Define as macro.
73035         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73036         inlined copy.
73037         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73038         __FINITE_MATH_ONLY__ consistent.
73039         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73041 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73043         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73044         of rawmemchr.
73046         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73048 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73050         * po/ja.po: Update from translation team.
73052 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73054         * locale/programs/locarchive.c (prepare_address_space): New function.
73055         (create_archive, enlarge_archive, open_archive): Use it.
73057         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73058         inside [SHARED], where it is used.
73060         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73062         * nss/getent.c (netgroup_keys): Remove unused variable.
73063         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73065 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73067         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73068         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73069         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73070         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73071         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73072         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73073         * math/Makefile (libm-calls): Add s_isinf_ns.
73074         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73075         * math/multc3.c: Likewise.
73076         * math/s_casin.c: Likewise.
73077         * math/s_casinf.c: Likewise.
73078         * math/s_casinl.c: Likewise.
73079         * math/s_ccos.c: Likewise.
73080         * math/s_ccosf.c: Likewise.
73081         * math/s_ccosl.c: Likewise.
73082         * math/s_ctan.c: Likewise.
73083         * math/s_ctanf.c: Likewise.
73084         * math/s_ctanh.c: Likewise.
73085         * math/s_ctanhf.c: Likewise.
73086         * math/s_ctanhl.c: Likewise.
73087         * math/s_ctanl.c: Likewise.
73088         * math/w_fmod.c: Likewise.
73089         * math/w_fmodf.c: Likewise.
73090         * math/w_fmodl.c: Likewise.
73091         * math/w_remainder.c: Likewise.
73092         * math/w_remainderf.c: Likewise.
73093         * math/w_remainderl.c: Likewise.
73094         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73095         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73096         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73097         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73098         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73099         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73100         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73101         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73103         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73104         of the number.
73105         * stdio-common/printf_fphex.c: Likewise.
73106         * stdio-common/printf_size.c: Likewise.
73108         * math/e_exp10.c: Include math_private.h using <...> not "...".
73109         * math/e_exp10f.c: Likewise.
73110         * math/e_exp10l.c: Likewise.
73111         * math/e_exp2l.c: Likewise.
73112         * math/e_j0l.c: Likewise.
73113         * math/e_j1l.c: Likewise.
73114         * math/e_jnl.c: Likewise.
73115         * math/e_lgammal_r.c: Likewise.
73116         * math/e_rem_pio2l.c: Likewise.
73117         * math/e_scalb.c: Likewise.
73118         * math/e_scalbf.c: Likewise.
73119         * math/e_scalbl.c: Likewise.
73120         * math/k_cosl.c: Likewise.
73121         * math/k_sinl.c: Likewise.
73122         * math/k_tanl.c: Likewise.
73123         * math/s_cacoshf.c: Likewise.
73124         * math/s_catan.c: Likewise.
73125         * math/s_catanf.c: Likewise.
73126         * math/s_catanh.c: Likewise.
73127         * math/s_catanhf.c: Likewise.
73128         * math/s_catanhl.c: Likewise.
73129         * math/s_catanl.c: Likewise.
73130         * math/s_ccosh.c: Likewise.
73131         * math/s_ccoshf.c: Likewise.
73132         * math/s_ccoshl.c: Likewise.
73133         * math/s_cexp.c: Likewise.
73134         * math/s_cexpf.c: Likewise.
73135         * math/s_cexpl.c: Likewise.
73136         * math/s_clog.c: Likewise.
73137         * math/s_clog10.c: Likewise.
73138         * math/s_clog10f.c: Likewise.
73139         * math/s_clog10l.c: Likewise.
73140         * math/s_clogf.c: Likewise.
73141         * math/s_clogl.c: Likewise.
73142         * math/s_csin.c: Likewise.
73143         * math/s_csinf.c: Likewise.
73144         * math/s_csinh.c: Likewise.
73145         * math/s_csinhf.c: Likewise.
73146         * math/s_csinhl.c: Likewise.
73147         * math/s_csinl.c: Likewise.
73148         * math/s_csqrt.c: Likewise.
73149         * math/s_csqrtf.c: Likewise.
73150         * math/s_csqrtl.c: Likewise.
73151         * math/s_ctan.c: Likewise.
73152         * math/s_ctanf.c: Likewise.
73153         * math/s_ctanh.c: Likewise.
73154         * math/s_ctanhf.c: Likewise.
73155         * math/s_ctanhl.c: Likewise.
73156         * math/s_ctanl.c: Likewise.
73157         * math/s_ldexp.c: Likewise.
73158         * math/s_ldexpf.c: Likewise.
73159         * math/s_ldexpl.c: Likewise.
73160         * math/s_significand.c: Likewise.
73161         * math/s_significandf.c: Likewise.
73162         * math/s_significandl.c: Likewise.
73163         * math/w_acos.c: Likewise.
73164         * math/w_acosf.c: Likewise.
73165         * math/w_acosh.c: Likewise.
73166         * math/w_acoshf.c: Likewise.
73167         * math/w_acoshl.c: Likewise.
73168         * math/w_acosl.c: Likewise.
73169         * math/w_asin.c: Likewise.
73170         * math/w_asinf.c: Likewise.
73171         * math/w_asinl.c: Likewise.
73172         * math/w_atan2.c: Likewise.
73173         * math/w_atan2f.c: Likewise.
73174         * math/w_atan2l.c: Likewise.
73175         * math/w_atanh.c: Likewise.
73176         * math/w_atanhf.c: Likewise.
73177         * math/w_atanhl.c: Likewise.
73178         * math/w_cosh.c: Likewise.
73179         * math/w_coshf.c: Likewise.
73180         * math/w_coshl.c: Likewise.
73181         * math/w_dremf.c: Likewise.
73182         * math/w_exp10.c: Likewise.
73183         * math/w_exp10f.c: Likewise.
73184         * math/w_exp10l.c: Likewise.
73185         * math/w_exp2.c: Likewise.
73186         * math/w_exp2f.c: Likewise.
73187         * math/w_fmod.c: Likewise.
73188         * math/w_fmodf.c: Likewise.
73189         * math/w_fmodl.c: Likewise.
73190         * math/w_hypot.c: Likewise.
73191         * math/w_hypotf.c: Likewise.
73192         * math/w_hypotl.c: Likewise.
73193         * math/w_j0.c: Likewise.
73194         * math/w_j0f.c: Likewise.
73195         * math/w_j0l.c: Likewise.
73196         * math/w_j1.c: Likewise.
73197         * math/w_j1f.c: Likewise.
73198         * math/w_j1l.c: Likewise.
73199         * math/w_jn.c: Likewise.
73200         * math/w_jnf.c: Likewise.
73201         * math/w_jnl.c: Likewise.
73202         * math/w_lgamma.c: Likewise.
73203         * math/w_lgamma_r.c: Likewise.
73204         * math/w_lgammaf.c: Likewise.
73205         * math/w_lgammaf_r.c: Likewise.
73206         * math/w_lgammal.c: Likewise.
73207         * math/w_lgammal_r.c: Likewise.
73208         * math/w_log.c: Likewise.
73209         * math/w_log10.c: Likewise.
73210         * math/w_log10f.c: Likewise.
73211         * math/w_log10l.c: Likewise.
73212         * math/w_log2.c: Likewise.
73213         * math/w_log2f.c: Likewise.
73214         * math/w_log2l.c: Likewise.
73215         * math/w_logf.c: Likewise.
73216         * math/w_logl.c: Likewise.
73217         * math/w_pow.c: Likewise.
73218         * math/w_powf.c: Likewise.
73219         * math/w_powl.c: Likewise.
73220         * math/w_remainder.c: Likewise.
73221         * math/w_remainderf.c: Likewise.
73222         * math/w_remainderl.c: Likewise.
73223         * math/w_scalb.c: Likewise.
73224         * math/w_scalbf.c: Likewise.
73225         * math/w_scalbl.c: Likewise.
73226         * math/w_sinh.c: Likewise.
73227         * math/w_sinhf.c: Likewise.
73228         * math/w_sinhl.c: Likewise.
73229         * math/w_sqrt.c: Likewise.
73230         * math/w_sqrtf.c: Likewise.
73231         * math/w_sqrtl.c: Likewise.
73232         * math/w_tgamma.c: Likewise.
73233         * math/w_tgammaf.c: Likewise.
73234         * math/w_tgammal.c: Likewise.
73236         * po/ja.po: Update from translation team.
73238 2011-09-29  Andreas Jaeger  <aj@suse.de>
73240         [BZ #13179]
73241         * sunrpc/netname.c (netname2host): Fix logic.
73243         [BZ #6779]
73244         [BZ #6783]
73245         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73246         correctly.
73247         * math/w_remainder.c (__remainder): Likewise.
73248         * math/w_remainderf.c (__remainderf): Likewise.
73249         * math/libm-test.inc (remainder_test): Add test cases.
73251 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73253         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73254         sdiv_qrnnd.
73256 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73258         * string/test-memcmp.c: Avoid unncessary #defines.
73259         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73261 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73263         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73264         Use new sse2 version for core i3 - i7 as it's faster
73265         than sse42 version.
73266         (bit_Prefer_PMINUB_for_stringop): New.
73267         * sysdeps/x86_64/rawmemchr.S: Update.
73268         Replace with faster SSE2 version.
73269         * sysdeps/x86_64/memrchr.S: New file.
73270         * sysdeps/x86_64/memchr.S: Update.
73271         Replace with faster SSE2 version.
73273 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73275         * elf/dl-load.c (lose): Add cast to avoid warning.
73277 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73279         * po/ca.po: Update from translation team.
73281         * inet/getnetgrent_r.c: Hook up nscd.
73282         * nscd/Makefile (routines): Add nscd_netgroup.
73283         (nscd-modules): Add netgroupcache.
73284         (CFLAGS-netgroupcache.c): Define.
73285         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73286         (cache_search): Add const to second parameter.
73287         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73288         INNETGR.
73289         (dbs): Add netgrdb entry.
73290         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73291         (verify_persistent_db): Handle netgrdb.
73292         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73293         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73294         GETFDNETGR.
73295         (netgroup_response_header): Define.
73296         (innetgroup_response_header): Define.
73297         (datahead): Add netgroup_response_header and innetgroup_response_header
73298         elements.
73299         * nscd/nscd.conf: Add entries for netgroup cache.
73300         * nscd/nscd.h (dbtype): Add netgrdb.
73301         (_PATH_NSCD_NETGROUP_DB): Define.
73302         (netgroup_iov_disabled): Declare.
73303         (xmalloc, xcalloc, xrealloc): Move declarations here.
73304         (cache_search): Adjust prototype.
73305         Add netgroup-related prototypes.
73306         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73307         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73308         (__nscd_innetgr): Declare.
73309         * nscd/selinux.c (perms): Use access_vector_t as element type and
73310         add netgroup-related initializers.
73311         * nscd/netgroupcache.c: New file.
73312         * nscd/nscd_netgroup.c: New file.
73313         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73314         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73315         For four parameters use innetgr.
73316         * nss/nss_files/files-init.c: Add definition and callback for netgr.
73317         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73318         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73319         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73321         * nscd/connections.c (register_traced_file): Don't register file
73322         for disabled databases.
73324 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
73326         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73328         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73329         from tree and freeing node.
73331 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
73333         * nss/nsswitch.c (__nss_database_lookup): Handle
73334         nss_parse_service_list out of memory case.
73336 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
73338         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73339         out of memory case.
73341 2011-10-04  Andreas Schwab  <schwab@redhat.com>
73343         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73344         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73345         pass it down.
73346         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73347         elf_machine_rela, elf_machine_lazy_rel.
73348         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73349         (ELF_DYNAMIC_DO_REL): Likewise.
73350         (ELF_DYNAMIC_DO_RELA): Likewise.
73351         (ELF_DYNAMIC_RELOCATE): Likewise.
73352         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73353         to ELF_DYNAMIC_DO_REL.
73354         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73355         (dl_main): In trace mode always set __RTLD_NOIFUNC.
73356         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73357         elf_machine_rela.
73358         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73359         skip_ifunc, don't call ifunc function if non-zero.
73360         (elf_machine_rela): Likewise.
73361         (elf_machine_lazy_rel): Likewise.
73362         (elf_machine_lazy_rela): Likewise.
73363         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73364         (elf_machine_lazy_rel): Likewise.
73365         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73366         Likewise.
73367         (elf_machine_lazy_rel): Likewise.
73368         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73369         Likewise.
73370         (elf_machine_lazy_rel): Likewise.
73371         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73372         (elf_machine_lazy_rel): Likewise.
73373         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73374         (elf_machine_lazy_rel): Likewise.
73375         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73376         (elf_machine_lazy_rel): Likewise.
73377         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73378         (elf_machine_lazy_rel): Likewise.
73379         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73380         (elf_machine_lazy_rel): Likewise.
73381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73382         (elf_machine_lazy_rel): Likewise.
73384 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
73386         * nss/nss_files/files-init.c (_nss_files_init): Use static
73387         initialization for all the *_traced_file variables.
73389 2011-09-28  Andreas Schwab  <schwab@redhat.com>
73391         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73393 2011-09-27  Roland McGrath  <roland@hack.frob.com>
73395         [BZ #13226]
73396         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73398 2011-09-27  Andreas Schwab  <schwab@redhat.com>
73400         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73401         Reread the line before reparsing it.
73403 2011-09-26  Andreas Schwab  <schwab@redhat.com>
73405         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73407 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
73408             Maxim Kuvyrkov  <maxim@codesourcery.com>
73409             Joseph Myers  <joseph@codesourcery.com>
73411         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73412         if needed for __stack_chk_guard.
73414 2011-09-19  Roland McGrath  <roland@hack.frob.com>
73416         * sysdeps/posix/spawni.c (script_execute): Always define it.
73417         It will be optimized away if unused.
73418         (maybe_script_execute): New function.
73419         (__spawni): Call it.
73421         * Makerules: Don't include tls.make.
73422         (config-tls): Always set to thread.
73423         * tls.make.c: File removed.
73425 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
73427         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73428         * config.make.in (CPPFLAGS-config): New substituted variable.
73430 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73432         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73434         [BZ #13192]
73435         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73436         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73438 2011-09-15  Roland McGrath  <roland@hack.frob.com>
73440         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73441         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73442         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73443         (CALL_FAIL): Likewise.
73444         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73445         (CALL_FAIL): Macro removed.
73446         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73448 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
73450         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73451         for __FINITE_MATH_ONLY__ == 1.
73453 2011-09-15  Andreas Schwab  <schwab@redhat.com>
73455         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73456         __ieee754_sqrt instead of sqrt.
73457         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73458         __ieee754_sqrtf instead of sqrtf.
73459         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73460         __floorf instead of floorf.
73461         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73462         __floorf, __truncf instead of floorf, truncf.
73464 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
73466         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73468         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73469         __extern_always_inline.
73470         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73471         32-bit.
73473 2011-09-14  Andreas Schwab  <schwab@redhat.com>
73475         * elf/rtld.c (dl_main): Also relocate in dependency order when
73476         doing symbol dependency testing.
73478 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
73480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73481         Always define `refsym'.
73483 2011-09-13  Andreas Schwab  <schwab@redhat.com>
73485         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73486         (__FD_ELT): Renamed from __FDELT.
73487         * misc/bits/select2.h (__FD_ELT): Likewise.
73488         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73489         __FD_MASK instead of __FDELT, __FDMASK.
73490         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73491         Likewise.
73492         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73493         Likewise.
73495         * elf/Makefile (gen-ldd): Fix pattern.
73497         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73498         (init_tls): Likewise.
73500 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
73502         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73504 2011-09-12  Andreas Schwab  <schwab@redhat.com>
73506         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73507         `struct cmsghdr *' instead of `void *'.
73508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73509         Likewise.
73511 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
73513         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73514         if non-absolute.
73515         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73516         ldd_rewrite_script.
73518 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
73520         * configure.in: Remove --with-tls option.
73521         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73522         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73523         out in case it is missing.
73524         * sysdeps/ia64/elf/configure.in: Likewise.
73525         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73526         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73527         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73528         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73529         * sysdeps/sh/elf/configure.in: Likewise.
73530         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73531         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73532         * sysdeps/x86_64/elf/configure.in: Likewise.
73533         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73534         * sysdeps/mach/hurd/tls.h: Likewise.
73536         [BZ #13067]
73537         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73539         [BZ #13090]
73540         * configure.in: Fix use of AC_INIT.
73542         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73544 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
73546         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73547         __set_errno.
73548         * malloc/hooks.c: Likewise.
73550         [BZ #11929]
73551         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
73552         variables statically.
73553         (narenas): Initialize.
73554         (list_lock): Initialize.
73555         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
73556         initializtion of main_arena and list_lock.  Small cleanups.
73557         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73558         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
73559         Add initializers to main_arena and mp_.
73560         (malloc_state): Remove pagesize member.  Change all users to use
73561         GLRO(dl_pagesize).
73563         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73564         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
73565         is always initialized.
73567         * malloc/malloc.c: Removed unused configurations and dead code.
73568         * malloc/arena.c: Likewise.
73569         * malloc/hooks.c: Likewise.
73570         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73572         * include/tls.h: Removed.  USE___THREAD must always be defined.
73573         * bits/libc-tsd.h: Don't handle !USE___THREAD.
73574         * elf/dl-libc.c: Likewise.
73575         * elf/dl-tsd.c: Likewise.
73576         * include/errno.h: Likewise.
73577         * include/netdb.h: Likewise.
73578         * include/resolv.h: Likewise.
73579         * inet/herrno-loc.c: Likewise.
73580         * inet/herrno.c: Likewise.
73581         * malloc/arena.c: Likewise.
73582         * malloc/hooks.c: Likewise.
73583         * malloc/malloc.c: Likewise.
73584         * resolv/res-state.c: Likewise.
73585         * resolv/res_libc.c: Likewise.
73586         * sysdeps/i386/dl-machine.h: Likewise.
73587         * sysdeps/ia64/dl-machine.h: Likewise.
73588         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73589         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73590         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73591         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73592         * sysdeps/sh/dl-machine.h: Likewise.
73593         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73594         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73595         * sysdeps/unix/i386/sysdep.S: Likewise.
73596         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73597         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73599         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73601         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73602         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73603         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73604         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73606         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73607         * sysdeps/x86_64/dl-machine.h: Likewise.
73608         * tls.make.c: Likewise.
73610         * configure.in: Remove --with-__thread option.  Make tests for
73611         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73612         tls_model attribute fail if no support is available.  Remove
73613         USE_IN_LIBIO.
73614         * Makeconfig: Adjust for dropped configure option.  All features are
73615         now mandatory.
73616         * Makerules: Likewise.
73617         * Versions.def: Likewise.
73618         * argp/argp-fmtstream.c: Likewise.
73619         * argp/argp-fmtstream.h: Likewise.
73620         * argp/argp-help.c: Likewise.
73621         * assert/assert.c: Likewise.
73622         * config.h.in: Likewise.
73623         * config.make.in: Likewise.
73624         * configure: Likewise.
73625         * configure.in: Likewise.
73626         * csu/Versions: Likewise.
73627         * csu/init.c: Likewise.
73628         * elf/tst-audit2.c: Likewise.
73629         * elf/tst-tls10.c: Likewise.
73630         * elf/tst-tls10.h: Likewise.
73631         * elf/tst-tls11.c: Likewise.
73632         * elf/tst-tls12.c: Likewise.
73633         * elf/tst-tls14.c: Likewise.
73634         * elf/tst-tlsmod11.c: Likewise.
73635         * elf/tst-tlsmod12.c: Likewise.
73636         * elf/tst-tlsmod13.c: Likewise.
73637         * elf/tst-tlsmod13a.c: Likewise.
73638         * elf/tst-tlsmod14a.c: Likewise.
73639         * elf/tst-tlsmod15b.c: Likewise.
73640         * elf/tst-tlsmod16a.c: Likewise.
73641         * elf/tst-tlsmod16b.c: Likewise.
73642         * elf/tst-tlsmod7.c: Likewise.
73643         * elf/tst-tlsmod8.c: Likewise.
73644         * elf/tst-tlsmod9.c: Likewise.
73645         * gmon/gmon.c: Likewise.
73646         * grp/fgetgrent_r.c: Likewise.
73647         * grp/putgrent.c: Likewise.
73648         * hurd/fopenport.c: Likewise.
73649         * include/libc-symbols.h: Likewise.
73650         * include/tls.h: Likewise.
73651         * intl/gettextP.h: Likewise.
73652         * intl/loadinfo.h: Likewise.
73653         * locale/global-locale.c: Likewise.
73654         * locale/localeinfo.h: Likewise.
73655         * mach/devstream.c: Likewise.
73656         * malloc/arena.c: Likewise.
73657         * malloc/set-freeres.c: Likewise.
73658         * misc/err.c: Likewise.
73659         * misc/getttyent.c: Likewise.
73660         * misc/mntent_r.c: Likewise.
73661         * posix/getopt.c: Likewise.
73662         * posix/wordexp.c: Likewise.
73663         * pwd/fgetpwent_r.c: Likewise.
73664         * resolv/Versions: Likewise.
73665         * resolv/res_hconf.c: Likewise.
73666         * shadow/fgetspent_r.c: Likewise.
73667         * shadow/putspent.c: Likewise.
73668         * stdio-common/printf_fphex.c: Likewise.
73669         * stdio-common/tmpfile.c: Likewise.
73670         * stdlib/abort.c: Likewise.
73671         * stdlib/fmtmsg.c: Likewise.
73672         * sunrpc/auth_unix.c: Likewise.
73673         * sunrpc/clnt_perr.c: Likewise.
73674         * sunrpc/clnt_tcp.c: Likewise.
73675         * sunrpc/clnt_udp.c: Likewise.
73676         * sunrpc/clnt_unix.c: Likewise.
73677         * sunrpc/openchild.c: Likewise.
73678         * sunrpc/svc_simple.c: Likewise.
73679         * sunrpc/svc_tcp.c: Likewise.
73680         * sunrpc/svc_udp.c: Likewise.
73681         * sunrpc/svc_unix.c: Likewise.
73682         * sunrpc/xdr.c: Likewise.
73683         * sunrpc/xdr_array.c: Likewise.
73684         * sunrpc/xdr_rec.c: Likewise.
73685         * sunrpc/xdr_ref.c: Likewise.
73686         * sunrpc/xdr_stdio.c: Likewise.
73688 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73690         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73692 2011-07-03  Andreas Jaeger  <aj@suse.de>
73694         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73695         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73696         regenerate with gen-libm-tests.pl.
73698 2010-05-12  Petr Baudis  <pasky@suse.cz>
73700         [BZ #11589]
73701         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73702         around j0() zero points by switching to j1().
73703         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73704         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73706         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73708 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73710         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73711         instead of 0.
73712         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73713         instead of 0.
73714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73715         Patch in part by Pavel Roskin <proski@gnu.org>.
73717         [BZ #13138]
73718         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73719         realloc.
73720         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
73721         Free memory block if necessary.
73723         [BZ #12847]
73724         * libio/genops.c (INTDEF): For string streams the _lock pointer can
73725         be NULL.  Don't lock in this case.
73727 2011-09-09  Roland McGrath  <roland@hack.frob.com>
73729         * elf/elf.h (ELFOSABI_GNU): New macro.
73730         (ELFOSABI_LINUX): Define to that.
73732 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
73734         * string/strncat.c (strncat): Undef the symbol in case it has been
73735         defined in bits/string.h.
73737 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
73739         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73741         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73742         link map.
73744 2011-08-17  Andreas Jaeger  <aj@suse.de>
73746         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73748 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
73749             Ian Lance Taylor  <iant@google.com>
73751         * math/libm-test.inc (lround_test): New testcase.
73752         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73754 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
73756         * Makefile: Remove support for automatic cvs check-ins.
73757         * Makerules: Likewise.
73758         * config.make.in: Likewise.
73759         * configure.in: Likewise.
73760         * intl/Makefile: Likewise.
73761         * locale/Makefile: Likewise.
73762         * po/Makefile: Likewise.
73763         * posix/Makefile: Likewise.
73764         * sysdeps/gnu/Makefile: Likewise.
73765         * sysdeps/mach/hurd/Makefile: Likewise.
73766         * sysdeps/sparc/sparc32/Makefile: Likewise.
73768         [BZ #13118]
73769         * posix/Makefile (bug-regex32-ENV): Define.
73770         Patch by John Stanley <jpsinthemix@verizon.net>.
73772         * misc/Makefile (headers): Add bits/select2.h.
73773         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73774         * misc/bits/select2.h: New file.
73775         * include/bits/select2.h: New file.
73776         * debug/Makefile (routines): Add fdelt_chk.
73777         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73778         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73779         FD_ISSET.
73780         * debug/fdelt_chk.c: New file.
73782         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
73783         * wcsmbs/test-wmemcmp.c: Likewise.
73784         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73785         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73787 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73789         * string/Makefile (strop-tests): Add memcmp.
73790         * string/test-wmemcmp.c: New file.
73791         * string/test-memcmp.c: Add wmemcmp support.
73793 2011-09-08  Roland McGrath  <roland@hack.frob.com>
73795         [BZ #13153]
73796         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73797         2011-07-19 change.
73799         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73800         garbage value in a __mach_port_mod_refs call in the cases of the
73801         task-self and thread-self ports.
73803 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73805         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73807 2011-09-08  Andreas Schwab  <schwab@redhat.com>
73809         * elf/dl-load.c (lose): Check for non-null L.
73811 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73813         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73815         * elf/dl-libc.c (dlerror_run): Pass back error code from
73816         dl_catch_error.
73818         [BZ #13123]
73819         * elf/dl-load.c (lose): Free l_origin if it is valid.
73821         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73822         names.
73823         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73824         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73825         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73826         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73827         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73828         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73830 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73832         * sysdeps/powerpc/fpu/e_hypot.c: New file.
73833         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73834         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73835         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73836         * sysdeps/powerpc/fpu/k_cosf.c: New file.
73837         * sysdeps/powerpc/fpu/k_sinf.c: New file.
73838         * sysdeps/powerpc/fpu/s_cosf.c: New file.
73839         * sysdeps/powerpc/fpu/s_sinf.c: New file.
73840         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73841         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73843 2011-08-15  Alan Modra  <amodra@gmail.com>
73845         [BZ #13092]
73846         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
73847         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
73848         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
73849         ppc_mcount to static-only-routines.
73850         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
73851         __mcount_internal.
73852         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
73853         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
73855 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
73857         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
73858         for finite and infinity parameters.
73860 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
73863         and add nop instructions for throughput optimization.
73864         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73866 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
73868         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
73869         aligned copy for power7 with vector-scalar instructions.
73870         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
73872 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
73874         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
73875         AVX check.
73877 2011-09-07  Andreas Schwab  <schwab@redhat.com>
73879         [BZ #13144]
73880         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
73881         last change.
73883 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
73885         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73886         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
73887         syscall wrapper around clock_gettime in __vdso_clock_gettime.
73888         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
73889         clock_gettime.
73891 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73893         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
73894         Forgot to demangle the pointer.
73896         * sysdeps/i386/sysdep.h: Define atom_text_section.
73897         * sysdeps/x86_64/sysdep.h: Likewise.
73898         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
73899         section with atom_text_section.
73900         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73901         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73902         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
73903         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
73904         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
73906         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
73907         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
73908         already be defined.  Change to take two parameters and don't assign
73909         result to variable.  Adjust all users.
73910         Define INTERNAL_GETTIME if not already defined.
73911         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
73912         call.
73913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
73914         HAVE_CLOCK_GETTIME_VSYSCALL.
73915         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
73917         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
73918         gettimeofday vsyscall, just use time.
73920 2011-09-06  Andreas Schwab  <schwab@redhat.com>
73922         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
73923         <errno.h>.
73925 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
73927         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
73928         syscall on x86-64.
73929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
73930         syscall.
73931         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
73932         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
73933         syscall if possible.
73935 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73937         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
73938         e_ident.  Don't pass to find_mapsXX.
73939         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
73941 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73944         strchr-sse2-no-bsf strrchr-sse2-no-bsf
73945         * sysdeps/x86_64/multiarch/strchr.S: Update.
73946         Check bit_slow_BSF bit.
73947         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73948         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
73949         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
73951 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
73953         [BZ #13134]
73954         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
73955         before glibc 2.15.
73956         (tryshell): Define.
73957         (__spawni): Change last parameter to be flag.  Test
73958         SPAWN_XFLAGS_USE_PATH flag to use path or not.
73959         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
73960         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
73961         * posix/spawni.c: Likewise.
73962         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
73963         * posix/spawnp.c: Likewise.  Change normal version to use
73964         SPAWN_XFLAGS_USE_PATH.
73965         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
73966         SPAWN_XFLAGS_TRY_SHELL.
73968         [BZ #13150]
73969         * posix/glob.h: Remove gcc 1.x support.
73971         [BZ #13068]
73972         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
73974 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
73976         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73977         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
73978         strrchr-sse2-bsf
73979         * sysdeps/i386/i686/multiarch/strchr.S: New file.
73980         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
73981         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
73982         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
73983         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
73984         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
73986 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73988         * sysdeps/x86_64/wcscmp.S: New file.
73990         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
73991         wcscmp-c wcscmp-sse2
73992         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
73993         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
73994         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
73995         * wcsmbs/wcscmp.c: Allow renaming.
73997 2011-09-05  David S. Miller  <davem@davemloft.net>
73999         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74000         stack slot, rather than the struct return pointer slot.
74001         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74002         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74004         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74006 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74008         * po/ja.po: Update from translation team.
74010         [BZ #13144]
74011         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74012         kernel in 64-bit binaries.
74014 2011-09-01  David S. Miller  <davem@davemloft.net>
74016         * elf/elf.h (HWCAP_SPARC_*): Move to..
74017         * sysdeps/sparc/sysdep.h: this new file and add new values.
74018         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74019         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74020         _DL_HWCAP_COUNT to 24.
74021         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74022         entries.
74023         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74024         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74025         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74026         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74027         instead of magic constants.
74028         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74030 2011-08-31  David S. Miller  <davem@davemloft.net>
74032         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74034         Reimplement to do errno handling inline.
74035         (SYSCALL_ERROR_HANDLER): New macro.
74036         (__SYSCALL_STRING): Do not do errno handling in asm.
74037         (__CLONE_SYSCALL_STRING): Delete.
74038         (__INTERNAL_SYSCALL_STRING): Delete.
74039         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74040         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74041         (PSEUDO): Reimplement to do errno handling inline.
74042         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74043         (SYSCALL_ERROR_HANDLER): New macro.
74044         (__SYSCALL_STRING): Do not do errno handling in asm.
74045         (__CLONE_SYSCALL_STRING): Delete.
74046         (__INTERNAL_SYSCALL_STRING): Delete.
74047         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74048         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74049         i386.
74050         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74051         (inline_syscall*): Add 'err' argument.
74052         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74053         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74054         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74055         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74057         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74058         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74060 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74062         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74064 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74066         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74067         directive.
74069 2011-08-24  David S. Miller  <davem@davemloft.net>
74071         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74073 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74075         * elf/Makefile: Add rules to build and run unload8 test.
74076         * elf/unload8.c: New file.
74077         * elf/unload8mod1.c: New file.
74078         * elf/unload8mod1x.c: New file.
74079         * elf/unload8mod2.c: New file.
74080         * elf/unload8mod3.c: New file.
74082         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74083         it wasn't used.
74085 2011-08-23  David S. Miller  <davem@davemloft.net>
74087         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74088         subtract stack bias.
74089         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74090         %sp not %fp in calculations.
74091         (_JMPBUF_UNWINDS_ADJ): Likewise.
74093         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74094         (aio_suspend): Call it to force an exception region around the
74095         AIO_MISC_WAIT() invocation.
74097 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74099         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74100         backslash.
74102 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74104         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74105         protection macro.
74106         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74107         and <dl-machine.h>.
74108         (Elf64_FuncDesc): Remove.
74110 2011-08-22  David S. Miller  <davem@davemloft.net>
74112         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74113         sigaltstack check, add missing cfi directives.
74114         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74115         missing cfi directives, and sigaltstack handling.
74117 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74119         [BZ #11724]
74120         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74121         object is seen twice.
74122         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74124         * elf/Makefile (distribute): Add tst-initorder2.c.
74125         (tests): Add tst-initorder2.
74126         (modules-names): Add tst-initorder2a tst-initorder2b
74127         tst-initorder2c tst-initorder2d.  Add rules to build them.
74128         ($(objpfx)tst-initorder2.out): New rule.
74129         * elf/tst-initorder2.c: New file.
74130         * elf/tst-initorder2.exp: New file.
74132 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74134         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74136         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74137         dependencies back to end of function.
74139         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74140         $(elfobjdir)/ld.so.
74142 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74145         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74146         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74147         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74148         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74149         of __vdso_gettimeofday.
74150         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74151         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74152         attribute_hidden.
74153         (_libc_vdso_platform_setup): Remove initialization of
74154         __vdso_gettimeofday and __vdso_time.
74156 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74158         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74159         and fgetc_unlocked.
74160         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74161         getc_unlocked.
74163         * elf/dl-open.c (add_to_global): Report additions to the global scope
74164         for LD_DEBUG=scopes.
74165         (dl_open_worker): Also print scope of newly loaded dependencies.
74166         (_dl_show_scope): Indicate if there is no scope.
74168         [BZ #13114]
74169         * stdio-common/Makefile (tests): Add bug24.
74170         * stdio-common/bug24.c: New file.
74172 2011-08-19  Andreas Jaeger  <aj@suse.de>
74174         [BZ #13114]
74175         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74176         non-existant file when using close-on-exec mode.
74178 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74180         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74181         the very first instruction.
74183         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74184         the CFI state in the end.
74185         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74186         inclusion of dl-trampoline.h.
74187         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74189 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74191         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74192         expectations for long double.
74194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74195         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74197 2011-08-14  David S. Miller  <davem@davemloft.net>
74199         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74200         artificual limit depends upon the system page size.
74202 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74204         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74205         * resolv/Makefile: Define CFLAGS-libresolv.
74207 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74209         * nss/makedb.c (compute_tables): Make variables used in nested
74210         function static.
74212 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74214         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74215         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74216         if buffer was too small.
74218         * elf/pldd.c (main): Attach to all threads in the process.
74219         Rewrite /proc handling to use *at functions.
74221 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74223         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74224         specifies first scope to show.
74225         (dl_open_worker): Update callers.  Move printing scope of new
74226         object to before the relocation.
74227         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74228         * sysdeps/generic/ldsodefs.h: Update declaration.
74230         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74231         string for the scope number.
74233 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74235         * nscd/servicescache.c (cache_addserv): Make sure written is always
74236         initialized.
74238 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74240         * sysdeps/i386/i486/bits/atomic.h
74241         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74242         statement expression, so as to suppress "set but not used" warning.
74243         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74245         * string/strncat.c (STRNCAT): Use prototype definition.
74247         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74248         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74249         -Iprograms here.
74250         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74251         (localedef-modules): Add localedef.
74252         (locale-modules): Add locale.
74254         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74255         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74256         to avoid a warning.
74258 2011-08-14  David S. Miller  <davem@davemloft.net>
74260         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74261         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74263 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74265         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74266         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74267         * elf/rtld.c (dl_main): Set l_name of vDSO.
74268         Call _dl_show_scope when DL_DEBUG_SCOPES.
74269         (process_dl_debug): Recognize scopes flag and also set it for all.
74270         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74271         Declare _dl_show_scope.
74273         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74274         (do_dlopen): Pass caller_dlopen to dl_open.
74275         (__libc_dlopen_mode): Initialize caller_dlopen.
74277         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74278         of libc.  Make tolower call locale-independent.  Optimize a bit by
74279         using isdigit instead of isalnum.
74280         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74282 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74284         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74285         was a dependency or dynamically loaded.
74287 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
74289         * intl/l10nflist.c: Allow architecture-specific pop function.
74290         * sysdeps/x86_64/l10nflist.c: New file.
74292         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74293         classification.
74295 2011-08-10  Andreas Schwab  <schwab@redhat.com>
74297         * include/dirent.h: Add libc_hidden_proto for scandirat and
74298         scandirat64.  Don't declare __scandirat64.
74299         * dirent/scandirat.c: Add libc_hidden_def.
74300         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74301         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74303 2011-08-10  David S. Miller  <davem@davemloft.net>
74305         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74306         enum.
74307         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74308         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74309         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74311 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
74313         * Versions.def [libc]: Add GLIBC_2.15.
74314         * dirent/Makefile (routines): Add scandirat and scandirat64.
74315         * dirent/Versions [libc]: Export scandirat and scandirat64 for
74316         GLIBC_2.15.
74317         * dirent/dirent.h: Declare scandirat and scandirat64.
74318         * dirent/scandirat.c: New file.
74319         * dirent/scandirat64.c: New file.
74320         * sysdeps/wordsize-64/scandirat.c: New file.
74321         * sysdeps/wordsize-64/scandirat64.c: New file.
74322         * dirent/opendir.c: Define opendirat.
74323         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
74324         using scandirat.
74325         * dirent/scandir64.c: Adjust for scandir.c change.
74326         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
74327         __scandirat64, and __scandir_cancel_handler.
74328         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
74329         additional parameter and use openat instead of open (outside of ld.so).
74330         Add new __opendir as wrapper around __opendirat.
74331         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74332         here without requiring old scandirat implementation.
74334 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
74336         * dirent/scandir.c (cancel_handler): Renamed to
74337         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
74338         defined.  Adjust users.
74339         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74342 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
74344         * string/test-string.h (IMPL): Use __STRING to expand name and then
74345         stringify it.
74347         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
74348         of cleanups.
74350 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74352         * string/Makefile: Update.
74353         (strop-tests): Append strncat.
74354         * string/test-wcscmp.c: New file.
74355         New comprehensive test for wcscmp.
74356         * string/test-strcmp.c: Update.
74357         (WIDE): New define.
74359 2011-07-22  Andreas Schwab  <schwab@redhat.com>
74361         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74362         line.
74364 2011-07-26  Andreas Schwab  <schwab@redhat.com>
74366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74367         encoding to ACE if AI_IDN.
74369 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
74371         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74372         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74374 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74376         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74377         Fix overflow bug in strncat.
74378         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74380         * string/test-strncat.c: Update.
74381         Add new tests for checking overflow bugs.
74383 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74386         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74387         * sysdeps/i386/i686/multiarch/strcat.S: New file.
74388         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74389         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74390         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74391         * sysdeps/i386/i686/multiarch/strncat.S: New file.
74392         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74393         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74396         (USE_AS_STRCAT): Define.
74397         Add strcat and strncat support.
74398         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74400 2011-07-25  Andreas Schwab  <schwab@redhat.com>
74402         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74403         __n bigger than INT_MAX+1.
74404         (__strncmp_g): Likewise.
74406 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
74408         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74409         * libio/stido.h: Likewise.
74411         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74412         (AF_NFC): Define.
74413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74414         (AF_NFC): Define.
74416         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74418         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74419         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74420         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74422         [BZ #13021]
74423         * scripts/test-installation.pl: Don't expect libnss_test1 to be
74424         installed.
74426         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74427         typo.
74428         (_dl_x86_64_save_sse): Likewise.
74430 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
74432         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74433         OSXSAVE.
74434         (_dl_x86_64_save_sse): Likewise.
74436         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74438         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74440 2011-07-21  Andreas Schwab  <schwab@redhat.com>
74442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74443         change.
74444         (_dl_x86_64_save_sse): Use correct AVX check.
74446 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74448         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74449         bug in strncpy/strncat.
74450         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74452 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
74454         * string/tester.c (test_strcat): Add tests for different alignments
74455         of source and destination.
74456         (test_strncat): Likewise.
74458 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74460         [BZ #12852]
74461         * posix/glob.c (glob): Check passed in values before using them in
74462         expressions to avoid some overflows.
74463         (glob_in_dir): Likewise.
74465         [BZ #13007]
74466         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74467         check for AVX enablement so that we don't crash with old kernels and
74468         new hardware.
74469         * elf/tst-audit4.c: Add same checks here.
74470         * elf/tst-audit6.c: Likewise.
74472         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74474 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
74476         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74478 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
74480         * po/cs.po: Update from translation team.
74481         * po/bg.po: Likewise.
74483 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
74485         * misc/sys/cdefs.h: Add support for const attribute.
74486         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74487         to gnu_dev_{major,minor,makedev} functions.
74489 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
74491         * intl/dcigettext.c (get_output_charset): Add missing bracket.
74493 2011-07-20  Andreas Schwab  <schwab@redhat.com>
74495         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74496         strlen results.
74498 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74500         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74501         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74502         register in order to avoid conflicts with the soft frame pointer
74503         being held in r11 when necessary.
74504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74505         (INTERNAL_VSYSCALL_NCS): Likewise.
74507 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
74509         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74510         * elf/dl-fini.c (_dl_fini): Adjust caller.
74511         * elf/dl-close.c (_dl_close_worker): Likewise.
74512         * sysdeps/generic/ldsodefs.h: Adjust declaration.
74514 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74516         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74517         "aux_cache->nlibs < 0".
74519         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74520         in the reload-count case.
74522 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74525         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74526         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74528         * sysdeps/x86_64/multiarch/strcat.S: New file.
74529         * sysdeps/x86_64/multiarch/strncat.S: New file.
74530         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74531         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74532         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74533         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74534         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74535         (USE_AS_STRCAT): Define.
74536         Add strcat and strncat support.
74537         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74538         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74539         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74540         * string/strncat.c: Update.
74541         (USE_AS_STRNCAT): Define.
74542         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74543         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74544         and i7.
74545         * sysdeps/x86_64/multiarch/init-arch.h
74546         (bit_Prefer_PMINUB_for_stringop): New.
74547         (index_Prefer_PMINUB_for_stringop): Likewise.
74548         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74549         bit_Prefer_PMINUB_for_stringop.
74551 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74553         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74554         buffer64.
74555         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74556         of casting of buffer.
74557         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74558         buffer32 and buffer64.
74559         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74560         writes instead of casting of buffer.
74561         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74562         buffer32.
74563         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74564         casting of buffer.
74566 2011-07-19  Andreas Schwab  <schwab@redhat.com>
74568         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74570 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
74572         * nscd/nscd.c (termination_handler): Don't do anything for a database
74573         if it has not yet been initialized.
74575 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74577         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74579 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
74581         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74583 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
74585         * po/nl.po: Update from translation team.
74586         * po/sv.po: Likewise.
74588 2011-07-16  Roland McGrath  <roland@hack.frob.com>
74590         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74591         now disallowed by GCC.
74593         * configure.in (use-default-link): Default to yes if a test -shared
74594         link meets our qualifications.
74595         * configure: Regenerated.
74597         * config.make.in (output-format): New variable.
74598         * configure.in: Check for ld --print-output-format support.
74599         * configure: Regenerated.
74600         * Makerules ($(common-objpfx)format.lds)
74601         [$(output-format) != unknown]: Just use $(output-format),
74602         instead of the linker-script munging.
74604 2011-07-14  Roland McGrath  <roland@hack.frob.com>
74606         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74607         of $(common-objpfx)shlib.lds.
74608         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74610         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74611         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74613         * configure.in (-z relro check): Adjust test code to add a large
74614         writable data section after it.
74615         * configure: Regenerated.
74617 2011-07-11  Roland McGrath  <roland@hack.frob.com>
74619         * configure.in (-z relro check): Fix test code to make the variable
74620         truly const.
74621         * configure: Regenerated.
74623 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
74625         * nscd/nscd.h (struct traced_file): Define.
74626         (struct database_dyn): Remove inotify_descr, reset_res, and filename
74627         elements.  Add traced_files.
74628         (inotify_fd): Declare.
74629         (register_traced_file): Declare.
74630         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74631         (inotify_fd): Export.
74632         (resolv_conf_descr): Remove.
74633         (nscd_init): Move inotify descriptor creation to main.
74634         Don't register files for notification here.
74635         (register_traced_file): New function.
74636         (invalidate_cache): Don't use reset_res to determine whether to call
74637         res_init, go through the list of registered files.
74638         (main_loop_poll): The inotify descriptors are now stored in the
74639         structures for the traced files.
74640         (main_loop_epoll): Likewise.
74641         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
74642         to __nss_disable_nscd.
74643         * nscd/cache.c (prune_cache): There is no single inotify descriptor
74644         for a database anymore.  Check the records for all the registered
74645         files instead.
74646         * nss/Makefile (libnss_files-routines): Add files-init.
74647         (libnss_db-routines): Add db-init.
74648         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74649         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74650         * nss/nss_db/db-init.c: New file.
74651         * nss/nss_files/files-init.c: New file.
74652         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
74653         __nss_lookup_function.
74654         (__nss_lookup_function): Call nss_load_library.
74655         (nss_load_all_libraries): New function.
74656         (__nss_disable_nscd): Take parameter with callback function for files
74657         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
74658         used for the cached services.
74659         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74660         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74661         options for features to all the files in nscd.
74663         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74665 2011-07-10  Roland McGrath  <roland@hack.frob.com>
74667         * csu/elf-init.c (__libc_csu_init): Comment typo.
74669 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
74671         * po/pl.po: Update from translation team.
74672         * po/ja.po: Likewise.
74673         * po/ru.po: Likewise.
74674         * po/ko.po: Likewise.
74675         * po/fr.po: Likewise.
74677 2011-07-09  Roland McGrath  <roland@hack.frob.com>
74679         * configure.in (.ctors/.dtors header and trailer check):
74680         Use an empirical test on a built program.
74681         * configure: Regenerated.
74683         * configure.in (-z relro check): Use an empirical test on a built DSO.
74684         Detect, but do not require, on ia64.
74685         * configure: Regenerated.
74687         * configure.in (READELF): Find it with AC_CHECK_TOOL.
74688         Update tests that use readelf to use $READELF instead.
74689         * configure: Regenerated.
74691 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
74693         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74694         if the result is not used.
74696 2011-07-05  Andreas Jaeger  <aj@suse.de>
74698         [BZ#9696]
74699         * stdlib/tst-strtod.c: Add testcase.
74701 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
74703         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74704         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74705         The latter has a higher limit.  Take additional parameter to pass to
74706         the new function.
74707         (__pathconf): Pass file to __statfs_link_max.
74708         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74709         __statfs_link_max.
74710         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74711         __statfs_link_max.
74713         [BZ #12868]
74714         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74715         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74716         Handle Lustre.
74717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74718         (__statfs_filesize_max): Likewise.
74719         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74721 2011-07-05  Andreas Jaeger  <aj@suse.de>
74723         * resolv/res_comp.c (dn_skipname): Remove unused variable.
74725 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
74727         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74728         `status' variable.
74729         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74730         Likewise.
74732 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
74734         * Makefile (strop-tests): Add strncat.
74735         * string/test-strncat.c: New file.
74737 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
74739         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74741 2011-06-21  Andreas Jaeger  <aj@suse.de>
74743         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74744         Copy rule from iconvdata/Makefile.
74746 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74748         [BZ #12922]
74749         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74750         but no long options are defined, just return 'W'.
74752 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
74754         [BZ #9696]
74755         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74757 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
74759         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74760         netgroups to read.
74761         (innetgr): Likewise.
74763 2011-07-05  Roland McGrath  <roland@hack.frob.com>
74765         * config.make.in (install_root): Default to $(DESTDIR).
74767 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
74769         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74771 2011-07-02  Roland McGrath  <roland@hack.frob.com>
74773         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74775         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74776         containing directory rather than embedding absolute directory names.
74778         * scripts/check-local-headers.sh: Rewritten using awk.
74779         Match by word, not by line.  Print error messages for matches.
74780         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74782         * Makerules [shlib-lds-flags empty]:
74783         ($(common-objpfx)libc_pic.opts): New target.
74784         ($(common-objpfx)libc_pic.os.clean): New target.
74785         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74787         * config.make.in (OBJCOPY): New variable.
74788         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74789         * configure: Regenerated.
74791         * config.make.in (use-default-link): New variable.
74792         * configure.in (use_default_link): Grok --with-default-link to set it.
74793         * configure: Regenerated.
74794         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74795         (shlib-lds, shlib-lds-flags): Define to empty.
74797         * Makerules (shlib-lds): New variable.
74798         (shlib-lds-flags): New variable.
74799         (build-shlib, build-moduile, build-module-asneeded): Use it.
74800         ($(common-objpfx)libc.so): Use $(shlib-lds).
74801         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74802         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74804         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74805         DT_FLAGS/DT_FLAGS_1 with zero flags.
74807         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74808         linker script munging.
74810 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
74812         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74813         as 128-bit value.
74814         * crypt/sha512.c (sha512_process_block): Perform total addition using
74815         128-bit if possible.
74816         (__sha512_finish_ctx): Likewise.
74817         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74818         as 64-bit value.
74819         * crypt/sha256.c (SWAP64): Define.
74820         (sha256_process_block): Perform total addition using 64-bit if
74821         possible.
74822         (__sha256_finish_ctx): Likewise.
74824 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
74826         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
74827         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74828         * nscd/hstcache.c (cache_addhst): Likewise.
74829         * nscd/grpcache.c (cache_addgr): Likewise.
74830         * nscd/aicache.c (addhstaiX): Likewise.
74831         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74833 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
74835         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74836         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74837         * nscd/hstcache.c (cache_addhst): Likewise.
74838         * nscd/grpcache.c (cache_addgr): Likewise.
74839         * nscd/aicache.c (addhstaiX): Likewise.
74841 2011-07-01  Andreas Schwab  <schwab@redhat.com>
74843         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
74844         domain only when needed.
74846 2011-06-30  Andreas Schwab  <schwab@redhat.com>
74848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
74849         is always restored.
74851 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
74853         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
74854         are re-adding the entry.
74855         * nscd/servicescache.c (cache_addserv): Likewise.
74857 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
74859         * sysdeps/generic/dl-irel.h: fix protection against multiple
74860         inclusions.
74861         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
74863 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
74865         [BZ #12935]
74866         * malloc/memusage.sh: Fix quoting in message.
74867         * debug/xtrace.sh: Likewise.
74869         * configure.in: Remove support for --experimental-malloc option, make
74870         it the default.
74871         * config.make.in: Likewise.
74872         * malloc/Makefile: Likewise.
74874 2011-06-27  Andreas Schwab  <schwab@redhat.com>
74876         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
74877         two-byte characters.
74879 2011-06-27  Roland McGrath  <roland@hack.frob.com>
74881         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
74882         AC_CACHE_CHECK invocation.
74883         * configure: Regenerated.
74885         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
74887 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
74889         [BZ #12350]
74890         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
74891         bit from old_res_options.
74893         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
74895         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
74896         value type for setfct.
74898 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
74900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74901         __gettimeofday instead of gettimeofday.
74903 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
74905         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
74907 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
74909         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
74911         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
74912         info.
74914 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74916         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74917         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74918         strcpy-sse2-unaligned strncpy-sse2-unaligned
74919         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
74920         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
74921         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
74922         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
74923         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
74924         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
74925         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
74926         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
74927         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
74928         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
74929         (STRCPY): Support SSE2 and SSSE3 versions.
74931 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
74933         [BZ #12874]
74934         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
74935         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
74936         kernels which artificially limit size of requests.
74938 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
74940         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74941         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
74942         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
74943         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
74944         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
74945         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
74946         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
74947         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
74948         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
74949         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
74950         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
74951         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
74952         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
74953         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
74954         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
74955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74956         Enable unaligned load optimization for Intel Core i3, i5 and i7
74957         processors.
74958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
74959         Define.
74960         (index_Fast_Unaligned_Load): Define.
74961         (HAS_FAST_UNALIGNED_LOAD): Define.
74963 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
74965         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
74967 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74969         [BZ #12907]
74970         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
74971         until it is clear that the information is realy needed.
74972         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
74974 2011-06-22  Andreas Schwab  <schwab@redhat.com>
74976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
74978 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
74980         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
74981         /sys/devices/system/cpu/online if it is usable.
74983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
74984         reading the information from the /proc filesystem to once a second.
74986 2011-06-21  Andreas Jaeger  <aj@suse.de>
74988         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
74989         NULL after inclusion of kernel headers.
74991 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
74993         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
74994         calls to internal_setent.
74996         [BZ #12885]
74997         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
74998         addresses using gethostbyname4_r ignore IPv4 addresses.
75000         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75001         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75003         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75005 2011-06-20  David S. Miller  <davem@davemloft.net>
75007         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75008         inclusions.
75009         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75011         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75012         (elf_irel): Use it.
75013         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75014         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75015         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75016         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75017         * sysdeps/x86_64/dl-irel.h: Likewise.
75019         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75020         * elf/dl-sym.c: Likewise.
75022 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75024         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75025         need to dereference resplen2.
75027 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75029         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75031 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75033         * Makeconfig: Define vardbdir and inst_vardbdir.
75034         * nss/Makefile: Add rules to install db-Makefile.
75036         * nss/nss_db/db-XXX.c: Cleanup.
75038         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75039         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75040         GLIBC_PRIVATE.
75041         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75042         * nss/makedb.c: Implement -g option to specify that value strings
75043         are generated and should not be added to table iterated over for
75044         get*ent calls.
75045         * nss/nss_db/db-initgroups.c: New file.
75047         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75048         interface.
75050         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75051         (internal_getgrouplist): Adjust to name change.
75052         Update use_initgroups_entry if this is not the first call.
75053         * nss/databases.def: Add initgroups entry.
75055         * nss/makedb.c (compute_tables): Check result of multiple hash table
75056         sizes to minimize maximum chain length.
75058 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75060         * Versions.def: Add entry for libnss_db.
75061         * shlib-versions: Likewise.
75062         * nss/Makefile: Add rules to build libnss_db.
75063         * nss/Versions: Add libnss_db information.  Organize libnss_files
75064         entries better.
75065         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75066         makedb progra.  Some minor improvements to generate smaller files.
75067         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75068         here from...
75069         * nss/makedb.c: ...here.
75070         Improve database format to be smaller and require less memory at
75071         runtime.
75072         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75073         db anymore.
75074         * nss/nss_db/db-netgrp.c: Likewise.
75075         * nss/nss_db/db-open.c: Likewise.
75076         * nss/nss_files/flies-XXX.x: Adjust comments.
75077         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75078         * nss/nss_files/files-grp.c: Likewise.
75079         * nss/nss_files/files-hosts.c: Likewise.
75080         * nss/nss_files/files-network.c: Likewise.
75081         * nss/nss_files/files-proto.c: Likewise.
75082         * nss/nss_files/files-pwd.c: Likewise.
75083         * nss/nss_files/files-rpc.c: Likewise.
75084         * nss/nss_files/files-service.c: Likewise.
75085         * nss/nss_files/files-sgrp.c: Likewise.
75086         * nss/nss_files/files-spwd.c: Likewise.
75087         * nss/nss_db/db-alias.c: Removed.
75088         * nss/nss_db/dummy-db.h: Removed.
75090 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75092         * nss/makedb.c: Rewritten to not use database library.
75093         * nss/Makefile: Update to build new makedb program.
75095 2011-06-14  Andreas Jaeger  <aj@suse.de>
75097         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75098         memset declaration.
75100 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75102         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75103         tmpbuf.
75105 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75107         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75108         * elf/Makefile ($(objpfx)ld.so): Likewise.
75110         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75111         Don't list ld.so twice in dependencies.
75113         * posix/bug-regex31.c: Include <stdlib.h>.
75115         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75117         * nis/nss_compat/compat-spwd.c
75118         (getspent_next_nss_netgr): Remove unused variable.
75119         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75121         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75122         nonmembers" output to use the right array.
75124         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75126         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75128         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75129         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75130         * catgets/gencat.c (read_input_file): Likewise.
75131         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75133         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75134         variable definition inside #if's controlling its use.
75136         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75138         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75140         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75142         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75143         unreachable code.
75145         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75147         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75148         * configure: Regenerated.
75150         * Makerules: Revert last change.
75151         * elf/Makefile: Likewise.
75153 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75155         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75156         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75157         (reloc-link): Likewise.
75159 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75161         * elf/Makefile: Add rules to build pldd.
75162         * elf/pldd.c: New file.
75163         * elf/pldd-xx.c: New file.
75165 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75167         * version.h: Update for 2.15 development version.
75169 2011-06-07  David S. Miller  <davem@davemloft.net>
75171         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75172         ifuncs.
75173         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75174         elf_machine_lazy_rel): Likewise.
75175         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75176         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75177         elf_machine_lazy_rel): Likewise.
75178         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75179         dl_hwcap via passed in argument.
75180         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75181         Likewise.
75183 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75185         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75187 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75189         [BZ #12849]
75190         * manual/fdl-1.1.texi: New file, verbatim from:
75191         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75192         * manual/lgpl-2.1.texi: New file, verbatim from:
75193         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75194         * manual/Makefile (licenses): New variable, list those new file names.
75195         (texis): Use it.
75196         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75198         * manual/fdl.texi: File removed.
75199         * manual/lesser.texi: File removed.
75200         * manual/libc.texinfo (Copying, Documentation License):
75201         Use new @include file names, put @appendix directive before @include.
75203 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75205         [BZ #12841]
75206         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75207         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75208         (mq_open): Add __NTH.
75210 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75213         Assume Intel Core i3/i5/i7 processor if AVX is available.
75215 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75218         typo.
75220 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75222         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75223         memory.  Use alloca_account.  Fix memory leak when retrying.
75225 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75227         * version.h (RELEASE): Bump for 2.14 release.
75228         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75230         * config.make.in (RANLIB): Remove entry.
75232 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75234         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75235         (libc.pot): Work around missing support for .ksh extension in xgettext.
75237         [BZ #12684]
75238         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75239         if both request failed.
75240         (send_dg): In case of server errors clear resplen or *resplen2.
75242         [BZ #12454]
75243         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75244         when there are multiple maps.
75245         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75246         (_dl_fini): Remove test here.
75248         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75250 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75252         [BZ #12350]
75253         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75254         bit from old_res_options.
75255         (gaih_inet): Likewise.
75257         [BZ #11099]
75258         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75259         as signed.
75261         * resolv/res_init.c (res_setoptions): Make the code more compact.
75263         [BZ #11558]
75264         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75265         set RES_USEVC.
75267         [BZ #11634]
75268         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75270         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75272         [BZ #11781]
75273         * malloc/malloc.h: Declare malloc hook variables as volatile.
75275         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75276         in last patch.
75278         [BZ #11799]
75279         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75280         raise in the comment.
75281         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75282         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75283         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75285 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75287         [BZ #12811]
75288         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75289         grow the buffers more if it already has to be sufficient.
75290         (build_wcs_upper_buffer): Likewise.
75291         * posix/regexec.c (check_matching): Likewise.
75292         (clean_state_log_if_needed): Likewise.
75293         (extend_buffers): Don't enlarge buffers beyond size of the input
75294         buffer.
75295         Patches mostly by Emil Wojak <emil@wojak.eu>.
75296         * posix/bug-regex32.c: New file.
75297         * posix/Makefile (tests): Add bug-regex32.
75299         * locale/findlocale.c (_nl_find_locale): Return right away if
75300         _nl_explode_name failed.
75301         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75303         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75305         * debug/xtrace.sh: Unify messages.
75306         * malloc/memusage.sh: Likewise.
75308         [BZ #12813]
75309         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75310         time symbol from vDSO.  Substitute with vsyscall if not available.
75311         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75312         __vdso_time.
75314         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75315         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75316         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75317         Add sendmmsg and internal_sendmmsg.
75318         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75319         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75320         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75322         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75323         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75324         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75326 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
75328         [BZ #12813]
75329         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75330         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
75331         available.
75332         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75333         __vdso_getcpu.
75335         [BZ #12814]
75336         * iconvdata/Makefile (tests): Add bug-iconv9.
75337         * iconvdata/bug-iconv9.c: New file.
75339 2011-05-27  Andreas Schwab  <schwab@redhat.com>
75341         [BZ #12814]
75342         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75344 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
75346         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75347         (struct user_regs_struct): Change intcs field back to cs.
75349 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
75351         * po/ja.po: Update from translation team.
75353 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
75355         [BZ #12795]
75356         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75357         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75359 2011-05-20  Andreas Schwab  <schwab@redhat.com>
75361         * stdlib/longlong.h: Update from GCC.
75363 2011-05-23  Andreas Schwab  <schwab@redhat.com>
75365         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75366         parameter name.
75367         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75368         Add parameter name.
75369         (__sysconf): Pass it down.
75371 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
75373         [BZ #12671]
75374         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75375         some situations.
75376         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75377         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75378         add in in __libc_use_alloca calls.  Adjust callers.
75379         (glob): Use malloc in some situations.
75381         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75382         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75383         pltexit.
75385 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
75387         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75388         and CLOCK_BOOTTIME_ALARM.
75390         [BZ #12782]
75391         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75392         is returned.
75394         * string/_strerror.c (__strerror_r): Print negative errors as signed
75395         numbers.
75397         [BZ #12777]
75398         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75399         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75400         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75402         * configure.in: Fix typo in redirection and correct removal of test
75403         files in two cases.
75405         [BZ #12788]
75406         * locale/setlocale.c (new_composite_name): Fix test to check for
75407         identical name of all categories.
75409         [BZ #12792]
75410         * libio/filedoalloc.c (local_isatty): New function.
75411         (_IO_file_doallocate): Use local_isatty.
75412         * stdio-common/perror.c (perror): In case a new stream is used
75413         forward the stream error.
75414         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75415         error flag.
75417 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
75419         [BZ #11884]
75420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75421         alloca.
75422         * include/alloca.h (extend_alloca_account): Define.
75424         [BZ #11857]
75425         * posix/regex.h: Fix comments with documentation of user-accessible
75426         fields after compilation and describe correct free'ing of pattern
75427         after re_compile_pattern.
75428         Patch by Reuben Thomas <rrt@sc3d.org>.
75430 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
75432         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75433         and -mno-altivec to prevent the compiler from using Altivec and/or
75434         VSX instructions when the corresponding registers are not available.
75436 2011-05-19  Andreas Schwab  <schwab@redhat.com>
75438         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75440 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
75442         * libio/freopen.c (freopen): Use __dup2, not dup2.
75443         * libio/freopen64.c (freopen64): Likewise.
75445 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75447         [BZ #12775]
75448         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75449         * math/Makefile (tests): Add test-powl.
75450         (CFLAGS-test-powl.c): Define.
75451         * math/test-powl.c: New file.
75453 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75455         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75457 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
75459         [BZ #11837]
75460         * iconvdata/gb18030.c: Update to GB18020-2005.
75462 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
75464         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75465         RE_SYNTAX_POSIX_AWK): Update to match recent development.
75466         Patch by Aharon Robbins <arnold@skeeve.com>.
75468         [BZ #11892]
75469         * stdlib/putenv.c (putenv): Don't always create copy of the variable
75470         on the stack.
75472         [BZ #11895]
75473         * misc/pselect.c (__pselect): Handle timeout value errors hidden
75474         through underflows.
75476         [BZ #12766]
75477         * misc/error.c (error_at_line): Ensure file_name and old_file_name
75478         point to strings before performing equality test for error_one_per_line
75479         mode.
75481         [BZ #11697]
75482         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75484         [BZ #11820]
75485         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75486         (struct user_fpregs_struct): Avoid __uint*_t types.
75488         [BZ #6420]
75489         * malloc/mtrace.c (tr_where): Add additional parameter to point to
75490         symbol info.  Use it instead of calling _dl_addr locally.
75491         (lock_and_info): New function.
75492         (tr_freehook): Call lock_and_info and pass symbol info as additional
75493         parameter to tr_where.
75494         (tr_mallochook): Likewise.
75495         (tr_reallochook): Likewise.
75496         (tr_memalignhook): Likewise.
75498         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
75499         used and couldn't be at all thread-safe.
75501 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
75503         * libio/freopen.c (freopen): Don't close old file descriptor
75504         before the new one is opened.  Instead dup the new file descriptor
75505         to the old one after the new stream is created.
75506         * libio/freopen64.c (freopen64): Likewise.
75507         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75508         * libio/fileops.c (_IO_new_file_close_it): Handle new
75509         _IO_FLAGS2_NOCLOSE flag.
75510         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75511         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75512         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75513         _IO_FLAGS2_NOCLOSE flag.
75514         * include/unistd.h: Add hidden_proto for dup3.
75515         Define __have_dup3.
75516         * io/dup3.c: Define hidden symbol.
75517         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75519         [BZ #7101]
75520         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75521         when an incomplete long option is used.
75522         * posix/tst-getopt_long1.c: New file.
75523         * posix/Makefile (tests): Add tst-getopt_long1.
75525         [BZ #10138]
75526         * scripts/config.guess: Update from autoconf-2.68.
75527         * scripts/config.sub: Likewise.
75529         [BZ #10157]
75530         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75531         tests into ...
75532         (has_cpuclock): ...this.  New function.
75533         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75534         macro here based on has_cpuclock code.
75536         [BZ #10149]
75537         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75538         First byte (not low byte) is now always NUL.
75539         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75541         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75542         Use non-cancelable interfaces.
75544         [BZ #9809]
75545         * locale/iso-639.def: Add entry for Sorani.
75547         [BZ #11901]
75548         * include/stdlib.h: Move include protection to the right place.
75549         Define abort_msg_s.  Declare __abort_msg with it.
75550         * stdlib/abort.c (__abort_msg): Adjust type.
75551         * assert/assert.c (__assert_fail_base): New function.  Majority
75552         of code from __assert_fail.  Allocate memory for __abort_msg with
75553         mmap.
75554         (__assert_fail): Now call __assert_fail_base.
75555         * assert/assert-perr.c: Remove bulk of implementation.  Use
75556         __assert_fail_base.
75557         * include/assert.hL Declare __assert_fail_base.
75558         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75559         mmap.
75560         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75562 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
75564         [BZ #11952]
75565         [BZ #12453]
75566         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75567         until all modules are registered in the DTV.
75568         * elf/Makefile: Add rules to build and run tst-tls19.
75569         * elf/tst-tls19.c: New file.
75570         * elf/tst-tls19mod1.c: New file.
75571         * elf/tst-tls19mod2.c: New file.
75572         * elf/tst-tls19mod3.c: New file.
75573         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75575         [BZ #12083]
75576         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75577         correctly.
75579         [BZ #12601]
75580         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75581         two-byte sequence errors.
75582         * iconvdata/Makefile (tests): Add bug-iconv8.
75583         * iconvdata/bug-iconv8.c: New file.
75585         [BZ #12626]
75586         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75587         buf2 definition.
75589         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75591         [BZ #12432]
75592         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75593         (dummy_getcfa): New function.
75594         (init): Get _Unwind_GetCFA address, use dummy if not found.
75595         (backtrace_helper): In recursion check, also check whether CFA changes.
75596         (__backtrace): Completely initialize arg.
75598         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75599         storing incomplete byte sequence in state object.  Avoid testing for
75600         guaranteed too small input if we know there is enough data available.
75602 2011-05-11  Andreas Schwab  <schwab@redhat.com>
75604         * Makeconfig (+link-pie): Indent.
75605         * Rules (binaries-pie): Define if $(have-fpie) and
75606         $(build-shared).
75607         (binaries-shared): Also filter out $(binaries-pie).
75608         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75609         * nscd/Makefile (others-pie): Add nscd.
75610         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75611         ($(objpfx)nscd): Remove command override.
75612         * login/Makefile (others-pie): Add pt_chown.
75613         ($(objpfx)pt_chown): Remove command override.
75614         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75615         remove command overrides.
75617 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
75619         * libio/tst_putwc.c: Fix error messages.
75621         [BZ #12724]
75622         * libio/fileops.c (_IO_new_file_close_it): Always flush when
75623         currently writing and seek to current position when not.
75624         * libio/Makefile (tests): Add bug-fclose1.
75625         * libio/bug-fclose1.c: New file.
75627 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
75629         [BZ #12511]
75630         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75631         don't set DF_1_NODELETE here.
75632         (do_lookup_x): When entering new entry test for copy relocation
75633         and if necessary set DF_1_NODELETE flag.
75634         * elf/tst-unique4.cc: New file.
75635         * elf/tst-unique4.h: New file.
75636         * elf/tst-unique4lib.cc: New file.
75637         * elf/Makefile: Add rules to build and run tst-unique4.
75638         Patch by Piotr Bury <pbury@goahead.com>.
75640 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
75642         [BZ #12052]
75643         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75645         [BZ #12625]
75646         * misc/mntent_r.c (addmntent): Flush the stream after the output
75648         [BZ #12393]
75649         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75650         (is_trusted_path_normalize): Skip initial colon.  Append slash
75651         to empty buffer.  Duplicate is_trusted_path code but allow
75652         constructed patch to be prefix.
75653         (is_dst): Allow $ORIGIN followed by /.
75654         (_dl_dst_substitute): Correct clearing of check_for_trusted.
75655         Correct testing of result of is_trusted_path_normalize
75656         (decompose_rpath): Fix warning.
75658 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
75660         [BZ #11257]
75661         * grp/initgroups.c (internal_getgrouplist): When we found the service
75662         list through the initgroups entry in nsswitch.conf do not always
75663         continue on a successful lookup.  Don't always use the
75664         __nss_group_database value if it is set.
75665         * nss/nsswitch.conf (initgroups): Change action for successful db
75666         lookup to continue for compatibility.
75668 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
75670         [BZ #11532]
75671         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75672         and CP774 modules.
75673         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75674         and CP774 modules.
75675         * iconvdata/tst-tables.sh: Likewise.
75676         * iconvdata/cp770.c: New file.
75677         * iconvdata/cp771.c: New file.
75678         * iconvdata/cp772.c: New file.
75679         * iconvdata/cp773.c: New file.
75680         * iconvdata/cp774.c: New file.
75681         * iconvdata/testdata/CP770: New file.
75682         * iconvdata/testdata/CP770..UTF8: New file.
75683         * iconvdata/testdata/CP771: New file.
75684         * iconvdata/testdata/CP771..UTF8: New file.
75685         * iconvdata/testdata/CP772: New file.
75686         * iconvdata/testdata/CP772..UTF8: New file.
75687         * iconvdata/testdata/CP773: New file.
75688         * iconvdata/testdata/CP773..UTF8: New file.
75689         * iconvdata/testdata/CP774: New file.
75690         * iconvdata/testdata/CP774..UTF8: New file.
75692         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75693         END CHARMAP line.
75694         * iconvdata/gen-8bit-gap.sh: Likewise.
75695         * iconvdata/gen-8bit.sh: Likewise.
75697         * locale/iso-639.def: Add ary entry.
75699         [BZ #11258]
75700         * locale/C-translit.h.in: Add U20A1 transliteration.
75702         [BZ #12178]
75703         * locale/iso-639.def: Add wae entry.
75704         Patch by Kevin Bortis <bortis@translate-wae.ch>.
75706         [BZ #12545]
75707         * locale/programs/localedef.c (construct_output_path): Use ssize_t
75708         for n.
75710         [BZ #12711]
75711         * locale/C-translit.h.in: Add entry for U20B9.
75712         Patch by pravin.d.s@gmail.com.
75714 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
75716         [BZ #12713]
75717         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75718         ENAMETOOLONG use generic getcwd.
75719         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
75720         in rtld.  Use *stat64.
75721         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75722         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75723         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75724         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75725         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75726         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75727         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75728         __fstatat64 macros.
75729         * include/dirent.h: Add libc_hidden_proto for rewinddir.
75730         * dirent/rewinddir.c: Add libc_hidden_def.
75731         * sysdeps/mach/hurd/rewinddir.c: Likewise.
75732         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
75734         * include/dirent.h (__alloc_dir): Add flags parameter.
75735         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75736         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75737         __alloc_dir.
75738         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
75739         from fdopendir if O_CLOEXEC is already set.
75741 2011-03-15  Alan Modra  <amodra@gmail.com>
75743         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75744         l_tls_firstbyte_offset non-zero.  Save padding offset in
75745         l_tls_firstbyte_offset for later use.
75746         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75747         freeing static tls block.
75749 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
75751         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75752         where #ifdef was intended.  The intent is to prevent ARG_MAX from
75753         being defined by the kernel headers.
75755 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
75757         [BZ #12734]
75758         * resolv/resolv.h: Define RES_NOTLDQUERY.
75759         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75760         no-tld-query and set RES_NOTLDQUERY.
75761         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75762         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75763         modern BIND to search name as TLD unless forbidden.
75765 2011-05-07  Petr Baudis  <pasky@suse.cz>
75766             Ulrich Drepper  <drepper@gmail.com>
75768         [BZ #12393]
75769         * elf/dl-load.c (fillin_rpath): Move trusted path check...
75770         (is_trusted_path): ...to here.
75771         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75772         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75773         using is_trusted_path_normalize() in setuid scripts.
75775 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75777         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75778         __BEGIN/__END_DECLS.
75780 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
75782         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75783         NSS_STATUS_NOTFOUND if no record was found.
75785 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75787         * sunrpc/Makefile (headers): Add rpc/netdb.h.
75788         (headers-not-in-tirpc): Remove rpc/netdb.h
75789         * resolv/netdb.h: Revert last change.
75791 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75793         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75794         circular dependency between libgcc.a and libc.a.
75796 2011-05-05  Andreas Schwab  <schwab@redhat.com>
75798         * resolv/netdb.h: Don't include <rpc/netdb.h>.
75799         * nis/Makefile: Don't install rpcsvc/*.
75800         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75801         instead of <rpc/types.h>.
75802         (MAXHOSTNAMELEN): Define.
75804 2011-05-03  Andreas Schwab  <schwab@redhat.com>
75806         * elf/ldconfig.c (add_dir): Don't crash on empty path.
75808 2011-04-28  Maciej Babinski  <mbabinski@google.com>
75810         [BZ #12714]
75811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75812         gethostbyname4_r when IPv6 results are possible.
75814 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
75816         [BZ #12723]
75817         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75818         _PC_PIPE_BUF handling.
75820 2011-04-30  Bruno Haible  <bruno@clisp.org>
75822         [BZ #12717]
75823         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75824         * resolv/netdb.h (getnameinfo): Change type of flags parameter
75825         to 'int'.
75826         * inet/getnameinfo.c (getnameinfo): Likewise.
75828 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
75830         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75831         to groups setting in database lookup.
75832         * nss/nsswitch.conf: Add initgroups entry.
75834 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
75836         [BZ #12685]
75837         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75838         mode string.
75839         Patch by Eric Blake <eblake@redhat.com>.
75841 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
75843         * sunrpc/Makefile (need-export-routines): Add svc_run.
75844         (routines): Remove svc_run.
75845         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
75846         * sunrpc/clnt_perr.c (clnt_perrno): Export.
75847         * sunrpc/svc_run.c (svc_run): Likewise.
75848         * sunrpc/svc_udp.c (svcudp_create): Likewise.
75850 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
75852         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
75853         problem in reallocation in last patch.
75855 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
75857         * sunrpc/Makefile: Move inclusion of Rules.
75859 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75861         * nss/nss_files/files-initgroups.c: New file.
75862         * nss/Makefile (libnss_files-routines): Add files-initgroups.
75863         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
75864         _nss_files_initgroups_dyn.
75866 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
75868         * elf/elf.h (R_ARM_IRELATIVE): Define.
75870 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
75872         * po/ru.po: Update from translation team.
75874 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75876         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
75877         dependencies.
75879 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
75881         [BZ #12653]
75882         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
75883         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
75884         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75885         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
75886         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
75888 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
75890         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
75891         differing bytes.
75892         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
75893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
75894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75896 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
75898         [BZ #12420]
75899         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
75900         storing it.
75901         * stdlib/bug-getcontext.c: New file.
75902         * stdlib/Makefile: Add rules to build and run bug-getcontext.
75904 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75906         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
75907         instructions into .machine "z9-109".
75908         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
75909         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
75911 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75913         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
75914         between environment variables and auxiliary vector.
75916 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
75918         * Makefile: Add rules to build linkobj/libc.so.
75919         * include/libc-symbols.h: Define libc_hidden_nolink.
75920         * include/rpc/auth.h: Mark functions which are to be hidden.
75921         * include/rpc/auth_des.h: Likewise.
75922         * include/rpc/auth_unix.h: Likewise.
75923         * include/rpc/clnt.h: Likewise.
75924         * include/rpc/des_crypt.h: Likewise.
75925         * include/rpc/key_prot.h: Likewise.
75926         * include/rpc/pmap_clnt.h: Likewise.
75927         * include/rpc/pmap_prot.h: Likewise.
75928         * include/rpc/pmap_rmt.h: Likewise.
75929         * include/rpc/rpc_msg.h: Likewise.
75930         * include/rpc/svc.h: Likewise.
75931         * include/rpc/svc_auth.h: Likewise.
75932         * include/rpc/xdr.h: Likewise.
75933         * nis/Makefile: Link all DSOs against linkobj/libc.so.
75934         * nss/Makefile: Likewise.
75935         * sunrpc/Makefile: Don't install headers.  Build library with normal
75936         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
75937         * sunrpc/auth_des.c: Hide exported symbols by default, export some
75938         for the compat linking library.  Remove use of INTDEF/INTUSE.
75939         * sunrpc/auth_none.c: Likewise.
75940         * sunrpc/auth_unix.c: Likewise.
75941         * sunrpc/authdes_prot.c: Likewise.
75942         * sunrpc/authuxprot.c: Likewise.
75943         * sunrpc/clnt_gen.c: Likewise.
75944         * sunrpc/clnt_perr.c: Likewise.
75945         * sunrpc/clnt_raw.c: Likewise.
75946         * sunrpc/clnt_simp.c: Likewise.
75947         * sunrpc/clnt_tcp.c: Likewise.
75948         * sunrpc/clnt_udp.c: Likewise.
75949         * sunrpc/clnt_unix.c: Likewise.
75950         * sunrpc/des_crypt.c: Likewise.
75951         * sunrpc/des_soft.c: Likewise.
75952         * sunrpc/get_myaddr.c: Likewise.
75953         * sunrpc/key_call.c: Likewise.
75954         * sunrpc/key_prot.c: Likewise.
75955         * sunrpc/netname.c: Likewise.
75956         * sunrpc/pm_getmaps.c: Likewise.
75957         * sunrpc/pm_getport.c: Likewise.
75958         * sunrpc/pmap_clnt.c: Likewise.
75959         * sunrpc/pmap_prot.c: Likewise.
75960         * sunrpc/pmap_prot2.c: Likewise.
75961         * sunrpc/pmap_rmt.c: Likewise.
75962         * sunrpc/publickey.c: Likewise.
75963         * sunrpc/rpc_cmsg.c: Likewise.
75964         * sunrpc/rpc_common.c: Likewise.
75965         * sunrpc/rpc_dtable.c: Likewise.
75966         * sunrpc/rpc_prot.c: Likewise.
75967         * sunrpc/rpc_thread.c: Likewise.
75968         * sunrpc/rtime.c: Likewise.
75969         * sunrpc/svc.c: Likewise.
75970         * sunrpc/svc_auth.c: Likewise.
75971         * sunrpc/svc_authux.c: Likewise.
75972         * sunrpc/svc_raw.c: Likewise.
75973         * sunrpc/svc_run.c: Likewise.
75974         * sunrpc/svc_simple.c: Likewise.
75975         * sunrpc/svc_tcp.c: Likewise.
75976         * sunrpc/svc_udp.c: Likewise.
75977         * sunrpc/svc_unix.c: Likewise.
75978         * sunrpc/svcauth_des.c: Likewise.
75979         * sunrpc/xcrypt.c: Likewise.
75980         * sunrpc/xdr.c: Likewise.
75981         * sunrpc/xdr_array.c: Likewise.
75982         * sunrpc/xdr_float.c: Likewise.
75983         * sunrpc/xdr_intXX_t.c: Likewise.
75984         * sunrpc/xdr_mem.c: Likewise.
75985         * sunrpc/xdr_rec.c: Likewise.
75986         * sunrpc/xdr_ref.c: Likewise.
75987         * sunrpc/xdr_sizeof.c: Likewise.
75988         * sunrpc/xdr_stdio.c: Likewise.
75990 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
75992         [BZ #12650]
75993         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
75994         * sysdeps/ia64/dl-tls.h: Likewise.
75995         * sysdeps/powerpc/dl-tls.h: Likewise.
75996         * sysdeps/s390/dl-tls.h: Likewise.
75997         * sysdeps/sh/dl-tls.h: Likewise.
75998         * sysdeps/sparc/dl-tls.h: Likewise.
75999         * sysdeps/x86_64/dl-tls.h: Likewise.
76000         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76002 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76004         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76005         rpath element also skip the following colon.
76006         (expand_dynamic_string_token): Add is_path parameter and pass
76007         down to DL_DST_REQUIRED and _dl_dst_substitute.
76008         (decompose_rpath): Call expand_dynamic_string_token with
76009         non-zero is_path.  Ignore empty rpaths.
76010         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76011         with zero is_path.
76013 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76016         Make cancelable.
76018 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76020         [BZ #12655]
76021         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76022         Patch by Filipe David Manana <fdmanana@apache.org>.
76024 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76026         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76027         Maintain aligned stack.
76028         (CHECK_RSP): Remove unused macro.
76030 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76032         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76033         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76035 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76037         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76039         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76041 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76043         [BZ #12518]
76044         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76045         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76046         * sysdeps/x86_64/memmove.c: New file.
76047         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76048         (memcpy): Renamed to ...
76049         (__new_memcpy): This.
76050         (memcpy): Provide GLIBC_2_14 memcpy.
76051         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76052         (memcpy): Provide GLIBC_2_2_5 memcpy.
76054 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76056         [BZ #12631]
76057         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76059 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76061         * misc/syncfs.c: New file.
76062         * misc/Makefile (routines): Add syncfs.
76063         * posix/unistd.h: Declare syncfs.
76064         * sysdeps/unix/syscalls.list: Add syncfs.
76066 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76068         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76069         open_by_handle_at.
76070         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76071         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76072         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76073         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76075         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76076         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76078 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76080         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76081         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76082         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76084         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76086         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76088         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76089         sync_file_range.c with -fexceptions.
76090         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76091         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76092         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76093         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76094         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76095         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76097         sync_file_range as cancellation point
76098         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76099         now a wrapper around __call_sync_file_range with cancellation handling.
76100         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76101         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76102         function name to __call_sync_file_range.
76103         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76104         Add call_sync_file_range.
76106 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76109         bits/timex.h.
76111 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76113         * iconv/iconv.h: Fix typo in comment.
76114         * io/fcntl.h: Likewise.
76115         * libio/stdio.h: Likewise.
76116         * posix/spawn.h: Likewise.
76117         * posix/unistd.h: Likewise.
76118         * stdlib/stdlib.h: Likewise.
76119         * time/time.h: Likewise.
76120         * wcsmbs/wchar.h: Likewise.
76122         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76123         open_by_handle): Add.
76124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76125         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76126         Augment a few comments.
76127         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76128         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76129         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76130         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76131         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76132         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76133         open_by_handle.
76135         * io/fcntl.h (AT_EMPTY_PATH): Define.
76137 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76139         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76140         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76141         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76142         to...
76143         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76144         * Versions.def: Add GLIBC_2.14.
76145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76146         Export.
76148 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76150         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76151         round counter.
76152         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76154 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76156         [BZ #12597]
76157         * string/test-strncmp.c (do_page_test): New function.
76158         (check2): Likewise.
76159         (test_main): Call check2.
76160         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76162 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76164         [BZ #12587]
76165         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76166         Handle cache information in CPU leaf 4.
76167         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76169 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76171         [BZ #12583]
76172         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76173         character representation.
76174         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76176 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76178         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76179         END(__isnan) to END(__isnanf) to match function entry point/label
76180         EALIGN(__isnanf,...).
76182 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76184         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76186 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76188         [BZ #12510]
76189         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76190         copy from the symbol referenced in the relocation to initialize the
76191         used variable.
76192         Patch by Piotr Bury <pbury@goahead.com>.
76193         * elf/Makefile: Add rules to build and tst-unique3.
76194         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76195         * elf/tst-unique3.cc: New file.
76196         * elf/tst-unique3.h: New file.
76197         * elf/tst-unique3lib.cc: New file.
76198         * elf/tst-unique3lib2.cc: New file.
76200         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76202 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76204         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76205         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76206         to _start.
76208 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76210         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76211         to-be-loaded object along a path to loader is ld.so.
76213 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76214             Ulrich Drepper  <drepper@gmail.com>
76216         * sysdeps/x86_64/memset.S: After aligning destination, code
76217         branches to different locations depending on the value of
76218         misalignment, when multiarch is enabled. Fix this.
76220 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76222         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76223         Set _x86_64_preferred_memory_instruction for AMD processsors.
76224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76225         Set bit_Prefer_SSE_for_memop for AMD processors.
76227 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76229         * libio/fmemopen.c (fmemopen): Optimize a bit.
76231 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76233         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76235 2011-03-03  Roland McGrath  <roland@redhat.com>
76237         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76239 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76241         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76242         __bzero_ultra1 instead of __memset_ultra1.
76244 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76245             Ulrich Drepper  <drepper@gmail.com>
76247         [BZ #12509]
76248         * include/link.h (struct link_map): Add l_orig_initfini.
76249         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76250         returning unsuccessfully.
76251         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76252         close of a file loaded at startup, restore the original l_initfini
76253         list.
76254         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76255         list, store the pointer.
76256         * elf/Makefile ($(objpfx)noload-mem): New rule.
76257         (noload-ENV): Define.
76258         (tests): Add $(objpfx)noload-mem.
76259         * elf/noload.c: Include <memcheck.h>.
76260         (main): Call mtrace.  Close all opened handles.
76262 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76264         [BZ #12454]
76265         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76266         dependencies are missing.
76268 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76270         Fix __if_freereq crash: Unlike the generic version which uses free,
76271         Hurd needs munmap.
76272         * sysdeps/mach/hurd/ifreq.h: New file.
76274 2011-01-27  Petr Baudis  <pasky@suse.cz>
76275             Ulrich Drepper  <drepper@gmail.com>
76277         [BZ 12445]#
76278         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76279         to extend_alloca().
76280         * stdio-common/bug23.c: New file.
76281         * stdio-common/Makefile (tests): Add bug23.
76283 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76284             Ulrich Drepper  <drepper@gmail.com>
76286         [BZ #12489]
76287         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76288         before performing relro protection.  At old place add assertion
76289         to make sure nothing changed.
76291 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
76292             Glauber de Oliveira Costa  <glommer@gmail.com>
76294         * elf/elf.h: Add new ARM TLS relocs.
76296 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
76298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76299         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76300         cast from r3.
76301         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
76302         'tests' variable.
76303         * sysdeps/wordsize-64/tst-writev.c: New file.
76305 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
76307         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76308         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76309         insns in _dl_start to prevent a TOC reference before relocs are
76310         resolved.
76312 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
76314         [BZ #12469]
76315         * Makeconfig: Remove RANLIB definition.
76316         * Makerules: Don't use RANLIB.
76317         * aclocal.m4: Remove ranlib test.
76318         * configure.in: No need to check for ranlib.
76319         * elf/rtld-Rules: Don't use RANLIB.
76321 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76323         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76324         protection macro.
76325         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76326         inclusion protection macro.
76328         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76329         SIGRTMIN and SIGRTMAX and print information in that case only when
76330         SIGRTMIN is defined.
76332 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
76334         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76335         arginfo fn returning -1.
76337         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76338         and thousands string is zero terminated.
76340 2011-02-03  Andreas Schwab  <schwab@redhat.com>
76342         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76343         sysdeps/unix/sysv/linux/bits/socket.h.
76345 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76347         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76348         (__CPU_COUNT): Remove old macros.
76349         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76350         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76351         (__CPU_ALLOC, __CPU_FREE): Add macros.
76352         (__sched_cpualloc, __sched_cpufree): Add declarations.
76354 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
76356         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76357         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76358         * nscd/aicache.c (addhstaiX): Return timeout of added value.
76359         (readdhstai): Return value of addhstaiX call.
76360         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76361         (addgrbyX): Return value returned by cache_addgr.
76362         (readdgrbyname): Return value returned by addgrbyX.
76363         (readdgrbygid): Likewise.
76364         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76365         (addpwbyX): Return value returned by cache_addpw.
76366         (readdpwbyname): Return value returned by addhstbyX.
76367         (readdpwbyuid): Likewise.
76368         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76369         (addservbyX): Return value returned by cache_addserv.
76370         (readdservbyname): Return value returned by addservbyX:
76371         (readdservbyport): Likewise.
76372         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76373         (addhstbyX): Return value returned by cache_addhst.
76374         (readdhstbyname): Return value returned by addhstbyX.
76375         (readdhstbyaddr): Likewise.
76376         (readdhstbynamev6): Likewise.
76377         (readdhstbyaddrv6): Likewise.
76378         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76379         (readdinitgroups): Return value returned by addinitgroupsX.
76380         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76381         (prune_cache): Keep track of timeout value of re-added entries.
76382         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76383         * nscd/nscd.h: Adjust prototypes of readd* functions.
76385 2011-02-04  Roland McGrath  <roland@redhat.com>
76387         * nis/nis_server.c (nis_servstate): Use the right name for 0.
76388         (nis_stats): Likewise.
76389         * nis/nis_modify.c (nis_modify): Likewise.
76390         * nis/nis_remove.c (nis_remove): Likewise.
76391         * nis/nis_add.c (nis_add): Likewise.
76393         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76395         * posix/fnmatch_loop.c: Add some consts.
76397         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76399 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
76401         [BZ #12460]
76402         * config.make.in (config-cflags-novzeroupper): Define.
76403         * configure.in: Substitute libc_cv_cc_novzeroupper.
76404         * elf/Makefile (AVX-CFLAGS): Define.
76405         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76406         (CFLAGS-tst-auditmod4a.c): Likewise.
76407         (CFLAGS-tst-auditmod4b.c): Likewise.
76408         (CFLAGS-tst-auditmod6b.c): Likewise.
76409         (CFLAGS-tst-auditmod6c.c): Likewise.
76410         (CFLAGS-tst-auditmod7b.c): Likewise.
76411         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76413 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
76415         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76416         function to the callback.
76417         Patch partly by Jiri Olsa <jolsa@redhat.com>.
76419 2011-02-02  Andreas Schwab  <schwab@redhat.com>
76421         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76422         of errno.
76424 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
76426         [BZ #11724]
76427         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76428         of constructors.
76429         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76430         of destructors.
76431         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76433         [BZ #11724]
76434         * elf/Makefile: Add rules to build and run new test.
76435         * elf/tst-initorder.c: New file.
76436         * elf/tst-initorder.exp: New file.
76437         * elf/tst-initordera1.c: New file.
76438         * elf/tst-initordera2.c: New file.
76439         * elf/tst-initordera3.c: New file.
76440         * elf/tst-initordera4.c: New file.
76441         * elf/tst-initorderb1.c: New file.
76442         * elf/tst-initorderb2.c: New file.
76443         * elf/tst-order-a1.c: New file.
76444         * elf/tst-order-a2.c: New file.
76445         * elf/tst-order-a3.c: New file.
76446         * elf/tst-order-a4.c: New file.
76447         * elf/tst-order-b1.c: New file.
76448         * elf/tst-order-b2.c: New file.
76449         * elf/tst-order-main.c: New file.
76450         New test case by George Gensure <werkt0@gmail.com>.
76452 2010-10-01  Andreas Schwab  <schwab@redhat.com>
76454         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76455         decoding ACE if AI_CANONIDN.
76457 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
76459         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76461 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
76463         * version.h (RELEASE): Bump for 2.13 release.
76464         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76466         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76468         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76469         MADV_NOHUGEPAGE.
76470         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76471         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76472         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76473         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76474         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76475         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76477         * posix/getconf.c: Update copyright year.
76478         * catgets/gencat.c: Likewise.
76479         * csu/version.c: Likewise.
76480         * debug/catchsegv.sh: Likewise.
76481         * debug/xtrace.sh: Likewise.
76482         * elf/ldconfig.c: Likewise.
76483         * elf/ldd.bash.in: Likewise.
76484         * elf/sprof.c (print_version): Likewise.
76485         * iconv/iconv_prog.c: Likewise.
76486         * iconv/iconvconfig.c: Likewise.
76487         * locale/programs/locale.c: Likewise.
76488         * locale/programs/localedef.c: Likewise.
76489         * malloc/memusage.sh: Likewise.
76490         * malloc/mtrace.pl: Likewise.
76491         * nscd/nscd.c (print_version): Likewise.
76492         * nss/getent.c: Likewise.
76494         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76495         PF_CAIF, and PF_ALG.
76496         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76498 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
76500         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76501         (modules-names): Use them.
76502         (ifunc-test-modules, ifunc-pie-tests): Define.
76503         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76504         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76505         (test-extras): Likewise.
76506         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76507         $(compile-command.c).
76508         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76509         (all-built-dso): Define.
76510         (check-textrel.out, check-execstack.out): Depend on it.
76512         * configure.in: Don't override --enable-multi-arch.
76514 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
76516         [BZ #6812]
76517         * nscd/hstcache.c (tryagain): Define.
76518         (cache_addhst): Return tryagain not notfound for temporary errors.
76519         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76520         failed.
76522 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
76524         [BZ #10563]
76525         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76526         to make the syscall.
76527         * sysdeps/unix/sysv/linux/setgroups.c: New file.
76529         [BZ #12378]
76530         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76531         and fall back to matching as normal character if the string ends before
76532         the matching ']' is found.  This is what POSIX requires.
76533         * posix/testfnm.c: Adjust test result.
76534         * posix/globtest.sh: Adjust test result.  Add new test.
76535         * posix/tst-fnmatch.input: Likewise.
76536         * posix/tst-fnmatch2.c: Add new test.
76538 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
76540         * elf/Makefile (check-execstack): Revert last change.  Depend on
76541         check-execstack.h.
76542         (check-execstack.h): New target.
76543         (generated): Add check-execstack.h.
76544         * elf/check-execstack.c: Include "check-execstack.h".
76545         (main): Revert last change.
76546         (handle_file): Return zero if GNU_STACK is absent and
76547         DEFAULT_STACK_PERMS doesn't include PF_X.
76549 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
76551         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76552         in child fails because the descriptor is already closed.
76553         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76554         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76555         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76557         [BZ #12397]
76558         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76559         syscall.
76561         [BZ #10484]
76562         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76563         temporary buffer used to handle multi lookups locally.
76564         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76566 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76568         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76569         loader is ld.so.
76571 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
76573         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76574         alignment for SSE2.
76576 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
76578         [BZ #12394]
76579         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76580         characters.  When rounding increased number of integer digits recompute
76581         number of groups.
76582         * stdio-common/tst-grouping.c: New file.
76583         * stdio-common/Makefile: Add rules to build and run tst-grouping.
76585 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
76587         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76588         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
76590         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76591         void.
76592         * bits/select.h: Likewise.
76594 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
76596         * po/ja.po: Update from translation team.
76598 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
76600         [BZ #11155]
76601         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76602         implementation just like for lxstat, fxstatat, et al.
76604 2010-12-27  Jim Meyering  <meyering@redhat.com>
76606         [BZ #12348]
76607         * posix/regexec.c (build_trtable): Return failure indication upon
76608         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
76610 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
76612         [BZ #12201]
76613         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76614         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76615         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76616         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76618         [BZ #12207]
76619         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76621         [BZ #12204]
76622         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76623         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76625 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
76627         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76628         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76629         script has SORT_BY_INIT_PRIORITY.
76630         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76631         NO_CTORS_DTORS_SECTIONS is defined.
76632         * elf/soinit.c: Likewise.
76633         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76634         NO_CTORS_DTORS_SECTIONS is defined.
76635         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76636         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76637         * sysdeps/sh/init-first.c: Likewise.
76638         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76640 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
76642         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76643         always use the slow path.
76645 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
76647         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76648         similar rule which adds the sysdep directories to the header search in
76649         order to pick up the correct platform stackinfo.h.
76650         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76651         perform test if it is, otherwise return successfully without testing.
76652         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76653         DEFAULT_STACK_PERMS define in stackinfo.h.
76654         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76655         defined in stackinfo.h.
76656         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76657         DEFAULT_STACK_PERMS defined in stackinfo.h.
76658         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76659         * sysdeps/ia64/stackinfo.h: Likewise.
76660         * sysdeps/s390/stackinfo.h: Likewise.
76661         * sysdeps/sh/stackinfo.h: Likewise.
76662         * sysdeps/sparc/stackinfo.h: Likewise.
76663         * sysdeps/x86_64/stackinfo.h: Likewise.
76664         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76665         PF_X for powerpc64.  Retain PF_X for powerpc32.
76667 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
76669         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76670         accurately.
76671         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76672         GETDENTS_64BIT_ALIGNED.
76674 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
76676         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76678 2010-12-10  Andreas Schwab  <schwab@redhat.com>
76680         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76681         _GNU_SOURCE.
76683         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76684         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76685         Remove __restrict.
76686         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76687         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76689 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
76691         [BZ #11655]
76692         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76693         are initialized.
76695 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
76697         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76699 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
76701         * po/it.po: Update from translation team.
76703 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
76705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76706         unused codes.
76708 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
76710         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76712 2010-11-24  Andreas Schwab  <schwab@redhat.com>
76714         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76715         specially.
76716         (gaih_getanswer_slice): Likewise.
76718 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
76720         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76722 2010-05-31  Petr Baudis  <pasky@suse.cz>
76724         [BZ #11149]
76725         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76726         silently even in the chroot mode.
76728 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
76730         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76731         last patch a bit.  Pretty printing
76733 2010-05-31  Petr Baudis <pasky@suse.cz>
76735         [BZ #10085]
76736         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76737         initialization of skip_initgroups_dyn.
76739 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
76741         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76742         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76744 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
76746         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76748 2010-11-11  Andreas Schwab  <schwab@redhat.com>
76750         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76751         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76752         (tst-fnmatch-ENV): Set MALLOC_TRACE.
76753         ($(objpfx)tst-fnmatch-mem): New rule.
76754         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76755         * posix/tst-fnmatch.c (main): Call mtrace.
76757 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
76759         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76760         Support Intel processor model 6 and model 0x2c.
76762 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
76764         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76765           signed comparison.
76767 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
76769         [BZ #12205]
76770         * string/test-strncasecmp.c (check_result): New function.
76771         (do_one_test): Use it.
76772         (check1): New function.
76773         (test_main): Use it.
76774         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76775         Support strcasecmp and strncasecmp.
76777 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
76779         [BZ #12194]
76780         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76781         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76783 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
76785         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76786         IFUNC support.
76787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76788         memset-x86-64.
76789         * sysdeps/x86_64/multiarch/bzero.S: New file.
76790         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76791         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76792         * sysdeps/x86_64/multiarch/memset.S: New file.
76793         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76795         Set bit_Prefer_SSE_for_memop for Intel processors.
76796         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76797         Define.
76798         (index_Prefer_SSE_for_memop): Define.
76799         (HAS_PREFER_SSE_FOR_MEMOP): Define.
76801 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
76803         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76804         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76806 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
76808         [BZ #12191]
76809         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76810         (__x86_64_raw_data_cache_size_half): Likewise.
76811         (__x86_64_raw_shared_cache_size): Likewise.
76812         (__x86_64_raw_shared_cache_size_half): Likewise.
76814         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76815         (__x86_64_raw_data_cache_size_half): Likewise.
76816         (__x86_64_raw_shared_cache_size): Likewise.
76817         (__x86_64_raw_shared_cache_size_half): Likewise.
76818         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76819         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76820         and __x86_64_raw_shared_cache_size_half.  Round
76821         __x86_64_data_cache_size_half, __x86_64_data_cache_size
76822         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76823         to multiple of 256 bytes.
76825 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
76827         [BZ #12167]
76828         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76829         of inacessible symlinks.  Verify result of symlink before returning it.
76830         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76831         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76833 2010-10-28  Erich Ritz  <erichritz@gmail.com>
76835         * math/math.h (isinf): Fix typo in comment.
76837 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
76839         * po/da.po: Update from translation team.
76841 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
76843         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
76844         is added to the list.
76846 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76847             Ulrich Drepper  <drepper@gmail.com>
76849         * elf/dl-object.c (_dl_new_object): Don't append the new object to
76850         the global list here.  Move code to...
76851         (_dl_add_to_namespace_list): ...here.  New function.
76852         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
76853         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
76854         * elf/dl-load.c (lose): Don't remove the element from the list.
76855         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
76856         (_dl_map_object): Likewise.
76858 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
76860         [BZ #12159]
76861         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
76862         into all bytes of SSE register.
76863         Patch by Richard Li <richardpku@gmail.com>.
76865 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
76867         [BZ #12140]
76868         * malloc/malloc.c (_int_free): Fill correct number of bytes when
76869         perturbing.
76871 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
76873         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
76874         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
76875         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
76876         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
76877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
76878         submachine.
76879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
76881 2010-10-22  Andreas Schwab  <schwab@redhat.com>
76883         * include/dlfcn.h (__RTLD_SECURE): Define.
76884         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
76885         mode & __RTLD_SECURE instead.
76886         (open_path): Rename preloaded parameter to secure.
76887         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
76888         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
76889         * elf/dl-deps.c (openaux): Likewise.
76890         * elf/rtld.c (struct map_args): Remove is_preloaded.
76891         (map_doit): Don't use it.
76892         (dl_main): Likewise.
76893         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
76894         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
76896 2010-09-09  Andreas Schwab  <schwab@redhat.com>
76898         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
76899         (sysd-rules-targets): Remove duplicates.
76900         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
76901         rtld-%.$o dependency.
76903 2010-10-18  Andreas Schwab  <schwab@redhat.com>
76905         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
76906         _dl_map_object do it.
76908 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
76910         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
76911         fast fma builtins, define the macros in the C99 standard.
76912         (FP_FAST_FMAF): Likewise.
76913         (FP_FAST_FMAL): Likewise.
76914         * sysdeps/x86_64/bits/mathdef.h: Likewise.
76916         * bits/mathdef.h: Update copyright year.
76917         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76919 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76921         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
76922         builtins, define the macros in the C99 standard.
76923         (FP_FAST_FMAF): Likewise.
76924         (FP_FAST_FMAL): Likewise.
76925         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
76926         multiply/add.
76927         (FP_FAST_FMAF): Likewise.
76929 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
76931         [BZ #3268]
76932         * math/libm-test.inc (fma_test): Some new testcases.
76933         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
76934         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
76935         y and infinite z.  Do multiplication by C already in long double.
76936         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
76937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
76938         y and infinite z.  Do bitwise or of inexact bit into u.d.
76939         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
76940         * sysdeps/i386/fpu/s_fmaf.S: Removed.
76941         * sysdeps/i386/fpu/s_fma.S: Removed.
76942         * sysdeps/i386/fpu/s_fmal.S: Removed.
76944 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
76946         [BZ #3268]
76947         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
76948         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
76949         computation is not scheduled after fetestexcept.  Fix value
76950         of minimum denormal long double.
76952 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
76954         [BZ #3268]
76955         * math/libm-test.inc (fma_test): Add some more tests.
76956         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
76957         correctly.
76959 2010-10-15  Andreas Schwab  <schwab@redhat.com>
76961         * scripts/data/localplt-s390-linux-gnu.data: New file.
76962         * scripts/data/localplt-s390x-linux-gnu.data: New file.
76964 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
76966         [BZ #3268]
76967         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
76968         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
76969         instead of dbl-64.
76970         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
76971         inlines.
76972         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
76973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
76974         if one of x and y is very large and the other is subnormal.
76975         * sysdeps/s390/fpu/s_fmaf.c: New file.
76976         * sysdeps/s390/fpu/s_fma.c: New file.
76977         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
76978         * sysdeps/powerpc/fpu/s_fma.S: New file.
76979         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
76980         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
76981         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
76983 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
76985         [BZ #3268]
76986         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
76987         fma tests.
76988         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
76989         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
76990         * sysdeps/i386/i686/multiarch/s_fma.c: Include
76991         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
76992         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
76993         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
76994         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
76996 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
76998         [BZ #12078]
76999         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77000         * posix/bug-regex31.input: Add test case.
77002 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77004         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77005         * posix/bug-regex31.input: New file.
77007         [BZ #12078]
77008         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77009         (parse_sub_exp): Fix last change, use postorder.
77011         * posix/bug-regex31.c: New file.
77012         * posix/Makefile: Add rules to build and run bug-regex31.
77014         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77016         [BZ #12078]
77017         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77019         [BZ #12108]
77020         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77021         to have entries in sys_siglist.
77023         [BZ #12093]
77024         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77025         be NULL.
77027 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77029         [BZ #3268]
77030         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77031         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77032         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77033         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77034         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77035         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77036         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77037         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77038         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77039         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77040         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77041         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77042         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77043         * math/ftestexcept.c (fetestexcept): Likewise.
77044         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77045         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77046         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77047         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77048         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77049         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77050         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77052 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77054         [BZ #12107]
77055         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77056         newline.
77058 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77060         * string/bug-strstr1.c: New file.
77061         * string/Makefile: Add rules to build and run bug-strstr1.
77063 2010-10-05  Eric Blake  <eblake@redhat.com>
77065         [BZ #12092]
77066         * string/str-two-way.h (two_way_long_needle): Always clear memory
77067         when skipping input due to the shift table.
77069 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77071         [BZ #12005]
77072         * malloc/mcheck.c: Handle large requests.
77074         [BZ #12077]
77075         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77076         for strncmp and strncasecmp.
77077         * string/stratcliff.c: Add tests for strcmp and strncmp.
77078         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77080 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77082         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77083         __set_fpscr.
77085 2010-09-30  Andreas Jaeger  <aj@suse.de>
77087         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77088         (CGROUP_SUPER_MAGIC): Define.
77089         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77090         Handle btrfs and cgroup file systems.
77091         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77092         Likewise.
77094 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77096         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77097         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77099 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77101         [BZ #12067]
77102         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77103         trying to locate the ELF header.
77105 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77107         [BZ #11611]
77108         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77109         Mask out sign-bit copies when constructing f_fsid.
77111 2010-09-24  Petr Baudis <pasky@suse.cz>
77113         * debug/stack_chk_fail_local.c: Add missing licence exception.
77114         * debug/warning-nop.c: Likewise.
77116 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77118         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77119         implementing getdents64 using getdents syscall, set d_type if
77120         __ASSUME_GETDENTS32_D_TYPE.
77122 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77124         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77125         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77127 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77129         [BZ #12037]
77130         * posix/unistd.h: Undo change of feature selection for ftruncate from
77131         2010-01-11.
77133 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77135         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77136         detection.
77138 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77140         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77141         fanotify_mark.
77142         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77144 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77146         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77147         variables after CHECK_SP call.
77148         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77150 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77151             Ulrich Drepper  <drepper@redhat.com>
77153         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77154         re-relocationg ld.so.
77155         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77156         _dl_init_paths call.
77157         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77158         here anymore.
77160 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77162         * resolv/res_init.c (__res_vinit): Count the default server we added.
77164 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77165             Ulrich Drepper  <drepper@redhat.com>
77167         [BZ #11968]
77168         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77169         (____longjmp_chk): Use %ebx for saving value across system call.
77170         Add unwind info.
77172 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77174         * manual/Makefile: Don't mix pattern rules with normal rules.
77176 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77178         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77179         operation.
77180         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77181         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77182         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77183         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77184         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77185         Likewise.
77187 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77189         [BZ #11979]
77190         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77191         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77193 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77195         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77196         * sysdeps/x86_64/addmul_1.S: Likewise.
77197         * sysdeps/x86_64/lshift.S: Likewise.
77198         * sysdeps/x86_64/mul_1.S: Likewise.
77199         * sysdeps/x86_64/rshift.S: Likewise.
77200         * sysdeps/x86_64/sub_n.S: Likewise.
77201         * sysdeps/x86_64/submul_1.S: Likewise.
77203 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77205         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77206         Define __sched_param instead of SCHED_* and sched_param when
77207         <bits/sched.h> is included with __need_schedparam defined.
77208         * bits/sched.h [__need_schedparam]
77209         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77210         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77211         (__defined_schedparam): Define to 1.
77212         (__sched_param): New structure, identical to sched_param.
77213         (__need_schedparam): Undefine.
77215 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77217         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77218         (epoll_create1): Declare.
77220         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77222 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77224         [BZ #7066]
77225         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77226         shifting retval into place.
77228 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77230         * nis/rpcsvc/nis.h: Update copyright notice.
77231         * nis/rpcsvc/nis.x: Likewise.
77232         * nis/rpcsvc/nis_callback.h: Likewise.
77233         * nis/rpcsvc/nis_callback.x: Likewise.
77234         * nis/rpcsvc/nis_object.x: Likewise.
77235         * nis/rpcsvc/nis_tags.h: Likewise.
77236         * nis/rpcsvc/yp.h: Likewise.
77237         * nis/rpcsvc/yp.x: Likewise.
77238         * nis/rpcsvc/ypupd.h: Likewise.
77239         * nis/yp_xdr.c: Likewise.
77240         * nis/ypupdate_xdr.c: Likewise.
77242         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77243         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77244         (pmap_getport): Use __libc_rpc_getport.
77245         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77246         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77247         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77249 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77252         fanotify_mark.
77254 2010-08-27  Roland McGrath  <roland@redhat.com>
77256         * sysdeps/i386/i686/multiarch/Makefile
77257         (CFLAGS-varshift.c): New variable.
77259 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77261         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77262         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77264         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77266         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77268 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77270         * sysdeps/x86_64/strlen.S: Unroll the loop.
77271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77272         strlen-sse2 strlen-sse2-bsf.
77273         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77274         __strlen_no_bsf if bit_Slow_BSF is set.
77275         (__strlen_sse42): Removed.
77276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77277         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77279 2010-08-25  Roland McGrath  <roland@redhat.com>
77281         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77282         * sysdeps/x86_64/multiarch/varshift.c: New file.
77283         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77284         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77285         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77286         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77288 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
77290         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77291         strlen-sse2 strlen-sse2-bsf.
77292         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77293         __strlen_sse2_bsf if bit_Slow_BSF is unset.
77294         (__strlen_sse2): Removed.
77295         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77296         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77298         bit_Slow_BSF for Atom.
77299         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77300         (index_Slow_BSF): Define.
77301         (HAS_SLOW_BSF): Define.
77303 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
77305         [BZ #10851]
77306         * resolv/res_init.c (__res_vinit): When no server address at all
77307         is given default to loopback.
77309 2010-08-24  Roland McGrath  <roland@redhat.com>
77311         * configure.in: Remove config-name.h generation.
77312         * configure: Regenerated.
77313         * config-name.in: File removed.
77314         * scripts/config-uname.sh: New file.
77315         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77316         ($(objdir)config-name.h): New target.
77318         * sunrpc/rpc_parse.h: Avoid nested comment.
77320 2010-08-24  Richard Henderson  <rth@redhat.com>
77321             Ulrich Drepper  <drepper@redhat.com>
77322             H.J. Lu  <hongjiu.lu@intel.com>
77324         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77326         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77327         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
77328         _mm_alignr_epi8 with _mm_loadu_si128.
77329         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77330         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77331         (__m128i_shift_right): Removed.
77332         * sysdeps/i386/i686/multiarch/varshift.h: New file.
77333         * sysdeps/i386/i686/multiarch/varshift.S: New file.
77334         * sysdeps/x86_64/multiarch/varshift.h: New file.
77335         * sysdeps/x86_64/multiarch/varshift.S: New file.
77337 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
77339         * configure.in: Move assembler checks to before sysdep dir checking.
77341 2010-08-20  Petr Baudis  <pasky@suse.cz>
77343         * LICENSES: Sync the sunrpc license.
77345 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
77347         * sunrpc/auth_des.c: Update copyright notice once again.
77348         * sunrpc/auth_none.c: Likewise.
77349         * sunrpc/auth_unix.c: Likewise.
77350         * sunrpc/authdes_prot.c: Likewise.
77351         * sunrpc/authuxprot.c: Likewise.
77352         * sunrpc/bindrsvprt.c: Likewise.
77353         * sunrpc/clnt_gen.c: Likewise.
77354         * sunrpc/clnt_perr.c: Likewise.
77355         * sunrpc/clnt_raw.c: Likewise.
77356         * sunrpc/clnt_simp.c: Likewise.
77357         * sunrpc/clnt_tcp.c: Likewise.
77358         * sunrpc/clnt_udp.c: Likewise.
77359         * sunrpc/clnt_unix.c: Likewise.
77360         * sunrpc/des_crypt.c: Likewise.
77361         * sunrpc/des_soft.c: Likewise.
77362         * sunrpc/get_myaddr.c: Likewise.
77363         * sunrpc/getrpcport.c: Likewise.
77364         * sunrpc/key_call.c: Likewise.
77365         * sunrpc/key_prot.c: Likewise.
77366         * sunrpc/openchild.c: Likewise.
77367         * sunrpc/pm_getmaps.c: Likewise.
77368         * sunrpc/pm_getport.c: Likewise.
77369         * sunrpc/pmap_clnt.c: Likewise.
77370         * sunrpc/pmap_prot.c: Likewise.
77371         * sunrpc/pmap_prot2.c: Likewise.
77372         * sunrpc/pmap_rmt.c: Likewise.
77373         * sunrpc/rpc/auth.h: Likewise.
77374         * sunrpc/rpc/auth_unix.h: Likewise.
77375         * sunrpc/rpc/clnt.h: Likewise.
77376         * sunrpc/rpc/des_crypt.h: Likewise.
77377         * sunrpc/rpc/key_prot.h: Likewise.
77378         * sunrpc/rpc/netdb.h: Likewise.
77379         * sunrpc/rpc/pmap_clnt.h: Likewise.
77380         * sunrpc/rpc/pmap_prot.h: Likewise.
77381         * sunrpc/rpc/pmap_rmt.h: Likewise.
77382         * sunrpc/rpc/rpc.h: Likewise.
77383         * sunrpc/rpc/rpc_des.h: Likewise.
77384         * sunrpc/rpc/rpc_msg.h: Likewise.
77385         * sunrpc/rpc/svc.h: Likewise.
77386         * sunrpc/rpc/svc_auth.h: Likewise.
77387         * sunrpc/rpc/types.h: Likewise.
77388         * sunrpc/rpc/xdr.h: Likewise.
77389         * sunrpc/rpc_clntout.c: Likewise.
77390         * sunrpc/rpc_cmsg.c: Likewise.
77391         * sunrpc/rpc_common.c: Likewise.
77392         * sunrpc/rpc_cout.c: Likewise.
77393         * sunrpc/rpc_dtable.c: Likewise.
77394         * sunrpc/rpc_hout.c: Likewise.
77395         * sunrpc/rpc_main.c: Likewise.
77396         * sunrpc/rpc_parse.c: Likewise.
77397         * sunrpc/rpc_parse.h: Likewise.
77398         * sunrpc/rpc_prot.c: Likewise.
77399         * sunrpc/rpc_sample.c: Likewise.
77400         * sunrpc/rpc_scan.c: Likewise.
77401         * sunrpc/rpc_scan.h: Likewise.
77402         * sunrpc/rpc_svcout.c: Likewise.
77403         * sunrpc/rpc_tblout.c: Likewise.
77404         * sunrpc/rpc_util.c: Likewise.
77405         * sunrpc/rpc_util.h: Likewise.
77406         * sunrpc/rpcinfo.c: Likewise.
77407         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77408         * sunrpc/rpcsvc/key_prot.x: Likewise.
77409         * sunrpc/rpcsvc/klm_prot.x: Likewise.
77410         * sunrpc/rpcsvc/mount.x: Likewise.
77411         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77412         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77413         * sunrpc/rpcsvc/rex.x: Likewise.
77414         * sunrpc/rpcsvc/rstat.x: Likewise.
77415         * sunrpc/rpcsvc/rusers.x: Likewise.
77416         * sunrpc/rpcsvc/sm_inter.x: Likewise.
77417         * sunrpc/rpcsvc/spray.x: Likewise.
77418         * sunrpc/rpcsvc/yppasswd.x: Likewise.
77419         * sunrpc/rtime.c: Likewise.
77420         * sunrpc/svc.c: Likewise.
77421         * sunrpc/svc_auth.c: Likewise.
77422         * sunrpc/svc_authux.c: Likewise.
77423         * sunrpc/svc_raw.c: Likewise.
77424         * sunrpc/svc_run.c: Likewise.
77425         * sunrpc/svc_simple.c: Likewise.
77426         * sunrpc/svc_tcp.c: Likewise.
77427         * sunrpc/svc_udp.c: Likewise.
77428         * sunrpc/svc_unix.c: Likewise.
77429         * sunrpc/svcauth_des.c: Likewise.
77430         * sunrpc/xcrypt.c: Likewise.
77431         * sunrpc/xdr.c: Likewise.
77432         * sunrpc/xdr_array.c: Likewise.
77433         * sunrpc/xdr_float.c: Likewise.
77434         * sunrpc/xdr_mem.c: Likewise.
77435         * sunrpc/xdr_rec.c: Likewise.
77436         * sunrpc/xdr_ref.c: Likewise.
77437         * sunrpc/xdr_sizeof.c: Likewise.
77438         * sunrpc/xdr_stdio.c: Likewise.
77440         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77441         handling.
77443 2010-08-19  Andreas Schwab  <schwab@redhat.com>
77445         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77447 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
77449         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77450         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77451         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77452         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77453         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77454         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77455         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77456         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77458         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77459         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77460         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77461         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77462         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77464 2010-07-26  Anton Blanchard  <anton@samba.org>
77466         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77467         * malloc/arena.c (heap_trim): Likewise.
77469 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
77471         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77472         here.  Not...
77473         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77474         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77476 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
77478         * sysdeps/i386/elf/Makefile: New file.
77480 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77482         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77483         from fanotify_init.
77484         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77485         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77487 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
77489         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77490         of strncasecmp_l.
77491         * sysdeps/multiarch/strcmp.S: Likewise.
77493 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
77495         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77496         strncase_l-nonascii.
77497         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77498         Add strncase_l-ssse3.
77499         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77500         * sysdeps/x86_64/strcmp.S: Likewise.
77501         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77502         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77503         * sysdeps/x86_64/strncase.S: New file.
77504         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77505         * sysdeps/x86_64/strncase_l.S: New file.
77506         * string/Makefile (strop-tests): Add strncasecmp.
77507         * string/test-strncasecmp.c: New file.
77509         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77510         warning.
77512         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77513         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77515 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
77517         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77519 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
77521         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77522         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77523         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77525 2010-05-01  Alan Modra  <amodra@gmail.com>
77527         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77528         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77529         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77530         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77531         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77532         tidying.  Don't tail-call __sigjmp_save for static lib.
77533         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77534         save location.
77535         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77536         (CALL_MCOUNT): Add eh info, and nop after bl.
77537         (TAIL_CALL_SYSCALL_ERROR): New macro.
77538         (PSEUDO_RET): Use it.
77539         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77540         Correct save location of integer regs and cr.
77541         (_dl_profile_resolve): Correct cr save location.  Delete nops
77542         after bl when SHARED.  Reduce cfi size a little by better
77543         placement of cfi directives.
77544         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77545         make a stack frame.  Instead use parm save area as a temp.
77546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77547         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
77548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77549         Don't make a stack frame for parent, use parm save area.
77550         Increase child stack frame to 112 bytes.  Don't save unused reg,
77551         and adjust reg usage.  Set up cfi on error recovery and
77552         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77554         (__makecontext): Add dummy nop after jump to exit.
77555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77556         Use correct parm save area and cr save, reduce stack frame.
77557         Correct cfi for possible PSEUDO_RET frame setup.
77558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77559         Branch to local label emitted by PSEUDO_RET rather than
77560         __syscall_error.
77562 2010-08-12  Andreas Schwab  <schwab@redhat.com>
77564         [BZ #11904]
77565         * locale/programs/locale.c (print_assignment): New function.
77566         (show_locale_vars): Use it.
77568 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
77570         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77571         field.
77572         (struct statfs64): Likewise.
77573         (_STATFS_F_FLAGS): Define.
77574         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77575         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77576         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77577         (ST_VALID): Define locally.
77578         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77579         __statvfs_getflags, use the provided value.
77580         * sysdeps/unix/sysv/linux/kernel-features.h: Define
77581         __ASSUME_STATFS_F_FLAGS.
77583         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77585         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77586         Add sys/fanotify.h.
77587         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77588         fanotify_mask for GLIBC_2.13.
77589         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77590         fanotify_init and fanotify_mark.
77591         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77592         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77594         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77595         Add prlimit.
77596         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77597         prlimit64 for GLIBC_2.13.
77598         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77599         prlimit64.
77600         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77601         syscall.
77602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77603         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77604         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77605         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77606         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
77607         add prlimit alias.
77608         * sysdeps/unix/sysv/linux/prlimit.c: New file.
77610         [BZ #11903]
77611         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77612         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77614         * nss/Makefile: Add rules to build and run tst-nss-test1.
77615         * shlib-versions: Add entry for libnss_test1.
77616         * nss/nss_test1.c: New file.
77617         * nss/tst-nss-test1.c: New file.
77619         * nss/nsswitch.c (__nss_database_custom): Define new variable.
77620         (__nss_configure_lookup): Set appropriate entry in
77621         __nss_configure_lookup to true.
77622         * nss/nsswitch.h: Define enum with indeces of databases in
77623         databases and __nss_database_custom arrays.  Declare
77624         __nss_database_custom.
77625         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77626         to avoid using nscd when custom rules are installed.
77627         * nss/getXXbyYY_r.c: Likewise.
77628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77630         * nss/nss_files/files-parse.c: Whitespace fixes.
77632 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
77634         [BZ #11883]
77635         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77636         * posix/fnmatch_loop.c: Likewise.
77638 2010-07-17  Andi Kleen  <ak@linux.intel.com>
77640         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77641         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77642         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77643         * Versions.def [GLIBC_2.13]: Add.
77645 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
77647         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77648         Also fail if tpwd after pwuid call is NULL.
77650 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77652         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77653         when converting to ms.
77655 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77657         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77658         EOPNOTSUPP errors with ENOTTY.
77659         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77660         EOPNOTSUPP errors with ENOTTY.
77662 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
77664         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77665         Add strcasecmp_l-ssse3.
77666         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77667         strcasecmp.
77668         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77669         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77670         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77672 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
77674         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77676         * string/Makefile (strop-tests): Add strcasecmp.
77677         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77678         strcasecmp_l-nonascii.
77679         (gen-as-const-headers): Add locale-defines.sym.
77680         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77681         * sysdeps/x86_64/strcasecmp.S: New file.
77682         * sysdeps/x86_64/strcasecmp_l.S: New file.
77683         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77684         * sysdeps/x86_64/locale-defines.sym: New file.
77685         * string/test-strcasecmp.c: New file.
77687         * string/test-strcasestr.c: Test both ends of the range of characters.
77688         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77690 2010-07-29  Roland McGrath  <roland@redhat.com>
77692         [BZ #11856]
77693         * manual/locale.texi (Yes-or-No Questions): Fix example code.
77695 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
77697         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77698         for ld.so.
77700 2010-07-27  Andreas Schwab  <schwab@redhat.com>
77702         * manual/memory.texi (Malloc Tunable Parameters): Document
77703         M_PERTURB.
77705 2010-07-26  Roland McGrath  <roland@redhat.com>
77707         [BZ #11840]
77708         * configure.in (-fgnu89-inline check): Set and substitute
77709         gnu89_inline, not libc_cv_gnu89_inline.
77710         * configure: Regenerated.
77711         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77713 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
77715         * string/test-strnlen.c: New file.
77716         * string/Makefile (strop-tests): Add strnlen.
77717         * string/tester.c (test_strnlen): Add a few more test cases.
77718         * string/tst-strlen.c: Better error reporting.
77720         * sysdeps/x86_64/strnlen.S: New file.
77722 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
77724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77725         lower-latency instructions.
77727 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
77729         * string/test-strcasestr.c: New file.
77730         * string/test-strstr.c: New file.
77731         * string/Makefile (strop-tests): Add strstr and strcasestr.
77732         * string/str-two-way.h: Don't undefine MAX.
77733         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77735 2010-07-21  Andreas Schwab  <schwab@redhat.com>
77737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77738         strcasestr-nonascii.
77739         (CFLAGS-strcasestr-nonascii.c): Define.
77740         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77741         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77742         Remove unused attribute.
77744 2010-07-20  Roland McGrath  <roland@redhat.com>
77746         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77747         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
77748         ld.so.cache was broken.  With it, there is no way to disable dsocaps
77749         like LD_HWCAP_MASK can disable hwcaps.
77751 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77753         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77755 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
77757         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77758         call in strcasestr.
77759         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77760         __strcasestr_sse42_nonascii.
77761         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77762         strcasestr-nonascii.c.
77763         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77765 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
77767         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77768         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77769         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77770         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77772 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
77774         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77775         fcntl.
77777 2010-07-06  Andreas Schwab  <schwab@redhat.com>
77779         [BZ #11577]
77780         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77781         dl_signal_cerror.
77783 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
77785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77786         _PC_PIPE_BUF using F_GETPIPE_SZ.
77788 2010-07-05  Roland McGrath  <roland@redhat.com>
77790         * manual/arith.texi (Rounding Functions): Fix rint description
77791         implicit in round description.
77793 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
77795         * elf/Makefile: Fix linking for a few tests to make recent linker
77796         happy.
77798 2010-06-30  Andreas Schwab  <schwab@redhat.com>
77800         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77801         $(common-objpfx)libc_nonshared.a.
77803 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
77805         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77806         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77807         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77808         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77809         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77810         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77811         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77812         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77827         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77828         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77829         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77830         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77831         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77832         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77833         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77834         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77835         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77836         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77837         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77838         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
77844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
77845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
77846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
77847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
77848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
77849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
77850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
77851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
77852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
77854 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
77856         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
77857         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
77858         * string/memmove.c (memmove): Renamed to ...
77859         (MEMMOVE): ...this.  Default to memmove.
77860         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
77861         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
77862         (END_CHK): Define.
77863         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77864         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
77865         mempcpy-ssse3-back memmove-ssse3-back.
77866         * sysdeps/x86_64/multiarch/bcopy.S: New file .
77867         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
77868         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
77869         * sysdeps/x86_64/multiarch/memcpy.S: New file.
77870         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
77871         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
77872         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
77873         * sysdeps/x86_64/multiarch/memmove.c: New file.
77874         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
77875         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
77876         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
77877         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
77878         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
77879         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
77880         Define.
77881         (index_Fast_Copy_Backward): Define.
77882         (HAS_ARCH_FEATURE): Define.
77883         (HAS_FAST_REP_STRING): Define.
77884         (HAS_FAST_COPY_BACKWARD): Define.
77886 2010-06-21  Andreas Schwab  <schwab@redhat.com>
77888         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77889         Restore proper fallback handling.
77891 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
77893         [BZ #11701]
77894         * posix/group_member.c (__group_member): Correct checking loop.
77896         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
77897         OOM in getpwuid_r correctly.  Return error number when the caller
77898         should return, otherwise -1.
77899         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
77900         call returning > 0 value.
77901         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
77903 2010-06-07  Andreas Schwab  <schwab@redhat.com>
77905         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
77906         libc_nonshared.a from targets in modules-names.
77908 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
77910         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
77911         requires it.
77913 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
77915         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
77916         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
77917         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
77918         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
77920 2010-06-02  Andreas Schwab  <schwab@redhat.com>
77922         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
77924 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
77926         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
77927         and F_GETPIPE_SZ.
77928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77930         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77931         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77935 2010-06-14  Roland McGrath  <roland@redhat.com>
77937         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
77939 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
77941         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
77942         __REDIRECT followed by __THROW.
77943         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
77944         * posix/getopt.h (getopt): Likewise.
77946 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
77948         * hurd/lookup-at.c (__file_name_lookup_at): Accept
77949         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
77950         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
77951         in AT_FLAGS.
77952         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
77953         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
77955 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
77957         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
77959 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
77961         [BZ #11640]
77962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77963         Properly check family and model.
77965 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
77967         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
77969 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
77971         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
77973 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
77975         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
77976         symbol reference.
77978 2010-05-19  Andreas Schwab  <schwab@redhat.com>
77980         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
77981         symbol reference.
77983 2010-05-21  Andreas Schwab  <schwab@redhat.com>
77985         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
77986         and internal_recvmmsg.
77987         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
77988         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
77989         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
77990         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
77992         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
77993         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
77994         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
77996 2010-05-20  Andreas Schwab  <schwab@redhat.com>
77998         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78000 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78002         POWER7 optimizations.
78003         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78004         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78006 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78008         * version.h: Update for 2.13 development version.
78010 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78012         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78013         exceptions.  Return 0.
78015 2010-05-07  Roland McGrath  <roland@redhat.com>
78017         * elf/ldconfig.c (main): Add a const.
78019 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78021         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78022         (args_options): Add no-idn option.
78023         (ahosts_keys_int): Add idn_flags to ai_flags.
78024         (parse_option): Handle 'i' option to clear idn_flags.
78026         * malloc/malloc.c (_int_free): Possible race in the most recently
78027         added check.  Only act on the data if no current modification
78028         happened.
78030 See ChangeLog.17 for earlier changes.